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