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

@@ -13,10 +13,10 @@
}
.UserCard--popover {
width: 500px;
box-shadow: 0 2px 6px @shadow-color;
box-shadow: 0 2px 6px var(--shadow-color);
&, .darkenBackground {
border-radius: @border-radius;
border-radius: var(--border-radius);
}
.container {
width: auto !important;
@@ -64,7 +64,7 @@
.Avatar {
.Avatar--size(96px);
border: 4px solid #fff;
box-shadow: 0 2px 6px @shadow-color;
box-shadow: 0 2px 6px var(--shadow-color);
@media @phone {
.Avatar--size(64px);
@@ -97,7 +97,7 @@
font-size: 14px;
}
&.online .fa-circle {
color: @online-user-circle-color;
color: var(--online-user-circle-color);
}
&.online .icon {
font-size: 12px;