2020-10-20 15:41:16 +00:00
|
|
|
#metrics-container .sparkline-wrapper {
|
2020-10-09 20:31:15 +00:00
|
|
|
svg path {
|
|
|
|
stroke-width: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tooltip {
|
2020-10-20 15:41:16 +00:00
|
|
|
padding: 0 0 10px;
|
2020-10-09 20:31:15 +00:00
|
|
|
font-size: 0.875em;
|
|
|
|
line-height: 1.5em;
|
|
|
|
font-weight: normal;
|
2021-10-07 18:21:11 +00:00
|
|
|
border: 1px solid rgb(var(--tone-gray-300));
|
2020-10-09 20:31:15 +00:00
|
|
|
background: #fff;
|
|
|
|
border-radius: 2px;
|
|
|
|
box-sizing: border-box;
|
|
|
|
box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.05), 0px 4px 4px rgba(0, 0, 0, 0.1);
|
|
|
|
|
|
|
|
.sparkline-time {
|
2020-10-20 15:41:16 +00:00
|
|
|
padding: 8px 10px;
|
2020-10-09 20:31:15 +00:00
|
|
|
font-weight: bold;
|
|
|
|
font-size: 14px;
|
|
|
|
color: #000;
|
2021-10-07 18:21:11 +00:00
|
|
|
border-bottom: 1px solid rgb(var(--tone-gray-200));
|
2020-10-20 15:41:16 +00:00
|
|
|
margin-bottom: 4px;
|
|
|
|
text-align: center;
|
2020-10-09 20:31:15 +00:00
|
|
|
}
|
|
|
|
|
2020-10-20 15:41:16 +00:00
|
|
|
.sparkline-tt-legend,
|
|
|
|
.sparkline-tt-sum {
|
2020-10-09 20:31:15 +00:00
|
|
|
border: 0;
|
2020-10-20 15:41:16 +00:00
|
|
|
padding: 3px 10px 0 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.sparkline-tt-sum {
|
2021-10-07 18:21:11 +00:00
|
|
|
border-top: 1px solid rgb(var(--tone-gray-200));
|
2020-10-20 15:41:16 +00:00
|
|
|
margin-top: 4px;
|
|
|
|
padding: 8px 10px 0 10px;
|
2020-10-09 20:31:15 +00:00
|
|
|
}
|
2020-10-20 15:41:16 +00:00
|
|
|
|
2020-10-09 20:31:15 +00:00
|
|
|
.sparkline-tt-legend-color {
|
|
|
|
width: 12px;
|
|
|
|
height: 12px;
|
|
|
|
border-radius: 2px;
|
|
|
|
margin: 0 5px 0 0;
|
|
|
|
padding: 0;
|
|
|
|
}
|
2020-10-20 15:41:16 +00:00
|
|
|
|
|
|
|
.sparkline-tt-legend-value,
|
|
|
|
.sparkline-tt-sum-value {
|
|
|
|
float: right;
|
|
|
|
}
|
2020-10-09 20:31:15 +00:00
|
|
|
}
|
|
|
|
|
2021-05-27 12:23:54 +00:00
|
|
|
div.tooltip:before {
|
|
|
|
content: '';
|
|
|
|
display: block;
|
2020-10-09 20:31:15 +00:00
|
|
|
position: absolute;
|
|
|
|
width: 12px;
|
|
|
|
height: 12px;
|
|
|
|
left: 15px;
|
|
|
|
bottom: -7px;
|
2021-10-07 18:21:11 +00:00
|
|
|
border: 1px solid rgb(var(--tone-gray-300));
|
2020-10-09 20:31:15 +00:00
|
|
|
border-top: 0;
|
|
|
|
border-left: 0;
|
|
|
|
background: #fff;
|
|
|
|
transform: rotate(45deg);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-10-20 15:41:16 +00:00
|
|
|
// Key modal
|
|
|
|
.sparkline-key {
|
|
|
|
h3::before {
|
2021-05-27 12:23:54 +00:00
|
|
|
@extend %with-info-circle-fill-mask, %as-pseudo;
|
|
|
|
margin: 2px 3px 0 0;
|
|
|
|
font-size: 14px;
|
2020-10-20 15:41:16 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
h3 {
|
2021-10-07 18:21:11 +00:00
|
|
|
color: rgb(var(--tone-gray-900));
|
2020-10-20 15:41:16 +00:00
|
|
|
font-size: 16px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.sparkline-key-content {
|
|
|
|
dt {
|
|
|
|
font-weight: 600;
|
|
|
|
}
|
|
|
|
dd {
|
2021-10-07 18:21:11 +00:00
|
|
|
color: rgb(var(--tone-gray-500));
|
2020-10-20 15:41:16 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.sparkline-key-link {
|
2021-10-07 18:21:11 +00:00
|
|
|
color: rgb(var(--tone-gray-500));
|
2020-10-20 15:41:16 +00:00
|
|
|
}
|
|
|
|
.sparkline-key-link:hover {
|
2021-10-07 18:21:11 +00:00
|
|
|
color: rgb(var(--tone-blue-500));
|
2020-10-20 15:41:16 +00:00
|
|
|
}
|
|
|
|
#metrics-container:hover .sparkline-key-link::before {
|
|
|
|
@extend %with-info-circle-fill-mask, %as-pseudo;
|
|
|
|
margin: 1px 3px 0 0;
|
|
|
|
font-size: 12px;
|
2021-05-27 12:23:54 +00:00
|
|
|
}
|