mirror of
https://github.com/flarum/framework.git
synced 2024-12-02 23:23:52 +08:00
10 lines
151 B
Plaintext
10 lines
151 B
Plaintext
|
// Contextual backgrounds
|
||
|
|
||
|
.bg-variant(@color) {
|
||
|
background-color: @color;
|
||
|
a&:hover,
|
||
|
a&:focus {
|
||
|
background-color: darken(@color, 10%);
|
||
|
}
|
||
|
}
|