.custom-line-chart-plot-box {
|
background: #ffffff;
|
background-position: center center;
|
background-repeat: no-repeat;
|
background-size: cover;
|
min-height: 100px;
|
|
> .chart-header {
|
height: 45px;
|
border-bottom: 1px solid #e8e8e8;
|
overflow: hidden;
|
text-decoration: inherit;
|
font-weight: inherit;
|
font-style: inherit;
|
|
.chart-title {
|
// font-size: 16px;
|
float: left;
|
line-height: 45px;
|
margin-left: 10px;
|
text-decoration: inherit;
|
font-weight: inherit;
|
font-style: inherit;
|
}
|
}
|
|
.canvas-wrap {
|
margin: 0 0px;
|
position: relative;
|
.chart-action {
|
position: absolute;
|
top: 2px;
|
right: 5px;
|
z-index: 1;
|
}
|
.chart-action.with-title {
|
top: 35px;
|
}
|
}
|
|
.canvas {
|
margin: 0;
|
// border: 1px solid #e8e8e8;
|
padding: 15px;
|
letter-spacing: 0px;
|
}
|
.canvas.empty {
|
div {
|
opacity: 0;
|
}
|
}
|
.ant-empty {
|
position: absolute;
|
top: calc(50% - 34px);
|
left: calc(50% - 92px);
|
|
.ant-empty-image {
|
height: 60px;
|
}
|
}
|
.loading-mask {
|
position: absolute;
|
left: 20px;
|
top: 0;
|
right: 20px;
|
bottom: 30px;
|
display: flex;
|
align-items: center;
|
justify-content: center;
|
text-align: justify;
|
z-index: 1;
|
|
.ant-spin-blur {
|
position: absolute;
|
width: 100%;
|
height: 100%;
|
opacity: 0.5;
|
background: #ffffff;
|
}
|
}
|
.chart-title + .loading-mask {
|
top: 40px;
|
}
|
> .ant-select {
|
width: 150px;
|
float: right;
|
position: relative;
|
z-index: 1;
|
.ant-select-selection {
|
min-height: 24px;
|
height: 28px;
|
li {
|
background: unset;
|
border: 0;
|
width: 99%;
|
padding: 0;
|
margin-right: 0;
|
cursor: pointer;
|
|
.type-label {
|
overflow: hidden;
|
word-break: break-word;
|
white-space: nowrap;
|
text-overflow: ellipsis;
|
}
|
}
|
li + li {
|
margin-top: 0;
|
width: 1%;
|
opacity: 0;
|
}
|
}
|
}
|
> .ant-select.ant-select-focused {
|
.ant-select-selection {
|
li {
|
width: 50%;
|
}
|
li + li {
|
width: 49%;
|
opacity: 1;
|
}
|
}
|
}
|
.g2-tooltip-list{
|
display: none;
|
}
|
.g2-tooltip-title + .g2-tooltip-list{
|
display: block;
|
}
|
}
|