fe-drone-ci/src/styles/index.scss

192 lines
2.5 KiB
SCSS
Raw Normal View History

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-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;
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;
}
2017-10-31 06:42:58 +00:00
#app{
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;
}
2017-11-06 05:52:13 +00:00
div:focus{
outline: none;
}
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-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
}
2017-10-24 06:49:29 +00:00
//globl transition css
2017-04-18 13:38:49 +00:00
.fade-enter-active,
.fade-leave-active {
2017-10-24 06:49:29 +00:00
transition: opacity 0.28s;
2017-04-18 07:09:13 +00:00
}
2017-04-18 13:38:49 +00:00
.fade-enter,
.fade-leave-active {
2017-04-18 07:09:13 +00:00
opacity: 0;
}
//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-04-21 10:50:13 +00:00
.editor-container .CodeMirror {
height: 100%!important;
2017-04-18 07:09:13 +00:00
}
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%);
.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);
}
}
.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;
}