@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%;
|
}
|
|
*,
|
*:before,
|
*:after {
|
box-sizing: inherit;
|
}
|
|
a:focus,
|
a:active {
|
outline: none;
|
}
|
|
a,
|
a:focus,
|
a:hover {
|
cursor: pointer;
|
color: inherit;
|
text-decoration: none;
|
}
|
|
div:focus {
|
outline: none;
|
}
|
|
.clearfix {
|
&:after {
|
visibility: hidden;
|
display: block;
|
font-size: 0;
|
content: ' ';
|
clear: both;
|
height: 0;
|
}
|
}
|
|
// main-container global css
|
.app-container {
|
padding: 20px;
|
}
|
|
.filter-container {
|
padding-bottom: 15px;
|
}
|
|
.el-form-item {
|
margin-bottom: 15px;
|
}
|
|
.divider-title {
|
color: #409eff;
|
font-size: 18px;
|
font-weight: 600;
|
}
|
|
.dialog-title {
|
font-weight: 600;
|
}
|
|
.el-form-item__error {
|
padding-top: 1px;
|
}
|
|
.el-table th {
|
padding: 8px 0;
|
}
|
|
.el-table td {
|
padding: 6px 0;
|
}
|
|
.el-button--danger {
|
//margin-left: 0 !important;
|
}
|
|
.location-icon-container {
|
margin: 5px 0 0 20px;
|
cursor: pointer;
|
|
.location-icon {
|
font-size: 30px;
|
color: #1296db;
|
}
|
}
|
|
.upload-btn {
|
position: absolute;
|
top: 10px;
|
right: -40px;
|
}
|
|
.sidebar-logo-container {
|
h1 {
|
text-align: left;
|
white-space: nowrap;
|
overflow: hidden;
|
text-overflow: ellipsis;
|
}
|
}
|
|
.el-input.is-disabled .el-input__inner {
|
background-color: white;
|
cursor: default;
|
}
|
|
.el-range-editor.is-disabled {
|
background-color: white;
|
cursor: default;
|
}
|
|
.el-range-editor.is-disabled input {
|
background-color: white;
|
cursor: default;
|
}
|
.el-select .el-input.is-disabled .el-input__inner {
|
cursor: default;
|
}
|
|
.el-textarea.is-disabled .el-textarea__inner {
|
background-color: white;
|
cursor: default;
|
}
|
|
.el-checkbox__input.is-disabled .el-checkbox__inner {
|
background-color: white;
|
cursor: default;
|
}
|
.el-checkbox__input.is-disabled + span.el-checkbox__label {
|
cursor: default;
|
}
|
|
div.cell i.el-icon.el-icon-arrow-right:before {
|
content: '详情';
|
color: #66b1ff;
|
}
|
|
.el-table__expand-icon--expanded {
|
transform: none;
|
}
|
|
/* hover hack */
|
#app .sidebar-container .submenu-title-noDropdown:hover,
|
#app .sidebar-container .nest-menu .el-submenu > .el-submenu__title:hover,
|
#app .sidebar-container .el-submenu .el-menu-item:hover {
|
// background-color: #0167b2 !important;
|
text-decoration: underline;
|
}
|
#app .el-menu .nest-menu .el-submenu .el-menu .nest-menu .el-menu-item {
|
background-color: #f2f2f2 !important;
|
}
|
|
#app .el-menu .nest-menu .el-submenu .el-menu .nest-menu .el-menu-item:hover {
|
// background-color: #0167b2 !important;
|
text-decoration: underline;
|
}
|
|
#app .el-menu .nest-menu .el-submenu .el-menu .nest-menu .el-menu-item {
|
list-style: inside;
|
background-color: #f2f2f2 !important;
|
color: #315f98 !important;
|
}
|