N°2847 - Improve SCSS files structure

- Refactor some mixins into helpers
- CSS3 variables set via SCSS variables are now using "interpolation" (#{$my-var} instead of just $my-var) to be compatible with more SCSS compiler
- Overloading some Bulma variables such as font-family
This commit is contained in:
Molkobain
2020-07-16 14:01:03 +02:00
parent fab58d503b
commit f5df442e8b
16 changed files with 369 additions and 134 deletions

View File

@@ -22,8 +22,8 @@ $ibo-body-background-color: $ibo-color-white-200 !default;
/* CSS variables (can be changed directly from the browser) */
:root{
--ibo-body-text-color: $ibo-body-text-color;
--ibo-body-background-color: $ibo-body-background-color;
--ibo-body-text-color: #{$ibo-body-text-color};
--ibo-body-background-color: #{$ibo-body-background-color};
}
/* Layout */
@@ -35,7 +35,10 @@ body{
height: 100%;
color: var(--ibo-body-text-color);
background-color: var(--ibo-body-background-color);
@include ibo-font-ral-nor-100;
@extend %ibo-font-ral-nor-100;
}
#ibo-navigation-menu{
z-index: 1;
}
#ibo-page-container{
position: relative;