chore: 初始化平芝126kV隔离开关MES_OP_Manage_View项目
This commit is contained in:
140
src/styles/index.scss
Normal file
140
src/styles/index.scss
Normal file
@@ -0,0 +1,140 @@
|
||||
@import './variables.scss';
|
||||
@import './mixin.scss';
|
||||
@import './transition.scss';
|
||||
@import './element-ui.scss';
|
||||
@import './sidebar.scss';
|
||||
@import '../assets/font/Misans.css';
|
||||
|
||||
HTML{
|
||||
overflow: auto;
|
||||
}
|
||||
body {
|
||||
height: 100%;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
text-rendering: optimizeLegibility;
|
||||
font-family: MiSans Demibold, serif;
|
||||
}
|
||||
|
||||
label {
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
html {
|
||||
height: 100%;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
#app{
|
||||
height: 100%;
|
||||
.sidebar-container{
|
||||
background-color: #2e296a;
|
||||
}
|
||||
}
|
||||
|
||||
*,
|
||||
*: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%;
|
||||
min-width: 1220px;
|
||||
max-height: 1800px;
|
||||
}
|
||||
|
||||
.app-container {
|
||||
padding: 20px;
|
||||
//background-color: #ebf1ee;
|
||||
}
|
||||
|
||||
.navbar{
|
||||
background-color: #2D3C67!important;
|
||||
}
|
||||
.submenu-title-noDropdown{
|
||||
background-color: black!important;
|
||||
color: #00893D!important;
|
||||
}
|
||||
.el-menu-item.is-active{
|
||||
color:#2456E6!important;
|
||||
}
|
||||
el-form-item__content{
|
||||
background-color: #00893D!important;
|
||||
}
|
||||
.el-menu-item:hover{
|
||||
background-color: #00893D !important;
|
||||
color: #fff!important;
|
||||
}
|
||||
.el-menu-item, .el-submenu__title{
|
||||
line-height: 42px;
|
||||
height: 42px;
|
||||
background-color: #F5F5F5!important;
|
||||
color: #000000!important;
|
||||
}
|
||||
.el-scrollbar{
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.el-submenu__title{
|
||||
color: #000000!important;
|
||||
background-color: #F5F5F5!important;
|
||||
}
|
||||
.el-button--success {
|
||||
color: #fff;
|
||||
background-color: #67c23a ;
|
||||
border-color: #67c23a ;
|
||||
}
|
||||
.el-button--success.is-plain {
|
||||
color: #67c23a!important;
|
||||
background: #FAFAFA!important;
|
||||
border-color: #67c23a!important;
|
||||
}
|
||||
.el-button--success:hover{
|
||||
color: #FAFAFA!important;
|
||||
background-color: #67c23a!important;
|
||||
border-color: #67c23a!important;
|
||||
}
|
||||
.el-button--success:focus{
|
||||
color: #FAFAFA!important;
|
||||
background-color: #67c23a!important;
|
||||
border-color: #67c23a!important;
|
||||
}
|
||||
Reference in New Issue
Block a user