NEZ-1072 feat: 主题切换

This commit is contained in:
chenjinsong
2021-11-01 17:23:01 +08:00
parent 1e017d3060
commit 914c096463
395 changed files with 23682 additions and 23372 deletions

View File

@@ -1,173 +1,3 @@
<style lang="scss" scoped>
.el-row:last-child {
margin-bottom: 0;
}
.el-col {
border-radius: 4px;
}
.bg-purple {
background: white;
}
.grid-content {
border-radius: 4px;
min-height: 36px;
}
.common-float-left {
float: left;
display:inline-block;
}
.el-inner {
width: 200px;
border-top-width: 0px;
border-left-width: 0px;
border-right-width: 0px;
border-bottom-width: 10px;
border-color:red;
/*outline: medium;*/
}
.element-bottom-border {
padding-bottom: 5px;
border-bottom: 1px solid #dfe7f2;
margin-top: 15px;
}
/*metric样式--begin*/
.element-item {
&:first-of-type {
padding-top: 0;
.nz-icon-minus-position {
padding-top: 4px;
}
}
padding: 20px 0;
width: 100%;
border-bottom: 1px dashed $--primary-border-color;
/deep/ .nz-icon-minus {
padding: 0 4px;
}
}
.element-item__padding.element-item {
padding: 0;
}
.nz-icon-minus-position {
padding: 24px 0 24px 0;
}
.right-box-form .element-item.form-row-item{
width: calc(100% - 60px);
padding: 10px 10px 5px 0;
}
.legend-title{
width: 108px;
margin-right: 10px;
text-align: left;
padding-left:10px;
height: 32px;
border-radius: $--primary-border-radius;
line-height: 32px;
background: #E7EAED;
color: #606266;
}
/*metric样式--end*/
.label-center{
vertical-align: middle;
line-height: 34px;
}
.z-top {
/*z-index: 2900;*/
}
.save-chart-box{
z-index: 2900;
}
.mc{
position: fixed;
width: 100vw;
height: 100vh;
top: 0;
left: 0;
z-index: 100;
}
/deep/ .el-color-picker{
position: absolute;
}
.range /deep/ .el-color-picker{
left: -17px;
}
.color-content{
height: 0;
width: 0;
overflow: hidden;
position: absolute;
top: -280px;
left: 280px;
}
.color-tab{
position: absolute;
top: -268px;
left: 144px;
height: 28px;
border-radius: 5px 5px 0 0;
width: 312px;
border: 1px solid #EBEEF5;
border-bottom: none;
background-color: #FFF;
display: flex;
justify-content: space-between;
box-shadow: 0 2px 12px 0 rgba(0,0,0,.1);
}
.color-tab div{
text-align: center;
flex: 1;
color: #909399;
transition: all .3s cubic-bezier(.645,.045,.355,1);
background: #E4E7ED;
cursor: pointer;
}
.color-tab div:first-child{
border-right-color: #DCDFE6;
}
.color-tab div:hover{
color: #409EFF;
}
.color-tab .color-active{
color: #409EFF;
background-color: #FFF;
}
.color{
position: relative;
}
.color-show{
display: inline-block;
position: relative;
top: 1px;
}
.topology-box{
width: 100%;
height: 242px;
border: 1px solid #E7EAED;
border-radius: 2px;
position: relative;
}
.topology-dialog{
position: fixed !important;
height: 100vh;
width: 100vw;
top: 0;
left: 0;
z-index: 11;
}
.topology-mc{
width: 100%;
height: 100%;
position: absolute;
top: 0;
left: 0;
z-index: 10;
}
</style>
<template>
<div v-clickoutside="{obj:editChart, func:clickOutside}" :class="boxClass" class="right-box right-box-chart">
<transition v-if="from !== 'chartTemp'" name="right-box">