1
0
mirror of https://github.com/flarum/core.git synced 2025-08-05 16:07:34 +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

@@ -23,7 +23,7 @@
.Checkbox.off {
.Checkbox-display {
background: @muted-more-color;
background: var(--muted-more-color);
}
}
}
@@ -31,14 +31,14 @@
&-header,
&-permissions-header {
background: @control-bg;
background: var(--control-bg);
h2 {
color: @muted-color;
color: var(--muted-color);
span {
font-size: 13px;
color: @muted-color;
color: var(--muted-color);
font-weight: normal;
}
}
@@ -56,12 +56,12 @@
> li {
display: inline;
color: @muted-color;
color: var(--muted-color);
margin-left: 13px;
> a {
color: @muted-color;
color: var(--muted-color);
}
> .icon {
@@ -107,7 +107,7 @@
}
&-subHeader {
color: @muted-color;
color: var(--muted-color);
font-weight: normal;
}
@@ -140,7 +140,7 @@
.item-authors {
a {
color: @muted-color;
color: var(--muted-color);
}
}
}