UX: add background to 'add new point'-button if disabled

This commit is contained in:
Pieter Vander Vennet 2024-04-27 00:29:10 +02:00
parent 40efc9aefd
commit 46211e4c2e
3 changed files with 12 additions and 1 deletions

View file

@ -2265,6 +2265,7 @@ video {
--alert-color: #fee4d1;
--alert-foreground-color: var(--foreground-color);
--low-interaction-background: #eeeeee;
--low-interaction-background-50: #eeeeee90;
--low-interaction-foreground: black;
--low-interaction-contrast: #ff00ff;
--interactive-background: #dddddd;
@ -2491,6 +2492,10 @@ button.primary:not(.no-image-background) svg path, .button.primary:not(.no-image
transition: all 250ms;
}
button.disabled.low-interaction, .button.disabled.low-interaction {
background-color: var(--low-interaction-background-50);
}
button.disabled, .button.disabled {
cursor: default;
border: 2px dashed var(--button-background);