fix: hack by using color definitions behind variables
continuous-integration/drone/pr Build is failing Details

This commit is contained in:
Adrian Simmons 2021-11-16 21:45:35 +00:00
parent 60015bb0ad
commit d923a73827
1 changed files with 9 additions and 11 deletions

View File

@ -843,20 +843,18 @@ $flash-background-duration: 750ms;
}
&:not(:disabled) {
// HACK: these styles are repeated from bulma-css-variables/sass/form/shared.sass
$input-background-color: var(--scheme-main, #{$scheme-main});
$input-border-color: var(--border, #{$border});
$input-focus-border-color: var(--link, #{$link});
&:hover, &:active {
background: $input-background-color;
border-color: $input-border-color;
&:hover,
&:active,
&:focus {
background: var(--scheme-main);
border-color: var(--border);
cursor: text;
}
&:focus {
background: $input-background-color;
border-color: $input-focus-border-color;
&:hover,
&:active {
cursor: text;
border-color: var(--link)
}
}
}