fix: hack by using color definitions behind variables
Some checks failed
continuous-integration/drone/pr Build is failing
Some checks failed
continuous-integration/drone/pr Build is failing
This commit is contained in:
parent
60015bb0ad
commit
d923a73827
|
@ -843,20 +843,18 @@ $flash-background-duration: 750ms;
|
||||||
}
|
}
|
||||||
|
|
||||||
&:not(:disabled) {
|
&:not(:disabled) {
|
||||||
// HACK: these styles are repeated from bulma-css-variables/sass/form/shared.sass
|
&:hover,
|
||||||
$input-background-color: var(--scheme-main, #{$scheme-main});
|
&:active,
|
||||||
$input-border-color: var(--border, #{$border});
|
&:focus {
|
||||||
$input-focus-border-color: var(--link, #{$link});
|
background: var(--scheme-main);
|
||||||
|
border-color: var(--border);
|
||||||
&:hover, &:active {
|
|
||||||
background: $input-background-color;
|
|
||||||
border-color: $input-border-color;
|
|
||||||
cursor: text;
|
cursor: text;
|
||||||
}
|
}
|
||||||
|
|
||||||
&:focus {
|
&:hover,
|
||||||
background: $input-background-color;
|
&:active {
|
||||||
border-color: $input-focus-border-color;
|
cursor: text;
|
||||||
|
border-color: var(--link)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Reference in New Issue
Block a user