mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Merge pull request #15055 from itisAliRH/history-item-color-to-hsla
History item color to hsla
This commit is contained in:
@@ -235,9 +235,6 @@ export default {
|
||||
};
|
||||
</script>
|
||||
<style lang="scss">
|
||||
.content-item:hover {
|
||||
filter: brightness(105%);
|
||||
}
|
||||
.content-item {
|
||||
.name {
|
||||
word-break: break-all;
|
||||
|
||||
@@ -398,6 +398,7 @@ $galaxy-state-border: (
|
||||
"error": $state-danger-border,
|
||||
"deleted": darken($state-default-border, 30%),
|
||||
"hidden": $state-default-border,
|
||||
"setting_metadata": $state-warning-border,
|
||||
);
|
||||
|
||||
$galaxy-state-bg: (
|
||||
@@ -410,17 +411,27 @@ $galaxy-state-bg: (
|
||||
"error": $state-danger-bg,
|
||||
"deleted": darken($state-default-bg, 30%),
|
||||
"hidden": $state-default-bg,
|
||||
"setting_metadata": $state-warning-bg,
|
||||
);
|
||||
|
||||
@each $state in map-keys($galaxy-state-border) {
|
||||
.state-color-#{$state},
|
||||
[data-state="#{$state}"] {
|
||||
border-color: map-get($galaxy-state-border, $state);
|
||||
background-color: map-get($galaxy-state-bg, $state);
|
||||
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: 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