mirror of
https://github.com/Retrospring/retrospring.git
synced 2025-02-13 21:33:20 +01:00
Add customizable hover styles to buttons
This commit is contained in:
parent
1951779c00
commit
a7cefa11b3
1 changed files with 8 additions and 0 deletions
|
@ -10,5 +10,13 @@ $colors: (
|
|||
.btn-#{$color} {
|
||||
background-color: var(--#{$color});
|
||||
border-color: var(--#{$color});
|
||||
|
||||
&:hover {
|
||||
background: linear-gradient(
|
||||
to top,
|
||||
rgba(0, 0, 0, 0.10),
|
||||
rgba(0, 0, 0, 0.10)
|
||||
) var(--#{$color});
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue