# Conflicts: # nezha-fronted/src/assets/css/common/rightBoxCommon.scss # nezha-fronted/src/assets/css/components/common/project/topology.scss # nezha-fronted/src/components/common/bottomBox/tabs/chartTempPreview.vue # nezha-fronted/src/components/common/bottomBox/tabs/panelTabNew.vue # nezha-fronted/src/components/common/bottomBox/tabs/terminalLogCMDTab.vue # nezha-fronted/src/components/common/bottomBox/tabs/terminalLogRecordTab.vue # nezha-fronted/src/components/common/bottomBox/tabs/terminalLogTab.vue # nezha-fronted/src/components/common/popBox/selectPanel.vue # nezha-fronted/src/components/common/project/popData/Info.vue # nezha-fronted/src/components/common/project/topologyL5.vue # nezha-fronted/src/components/common/rightBox/alertRuleBox.vue # nezha-fronted/src/components/common/rightBox/setting/globalizationBox.vue # nezha-fronted/src/components/page/config/changePin.vue # nezha-fronted/src/components/page/dashboard/explore/editor.vue # nezha-fronted/src/components/page/dashboard/metricPreview.vue # nezha-fronted/src/components/page/dashboard/panel.vue # nezha-fronted/src/permission.js # nezha-fronted/src/store/user.js
546 lines
9.9 KiB
SCSS
546 lines
9.9 KiB
SCSS
.project-box{
|
|
@keyframes model-error-animation {
|
|
0% {
|
|
transform: scale(0.7);
|
|
}
|
|
50% {
|
|
transform: scale(1);
|
|
}
|
|
100% {
|
|
transform: scale(0.7);
|
|
}
|
|
}
|
|
|
|
@keyframes model-icon-animation {
|
|
0% {
|
|
transform: scale(1.2) translateX(1px);
|
|
}
|
|
50% {
|
|
transform: scale(0.9) translateX(0px);
|
|
}
|
|
100% {
|
|
transform: scale(1.2) translateX(1px);
|
|
}
|
|
}
|
|
|
|
.nz-icon-shuidi {
|
|
position: absolute;
|
|
font-size: 48px;
|
|
color: rgba(190, 233, 222, 0.45);
|
|
border-radius: 50%;
|
|
height: 48px;
|
|
width: 48px;
|
|
line-height: 48px;
|
|
}
|
|
.el-collapse-item__arrow.el-icon-arrow-right{
|
|
display: none !important;
|
|
}
|
|
.el-collapse-item .is-active .nz-icon-arrow-right{
|
|
transform: rotate(90deg);
|
|
color: $--color-primary;
|
|
}
|
|
.el-collapse-item .title-delete{
|
|
display: none;
|
|
}
|
|
.el-collapse-item .nz-icon-arrow-right{
|
|
transition: transform .3s;
|
|
color: #BEBEBE;
|
|
margin-right: 5px;
|
|
}
|
|
.el-collapse-item:hover{
|
|
.el-collapse-item__header{
|
|
color: $--color-primary;
|
|
}
|
|
.nz-icon-arrow-right{
|
|
color: $--color-primary;
|
|
}
|
|
.title-delete{
|
|
display: block;
|
|
color: $--color-primary;
|
|
}
|
|
}
|
|
.edit-topologyLine{
|
|
background: rgba(196,196,196,0.4) !important;
|
|
box-shadow: inset 0 -1px 0 0 rgba(0,0,0,0.27);
|
|
}
|
|
.topology-scroll{
|
|
&.v{
|
|
display: none;
|
|
}
|
|
&.h{
|
|
display: none;
|
|
}
|
|
}
|
|
.model-error.nz-icon-shuidi {
|
|
color: #FADED7;
|
|
animation: model-error-animation .6s infinite ease-in-out;
|
|
animation-direction: normal;
|
|
}
|
|
|
|
.model-error-active.nz-icon-shuidi {
|
|
color: #FADED7;
|
|
}
|
|
|
|
.nz-icon-model {
|
|
color: #23BF9A;
|
|
position: absolute;
|
|
top: -4px;
|
|
left: 15px;
|
|
font-size: 18px;
|
|
line-height: 48px;
|
|
}
|
|
|
|
.model-error .nz-icon-model {
|
|
color: #EC7F66;
|
|
animation: model-icon-animation .6s infinite ease-in-out;
|
|
animation-direction: normal;
|
|
}
|
|
|
|
.model-error-active .nz-icon-model {
|
|
color: #EC7F66;
|
|
}
|
|
|
|
.scaleTool-enter-active {
|
|
animation: scaleTool-in .15s;
|
|
}
|
|
|
|
.scaleTool-leave-active {
|
|
animation: scaleTool-in .15s reverse;
|
|
}
|
|
|
|
@keyframes scaleTool-in {
|
|
from {
|
|
top: 0;
|
|
left: 0;
|
|
transform: scale(0.5);
|
|
}
|
|
}
|
|
|
|
.module-rect-top{
|
|
border-top: 4px dashed #ff8c0a;
|
|
position: absolute;
|
|
}
|
|
.module-rect-right{
|
|
border-right: 4px dashed #ff8c0a;
|
|
position: absolute;
|
|
}
|
|
.module-rect-bottom{
|
|
border-bottom: 4px dashed #ff8c0a;
|
|
position: absolute;
|
|
}
|
|
.module-rect-left{
|
|
border-left: 4px dashed #ff8c0a;
|
|
position: absolute;
|
|
}
|
|
|
|
.network-pop .nz-icon-hexagonBorder{
|
|
position: absolute;
|
|
font-size: 48px;
|
|
color: #84d5c2;
|
|
height: 48px;
|
|
width: 48px;
|
|
line-height: 48px;
|
|
}
|
|
|
|
.network-pop .nz-icon-hexagonBorder:hover {
|
|
transform: scale(1.1);
|
|
color: #4BB49B;
|
|
}
|
|
|
|
.network-pop .nz-icon-hexagonBorder.error-model-stat {
|
|
color: #F5BAAC;
|
|
}
|
|
|
|
.network-pop .nz-icon-hexagonBorder.error-model-stat:hover {
|
|
color: #EC7F66;
|
|
}
|
|
|
|
.network-pop .nz-icon-liubianxing {
|
|
color: #e2f3ef;
|
|
font-size: 44px;
|
|
position: absolute;
|
|
top: 1px;
|
|
left: 2px;
|
|
transform: scale(0.95);
|
|
z-index: 0;
|
|
}
|
|
|
|
.network-pop .error-model-stat .nz-icon-liubianxing {
|
|
color: #FADED7;
|
|
}
|
|
|
|
.network-pop .nz-icon.noMove {
|
|
position: absolute;
|
|
left: 14px;
|
|
font-size: 20px;
|
|
color: #27c09c;
|
|
}
|
|
|
|
.network-pop .error-model-stat .nz-icon.noMove {
|
|
color: #EC7F66;
|
|
}
|
|
|
|
.network-pop .no-selPop {
|
|
color: $--color-text-secondary !important;
|
|
}
|
|
|
|
.network-pop .no-selPop .nz-icon-liubianxing {
|
|
color: rgb(218, 218, 218);
|
|
}
|
|
|
|
.network-pop .no-selPop .nz-icon-chart {
|
|
color: $--color-text-secondary;
|
|
}
|
|
|
|
.network-info {
|
|
position: absolute;
|
|
right: 0;
|
|
top: 50px;
|
|
z-index: 1;
|
|
}
|
|
|
|
.facade-top{
|
|
min-height: 138px;
|
|
display: flex;
|
|
margin: 4px 0;
|
|
height: calc(16% - 40px);
|
|
font-size: 12px;
|
|
z-index: 10;
|
|
padding-left: 15px;
|
|
}
|
|
.facade-top > div{
|
|
width: 18%;
|
|
min-width: 315px;
|
|
background: $--background-color-empty;
|
|
margin-right: 9px;
|
|
padding: 20px;
|
|
border: 1px solid $--background-color-empty;
|
|
box-shadow: 1px 2px 4px 0 rgba(0,0,0,0.12), -1px 1px 9px -1px rgba(205,205,205,0.77);
|
|
}
|
|
.facade-top-title{
|
|
font-size: 16px;
|
|
color: $--color-text-primary;
|
|
font-weight: bold;
|
|
padding: 5px 0;
|
|
}
|
|
.facade-top-left{
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: space-around;
|
|
}
|
|
.special.label{
|
|
margin-left: 30px;
|
|
}
|
|
.facade-top .facade-top-right{
|
|
width: auto;
|
|
min-width: 100px;
|
|
}
|
|
.facade-top-right-content{
|
|
display: flex;
|
|
justify-content: space-around;
|
|
justify-items: center;
|
|
flex-direction: column;
|
|
height: calc(100% - 30px);
|
|
align-items: flex-start;
|
|
}
|
|
.facade-top-right-content > div{
|
|
min-width: 84px;
|
|
height: 22px;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
color: #fff;
|
|
text-align: center;
|
|
margin-bottom: 5px;
|
|
line-height: 22px;
|
|
}
|
|
.facade-top-right-content > div > div:last-child{
|
|
text-align: center;
|
|
border-radius: 0 4px 4px 0;
|
|
flex: 1;
|
|
height: calc(100% - 2px);
|
|
padding: 0 8px;
|
|
min-width: 40px;
|
|
}
|
|
.content-P1-title{
|
|
background: #F2866E;
|
|
border-radius: 4px 0 0 4px;
|
|
width: 40px;
|
|
height: 100%;
|
|
}
|
|
.content-P1-title + div{
|
|
border: 1px solid #F4907A;
|
|
font-size: 12px;
|
|
color: #F4907A;
|
|
}
|
|
|
|
.content-P2-title{
|
|
background: #F89984;
|
|
border-radius: 4px 0 0 4px;
|
|
width: 40px;
|
|
height: 100%;
|
|
}
|
|
.content-P2-title + div{
|
|
border: 1px solid #F9A28F;
|
|
font-size: 12px;
|
|
color: #F9A28F;
|
|
}
|
|
|
|
.content-P3-title{
|
|
background: #F7BA78;
|
|
border-radius: 4px 0 0 4px;
|
|
width: 40px;
|
|
height: 100%;
|
|
}
|
|
.content-P3-title + div{
|
|
border: 1px solid #F7BA78;
|
|
font-size: 12px;
|
|
color: #F7BA78;
|
|
}
|
|
|
|
.right-content-P1{
|
|
border: 1px solid ;
|
|
}
|
|
.align--center{
|
|
text-align: center;
|
|
}
|
|
}
|
|
.project-topology-tool {
|
|
display: inline-flex;
|
|
height: 30px;
|
|
}
|
|
|
|
.el-dropdown-title {
|
|
background: $--background-color-empty;
|
|
border: 1px solid $--border-color-base;
|
|
border-radius: 2px;
|
|
width: 66px;
|
|
height: 28px;
|
|
display: inline-block;
|
|
line-height: 28px;
|
|
|
|
.icon-cube {
|
|
margin-left: 15px;
|
|
}
|
|
}
|
|
|
|
.project-box {
|
|
width: 100%;
|
|
height: calc(100% - 8px) !important;
|
|
position: relative;
|
|
border-radius: 2px;
|
|
overflow: visible;
|
|
background: $--background-color-empty;
|
|
.pickTime{
|
|
margin-right: 10px;
|
|
}
|
|
.project-title {
|
|
height: 55px;
|
|
padding-bottom: 0;
|
|
}
|
|
|
|
.drag-header {
|
|
cursor: move;
|
|
background: #1a1a1a;
|
|
color: #fff;
|
|
}
|
|
|
|
.left-bottom {
|
|
position: absolute;
|
|
left: 10px;
|
|
bottom: 10px;
|
|
}
|
|
}
|
|
|
|
.page {
|
|
display: flex;
|
|
height: calc(100% - 1px);
|
|
width: 100%;
|
|
position: relative;
|
|
|
|
.tools {
|
|
width: 300px;
|
|
height: calc(100% - 1px);
|
|
border: none;
|
|
position: absolute;
|
|
z-index: 1 !important;
|
|
left: 20px;
|
|
background-color: $--background-color-base;
|
|
|
|
.title {
|
|
float: left;
|
|
}
|
|
}
|
|
|
|
.full {
|
|
flex: 1;
|
|
overflow: unset !important;
|
|
}
|
|
|
|
.props {
|
|
width: 500px;
|
|
height: 100%;
|
|
border: none;
|
|
position: absolute;
|
|
z-index: 1 !important;
|
|
right: 0;
|
|
top: 0;
|
|
background: $--background-color-empty;
|
|
box-shadow: inset 1px 0 0 0 rgba(0, 0, 0, 0.09);
|
|
border-radius: 0;
|
|
}
|
|
}
|
|
.overview-page{
|
|
height: 100%;
|
|
}
|
|
.special-select svg {
|
|
width: 75px;
|
|
height: 30px;
|
|
}
|
|
|
|
.special-select .el-select.el-select--small {
|
|
width: 100%;
|
|
}
|
|
|
|
.special-select .el-select-dropdown {
|
|
width: 130px !important;
|
|
|
|
.el-select-dropdown__item {
|
|
padding: 0 0 0 10px;
|
|
}
|
|
}
|
|
|
|
.special-select .el-input.el-input--prefix.el-input--suffix, .line-width .el-input.el-input--prefix.el-input--suffix {
|
|
border: 1px solid #DCDFE6;
|
|
height: 28px;
|
|
}
|
|
|
|
.special-select .el-input__inner, .line-width .el-input__inner {
|
|
display: none;
|
|
}
|
|
|
|
.special-select .el-input__prefix, .line-width .el-input__prefix {
|
|
height: 28px;
|
|
line-height: 28px;
|
|
color: #899FB7;
|
|
width: 100%;
|
|
}
|
|
|
|
.special-select .el-input__prefix > div {
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
.upload-pic-row{
|
|
width: 420px;
|
|
margin-bottom: 10px;
|
|
.upload-pic-label{
|
|
text-align: right;
|
|
font-size: 14px;
|
|
color: $--color-text-regular;
|
|
letter-spacing: 0;
|
|
font-weight: 400;
|
|
height: 30px;
|
|
line-height: 30px;
|
|
padding-right: 8px;
|
|
}
|
|
.el-upload--text{
|
|
width: 100%;
|
|
.el-upload-dragger{
|
|
width: 100%;
|
|
}
|
|
}
|
|
}
|
|
.upload-pic-box{
|
|
width: 284px;
|
|
height: 30px;
|
|
text-align: center;
|
|
font-size: 14px;
|
|
color: $--color-text-regular;
|
|
font-weight: 400;
|
|
line-height: 30px;
|
|
cursor: pointer;
|
|
.el-icon-plus{
|
|
color: $--color-primary;
|
|
}
|
|
}
|
|
.right-bottom-zoom{
|
|
position: absolute;
|
|
bottom: 30px;
|
|
right: 40px;
|
|
height: 90px;
|
|
width: 35px;
|
|
border: 1px solid $--border-color-light;
|
|
box-shadow: -1px 1px 9px -1px rgba(205,205,205,0.77);
|
|
display: flex;
|
|
flex-direction: column;
|
|
.zoom-option{
|
|
width: 100%;
|
|
height: 50%;
|
|
opacity: 0.42;
|
|
background: $--background-color-empty;
|
|
align-items: center;
|
|
display: flex;
|
|
justify-content: center;
|
|
}
|
|
.zoom-option:hover{
|
|
cursor: pointer;
|
|
}
|
|
}
|
|
.from-overview{
|
|
padding:0 !important;
|
|
width: calc(100% - 2px);
|
|
height: calc(100% - 2px) !important;
|
|
.nz-table2{
|
|
padding: 0 !important;
|
|
height: 100%;
|
|
}
|
|
}
|
|
.from-project{
|
|
padding: 10px 10px 0 0 !important;
|
|
.nz-table2{
|
|
padding: 0;
|
|
box-sizing: content-box;
|
|
height: calc(100% - 50px);
|
|
border: none;
|
|
}
|
|
}
|
|
.h100{
|
|
height: calc(100% - 30px) !important;
|
|
}
|
|
.context-menu {
|
|
position: fixed;
|
|
z-index: 10;
|
|
}
|
|
.right-bottom-zoom{
|
|
display: none;
|
|
}
|
|
|
|
.project-box:hover {
|
|
.right-bottom-zoom{
|
|
display: flex;
|
|
}
|
|
}
|
|
.selpop {
|
|
cursor: pointer;
|
|
}
|
|
.topo-noData{
|
|
position: absolute;
|
|
top: 50%;
|
|
left: 50%;
|
|
transform: translate(-50%,-50%);
|
|
.content{
|
|
text-align: center;
|
|
font-size: 16px;
|
|
color: #333333;
|
|
font-weight: 400;
|
|
}
|
|
}
|
|
.topo-noData /deep/ .icon{
|
|
width: 5rem;
|
|
height: 5rem;
|
|
}
|
|
.topo-page{
|
|
overflow: hidden;
|
|
box-sizing: border-box;
|
|
}
|