mirror of
https://github.com/flarum/framework.git
synced 2024-12-13 07:03:35 +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%);
|
||
|
}
|
||
|
}
|