mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
add &:focus:hover and &:focus-within:hover background color for history items
This commit is contained in:
@@ -421,12 +421,17 @@ $galaxy-state-bg: (
|
||||
background-color: change-color(map-get($galaxy-state-bg, $state), $alpha: 0.4, $lightness: 50%);
|
||||
|
||||
&:hover {
|
||||
background-color: change-color(map-get($galaxy-state-bg, $state), $alpha: 0.4, $lightness: 60%);
|
||||
background-color: change-color(map-get($galaxy-state-bg, $state), $alpha: 0.4, $lightness: 66%);
|
||||
}
|
||||
|
||||
&:focus,
|
||||
&:focus-within {
|
||||
background-color: scale-color(map-get($galaxy-state-bg, $state), $lightness: -10%);
|
||||
background-color: change-color(map-get($galaxy-state-bg, $state), $alpha: 0.4, $lightness: 33%);
|
||||
}
|
||||
|
||||
&:focus:hover,
|
||||
&:focus-within:hover {
|
||||
background-color: change-color(map-get($galaxy-state-bg, $state), $alpha: 0.4, $lightness: 40%);
|
||||
}
|
||||
|
||||
&.selected {
|
||||
|
||||
Reference in New Issue
Block a user