Replace more hardcoded css

This commit is contained in:
natsoni
2024-04-06 15:48:35 +09:00
parent cde3d878b1
commit 7e920f4bae
56 changed files with 128 additions and 125 deletions

View File

@@ -177,10 +177,10 @@
.epoch-blocks {
display: block;
width: 100%;
background: #2d3348;
background: var(--secondary);
.rect {
fill: #2d3348;
fill: var(--secondary);
&.behind {
fill: #D81B60;
@@ -189,7 +189,7 @@
fill: url(#diff-gradient);
}
&.ahead {
fill: #1a9436;
fill: var(--success);
}
&.hover {
@@ -223,12 +223,12 @@
height: 100%;
}
.background {
background: linear-gradient(to right, #105fb0, #9339f4);
background: linear-gradient(to right, var(--primary), #9339f4);
left: 0;
right: 0;
}
.remaining {
background: #2d3348;
background: var(--secondary);
right: 0;
}
.label {