This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
nezha-nezha-fronted/nezha-fronted/src/assets/css/components/page/dashboard/chartBox.scss
2021-12-01 16:34:50 +08:00

146 lines
2.3 KiB
SCSS

.el-row:last-child {
margin-bottom: 0;
}
.el-col {
border-radius: 4px;
}
.bg-purple {
background: $--background-color-empty;
}
.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;
}
.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 $--border-color-base;
/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:0 10px 0 0;
text-align: left;
height: 32px;
border-radius: $--border-radius-small;
line-height: 32px;
background: $--border-color-light;
color: $--color-text-regular;
.legend-title__span {
display: inline-block;
padding-left: 10px;
}
}
/*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{
position: relative;
}
.color-show{
display: inline-block;
position: relative;
top: 1px;
}
.topology-box{
width: 100%;
height: 242px;
border: 1px solid $--border-color-light;
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;
}
/* metric input */
.metric-selector-input-box {
width: calc(100% - 160px) !important;
.input-box {
margin: 0 !important;
}
}