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

@@ -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;