108 lines
2.0 KiB
SCSS
108 lines
2.0 KiB
SCSS
.root {
|
|
height: 100%;
|
|
overflow-x: hidden;
|
|
overflow-y: hidden;
|
|
|
|
border-top: 1px solid transparent;
|
|
transition: border-top-color 0.2s ease-in-out;
|
|
|
|
:global(.lovely-chart--container) {
|
|
font: inherit !important;
|
|
font-size: 13px !important;
|
|
}
|
|
|
|
:global(.lovely-chart--header) {
|
|
margin: 0 0.75rem;
|
|
}
|
|
|
|
:global(.lovely-chart--header),
|
|
:global(.lovely-chart--tooltip-title),
|
|
:global(.lovely-chart--tooltip-dataset-value),
|
|
:global(.lovely-chart--percentage-title) {
|
|
font-weight: var(--font-weight-medium) !important;
|
|
}
|
|
|
|
:global(.lovely-chart--container-type-pie) {
|
|
&:global(.lovely-chart--state-zoomed-in > canvas) {
|
|
animation-name: pie-slim-in !important;
|
|
}
|
|
|
|
&:global(:not(.lovely-chart--state-zoomed-in) > canvas) {
|
|
animation-name: pie-slim-out !important;
|
|
}
|
|
}
|
|
}
|
|
|
|
.messages, .publicForwards {
|
|
padding: 1rem 0;
|
|
border-top: 1px solid var(--color-borders);
|
|
|
|
&-title {
|
|
padding-left: 0.75rem;
|
|
font-size: 16px;
|
|
color: var(--text-color);
|
|
line-height: 30px;
|
|
text-transform: lowercase;
|
|
|
|
&:first-letter {
|
|
text-transform: uppercase;
|
|
}
|
|
}
|
|
}
|
|
|
|
.ready {
|
|
overflow-y: scroll !important;
|
|
}
|
|
|
|
.graph {
|
|
margin-bottom: 1rem;
|
|
border-bottom: 1px solid var(--color-borders);
|
|
|
|
opacity: 1;
|
|
transition: opacity 0.3s ease;
|
|
|
|
&:last-of-type {
|
|
margin-bottom: 0;
|
|
border-bottom: none;
|
|
}
|
|
|
|
&.hidden {
|
|
opacity: 0;
|
|
margin: 0;
|
|
}
|
|
}
|
|
|
|
@keyframes pie-slim-in {
|
|
0% {
|
|
clip-path: circle(80% at center calc(50% - 7.5px));
|
|
transform: rotate(-360deg);
|
|
}
|
|
|
|
25% {
|
|
clip-path: circle(40% at center calc(50% - 7.5px));
|
|
transform: rotate(-360deg);
|
|
}
|
|
|
|
75% {
|
|
clip-path: circle(40% at center calc(50% - 7.5px));
|
|
transform: rotate(0);
|
|
}
|
|
}
|
|
|
|
@keyframes pie-slim-out {
|
|
0% {
|
|
clip-path: circle(40% at center calc(50% - 7.5px));
|
|
transform: rotate(360deg);
|
|
}
|
|
|
|
50% {
|
|
clip-path: circle(40% at center calc(50% - 7.5px));
|
|
transform: rotate(0);
|
|
}
|
|
|
|
75% {
|
|
clip-path: circle(80% at center calc(50% - 7.5px));
|
|
transform: rotate(0);
|
|
}
|
|
}
|