mirror of
https://github.com/flarum/framework.git
synced 2025-02-21 01:22:38 +08:00
Use css variables for badge (#29)
This commit is contained in:
parent
ab2a198aa3
commit
3e962c5e0f
@ -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);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user