372 lines
5.7 KiB
SCSS
372 lines
5.7 KiB
SCSS
/* 覆盖element-plus样式 */
|
||
|
||
:root {
|
||
--el-color-primary: #409EFF;
|
||
--el-color-primary-light-1: #53a7ff;
|
||
--el-color-primary-light-2: #66b1ff;
|
||
--el-color-primary-light-3: #79bbff;
|
||
--el-color-primary-light-4: #8cc4ff;
|
||
--el-color-primary-light-5: #9fceff;
|
||
--el-color-primary-light-6: #b2d8ff;
|
||
--el-color-primary-light-7: #c5e1ff;
|
||
--el-color-primary-light-8: #d8ebff;
|
||
--el-color-primary-light-9: #ebf5ff;
|
||
--el-color-primary-dark-1: #398ee5;
|
||
--el-color-primary-dark-2: #337ecc;
|
||
--el-color-primary-dark-3: #2c6eb2;
|
||
--el-color-primary-dark-4: #265e99;
|
||
--el-color-primary-dark-5: #204f7f;
|
||
--el-color-primary-dark-6: #193f66;
|
||
--el-color-primary-dark-7: #132f4c;
|
||
--el-color-primary-dark-8: #0c1f32;
|
||
--el-color-primary-dark-9: #060f19;
|
||
--el-border-radius-base: 2px;
|
||
}
|
||
|
||
.el-menu {
|
||
border: none !important;
|
||
}
|
||
|
||
.el-menu .el-menu-item a {
|
||
color: inherit;
|
||
text-decoration: none;
|
||
display: block;
|
||
width: 100%;
|
||
height: 100%;
|
||
position: absolute;
|
||
top: 0px;
|
||
left: 0px;
|
||
}
|
||
|
||
.el-form-item-msg {
|
||
font-size: 12px;
|
||
color: #999;
|
||
clear: both;
|
||
width: 100%;
|
||
}
|
||
|
||
.el-container {
|
||
height: 100%;
|
||
}
|
||
|
||
.el-aside {
|
||
border-right: 1px solid var(--el-border-color-light);
|
||
}
|
||
|
||
.el-container+.el-aside {
|
||
border-right: 0;
|
||
border-left: 1px solid var(--el-border-color-light);
|
||
}
|
||
|
||
.el-divider--horizontal {
|
||
margin: 12px 0;
|
||
}
|
||
.el-header {
|
||
background: #fff;
|
||
border-bottom: 1px solid var(--el-border-color-light);
|
||
padding: 13px 15px;
|
||
display: flex;
|
||
justify-content: space-between;
|
||
align-items: center;
|
||
}
|
||
|
||
.el-header .left-panel {
|
||
display: flex;
|
||
align-items: center;
|
||
}
|
||
|
||
.el-header .right-panel {
|
||
display: flex;
|
||
align-items: center;
|
||
}
|
||
|
||
.el-header .right-panel>*+* {
|
||
margin-left: 10px;
|
||
}
|
||
|
||
.el-footer {
|
||
background: #fff;
|
||
// border-top: 1px solid var(--el-border-color-light);
|
||
padding: 13px 15px;
|
||
height: 51px;
|
||
text-align: right;
|
||
}
|
||
|
||
.el-main {
|
||
padding: 8px;
|
||
}
|
||
|
||
.el-main.nopadding {
|
||
padding: 0;
|
||
background: #fff;
|
||
}
|
||
|
||
.el-drawer__body {
|
||
overflow: auto;
|
||
padding: 0;
|
||
}
|
||
|
||
.el-popconfirm__main {
|
||
margin: 14px 0;
|
||
}
|
||
|
||
.el-card__header {
|
||
border-bottom: 0;
|
||
font-size: 17px;
|
||
font-weight: bold;
|
||
padding: 15px 20px 0px 20px;
|
||
}
|
||
|
||
.el-dialog__title {
|
||
font-size: 17px;
|
||
font-weight: bold;
|
||
}
|
||
|
||
.el-drawer__header>:first-child {
|
||
font-size: 17px;
|
||
font-weight: bold;
|
||
}
|
||
|
||
.el-tree.menu .el-tree-node__content {
|
||
height: 36px;
|
||
}
|
||
|
||
.el-tree.menu .el-tree-node__content .el-tree-node__label .icon {
|
||
margin-right: 5px;
|
||
}
|
||
|
||
.el-progress__text {
|
||
font-size: 12px !important;
|
||
}
|
||
|
||
.el-progress__text i {
|
||
font-size: 14.4px !important;
|
||
}
|
||
|
||
.el-step.is-horizontal .el-step__line {
|
||
height: 1px;
|
||
}
|
||
|
||
.el-step__title {
|
||
font-size: 14px;
|
||
}
|
||
|
||
.drawerBG {
|
||
background: #f6f8f9;
|
||
}
|
||
|
||
.el-button+.el-dropdown {
|
||
margin-left: 10px;
|
||
}
|
||
|
||
.el-button-group+.el-dropdown {
|
||
margin-left: 10px;
|
||
}
|
||
|
||
.el-tag+.el-tag {
|
||
margin-left: 10px;
|
||
}
|
||
|
||
.el-button-group+.el-button-group {
|
||
margin-left: 10px;
|
||
}
|
||
|
||
.el-tabs__nav-wrap::after {
|
||
height: 1px;
|
||
}
|
||
|
||
.el-table th.is-sortable {
|
||
transition: .1s;
|
||
}
|
||
|
||
.el-table th.is-sortable:hover {
|
||
background: #eee;
|
||
}
|
||
|
||
.el-table .el-table__body-wrapper {
|
||
background: #f6f8f9;
|
||
}
|
||
|
||
.el-col .el-card {
|
||
margin-bottom: 15px;
|
||
}
|
||
|
||
.el-main {
|
||
flex-basis: 100%;
|
||
}
|
||
|
||
.el-main>.scTable .el-table--border::before {
|
||
display: none;
|
||
}
|
||
|
||
.el-main>.scTable .el-table--border::after {
|
||
display: none;
|
||
}
|
||
|
||
.el-main>.scTable .el-table--border .el-table__inner-wrapper::after {
|
||
display: none;
|
||
}
|
||
|
||
.el-main>.scTable .el-table__border-left-patch {
|
||
display: none;
|
||
}
|
||
|
||
.el-main>.scTable .el-table--border .el-table__inner-wrapper tr:first-child td:first-child {
|
||
border-left: 0;
|
||
}
|
||
|
||
.el-main>.scTable .el-table--border .el-table__inner-wrapper tr:first-child th:first-child {
|
||
border-left: 0;
|
||
}
|
||
|
||
.el-table.el-table--large {
|
||
font-size: 14px;
|
||
}
|
||
|
||
.el-table.el-table--small {
|
||
font-size: 12px;
|
||
}
|
||
|
||
.el-table {
|
||
font-size: 12px;
|
||
}
|
||
|
||
.el-radio-button__inner {
|
||
font-size: 12px;
|
||
}
|
||
|
||
.el-checkbox-button__inner {
|
||
font-size: 12px;
|
||
}
|
||
|
||
.aminui-side-split li.active {
|
||
background-color: var(--el-color-primary);
|
||
}
|
||
|
||
.adminui-tags li:hover {
|
||
background-color: var(--el-color-primary-light-9);
|
||
}
|
||
|
||
.adminui-tags li.active {
|
||
background-color: var(--el-color-primary) !important;
|
||
}
|
||
|
||
.contextmenu li:hover {
|
||
background-color: var(--el-color-primary-light-9) !important;
|
||
color: var(--el-color-primary-light-2) !important;
|
||
}
|
||
|
||
.data-box .item-background {
|
||
background-color: var(--el-color-primary) !important;
|
||
}
|
||
|
||
.layout-setting,
|
||
.diy-grid-setting {
|
||
background-color: var(--el-color-primary) !important;
|
||
}
|
||
|
||
/* 全部禁用el-tag动画 */
|
||
.el-tag {transition: all 0s !important;}
|
||
|
||
/* 覆盖tinymce样式 */
|
||
.sceditor .tox-tinymce {
|
||
border: 1px solid #DCDFE6;
|
||
border-radius: 0;
|
||
}
|
||
|
||
body .tox-tinymce-aux {
|
||
z-index: 5700;
|
||
}
|
||
|
||
|
||
.el-table--medium td, .el-table--medium th {
|
||
padding: 2px 0;
|
||
}
|
||
|
||
.el-form-item {
|
||
margin-bottom: 16px;
|
||
}
|
||
|
||
.el-col .el-card {
|
||
margin-bottom: 8px;
|
||
}
|
||
|
||
.el-card,
|
||
.el-message {
|
||
border-radius: 0px;
|
||
overflow: hidden;
|
||
}
|
||
|
||
.el-card__body {
|
||
padding: 6px;
|
||
}
|
||
|
||
.el-card__header {
|
||
padding: 6px;
|
||
}
|
||
|
||
.el-tabs--border-card>.el-tabs__content {
|
||
padding: 6px;
|
||
}
|
||
|
||
.el-dialog__header {
|
||
padding: 10px 10px 6px;
|
||
}
|
||
|
||
.el-dialog {
|
||
display: flex;
|
||
flex-direction: column;
|
||
margin: 0 !important;
|
||
position: absolute;
|
||
top: 50%;
|
||
left: 50%;
|
||
transform: translate(-50%, -50%);
|
||
/*height:600px;*/
|
||
max-height: calc(100% - 30px);
|
||
max-width: calc(100% - 30px);
|
||
}
|
||
|
||
.el-dialog__headerbtn {
|
||
top: 8px;
|
||
}
|
||
|
||
.el-dialog .el-dialog__body {
|
||
flex: 1;
|
||
overflow: auto;
|
||
padding: 8px 12px;
|
||
}
|
||
|
||
.el-drawer__header {
|
||
margin-bottom: 0;
|
||
// margin-bottom: 16px;
|
||
}
|
||
|
||
.el-drawer .el-drawer__body {
|
||
flex: 1;
|
||
overflow: auto;
|
||
padding: 8px 12px;
|
||
}
|
||
|
||
.el-form--label-top .el-form-item__label {
|
||
line-height: 16px;
|
||
}
|
||
|
||
.el-button+.el-button {
|
||
margin-left: 4px;
|
||
}
|
||
|
||
.el-tabs__header {
|
||
margin: 0 0 6px;
|
||
}
|
||
|
||
.pagination-container {
|
||
padding: 0px 0px;
|
||
}
|
||
|
||
body .el-table th.gutter {
|
||
display: table-cell !important;
|
||
}
|
||
|
||
.el-dialog__footer {
|
||
padding: 6px 6px 6px;
|
||
} |