fix: duplicate root styles
This commit is contained in:
parent
1745c174e1
commit
8aba56a37b
|
@ -13,9 +13,6 @@
|
||||||
// the default values get overwritten by the definitions above
|
// the default values get overwritten by the definitions above
|
||||||
@import "bulma-css-variables/sass/utilities/_all";
|
@import "bulma-css-variables/sass/utilities/_all";
|
||||||
|
|
||||||
// this is needed so that the shared form variables are globally defined aswell
|
|
||||||
@import "bulma-css-variables/sass/form/shared";
|
|
||||||
|
|
||||||
// since $tablet is defined by bulma we can just define it after importing the utilities
|
// since $tablet is defined by bulma we can just define it after importing the utilities
|
||||||
$mobile: math.div($tablet, 2);
|
$mobile: math.div($tablet, 2);
|
||||||
|
|
||||||
|
|
|
@ -848,6 +848,11 @@ $flash-background-duration: 750ms;
|
||||||
}
|
}
|
||||||
|
|
||||||
&:not(:disabled) {
|
&: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 {
|
&:hover, &:active {
|
||||||
background: $input-background-color;
|
background: $input-background-color;
|
||||||
border-color: $input-border-color;
|
border-color: $input-border-color;
|
||||||
|
|
|
@ -29,7 +29,10 @@ if (isModernBuild) {
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
css: {
|
css: {
|
||||||
preprocessorOptions: {
|
preprocessorOptions: {
|
||||||
scss: { additionalData: PREFIXED_SCSS_STYLES },
|
scss: {
|
||||||
|
additionalData: PREFIXED_SCSS_STYLES,
|
||||||
|
charset: false, // fixes "@charset" must be the first rule in the file" warnings
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
plugins: [
|
plugins: [
|
||||||
|
|
Reference in New Issue
Block a user