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

@@ -101,7 +101,7 @@
right: -5px;
top: 0;
transform: translateY(-50%);
background: #105fb0;
background: var(--primary);
border-radius: 5px;
&.left {
@@ -112,7 +112,7 @@
}
&.fullrbf {
background: #1bd8f4;
background: var(--info);
}
}
&.first-node {
@@ -165,20 +165,20 @@
&.mined {
.shape-border {
background: #1a9436;
background: var(--success);
}
}
.shape-border:hover {
padding: 0px;
.shape {
background: #1bd8f4;
background: var(--info);
}
}
&.selected.mined {
.shape-border {
background: #1a9436;
background: var(--success);
height: calc(1em + 16px);
width: calc(1em + 16px);
@@ -190,7 +190,7 @@
padding: 4px;
.shape {
border-width: 1px;
border-color: #1bd8f4
border-color: var(--info)
}
}
}
@@ -207,9 +207,9 @@
width: 20px;
height: 108px;
bottom: 50%;
border-right: solid 10px #105fb0;
border-right: solid 10px var(--primary);
&.fullrbf {
border-right: solid 10px #1bd8f4;
border-right: solid 10px var(--info);
}
&.last-pipe {
height: 150px;
@@ -218,10 +218,10 @@
}
.corner {
border-bottom: solid 10px #105fb0;
border-bottom: solid 10px var(--primary);
border-bottom-right-radius: 10px;
&.fullrbf {
border-bottom: solid 10px #1bd8f4;
border-bottom: solid 10px var(--info);
}
}
}