@import './variables.scss'; @import './mixin.scss'; @import './transition.scss'; @import './element-ui.scss'; @import './element-variables'; @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, 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; } // 去掉IE 的密码眼睛 input::-ms-reveal { display: none; } .clearfix { &:after { visibility: hidden; display: block; font-size: 0; content: " "; clear: both; height: 0; } } //main-container全局样式 .app-container { height:100%; min-height: calc(100vh - 158px); //border:10px solid #ebebeb; } .app-header{ height:$headerHeight !important; background-color:$headerColor; width: 100%; position:fixed; //box-shadow: 2px 2px 3px 0 rgba(0, 0, 0, .3); color:$headerText; .dropdown-container{ height: $headerHeight; .dropdown-wrapper{ color:$dropDownText; } } } .navbar, .el-breadcrumb, .app-breadcrumb .el-breadcrumb { height:$breadcrumbHeight !important; line-height: $breadcrumbHeight !important; } .navbar .hamburger-container{ display:flex; align-items: center; } .tags-view-container { .tags-view-wrapper { .tags-view-item{ &.active { background-color: $tagsViewActiveBg !important; color: #fff !important; border-color: $tagsViewActiveBg !important; } } } } .no-head-scrollbar, has-head-scrollbar{ .el-scrollbar__wrap{ overflow-x: hidden; padding: 10px; background-color: #ebebeb; } } .no-head-scrollbar{ height: calc(100vh - 138px); } .app-body{ width: 100%; position:fixed; margin-top:$headerHeight; } .el-main{ padding:0px !important; //height: calc(100vh - $headerHeight); } .imgBox img{ max-height: 400px !important; max-width:700px !important; margin: 0px auto; } .table-container{ background-color: $tableTitleColor !important; border-top: 12px solid #ebebeb !important; .table-title{ background-color:#fff; height: $tableTitleHeight; .title-header{ line-height:$tableTitleHeight; color: $tableTitleText; i{ margin-left: 10px; margin-right: 5px; } } } } .el-table td{ padding: 4px 0px !important; } .pop-window{ font-size: 14px;width:200px; padding-right:5px; .pop-title{ font-size: 16px; margin-bottom: 8px; } .pop-line{ line-height:20px; } .pop-btns{ margin:10px 0px; .mini-btn{ display: inline-block; line-height: 1; white-space: nowrap; cursor: pointer; background: #fff; border: 1px solid #dcdfe6; color: #606266; -webkit-appearance: none; text-align: center; box-sizing: border-box; outline: none; margin: 0; transition: .1s; font-weight: 500; padding: 7px 15px; font-size: 12px; border-radius: 3px; } .mini-btn+.mini-btn{ margin-left:10px; } #btnEdit{ color: #409eff; background: #ecf5ff; border-color: #b3d8ff; } #btnEdit:hover{ background: #409eff; border-color: #409eff; color: #fff; } #btnDelete{ color: #f56c6c; background: #fef0f0; border-color: #fbc4c4; } #btnDelete:hover{ background: #f56c6c; border-color: #f56c6c; color: #fff; } } }