2017-07-24 06:41:02 +00:00
|
|
|
@import './mixin.scss';
|
2017-04-18 07:09:13 +00:00
|
|
|
@import './btn.scss';
|
2017-04-21 10:50:13 +00:00
|
|
|
@import './element-ui.scss';
|
2017-07-24 06:41:02 +00:00
|
|
|
@import './sidebar.scss';
|
|
|
|
|
2017-04-18 07:09:13 +00:00
|
|
|
body {
|
|
|
|
-moz-osx-font-smoothing: grayscale;
|
|
|
|
-webkit-font-smoothing: antialiased;
|
|
|
|
text-rendering: optimizeLegibility;
|
2017-04-18 13:38:49 +00:00
|
|
|
font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif;
|
2017-04-18 07:09:13 +00:00
|
|
|
}
|
2017-04-18 13:38:49 +00:00
|
|
|
|
|
|
|
label {
|
2017-04-18 07:09:13 +00:00
|
|
|
font-weight: 700;
|
|
|
|
}
|
|
|
|
|
|
|
|
html {
|
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
|
|
|
|
2017-04-18 13:38:49 +00:00
|
|
|
*,
|
|
|
|
*:before,
|
|
|
|
*:after {
|
2017-04-18 07:09:13 +00:00
|
|
|
box-sizing: inherit;
|
|
|
|
}
|
|
|
|
|
|
|
|
.no-padding {
|
|
|
|
padding: 0px !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.padding-content {
|
|
|
|
padding: 4px 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
a:focus,
|
|
|
|
a:active {
|
|
|
|
outline: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
a,
|
|
|
|
a:focus,
|
|
|
|
a:hover {
|
|
|
|
cursor: pointer;
|
|
|
|
color: inherit;
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.fr {
|
|
|
|
float: right;
|
|
|
|
}
|
|
|
|
|
|
|
|
.fl {
|
|
|
|
float: left;
|
|
|
|
}
|
|
|
|
|
|
|
|
.pr-5 {
|
|
|
|
padding-right: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.pl-5 {
|
|
|
|
padding-left: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.block {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
2017-04-21 10:50:13 +00:00
|
|
|
.pointer {
|
|
|
|
cursor: pointer;
|
2017-04-18 07:09:13 +00:00
|
|
|
}
|
|
|
|
|
2017-04-21 10:50:13 +00:00
|
|
|
.inlineBlock {
|
|
|
|
display: block;
|
2017-04-18 07:09:13 +00:00
|
|
|
}
|
2017-04-18 13:38:49 +00:00
|
|
|
|
|
|
|
code {
|
|
|
|
background: #eef1f6;
|
2017-04-24 09:04:40 +00:00
|
|
|
padding: 15px 10px;
|
2017-04-18 13:38:49 +00:00
|
|
|
margin-bottom: 20px;
|
|
|
|
display: block;
|
2017-04-24 09:04:40 +00:00
|
|
|
line-height: 36px;
|
2017-04-20 06:32:41 +00:00
|
|
|
a {
|
|
|
|
color: #337ab7;
|
|
|
|
cursor: pointer;
|
|
|
|
&:hover {
|
|
|
|
color: rgb(32, 160, 255);
|
|
|
|
}
|
|
|
|
}
|
2017-04-18 13:38:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.fade-enter-active,
|
|
|
|
.fade-leave-active {
|
2017-04-18 07:09:13 +00:00
|
|
|
transition: all .2s ease
|
|
|
|
}
|
|
|
|
|
2017-04-18 13:38:49 +00:00
|
|
|
.fade-enter,
|
|
|
|
.fade-leave-active {
|
2017-04-18 07:09:13 +00:00
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
|
2017-06-30 10:43:04 +00:00
|
|
|
|
2017-04-18 07:09:13 +00:00
|
|
|
//main-container全局样式
|
|
|
|
.app-container {
|
|
|
|
padding: 20px;
|
|
|
|
}
|
2017-04-21 10:50:13 +00:00
|
|
|
.components-container {
|
|
|
|
margin: 30px 50px;
|
|
|
|
position: relative;
|
2017-04-18 07:09:13 +00:00
|
|
|
}
|
|
|
|
.pagination-container {
|
|
|
|
margin-top: 30px;
|
|
|
|
}
|
|
|
|
|
2017-04-21 10:50:13 +00:00
|
|
|
.editor-container .CodeMirror {
|
|
|
|
height: 100%!important;
|
2017-04-18 07:09:13 +00:00
|
|
|
}
|
|
|
|
|
2017-06-30 10:43:04 +00:00
|
|
|
.text-center{
|
|
|
|
text-align: center
|
|
|
|
}
|
2017-07-05 03:42:29 +00:00
|
|
|
.svg-icon {
|
2017-04-18 07:09:13 +00:00
|
|
|
width: 1em;
|
|
|
|
height: 1em;
|
|
|
|
vertical-align: -0.15em;
|
|
|
|
fill: currentColor;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
.sub-navbar {
|
|
|
|
height: 50px;
|
|
|
|
line-height: 50px;
|
|
|
|
position: relative;
|
|
|
|
width: 100%;
|
|
|
|
text-align: right;
|
|
|
|
padding-right: 20px;
|
|
|
|
transition: 600ms ease position;
|
|
|
|
background: linear-gradient(90deg, rgba(32, 182, 249, 1) 0%, rgba(32, 182, 249, 1) 0%, rgba(33, 120, 241, 1) 100%, rgba(33, 120, 241, 1) 100%);
|
|
|
|
.subtitle {
|
|
|
|
font-size: 20px;
|
|
|
|
color: #fff;
|
|
|
|
}
|
|
|
|
&.draft {
|
|
|
|
background: #d0d0d0;
|
|
|
|
}
|
|
|
|
&.deleted {
|
|
|
|
background: #d0d0d0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-04-18 13:38:49 +00:00
|
|
|
.link-type,
|
|
|
|
.link-type:focus {
|
2017-04-18 07:09:13 +00:00
|
|
|
color: #337ab7;
|
|
|
|
cursor: pointer;
|
2017-04-18 13:38:49 +00:00
|
|
|
&:hover {
|
2017-04-18 07:09:13 +00:00
|
|
|
color: rgb(32, 160, 255);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-04-18 13:38:49 +00:00
|
|
|
.publishedTag,
|
|
|
|
.draftTag,
|
|
|
|
.deletedTag {
|
2017-04-18 07:09:13 +00:00
|
|
|
color: #fff;
|
|
|
|
background-color: $panGreen;
|
|
|
|
line-height: 1;
|
|
|
|
text-align: center;
|
|
|
|
margin: 0;
|
|
|
|
padding: 8px 12px;
|
|
|
|
font-size: 14px;
|
|
|
|
border-radius: 4px;
|
|
|
|
position: absolute;
|
|
|
|
left: 20px;
|
|
|
|
top: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.draftTag {
|
|
|
|
background-color: $yellow;
|
|
|
|
}
|
|
|
|
|
|
|
|
.deletedTag {
|
|
|
|
background-color: $red;
|
|
|
|
}
|
|
|
|
|
|
|
|
.input-label {
|
|
|
|
font-size: 14px;
|
|
|
|
color: #48576a;
|
|
|
|
line-height: 1;
|
|
|
|
padding: 11px 5px 11px 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.clearfix {
|
|
|
|
&:after {
|
|
|
|
visibility: hidden;
|
|
|
|
display: block;
|
|
|
|
font-size: 0;
|
|
|
|
content: " ";
|
|
|
|
clear: both;
|
|
|
|
height: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.no-marginLeft {
|
|
|
|
.el-checkbox {
|
|
|
|
margin: 0 20px 15px 0;
|
|
|
|
}
|
2017-04-18 13:38:49 +00:00
|
|
|
.el-checkbox+.el-checkbox {
|
2017-04-18 07:09:13 +00:00
|
|
|
margin-left: 0px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.filter-container {
|
|
|
|
padding-bottom: 10px;
|
|
|
|
.filter-item {
|
|
|
|
display: inline-block;
|
|
|
|
vertical-align: middle;
|
|
|
|
margin-bottom: 10px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
//refine vue-multiselect plugin
|
|
|
|
.multiselect {
|
|
|
|
line-height: 16px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.multiselect--active {
|
|
|
|
z-index: 1000 !important;
|
|
|
|
}
|
|
|
|
|
2017-05-12 09:45:33 +00:00
|
|
|
//refine simplemde
|
|
|
|
.simplemde-container{
|
|
|
|
.editor-toolbar.fullscreen,.CodeMirror-fullscreen{
|
|
|
|
z-index: 1003;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-04-18 07:09:13 +00:00
|
|
|
//暂时性解决diolag 问题 https://github.com/ElemeFE/element/issues/2461
|
2017-04-18 13:38:49 +00:00
|
|
|
.el-dialog {
|
2017-04-18 07:09:13 +00:00
|
|
|
transform: none;
|
|
|
|
left: 0;
|
|
|
|
position: relative;
|
|
|
|
margin: 0 auto;
|
|
|
|
}
|
2017-04-24 09:42:44 +00:00
|
|
|
|
|
|
|
//github-corner
|
|
|
|
.github-corner:hover .octo-arm {
|
|
|
|
animation: octocat-wave 560ms ease-in-out
|
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes octocat-wave {
|
|
|
|
0%,
|
|
|
|
100% {
|
|
|
|
transform: rotate(0)
|
|
|
|
}
|
|
|
|
20%,
|
|
|
|
60% {
|
|
|
|
transform: rotate(-25deg)
|
|
|
|
}
|
|
|
|
40%,
|
|
|
|
80% {
|
|
|
|
transform: rotate(10deg)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (max-width:500px) {
|
|
|
|
.github-corner:hover .octo-arm {
|
|
|
|
animation: none
|
|
|
|
}
|
|
|
|
.github-corner .octo-arm {
|
|
|
|
animation: octocat-wave 560ms ease-in-out
|
|
|
|
}
|
|
|
|
}
|