1
0
mirror of https://github.com/flarum/core.git synced 2025-08-06 00:17:31 +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,24 +1,24 @@
.DashboardPage {
background: @body-bg;
color: @control-color;
background: var(--body-bg);
color: var(--control-color);
min-height: 100vh;
padding-bottom: 30px;
}
.Widget {
background: @control-bg;
color: @text-color;
border-radius: @border-radius;
background: var(--control-bg);
color: var(--text-color);
border-radius: var(--border-radius);
padding: 20px;
margin-bottom: 20px;
.Button {
.Button--color(@control-color, @body-bg, 'button-alternate')
.Button--color-auto('button-inverted');
}
}
.StatusWidget {
color: @muted-color;
color: var(--muted-color);
>ul {
margin: 0;