admin-fe/src/styles/index.scss

174 lines
2.3 KiB
SCSS
Raw Normal View History

2017-11-27 02:46:08 +00:00
@import './variables.scss';
2017-07-24 06:41:02 +00:00
@import './mixin.scss';
2017-11-07 03:41:59 +00:00
@import './transition.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-11-17 06:57:39 +00:00
@import './btn.scss';
2017-10-24 06:49:29 +00:00
2017-04-18 07:09:13 +00:00
body {
2017-10-31 06:42:58 +00:00
height: 100%;
2017-04-18 07:09:13 +00:00
-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;
background: #FFF;
color: #000;
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 {
2017-10-31 06:42:58 +00:00
height: 100%;
2017-04-18 07:09:13 +00:00
box-sizing: border-box;
}
2019-01-11 07:42:53 +00:00
#app {
2017-10-31 06:42:58 +00:00
height: 100%;
}
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;
}
2019-01-11 07:42:53 +00:00
div:focus {
2017-11-06 05:52:13 +00:00
outline: none;
2019-01-11 07:42:53 +00:00
}
2017-11-06 05:52:13 +00:00
2017-04-18 07:09:13 +00:00
.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
2017-10-24 06:49:29 +00:00
.clearfix {
&:after {
visibility: hidden;
display: block;
font-size: 0;
content: " ";
clear: both;
height: 0;
}
}
2017-04-18 13:38:49 +00:00
code {
background: #eef1f6;
2017-12-07 08:03:07 +00:00
padding: 15px 16px;
2017-04-18 13:38:49 +00:00
display: block;
2017-04-24 09:04:40 +00:00
line-height: 36px;
font-size: 15px;
font-family: "Source Sans Pro", "Helvetica Neue", Arial, sans-serif;
2019-01-11 07:42:53 +00:00
2017-04-20 06:32:41 +00:00
a {
color: #337ab7;
cursor: pointer;
2019-01-11 07:42:53 +00:00
2017-04-20 06:32:41 +00:00
&:hover {
color: rgb(32, 160, 255);
}
}
2017-04-18 13:38:49 +00:00
}
2019-01-11 07:42:53 +00:00
.warn-content {
background: rgba(66, 185, 131, .1);
2017-11-17 09:51:41 +00:00
border-radius: 2px;
padding: 16px;
padding: 1rem;
line-height: 1.6rem;
word-spacing: .05rem;
2019-01-11 07:42:53 +00:00
a {
2017-11-17 09:51:41 +00:00
color: #42b983;
font-weight: 600;
}
}
2017-04-18 07:09:13 +00:00
//main-container全局样式
.app-container {
padding: 20px;
}
2017-08-23 03:39:16 +00:00
2017-04-21 10:50:13 +00:00
.components-container {
margin: 30px 50px;
position: relative;
2017-04-18 07:09:13 +00:00
}
2017-08-23 03:39:16 +00:00
2017-04-18 07:09:13 +00:00
.pagination-container {
margin-top: 30px;
}
2017-08-23 03:39:16 +00:00
.text-center {
2017-06-30 10:43:04 +00:00
text-align: center
}
2017-08-23 03:39:16 +00:00
2017-04-18 07:09:13 +00:00
.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%);
2019-01-11 07:42:53 +00:00
2017-04-18 07:09:13 +00:00
.subtitle {
font-size: 20px;
color: #fff;
}
2019-01-11 07:42:53 +00:00
2017-04-18 07:09:13 +00:00
&.draft {
background: #d0d0d0;
}
2019-01-11 07:42:53 +00:00
2017-04-18 07:09:13 +00:00
&.deleted {
background: #d0d0d0;
}
}