You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

200 lines
3.3 KiB

@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%;
background-color: #eff2f9;
}
*,
*: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:1px 20px 20px 20px;
background-color: #eff2f9;
}
/*表头错行 .el-table th.gutter{
display: table-cell!important;
} */
.pagination {
text-align: right;
/* margin-top: 8px; */
padding: 2px 28px;
border: 1px solid #eee;
border-top: 0px;
}
.v-table .el-table__header th {
padding: 0px !important;
background-color: #f8f8f9 !important;
font-size: 13px;
height: 42px;
color: #616161;
}
.v-table .el-table__header th.is-sortable {
padding: 3px !important;
}
.table-tree.text-inline .el-table__body .cell {
word-break: inherit !important;
white-space: nowrap !important;
}
.v-table .el-table__body td {
padding: 9px 0 !important;
}
.v-table .el-table__footer td {
padding: 7px 0 !important;
}
/* 2021.01.30修复火狐checkbox错位问题 */
.table-tree .el-table-column--selection .cell {
display: inline;
}
.table-tree.text-inline .el-table th>.cell {
white-space: nowrap !important;
}
.table-tree .el-table__body-wrapper::-webkit-scrollbar {
width: 10px;
height: 10px;
}
.table-tree .el-table__body-wrapper::-webkit-scrollbar-thumb {
border-radius: 5px;
background: #ddd;
}
.table-tree .table-img {
height: 40px;
border-radius: 5px;
margin-right: 10px;
width: 40px;
object-fit: cover;
}
.table-tree .table-img:hover {
cursor: pointer;
}
.v-table .ivu-tag-default {
border: none !important;
background: none !important;
}
/* .v-table >>> .el-table__fixed-body-wrapper {
top: 41px !important;
} */
.v-table .el-table__fixed:before {
border-color: none !important;
}
/* 2021.06.19判断谷歌内核浏览重新计算table高度 */
.chrome .el-table__fixed {
height: calc(100% - 11px) !important;
background: white;
/* box-shadow: 0px -11px 10px rgb(0 0 0 / 12%) !important; */
}
.chrome .el-table__body-wrapper::-webkit-scrollbar {
width: 11px;
height: 11px;
}
.chrome .el-table__body-wrapper::-webkit-scrollbar-thumb {
border-radius: 5px;
background: #ddd;
}
.chrome .el-table__fixed:before {
background-color: unset;
}
.chrome .el-table__fixed-footer-wrapper {
bottom: -11.5px;
}
.searchFields {
display: flex;
align-items: center;
}
.searchFields .el-input__inner{
height: 32px !important;
line-height: 32px !important;
}
::-webkit-scrollbar {
width: 6px;
height: 6px;
}
::-webkit-scrollbar-thumb {
border-radius: 5px;
background: #ddd;
}
.app-main{
//background: #fff;
}
#nprogress .bar{
background: $primaryColor !important;
}