style: 主题样式调整
This commit is contained in:
@@ -37,11 +37,14 @@
|
|||||||
left: unset !important;
|
left: unset !important;
|
||||||
top: 30px;
|
top: 30px;
|
||||||
}
|
}
|
||||||
|
.nz-icon-minus-medium {
|
||||||
|
color: $--color-text-regular;
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
.nz-icon-copy {
|
.nz-icon-copy {
|
||||||
padding: 0 4px;
|
padding: 0 4px;
|
||||||
color: $--color-primary;
|
color: $--color-primary;
|
||||||
background-color: #FDF5E9;
|
background-color: $--background-color-copy;
|
||||||
border-radius: $--border-radius-small;
|
border-radius: $--border-radius-small;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -307,6 +307,9 @@
|
|||||||
.el-form-item__content .el-autocomplete .el-input-group {
|
.el-form-item__content .el-autocomplete .el-input-group {
|
||||||
vertical-align: unset;
|
vertical-align: unset;
|
||||||
}
|
}
|
||||||
|
.el-cascader__dropdown {
|
||||||
|
background-color: $--background-color-empty !important;
|
||||||
|
}
|
||||||
.right-box-select-top {
|
.right-box-select-top {
|
||||||
margin-top: 0 !important;
|
margin-top: 0 !important;
|
||||||
margin-bottom: 0 !important;
|
margin-bottom: 0 !important;
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
line-height: 40px;
|
line-height: 40px;
|
||||||
height: 40px;
|
height: 40px;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
border: 1px solid $--border-color-base;
|
border: 1px solid $--border-color-light;
|
||||||
border-radius: $--border-radius-small;
|
border-radius: $--border-radius-small;
|
||||||
}
|
}
|
||||||
.calendar.calendar--small {
|
.calendar.calendar--small {
|
||||||
@@ -21,7 +21,7 @@
|
|||||||
}
|
}
|
||||||
.nz-dashboard-dropdown-bg {
|
.nz-dashboard-dropdown-bg {
|
||||||
background: $--color-primary;
|
background: $--color-primary;
|
||||||
color: #fff;
|
color: #fff !important;
|
||||||
}
|
}
|
||||||
.calendar-dropdown-title {
|
.calendar-dropdown-title {
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
|
|||||||
@@ -59,14 +59,17 @@
|
|||||||
}
|
}
|
||||||
.legend-title{
|
.legend-title{
|
||||||
width: 108px;
|
width: 108px;
|
||||||
margin-right: 10px;
|
margin:0 10px 0 0;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
padding-left:10px;
|
|
||||||
height: 32px;
|
height: 32px;
|
||||||
border-radius: $--border-radius-small;
|
border-radius: $--border-radius-small;
|
||||||
line-height: 32px;
|
line-height: 32px;
|
||||||
background: $--border-color-light;
|
background: $--border-color-light;
|
||||||
color: $--color-text-regular;
|
color: $--color-text-regular;
|
||||||
|
.legend-title__span {
|
||||||
|
display: inline-block;
|
||||||
|
padding-left: 10px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
/*metric样式--end*/
|
/*metric样式--end*/
|
||||||
.label-center{
|
.label-center{
|
||||||
@@ -165,3 +168,10 @@
|
|||||||
left: 0;
|
left: 0;
|
||||||
z-index: 10;
|
z-index: 10;
|
||||||
}
|
}
|
||||||
|
/* metric input */
|
||||||
|
.metric-selector-input-box {
|
||||||
|
width: calc(100% - 160px) !important;
|
||||||
|
.input-box {
|
||||||
|
margin: 0 !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|||||||
@@ -87,7 +87,7 @@
|
|||||||
}
|
}
|
||||||
.el-dropdown-link {
|
.el-dropdown-link {
|
||||||
span:nth-of-type(1) {
|
span:nth-of-type(1) {
|
||||||
color: $--color-primary;
|
color: $--color-text-regular;
|
||||||
padding-right: 10px;
|
padding-right: 10px;
|
||||||
}
|
}
|
||||||
span:nth-of-type(2) {
|
span:nth-of-type(2) {
|
||||||
|
|||||||
@@ -55,7 +55,19 @@
|
|||||||
height: 300px;
|
height: 300px;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
z-index: 2100;
|
z-index: 2100;
|
||||||
background-color: #FFF;
|
background-color: $--background-color-empty;
|
||||||
|
width: 450px;
|
||||||
|
.el-cascader-menu__wrap {
|
||||||
|
height: 100%;
|
||||||
|
.el-scrollbar__view.el-cascader-menu__list {
|
||||||
|
.el-cascader-node {
|
||||||
|
padding: 0;
|
||||||
|
.el-cascader-node__label {
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.expr-title {
|
.expr-title {
|
||||||
@@ -103,6 +115,10 @@
|
|||||||
.nz-cascade {
|
.nz-cascade {
|
||||||
padding: 0 10px 0 25px;
|
padding: 0 10px 0 25px;
|
||||||
position: relative;
|
position: relative;
|
||||||
|
overflow: hidden;
|
||||||
|
width: calc(100% - 50px);
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
.nz-cascade .nz-icon-template2 {
|
.nz-cascade .nz-icon-template2 {
|
||||||
display: none;
|
display: none;
|
||||||
|
|||||||
@@ -12,6 +12,8 @@ $--background-color-base: #18171D;
|
|||||||
$--background-color-1: #444440;
|
$--background-color-1: #444440;
|
||||||
// 背景色2
|
// 背景色2
|
||||||
$--background-color-2: #000;
|
$--background-color-2: #000;
|
||||||
|
// 背景色 copy
|
||||||
|
$--background-color-copy: #454545;
|
||||||
|
|
||||||
// 左侧菜单背景色
|
// 左侧菜单背景色
|
||||||
$--left-menu-background-color-base: #2D2E35;
|
$--left-menu-background-color-base: #2D2E35;
|
||||||
@@ -44,7 +46,6 @@ $--border-color-light-hover: lighten($--border-color-light, 10%);
|
|||||||
// 浅边框色focus
|
// 浅边框色focus
|
||||||
$--border-color-light-focus: lighten($--border-color-light, 20%);
|
$--border-color-light-focus: lighten($--border-color-light, 20%);
|
||||||
|
|
||||||
|
|
||||||
/* 5.提示色 */
|
/* 5.提示色 */
|
||||||
// 正常绿色
|
// 正常绿色
|
||||||
$--color-success: #23BF9A;
|
$--color-success: #23BF9A;
|
||||||
|
|||||||
@@ -12,6 +12,8 @@ $--background-color-base: #F6F6F6;
|
|||||||
$--background-color-1: #EFEFEF;
|
$--background-color-1: #EFEFEF;
|
||||||
// 背景色2
|
// 背景色2
|
||||||
$--background-color-2: #F9F9F9;
|
$--background-color-2: #F9F9F9;
|
||||||
|
// 背景色 copy
|
||||||
|
$--background-color-copy: #fdf5e0;
|
||||||
|
|
||||||
// 左侧菜单背景色
|
// 左侧菜单背景色
|
||||||
$--left-menu-background-color-base: #202F3F;
|
$--left-menu-background-color-base: #202F3F;
|
||||||
|
|||||||
@@ -195,13 +195,6 @@ li {
|
|||||||
.nz-tab-item-active:first-letter{
|
.nz-tab-item-active:first-letter{
|
||||||
text-transform: capitalize;
|
text-transform: capitalize;
|
||||||
}
|
}
|
||||||
.nz-tab-item-close {
|
|
||||||
color: rgba(245, 108, 108, 0.6);
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
|
||||||
.nz-tab-item-close:hover {
|
|
||||||
color: rgba(245, 108, 108, 1);
|
|
||||||
}
|
|
||||||
.nz-tab-error {
|
.nz-tab-error {
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
}
|
}
|
||||||
@@ -524,13 +517,6 @@ li {
|
|||||||
.el-scrollbar__wrap {
|
.el-scrollbar__wrap {
|
||||||
overflow-x: hidden !important;
|
overflow-x: hidden !important;
|
||||||
}
|
}
|
||||||
.el-scrollbar__thumb {
|
|
||||||
background-color: #ccc;
|
|
||||||
cursor: default;
|
|
||||||
}
|
|
||||||
.el-scrollbar__thumb:hover {
|
|
||||||
background-color: #bbb;
|
|
||||||
}
|
|
||||||
/*大中小三个尺寸,默认中*/
|
/*大中小三个尺寸,默认中*/
|
||||||
.el-scrollbar__bar.is-vertical {
|
.el-scrollbar__bar.is-vertical {
|
||||||
width: 8px;
|
width: 8px;
|
||||||
|
|||||||
@@ -235,7 +235,7 @@
|
|||||||
></promql-input>
|
></promql-input>
|
||||||
<el-row style="margin-top: 18px">
|
<el-row style="margin-top: 18px">
|
||||||
<el-col class="legend-title">
|
<el-col class="legend-title">
|
||||||
{{$t('dashboard.panel.chartForm.legend')}}
|
<span class="legend-title__span">{{$t('dashboard.panel.chartForm.legend')}} </span>
|
||||||
<el-popover placement="top" trigger="hover" width="211" popper-class="prevent-clickoutside">
|
<el-popover placement="top" trigger="hover" width="211" popper-class="prevent-clickoutside">
|
||||||
<div :style="{'word-break':language!=='cn'?'keep-all':'break-all'}">{{$t('dashboard.panel.chartForm.legendTip')}}</div>
|
<div :style="{'word-break':language!=='cn'?'keep-all':'break-all'}">{{$t('dashboard.panel.chartForm.legendTip')}}</div>
|
||||||
<i @mouseover="rz" class="nz-icon nz-icon-info-normal" slot="reference" style="font-size: 14px; -webkit-transform:scale(0.75);display:inline-block;"></i>
|
<i @mouseover="rz" class="nz-icon nz-icon-info-normal" slot="reference" style="font-size: 14px; -webkit-transform:scale(0.75);display:inline-block;"></i>
|
||||||
@@ -1739,8 +1739,4 @@ export default {
|
|||||||
.el-color-dropdown{
|
.el-color-dropdown{
|
||||||
z-index: 2200!important;
|
z-index: 2200!important;
|
||||||
}
|
}
|
||||||
.chart-box-unit .el-scrollbar{
|
|
||||||
height: 195px;
|
|
||||||
overflow-y: auto;
|
|
||||||
}
|
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
Reference in New Issue
Block a user