mirror of
https://github.com/flarum/core.git
synced 2025-08-08 09:26:34 +02:00
Use css variables for badge (#29)
This commit is contained in:
@@ -1,10 +1,15 @@
|
|||||||
.Badge--sticky {
|
:root {
|
||||||
background: #d13e32;
|
--sticky-bg: #d13e32;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.Badge--sticky {
|
||||||
|
--badge-bg: var(--sticky-bg);
|
||||||
|
}
|
||||||
|
|
||||||
.DiscussionStickiedPost {
|
.DiscussionStickiedPost {
|
||||||
& .EventPost-icon,
|
& .EventPost-icon,
|
||||||
& .EventPost-info,
|
& .EventPost-info,
|
||||||
& .EventPost-info a {
|
& .EventPost-info a {
|
||||||
color: #d13e32;
|
color: var(--sticky-bg);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user