// 表格 el-table!
|
// ------------------------------------------------------------------
|
.el-table,
|
.el-table__expanded-cell {
|
background-color: transparent !important;
|
}
|
|
.el-table,
|
.el-table__body-wrapper .el-table__empty-block {
|
background: transparent !important;
|
|
span {
|
color: #fff !important;
|
}
|
}
|
|
.el-table thead {
|
tr {
|
background: transparent !important;
|
|
th {
|
background: $table-header-bg-color !important;
|
color: #fff !important;
|
}
|
}
|
}
|
|
.el-table tr:nth-child(2n) {
|
background: $table-body-tr-2n-color;
|
color: #fff !important;
|
}
|
|
.el-table tr:nth-child(2n-1) {
|
background: $table-body-tr-n-color;
|
color: #fff;
|
}
|
|
.el-table tr:hover {
|
td {
|
cursor: pointer;
|
// background-color: rgba(222, 176, 176, 0.2) !important;
|
background-color: rgba(29, 92, 228, 0.7) !important;
|
}
|
}
|
|
.el-table::before {
|
height: 0;
|
}
|
|
.el-table__body-wrapper {
|
height: calc(100% - 48px);
|
overflow-x: hidden !important;
|
overflow-y: auto;
|
}
|
|
.el-table__header-wrapper {
|
height: 48px;
|
}
|
|
.el-table {
|
height: 100%;
|
}
|
|
.el-table--enable-row-transition .el-table__body td.el-table__cell,
|
.el-table tr th {
|
border: 0 !important;
|
}
|
|
.base-info {
|
.el-table thead tr th {
|
padding: 6px 0;
|
}
|
|
.el-table__header-wrapper {
|
height: 36px;
|
}
|
}
|
|
|
|
// 分页 el-pagination!
|
// ------------------------------------------------------------------
|
|
.el-pagination.is-background .el-pager li:not(.disabled).active {
|
background-color: #184fca;
|
color: #c0c4cc !important;
|
}
|
|
.el-pagination.is-background .btn-next,
|
.el-pagination.is-background .btn-prev,
|
.el-pagination.is-background .el-pager li {
|
background-color: #184fca;
|
color: #fff;
|
}
|
|
.el-pagination.is-background .el-pager li:hover {
|
color: #1a3252;
|
}
|
|
|
|
|
|
//下拉框 el-select
|
// ------------------------------------------------------------------
|
|
.el-input--suffix .el-input__inner {
|
padding-right: 84px;
|
}
|
|
.el-input__inner {
|
background-color: $table-body-tr-2n-color;
|
color: #fff;
|
// border: 1px solid rgba(0, 92, 169, 1.0);
|
border: 1px solid $table-body-tr-n-color;
|
}
|
|
.el-select-dropdown {
|
// border: 1px solid rgba(0, 92, 169, 1.0);
|
border: 1px solid $table-body-tr-n-color;
|
background: transparent !important;
|
}
|
|
.el-select-dropdown__item {
|
font-size: 12px;
|
color: #fff;
|
font-weight: 200;
|
// background-color: $table-body-tr-n-color!important;
|
// background-color: rgba(8, 56, 185, .9) !important;
|
background-color: rgba(35, 50, 167, 0.85) !important;
|
}
|
|
.el-select-dropdown__list {
|
padding: 0;
|
}
|
|
.el-popper[x-placement^="bottom"] {
|
margin-top: 0px;
|
}
|
|
.el-popper .popper__arrow,
|
.el-popper .popper__arrow::after {
|
display: none;
|
}
|
|
.el-select-dropdown__item:hover {
|
background-color: rgba(45, 92, 200, 0.95) !important;
|
}
|
|
.el-select-dropdown__item:onBlur {
|
// background-color: rgba(0, 92, 169, 0.3);
|
background-color: #2d5cc8 !important;
|
}
|
|
.el-select-dropdown__empty {
|
background-color: rgba(9, 53, 182, 0.93) !important;
|
color: #fff;
|
}
|
|
.el-date-range-picker.has-sidebar {
|
width: 756px !important;
|
}
|
|
|
|
|
|
//时间选择器 el-data-picker
|
// ------------------------------------------------------------------
|
|
/* 日历样式 */
|
.el-picker-panel {
|
background-color: rgba(8, 56, 185, .9);
|
color: #ffffff;
|
border: 1px solid #93bee7 !important;
|
}
|
|
.el-picker-panel .el-date-range-picker__time-header {
|
border-bottom: 1px solid #93bee7 !important;
|
}
|
|
.el-picker-panel__icon-btn {
|
width: 8px;
|
height: 10px;
|
color: #5a81fd !important;
|
}
|
|
.el-picker-panel .el-input__inner {
|
background-color: rgba(8, 56, 185, .9);
|
border: #75ebf2;
|
color: #e8fdff;
|
}
|
|
.el-picker-panel .el-date-range-picker__content.is-left,
|
.el-picker-panel .el-date-range-picker__content.is-right {
|
border-right: 1px solid #93bee7 !important;
|
// background: url(./images/矩形.png) center center;
|
background-size: 100% 100%;
|
}
|
|
.el-picker-panel .el-date-range-picker__header {
|
color: #75ebf2;
|
}
|
|
.el-picker-panel .el-date-table th {
|
color: #c3e3ec;
|
}
|
|
.el-picker-panel .el-date-table td.available {
|
width: 14px;
|
height: 14px;
|
font-size: 16px;
|
font-family: Source Han Sans CN;
|
font-weight: bold;
|
color: #6ce6cb;
|
}
|
|
.el-picker-panel .el-date-table td.available:hover {
|
color: #ffffff;
|
}
|
|
.el-date-table td.in-range div,
|
.el-date-table td.in-range div:hover,
|
.el-date-table.is-week-mode .el-date-table__row.current div,
|
.el-date-table.is-week-mode .el-date-table__row:hover div {
|
background-color: #4c77b3 !important;
|
}
|
|
.el-time-panel {
|
background-color: #1b3e6f !important;
|
border: 1px solid #93bee7 !important;
|
}
|
|
.el-time-spinner__item {
|
color: #c3e3ec !important;
|
}
|
|
.el-time-spinner__item:hover:not(.disabled):not(.active) {
|
background: #4c77b3 !important;
|
}
|
|
.el-time-panel__btn {
|
color: #adcfff !important;
|
}
|
|
.el-picker-panel__footer {
|
background-color: #1b3e6f !important;
|
}
|
|
.el-icon-d-arrow-left {
|
color: #1475e3 !important;
|
}
|
|
.el-date-table th {
|
border-bottom: 1px solid #293f6f !important;
|
}
|
|
.el-date-editor .el-range-input {
|
// background-color: #1b3e6f;
|
background-color: transparent;
|
color: #fff;
|
height: 32px;
|
}
|
|
.el-date-editor .el-range-separator {
|
color: #fff;
|
margin-right: 10px;
|
line-height: 27px;
|
}
|
|
.el-range-editor.el-input__inner {
|
width: 100%;
|
height: 34px;
|
}
|
|
.el-date-editor .el-range__icon {
|
line-height: 27px;
|
}
|
|
.el-picker-panel [slot=sidebar],
|
.el-picker-panel__sidebar {
|
// background-color: #1b3e6f;
|
background-color: transparent;
|
}
|
|
.el-picker-panel__shortcut {
|
color: #adcfff;
|
}
|
|
.el-date-editor .el-range__close-icon {
|
line-height: 27px;
|
}
|
|
.el-year-table td .cell,
|
.el-month-table td .cell {
|
color: #fff;
|
}
|
|
.el-picker-panel__content {
|
margin: 0;
|
width: 100% !important;
|
}
|
|
/* 时间筛选 */
|
.el-time-panel__content::after,
|
.el-time-panel__content::before {
|
border-bottom: 1px solid #293f6f !important;
|
border-top: 1px solid #293f6f !important;
|
}
|
|
.el-time-panel {
|
background-color: #040d27 !important;
|
}
|
|
.el-time-panel__btn.confirm {
|
background-color: #040d27 !important;
|
color: #1475e3 !important;
|
}
|
|
.el-time-panel__btn.cancel {
|
background-color: #040d27 !important;
|
color: #6397d1 !important;
|
}
|
|
.el-time-panel__footer {
|
border-top: none !important;
|
}
|
|
.el-time-panel {
|
border: none;
|
border-top: 2px solid #293f6f !important;
|
}
|
|
.el-date-picker__header-label {
|
color: #fff !important;
|
}
|
|
|
|
|
|
//复选框 el-checkbox
|
// ------------------------------------------------------------------
|
|
.el-checkbox {
|
display: flex;
|
align-items: center;
|
|
.el-checkbox__input.is-focus .el-checkbox__inner {
|
border-color: $table-body-tr-2n-color !important;
|
font-size: 16px;
|
}
|
|
.el-checkbox__inner {
|
width: 20px;
|
height: 20px;
|
border-radius: 2px;
|
|
//对勾大小和位置
|
&::after {
|
height: 12px;
|
left: 7px;
|
}
|
}
|
|
.el-checkbox__label {
|
line-height: 20px;
|
padding-left: 8px;
|
font-size: 16px;
|
color: #fff;
|
}
|
}
|
|
|
.el-dialog__wrapper {
|
|
.el-dialog {
|
margin: 0 !important;
|
position: absolute;
|
top: 50%;
|
left: 50%;
|
transform: translate(-50%, -50%);
|
background: $el-dialog-bg-color;
|
}
|
|
.el-dialog__header {
|
position: relative;
|
padding: 0 !important;
|
height: 40px;
|
line-height: 40px;
|
|
|
span {
|
color: #fff;
|
}
|
|
button {
|
position: absolute;
|
right: 10px;
|
top: 50%;
|
transform: translate(0, -50%);
|
|
i {
|
color: #fff;
|
}
|
}
|
}
|
|
.el-dialog__body {
|
padding: 10px;
|
height: calc(100% - 40px);
|
color: #fff;
|
}
|
}
|
|
|
|
.tree-search-popup {
|
top: 135px !important;
|
background: $tree-search-bg-color;
|
border: 1px solid rgba(35, 50, 167, 0.7);
|
color: #fff;
|
|
.select-tree-box {
|
background: transparent;
|
color: #fff;
|
|
.el-tree-node__content,
|
.el-upload-list__item,
|
.el-tree-node__content:hover,
|
.el-upload-list__item:hover {
|
background: transparent !important;
|
}
|
}
|
}
|
|
.tree-search-popup::after {
|
content: '';
|
width: 0;
|
height: 0;
|
|
position: absolute;
|
top: 0;
|
left: 50%;
|
border: 10px solid;
|
transform: translate(-50%, -100%);
|
|
border-color: transparent transparent rgba(35, 50, 167, 0.7) transparent;
|
}
|
|
.el-tree {
|
color: #fff;
|
background: transparent;
|
}
|
|
.el-tree-node__content:hover {
|
background: transparent;
|
}
|
|
.el-tree-node:focus>.el-tree-node__content {
|
background-color: #5daaf0;
|
}
|
|
// 活动折叠面板
|
.activity-list {
|
|
.el-collapse-item__header,
|
.el-collapse-item__wrap {
|
background-color: $bg-color;
|
color: #ffffff;
|
padding-left: 25px;
|
border: 0;
|
}
|
|
.el-collapse-item__content {
|
color: #ffffff;
|
padding-bottom: 0;
|
}
|
|
ul {
|
li {
|
text-align: left;
|
padding-left: 10px;
|
cursor: pointer;
|
}
|
|
li:hover {
|
background-color: $bg-color-hover;
|
}
|
}
|
}
|
|
|
.el-collapse {
|
border: 0;
|
}
|