671 lines
14 KiB
SCSS
671 lines
14 KiB
SCSS
.cn-chart__single-value {
|
|
.single-value__unit {
|
|
padding-left: 6px;
|
|
}
|
|
|
|
&.cn-chart__single-value--detail-overview.cn-chart__single-value--icon-left {
|
|
width: unset;
|
|
flex: 0 0 240px;
|
|
flex-wrap: wrap;
|
|
|
|
.single-value__icon {
|
|
width: 38px;
|
|
height: 38px;
|
|
|
|
i {
|
|
font-size: 15px;
|
|
}
|
|
}
|
|
|
|
.single-value__content {
|
|
.content__data {
|
|
font-size: 14px;
|
|
color: #333;
|
|
|
|
.single-value__unit {
|
|
font-size: 14px;
|
|
color: #333;
|
|
}
|
|
}
|
|
|
|
.content__title {
|
|
font-size: 12px;
|
|
}
|
|
}
|
|
}
|
|
|
|
&.cn-chart__single-value--icon-left {
|
|
display: flex;
|
|
align-items: center;
|
|
height: 100%;
|
|
width: 100%;
|
|
|
|
.single-value-icon__box {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
flex: 0 0 100px;
|
|
}
|
|
|
|
.single-value__icon {
|
|
display: flex;
|
|
justify-content: center;
|
|
width: 56px;
|
|
height: 56px;
|
|
background-color: $--chart-single-value-icon-background-color;
|
|
border-radius: 50%;
|
|
|
|
i {
|
|
display: flex;
|
|
align-items: center;
|
|
font-size: 28px;
|
|
color: $--color-primary;
|
|
}
|
|
}
|
|
|
|
.single-value__content {
|
|
display: flex;
|
|
flex-direction: column;
|
|
padding-right: 10px;
|
|
|
|
.content__data {
|
|
padding-bottom: 10px;
|
|
font-size: 18px;
|
|
color: #333333;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.content__title {
|
|
overflow: hidden;
|
|
white-space: nowrap;
|
|
text-overflow: ellipsis;
|
|
font-size: 14px;
|
|
color: #666666;
|
|
}
|
|
|
|
&.single-value__content--with-chart {
|
|
.content__title {
|
|
border-bottom: 1px solid $--content-right-background-color;
|
|
}
|
|
}
|
|
|
|
.single-value__unit {
|
|
font-weight: normal;
|
|
padding-left: 10px;
|
|
color: #666;
|
|
font-size: 20px;
|
|
}
|
|
}
|
|
}
|
|
|
|
&.cn-chart__single-value--icon-right {
|
|
display: flex;
|
|
flex-direction: row-reverse;
|
|
justify-content: space-around;
|
|
align-items: center;
|
|
height: 100%;
|
|
width: 90%;
|
|
margin: auto;
|
|
|
|
.single-value-icon__box {
|
|
flex: 0 0 74px;
|
|
}
|
|
|
|
.single-value__icon {
|
|
background-color: $--chart-single-value-icon-background-color;
|
|
border-radius: 50%;
|
|
position: relative;
|
|
width: 56px;
|
|
height: 56px;
|
|
|
|
i {
|
|
position: absolute;
|
|
top: 50%;
|
|
left: 50%;
|
|
transform: translate(-50%, -50%);
|
|
font-size: 24px;
|
|
color: $--color-primary;
|
|
}
|
|
}
|
|
|
|
.single-value__content {
|
|
display: flex;
|
|
height: 100%;
|
|
flex-direction: column;
|
|
padding: 0 10px;
|
|
|
|
.content__title {
|
|
display: flex;
|
|
align-items: center;
|
|
height: 50%;
|
|
font-size: 16px;
|
|
color: #666666;
|
|
}
|
|
|
|
.content__data {
|
|
display: flex;
|
|
padding-top: 5%;
|
|
height: 50%;
|
|
flex: auto;
|
|
font-size: 24px;
|
|
color: #333333;
|
|
font-weight: bold;
|
|
}
|
|
}
|
|
}
|
|
|
|
&.cn-chart__single-value--icon-right--color {
|
|
display: flex;
|
|
flex-direction: row-reverse;
|
|
justify-content: space-around;
|
|
align-items: center;
|
|
height: 100%;
|
|
width: 100%;
|
|
|
|
.single-value__content {
|
|
display: flex;
|
|
height: 100%;
|
|
width: 100%;
|
|
flex-direction: row-reverse;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
|
|
.single-value-icon__box {
|
|
padding-right: 30px;
|
|
|
|
.single-value__icon {
|
|
border-radius: 50%;
|
|
position: relative;
|
|
margin-right: 7.5%;
|
|
margin-top: 30%;
|
|
|
|
.cn-icon-svg {
|
|
width: 50px;
|
|
height: 50px;
|
|
vertical-align: middle;
|
|
fill: currentColor;
|
|
overflow: hidden;
|
|
}
|
|
|
|
i {
|
|
position: absolute;
|
|
top: 50%;
|
|
left: 50%;
|
|
transform: translate(-50%, -50%);
|
|
font-size: 24px;
|
|
}
|
|
}
|
|
}
|
|
|
|
.single-value__data {
|
|
display: flex;
|
|
height: 100%;
|
|
flex-direction: column;
|
|
padding-left: 20px;
|
|
|
|
.content__title {
|
|
display: flex;
|
|
align-items: flex-end;
|
|
height: 50%;
|
|
font-size: 16px;
|
|
color: #666666;
|
|
padding-bottom: 5px;
|
|
}
|
|
|
|
.content__data {
|
|
display: flex;
|
|
padding-top: 5%;
|
|
height: 50%;
|
|
flex: auto;
|
|
font-size: 24px;
|
|
color: #333333;
|
|
font-weight: bold;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
&.cn-chart__single-value--chart {
|
|
display: flex;
|
|
padding: 13px 20px;
|
|
height: 100%;
|
|
width: 100%;
|
|
|
|
.single-value__content {
|
|
display: flex;
|
|
height: 100%;
|
|
width: 100%;
|
|
flex-direction: column;
|
|
|
|
.content__title {
|
|
display: flex;
|
|
align-items: center;
|
|
height: 30%;
|
|
font-size: 16px;
|
|
color: #666666;
|
|
}
|
|
|
|
.content__data {
|
|
display: flex;
|
|
align-items: center;
|
|
height: 25%;
|
|
font-size: 18px;
|
|
color: #333333;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.content__chart {
|
|
flex: auto
|
|
}
|
|
}
|
|
}
|
|
|
|
&.cn-chart__single-value--icon-doh {
|
|
display: flex;
|
|
flex-direction: row-reverse;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
height: 100%;
|
|
width: 100%;
|
|
background: #FFFFFF;
|
|
border: 1px solid #E7EAED;
|
|
box-shadow: 0 2px 4px 0 rgba(51, 51, 51, 0.02);
|
|
border-radius: 2px;
|
|
|
|
.single-value-icon__box {
|
|
flex: 0 0 80px;
|
|
}
|
|
|
|
.single-value__icon {
|
|
background-color: $--chart-single-value-icon-background-color;
|
|
border-radius: 50%;
|
|
position: relative;
|
|
width: 56px;
|
|
height: 56px;
|
|
|
|
i {
|
|
position: absolute;
|
|
top: 50%;
|
|
left: 50%;
|
|
transform: translate(-50%, -50%);
|
|
font-size: 24px;
|
|
color: $--color-primary;
|
|
}
|
|
}
|
|
|
|
.single-value__content {
|
|
display: flex;
|
|
height: 100%;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 0 10px;
|
|
margin-left: 20px;
|
|
|
|
.content__title {
|
|
display: flex;
|
|
align-items: center;
|
|
margin: 16px 0 27px 0;
|
|
font-size: 16px;
|
|
color: #333333;
|
|
line-height: 22px;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.content__data {
|
|
display: flex;
|
|
padding-top: 5%;
|
|
height: 50%;
|
|
flex: auto;
|
|
font-size: 24px;
|
|
color: #333333;
|
|
font-weight: bold;
|
|
|
|
.content__data__doh {
|
|
.content__data__doh__count {
|
|
font-size: 30px;
|
|
color: #333333;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.content__data__doh__percent {
|
|
margin-top: 10px;
|
|
font-size: 14px;
|
|
color: #666666;
|
|
font-weight: 400;
|
|
|
|
span {
|
|
font-size: 14px;
|
|
color: #FC8157;
|
|
font-weight: 500;
|
|
margin-left: 10px;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
&.cn-chart__single-value--protocol {
|
|
height: 100%;
|
|
width: 100%;
|
|
.single-value__content {
|
|
display: flex;
|
|
width: 100%;
|
|
height: 100%;
|
|
flex-direction: column;
|
|
.single-value__data {
|
|
display: flex;
|
|
flex-direction: column;
|
|
padding: 10px 20px 10px 18px;
|
|
.content__title {
|
|
font-size: 16px;
|
|
color: #333333;
|
|
}
|
|
}
|
|
.content__data {
|
|
width: 100%;
|
|
height: 100%;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
}
|
|
.content__data-protocol:nth-of-type(1) {
|
|
margin-bottom: 50px;
|
|
span:nth-of-type(2) {
|
|
font-size: 12px;
|
|
color: #FC8157;
|
|
font-weight: 500;
|
|
}
|
|
}
|
|
.content__data-protocol:nth-of-type(2) {
|
|
span:nth-of-type(2) {
|
|
font-size: 12px;
|
|
color: #FBA342;
|
|
font-weight: 500;
|
|
}
|
|
}
|
|
.content__data-protocol {
|
|
display: flex;
|
|
height: 68px;
|
|
text-align: left;
|
|
.content__data-protocol-all {
|
|
flex: 1.5;
|
|
}
|
|
.content__data-protocol-icon {
|
|
display: flex;
|
|
width: 68px;
|
|
height: 100%;
|
|
margin: auto;
|
|
line-height: 68px;
|
|
border-radius: 100%;
|
|
justify-content: center;
|
|
i {
|
|
font-size: 26px;
|
|
}
|
|
}
|
|
.content__data-protocol-value {
|
|
flex: 2;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
flex-direction: column;
|
|
.content__data-protocol-value-title {
|
|
margin-bottom: 7px;
|
|
font-size: 14px;
|
|
color: #666666;
|
|
font-weight: 400;
|
|
}
|
|
.content__data-protocol-value-num {
|
|
font-size: 26px;
|
|
color: #333333;
|
|
font-weight: 500;
|
|
}
|
|
}
|
|
.content__data-protocol-percent {
|
|
flex: 2;
|
|
display: flex;
|
|
justify-content: center;
|
|
height: 68px;
|
|
text-align: left;
|
|
font-size: 14px;
|
|
color: #666666;
|
|
font-weight: 400;
|
|
line-height: 95px;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
&.cn-chart__single-value--percentile-right {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: left;
|
|
height: 100%;
|
|
flex: 0 0 auto;
|
|
flex-wrap: nowrap;
|
|
margin-bottom: 10px;
|
|
|
|
.single-value-icon__box {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: left;
|
|
margin-right: 5px;
|
|
flex: 0 0 80;
|
|
}
|
|
|
|
.single-value__icon {
|
|
display: flex;
|
|
justify-content: center;
|
|
width: 40px;
|
|
height: 40px;
|
|
background-color: $--chart-single-value-icon-background-color;
|
|
border-radius: 50%;
|
|
|
|
i {
|
|
display: flex;
|
|
align-items: center;
|
|
font-size: 20px;
|
|
color: $--color-primary;
|
|
}
|
|
}
|
|
|
|
.single-value__content {
|
|
display: flex;
|
|
flex-direction: column;
|
|
max-width: 60%;
|
|
padding-right: 10px;
|
|
|
|
.data__title-in-one {
|
|
display:flex;
|
|
flex-direction: row;
|
|
align-items: center;
|
|
}
|
|
|
|
.content__data {
|
|
margin-bottom: 5px;
|
|
font-size: 14px;
|
|
color: #333333;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.content__title {
|
|
white-space: nowrap;
|
|
font-size: 12px !important;
|
|
color: #7e8081;
|
|
margin-bottom: 5px;
|
|
padding: 3px 4px 3px 3px;
|
|
}
|
|
|
|
.title-background-color {
|
|
background-color: #EFF6FE;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
.content__percentile {
|
|
white-space: nowrap;
|
|
text-overflow: ellipsis;
|
|
font-size: 12px;
|
|
color: #666666;
|
|
display:flex;
|
|
flex-direction: row;
|
|
|
|
.circle__content {
|
|
display:flex;
|
|
flex-display:row;
|
|
margin-right:4px;
|
|
|
|
.percentile__title-color {
|
|
color:#9b9b9b
|
|
}
|
|
}
|
|
}
|
|
|
|
.circle {
|
|
position: relative;
|
|
width: 6px;
|
|
height: 6px;
|
|
line-height: 6px;
|
|
border-radius: 50%;
|
|
-moz-border-radius: 50%;
|
|
margin: auto;
|
|
margin-right: 4px;
|
|
z-index: 1;
|
|
}
|
|
|
|
.circle.circle-p50 {
|
|
background: #ffa200;
|
|
|
|
}
|
|
.circle.circle-p90 {
|
|
background: #23bf9a;
|
|
}
|
|
|
|
&.single-value__content--with-chart {
|
|
.content__title {
|
|
border-bottom: 1px solid $--content-right-background-color;
|
|
}
|
|
}
|
|
|
|
.single-value__unit {
|
|
padding-left:0px;
|
|
padding-right: 5px;
|
|
color: #333333;
|
|
font-size: 14px;
|
|
font-weight: bold;
|
|
}
|
|
}
|
|
}
|
|
|
|
&.cn-chart__single-value--percentile-left {
|
|
display: flex;
|
|
flex-direction: row-reverse;
|
|
justify-content: space-around;
|
|
align-items: center;
|
|
height: 100%;
|
|
width: unset;
|
|
|
|
.single-value-icon__box {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
justify-content: right;
|
|
margin: 0 22px 22px 0;
|
|
flex: 0 0 80;
|
|
}
|
|
|
|
.single-value__icon {
|
|
display: flex;
|
|
justify-content: center;
|
|
width: 60px;
|
|
height: 60px;
|
|
background-color: $--chart-single-value-icon-background-color;
|
|
border-radius: 50%;
|
|
|
|
i {
|
|
display: flex;
|
|
align-items: center;
|
|
font-size: 28px;
|
|
color: $--color-primary;
|
|
}
|
|
}
|
|
|
|
.single-value__content {
|
|
display: flex;
|
|
flex-direction: column;
|
|
max-width: 60%;
|
|
padding-right: 10px;
|
|
margin-left:25px;
|
|
|
|
.content__data {
|
|
margin-bottom: 5%;
|
|
font-size: 22px;
|
|
color: #333333;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.content__title {
|
|
overflow: hidden;
|
|
white-space: nowrap;
|
|
text-overflow: ellipsis;
|
|
font-size: 14px !important;
|
|
color: #7e8081;
|
|
margin-bottom: 7%;
|
|
font-weight:400;
|
|
}
|
|
|
|
.content__percentile {
|
|
white-space: nowrap;
|
|
text-overflow: ellipsis;
|
|
font-size: 12px;
|
|
color: #666666;
|
|
display:flex;
|
|
flex-direction: row;
|
|
font-weight: bold;
|
|
|
|
.circle__content {
|
|
display:flex;
|
|
flex-display:row;
|
|
margin-right:15px;
|
|
|
|
.percentile__title-color {
|
|
color:#9b9b9b;
|
|
font-weight: 500;
|
|
}
|
|
}
|
|
}
|
|
|
|
.circle {
|
|
position: relative;
|
|
width: 7px;
|
|
height: 7px;
|
|
line-height: 7px;
|
|
border-radius: 50%;
|
|
-moz-border-radius: 50%;
|
|
margin: auto;
|
|
margin-right: 4px;
|
|
z-index: 1;
|
|
}
|
|
|
|
.circle.circle-p50 {
|
|
background: #ffa200;
|
|
|
|
}
|
|
.circle.circle-p90 {
|
|
background: #23bf9a;
|
|
}
|
|
|
|
&.single-value__content--with-chart {
|
|
.content__title {
|
|
border-bottom: 1px solid $--content-right-background-color;
|
|
}
|
|
}
|
|
|
|
.single-value__unit {
|
|
color: #333333;
|
|
font-size: 22px;
|
|
font-weight: bold;
|
|
}
|
|
}
|
|
}
|
|
|
|
}
|