416 lines
9.7 KiB
SCSS
416 lines
9.7 KiB
SCSS
* {
|
|
font-family: Inter-Regular, NotoSans-Regular, NunitoSans-Regular;
|
|
}
|
|
/* 覆盖element的loading样式 */
|
|
.el-loading-spinner .circular{
|
|
width: 42px;
|
|
height: 42px;
|
|
animation: loading-rotate 2s linear infinite;
|
|
display: none;
|
|
background-color: $--background-color-empty;
|
|
}
|
|
.el-dropdown-menu__item {
|
|
list-style: none;
|
|
line-height: 36px;
|
|
padding: 0 20px;
|
|
margin: 0;
|
|
font-size: 14px;
|
|
color: $--color-text-regular;
|
|
cursor: pointer;
|
|
outline: 0;
|
|
}
|
|
.el-loading-mask .el-loading-spinner{
|
|
background: url(~@/assets/img/loading.gif) no-repeat;
|
|
background-size: 48px 48px;
|
|
width: 48px;
|
|
height: 48px;
|
|
top: 50%;
|
|
left: 50%;
|
|
margin-top: 0;
|
|
transform: translate(-50%, -50%);
|
|
}
|
|
.export-pdf-mask {
|
|
.el-loading-spinner {
|
|
.el-loading-text{
|
|
white-space: nowrap;
|
|
margin-left: 54px;
|
|
margin-top: 10px;
|
|
color: #f8f8f8;
|
|
}
|
|
}
|
|
}
|
|
/* 自定义的dropdown */
|
|
.nz-dropdown {
|
|
width: 90px;
|
|
right: 0;
|
|
left: unset !important;
|
|
top: 30px;
|
|
}
|
|
.nz-icon-minus-medium {
|
|
color: $--color-text-regular;
|
|
cursor: pointer;
|
|
}
|
|
.nz-icon-copy {
|
|
padding: 0 4px;
|
|
color: $--color-primary;
|
|
background-color: $--background-color-copy;
|
|
border-radius: $--border-radius-small;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.red {
|
|
color: $--color-danger !important;
|
|
}
|
|
.green {
|
|
color:$--color-success !important;
|
|
}
|
|
.gray {
|
|
color: $--color-suspended !important;
|
|
}
|
|
.monitorColor {
|
|
color: $--color-monitor !important;
|
|
}
|
|
.dark-red {
|
|
color: #aa0000 !important;
|
|
}
|
|
.orange {
|
|
color: $--color-primary !important;
|
|
}
|
|
.red-bg {
|
|
background-color: $--color-danger !important;
|
|
}
|
|
.green-bg {
|
|
background-color:$--color-success !important;
|
|
}
|
|
.yellow-bg {
|
|
background-color:$--color-silence !important;
|
|
}
|
|
.gray-bg {
|
|
background-color: $--color-suspended !important;
|
|
}
|
|
.dark-red-bg {
|
|
background-color: #aa0000 !important;
|
|
}
|
|
.orange-bg {
|
|
background-color: $--color-primary !important;
|
|
}
|
|
.colorffa416{
|
|
color: #ffa416;
|
|
}
|
|
.colorec7f66{
|
|
color: #ec7f66;
|
|
}
|
|
.color535b64{
|
|
color: #535b64;
|
|
}
|
|
.color999999{
|
|
color: #999999;
|
|
}
|
|
.color23bf9a{
|
|
color: #23bf9a;
|
|
}
|
|
.timezone-area{
|
|
display: inline-block;
|
|
vertical-align: middle;
|
|
width: auto;
|
|
font-size: 14px;
|
|
float: left;
|
|
margin-left: 10px;
|
|
font-family: PingFangSC-Regular;
|
|
color: $--color-text-primary;
|
|
line-height: 20px;
|
|
font-weight: 400;
|
|
margin-top: 3px;
|
|
max-width: 30%;
|
|
overflow: hidden;
|
|
text-overflow:ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
.timezone-offset{
|
|
display: inline-block;
|
|
vertical-align: middle;
|
|
width: auto;
|
|
font-size: 14px;
|
|
margin-right: 10px;
|
|
font-family: PingFangSC-Regular;
|
|
color: $--color-text-primary;
|
|
line-height: 20px;
|
|
font-weight: 400;
|
|
}
|
|
.active-icon{
|
|
margin-top:0px;
|
|
width:10px;
|
|
height:10px;
|
|
border-radius:50%;
|
|
display: inline-block;
|
|
margin-right: 5px;
|
|
}
|
|
.data-column__span{
|
|
display: inline-block;
|
|
}
|
|
.right-box__footer span{
|
|
display: inline-block;
|
|
}
|
|
.right-box__footer span:first-letter{
|
|
text-transform: capitalize;
|
|
}
|
|
.data-column__span:first-letter,.el-tabs__item:first-letter,.header__title:first-letter,.operation-dropdown-text:first-letter{
|
|
text-transform: capitalize;
|
|
}
|
|
.personal-dropdown {
|
|
border-bottom: 1px solid $--border-color-light;
|
|
padding: 0 20px;
|
|
.personal-dropdown__username {
|
|
max-width: 109px;
|
|
text-overflow: ellipsis;
|
|
overflow: hidden;
|
|
white-space: nowrap;
|
|
vertical-align: middle;
|
|
font-family: Roboto-Regular;
|
|
font-size: 15px;
|
|
color: $--color-text-primary;
|
|
font-weight: 400;
|
|
}
|
|
.personal-dropdown__name {
|
|
max-width: 109px;
|
|
text-overflow: ellipsis;
|
|
overflow: hidden;
|
|
white-space: nowrap;
|
|
vertical-align: middle;
|
|
font-family: Roboto-Regular;
|
|
font-size: 14px;
|
|
color: $--color-text-secondary;
|
|
font-weight: 400;
|
|
padding-bottom: 10px;
|
|
}
|
|
}
|
|
td .nz-icon-gear:before{
|
|
color: $--color-text-regular;
|
|
}
|
|
|
|
.el-dropdown-menu {
|
|
background-color: $--background-color-empty !important;
|
|
border-color: transparent;
|
|
box-shadow: -1px 1px 10px -1px $--dropdown-menu-box-shadow-color;
|
|
border-radius: 2px;
|
|
}
|
|
.el-popover {
|
|
box-shadow: -1px 1px 10px -1px $--dropdown-menu-box-shadow-color !important;
|
|
}
|
|
.el-input__count-inner {
|
|
background-color: $--background-color-empty !important;
|
|
}
|
|
.el-textarea {
|
|
.el-textarea__inner {
|
|
background-color: $--background-color-empty !important;
|
|
}
|
|
.el-input__count {
|
|
background-color: $--background-color-empty !important;
|
|
}
|
|
}
|
|
|
|
.icon {
|
|
width: 5rem;
|
|
height: 5rem;
|
|
vertical-align: -0.15em;
|
|
fill: currentColor;
|
|
overflow: hidden;
|
|
}
|
|
.time-no-data {
|
|
text-align: center;
|
|
width: 100%;
|
|
color: $--color-text-secondary;
|
|
font-family: NotoSans !important;
|
|
font-size: 12px !important;
|
|
}
|
|
.el-tree {
|
|
background-color: $--background-color-empty !important;
|
|
}
|
|
.el-table::before,.el-table__fixed-right::before {
|
|
background-color: $--border-color-light !important;
|
|
}
|
|
.el-message-box {
|
|
background-color: $--background-color-empty !important;
|
|
border: 1px solid $--border-color-light;
|
|
.el-button:nth-of-type(1) {
|
|
background-color: $--button-light-hover-background-color;
|
|
border: 1px solid $--button-light-border-color;
|
|
color: $--button-light-color;
|
|
}
|
|
.el-button:nth-of-type(1):hover {
|
|
background-color: $--button-light-hover-background-color !important;
|
|
border: 1px solid $--button-primary-hover-background-color !important;
|
|
color: $--button-primary-background-color !important;
|
|
}
|
|
.el-button.el-button--primary:hover {
|
|
background-color: $--button-primary-hover-background-color !important;
|
|
opacity: 1 !important;
|
|
}
|
|
}
|
|
.right-box .right-box-form-add,.right-box .right-box-form-minus-box{
|
|
padding:4px 6px;
|
|
background: $--background-color-copy;
|
|
border-radius: $--border-radius-small;
|
|
border: 1px solid $--span-nz-icon-border-color;
|
|
cursor: pointer;
|
|
.nz-icon-plus {
|
|
color: $--nz-icon-color;
|
|
}
|
|
}
|
|
.el-time-panel {
|
|
background-color: $--background-color-empty;
|
|
.el-time-panel__footer {
|
|
border: 1px solid $--border-color-light;
|
|
}
|
|
}
|
|
.el-scrollbar {
|
|
background-color: $--background-color-empty;
|
|
}
|
|
.el-input-group.el-input-group--prepend,.query-input-inactive.el-input {
|
|
.el-input-group__prepend {
|
|
background-color: $--right-box-sub-title-background-color;
|
|
border: 1px solid $--border-color-light;
|
|
border-right: none;
|
|
.el-input__inner:focus {
|
|
border-color: $--border-color-light-hover;
|
|
}
|
|
}
|
|
.el-input__inner:hover {
|
|
border-color: $--border-color-light-hover;
|
|
}
|
|
}
|
|
.sub-box.detail-view-sub-box {
|
|
.top-tools.top-tools--sub {
|
|
padding: 0 15px 0 0;
|
|
margin-right: 15px;
|
|
margin-left: 20px;
|
|
border: none;
|
|
border-bottom: 1px solid $--border-color-light;
|
|
}
|
|
}
|
|
.el-dialog__wrapper.nz-dialog {
|
|
.el-upload-dragger {
|
|
background-color: $--background-color-empty;
|
|
border: 1px dashed $--border-color-light;
|
|
}
|
|
.el-upload-dragger:hover {
|
|
border: 1px dashed $--color-primary;
|
|
}
|
|
.el-message-box__btns {
|
|
.el-button {
|
|
background-color: $--background-color-empty;
|
|
border: 1px solid $--border-color-light;
|
|
}
|
|
.el-button:hover {
|
|
border: 1px solid $--color-primary;
|
|
}
|
|
.el-button:nth-of-type(3) {
|
|
margin-left: 10px;
|
|
}
|
|
.nz-btn.nz-btn-size-normal {
|
|
background-color: $--color-warning;
|
|
border: 1px solid $--color-warning;
|
|
color: $--button-primary-color;
|
|
}
|
|
.nz-btn.nz-btn-size-normal:hover {
|
|
background-color: #fe9f37;
|
|
}
|
|
}
|
|
}
|
|
.el-dialog {
|
|
.el-radio-button {
|
|
width: 142px;
|
|
.el-radio-button__inner {
|
|
width: 100%;
|
|
background-color: $--popover-background-color;
|
|
border-color: $--border-color-light;
|
|
}
|
|
}
|
|
.el-radio-button.is-active .el-radio-button__inner{
|
|
background-color: $--color-warning;
|
|
border-color: $--color-warning;
|
|
}
|
|
}
|
|
.el-switch.is-checked .el-switch__core {
|
|
background-color: $--color-primary;
|
|
}
|
|
.el-switch .el-switch__core {
|
|
background-color: $--switch-background-color;
|
|
}
|
|
.el-tooltip__popper.is-light {
|
|
background-color: $--background-color-empty;
|
|
border-color: $--border-color-light;
|
|
}
|
|
/* 颜色选择器 */
|
|
.vc-sketch {
|
|
background-color: $--background-color-empty;
|
|
border: 1px solid $--border-color-light;
|
|
margin-top: 6px;
|
|
.vc-input__input {
|
|
background-color: $--project-input-background-color;
|
|
color: $--color-text-regular;
|
|
box-shadow: inset 0 0 0 1px $--border-color-light;
|
|
}
|
|
.vc-sketch-presets {
|
|
border-top: none;
|
|
}
|
|
}
|
|
|
|
.el-tooltip__popper.is-dark {
|
|
background-color: $--background-color-empty !important;
|
|
color: $--color-text-regular !important;
|
|
border: 1px solid $--border-color-light;
|
|
}
|
|
.project-calendar.nz-input-group-middle {
|
|
border: 1px solid $--border-color-light;
|
|
}
|
|
.el-scrollbar-normal__color {
|
|
color: $--color-text-regular;
|
|
}
|
|
.chart-body,.chart__canvas,.line-area {
|
|
div:nth-of-type(2) {
|
|
background-color: $--chart-background-color !important;
|
|
border-color: $--chart-border-color !important;
|
|
div {
|
|
color: $--color-text-regular;
|
|
}
|
|
}
|
|
}
|
|
.el-dropdown-menu-link .el-dropdown-menu__item{
|
|
padding: 0;
|
|
.link-title {
|
|
padding: 0 20px;
|
|
}
|
|
}
|
|
.el-icon-arrow-right {
|
|
font-family: "nz-icon" !important;
|
|
font-size: 16px;
|
|
font-style: normal;
|
|
-webkit-font-smoothing: antialiased;
|
|
-moz-osx-font-smoothing: grayscale;
|
|
}
|
|
.el-icon-arrow-right:before {
|
|
content: "\e6ad";
|
|
}
|
|
.el-table__header-wrapper {
|
|
th{
|
|
border-right:none ;
|
|
}
|
|
th:hover{
|
|
border-right: 2px solid #E7EAED;
|
|
}
|
|
}
|
|
.chart-bar,.chart-gauge,.chart-time-series,.chart-treemap,.chart-pie,.chart-canvas-tooltip,.line-chart-block-Zindex,.alert-label,.alert-labelUp,.alert-days-info-tooltip,.nz-tooltip-bac{
|
|
background-color: $--tooltip-background-color !important;
|
|
border: 2px solid $--tooltip-border-color !important;
|
|
border-color: $--tooltip-border-color !important;
|
|
color: $--color-text-regular !important;
|
|
box-shadow: none !important;
|
|
}
|
|
.loading-hide {
|
|
display: none;
|
|
}
|
|
input, textarea {
|
|
font-family: Inter-Regular !important;
|
|
}
|