1
0
mirror of https://github.com/flarum/core.git synced 2025-07-30 21:20:24 +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

@@ -11,7 +11,7 @@
}
.Slidable-underneath {
display: none;
background: @secondary-color !important;
background: var(--secondary-color) !important;
position: absolute;
right: 0;
top: 0;
@@ -44,10 +44,10 @@
.sliding& {
position: relative;
background: @control-bg;
background: var(--control-bg);
z-index: 2;
border-radius: 2px;
box-shadow: 0 2px 6px @shadow-color;
box-shadow: 0 2px 6px var(--shadow-color);
}
}
}