Files
JY1.0/src/styles/index.scss
caoxinyu 2cd59115f3 qss
2019-09-22 11:29:01 +08:00

235 lines
3.7 KiB
SCSS

@import './variables.scss';
@import './mixin.scss';
@import './transition.scss';
@import './element-ui.scss';
@import './sidebar.scss';
body {
height: 100%;
-moz-osx-font-smoothing: grayscale;
-webkit-font-smoothing: antialiased;
text-rendering: optimizeLegibility;
font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif;
}
label {
font-weight: 700;
}
html {
height: 100%;
box-sizing: border-box;
}
#app{
height: 100%;
.sidebar-container{
background-color: #152c7c;
}
}
*,
*:before,
*:after {
box-sizing: inherit;
}
a,
a:focus,
a:hover {
cursor: pointer;
color: inherit;
outline: none;
text-decoration: none;
}
div:focus{
outline: none;
}
a:focus,
a:active {
outline: none;
}
a,
a:focus,
a:hover {
cursor: pointer;
color: inherit;
text-decoration: none;
}
.clearfix {
&:after {
visibility: hidden;
display: block;
font-size: 0;
content: " ";
clear: both;
height: 0;
}
}
//main-container全局样式
.app-main{
min-height: 100%
}
.app-container {
padding: 20px;
}
.navbar{
background-color: #fff!important;
}
.submenu-title-noDropdown{
background-color: #2e296a!important;
color: #cccccc!important;
}
.el-menu-item.is-active{
color:#409EFF!important;
}
el-form-item__content{
background-color: #3d3780!important;
}
.el-menu-item:hover{
background-color: #9892E4 !important;
}
.el-menu-item, .el-submenu__title{
line-height: 42px;
height: 42px;
//background-color: #2e296a!important;
}
.el-scrollbar{
height: 100%;
}
.el-submenu__title{
//background-color: #2e296a!important;
}
.el-card__body{
padding: 10px !important;
margin: 0px !important;
}
.app-container{
padding: 0px;
}
.el-pagination{
padding: 0px;
}
el-card{
padding: 5px;
margin: 0px;
}
.el-table__row{
height: 5px;
padding: 0px;
}
.el-table--mini td, .el-table--mini th {
padding: 0px 0;
}
//.el-table .el-button{
// font-size: 17px;
//}
.el-tabs__header {
padding: 0;
position: relative;
margin: 0px;
}
.el-table{
margin: 3px 0px;
}
.block{
margin-bottom: 3px;
}
.el-button--success{
background: rgb(45,114,213);
border-color: rgb(45,114,213);
&:hover{
background: rgb(45,114,213);
border-color: rgb(45,114,213);
}
&:focus{
background: rgb(45,114,213);
border-color: rgb(45,114,213);
}
}
.el-button--baocun{
background: #67C23A;
border-color: #67C23A;
color: white;
&:hover{
background: #67C23A;
border-color: #67C23A;
color: white;
}
&:focus{
background: #67C23A;
border-color: #67C23A;
color: white;
}
}
.el-button--baocun.is-disabled{
background: LightGreen;
border-color: LightGreen;
color: white;
&:hover{
background: LightGreen;
border-color: LightGreen;
color: white;
}
&:focus{
background: LightGreen;
border-color: LightGreen;
color: white;
}
}
.el-button--primary{
background: #ff9759;
border-color: #ff9759;
&:hover{
background: #ff9759;
border-color: #ff9759;
}
&:focus{
background: #ff9759;
border-color: #ff9759;
}
}
.el-input__inner:focus {
border: 1px solid #1b55a0!important;
height: 29px;
}
.el-input--small .el-input__inner {
height: 29px;
}
.el-breadcrumb__separator {
color: black;
}
.el-table td, .el-table th {
padding: 0;
}
.el-table--striped .el-table__body tr.el-table__row--striped td {
//斑马纹颜色
background-color: rgb(235,235,235);
}
.el-card__header {
//card白条宽度
padding: 5px 5px;
}
.subTableHeader {
th {
background: #8ff4ea !important;
color: black;
}
tr.el-table__row td {
background-color: #d8e5f6 !important;
}
tr.el-table__row.el-table__row--striped td {
background: #e9f0f9 !important;
}
}