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:
@@ -8,7 +8,7 @@
|
||||
}
|
||||
.PostStream-item {
|
||||
&:not(:last-child) {
|
||||
border-bottom: 1px solid @control-bg;
|
||||
border-bottom: 1px solid var(--control-bg);
|
||||
|
||||
@media @phone {
|
||||
margin: 0 -15px;
|
||||
@@ -28,11 +28,11 @@
|
||||
.fakeText {
|
||||
display: inline-block;
|
||||
vertical-align: middle;
|
||||
background: @control-bg;
|
||||
background: var(--control-bg);
|
||||
height: 12px;
|
||||
width: 100%;
|
||||
margin-bottom: 20px;
|
||||
border-radius: @border-radius;
|
||||
border-radius: var(--border-radius);
|
||||
|
||||
.Post-header & {
|
||||
height: 16px;
|
||||
@@ -47,7 +47,7 @@
|
||||
.PostStream-timeGap {
|
||||
text-transform: uppercase;
|
||||
font-weight: bold;
|
||||
color: @muted-color;
|
||||
color: var(--muted-color);
|
||||
padding: 20px 20px 20px @avatar-column-width;
|
||||
font-size: 12px;
|
||||
|
||||
|
Reference in New Issue
Block a user