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:
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user