diff --git a/src/assets/css/chart.scss b/src/assets/css/chart.scss index e0b64e3f..6ee893d6 100644 --- a/src/assets/css/chart.scss +++ b/src/assets/css/chart.scss @@ -1,13 +1,21 @@ -.nz-chart-tooltip > div > div:nth-of-type(1) > div:nth-of-type(2) > div > div:nth-of-type(1){ +.nz-chart-tooltip .cn-chart-tooltip-box{ display: flex; - span { - float: none; - } - > span:nth-of-type(2){ + .cn-chart-tooltip-content{ flex: 1; display: inline-block; overflow: hidden; text-overflow:ellipsis; white-space: nowrap; + font-size:14px; + color:#666; + font-weight:400; + margin-left:2px ; + } + .cn-chart-tooltip-value{ + float:right; + margin-left:20px; + font-size:14px; + color:#666; + font-weight:900; } } diff --git a/src/assets/css/common.scss b/src/assets/css/common.scss index e60b3cef..dc43eb28 100644 --- a/src/assets/css/common.scss +++ b/src/assets/css/common.scss @@ -54,3 +54,9 @@ th *:first-letter, .header__operations *:first-letter { text-transform: capitalize; } + +.outer-box { + padding: 10px; + height: 100%; + width: 100%; +} diff --git a/src/assets/css/tableCommon.scss b/src/assets/css/tableCommon.scss index 901d3bd5..a9798238 100644 --- a/src/assets/css/tableCommon.scss +++ b/src/assets/css/tableCommon.scss @@ -44,7 +44,7 @@ height: 44px; background-color: white; border: 1px solid #E6EAED; - + } .top-tool-right { @@ -134,7 +134,7 @@ color: #666666; font-size: 14px; text-align: center; - + line-height: 40px; &.sub-list-tab--active { @@ -156,7 +156,7 @@ background-color: #e6eaed; position: absolute; z-index: 1; - + user-select: none; color: #5f6368; cursor: ns-resize; @@ -188,7 +188,7 @@ position: relative; padding: 0 20px; width: 100%; - + flex: auto; height: calc(100% - 58px); @@ -356,7 +356,7 @@ left: 270px !important; margin-top: -3px !important; box-shadow: none; - + border-radius: 0; border-color: #c7c7c7; @@ -391,3 +391,6 @@ .margin-r-20{ margin-right: 20px; } +.margin-l-10{ + margin-left: 10px; +} diff --git a/src/components/charts/PieTable.vue b/src/components/charts/PieTable.vue index 7a31de6e..9770c468 100644 --- a/src/components/charts/PieTable.vue +++ b/src/components/charts/PieTable.vue @@ -1,16 +1,21 @@