1
0
mirror of https://github.com/flarum/core.git synced 2025-08-01 14:10:37 +02:00

feat: Declare & Use CSS Custom Properties (#3146)

This commit is contained in:
Sami Mazouz
2021-11-04 22:34:18 +01:00
committed by GitHub
parent 26bf5d350b
commit 809df29d29
44 changed files with 502 additions and 380 deletions

View File

@@ -1,6 +1,6 @@
.Table {
background: @control-bg;
border-radius: @border-radius;
background: var(--control-bg);
border-radius: var(--border-radius);
border-collapse: collapse;
border-spacing: 0;
@@ -9,8 +9,8 @@
}
td, th {
border-bottom: 1px solid @body-bg;
color: @control-color;
border-bottom: 1px solid var(--body-bg);
color: var(--control-color);
}
td, th, .Checkbox, &-controls-item {
@@ -57,7 +57,7 @@
&.highlighted .Checkbox, .Checkbox:hover {
&:not(.disabled) {
background: darken(@control-bg, 4%);
background: var(--control-bg-shaded);
}
}
}