SCSS: Fix rules from 108bc2fa

- Don't nest selectors when there is no need to
- Use SCSS variables instead of CSS3 variables in SCSS files, otherwise we can't use SCSS functions. CSS3 variables should be kept for the front-end manipulations
This commit is contained in:
Molkobain
2021-06-28 21:19:13 +02:00
parent a599a5c5b7
commit 0e9ff71c0a
4 changed files with 24 additions and 11 deletions

View File

@@ -19,10 +19,6 @@ $ibo-title--icon-background--size--must-zoomout: 66.67% !default;
color: $ibo-title--text-color;
padding: $ibo-title--padding-y $ibo-title--padding-x;
.ibo-title--text {
@extend %ibo-font-ral-sembol-300;
}
}
.ibo-title--icon {
@@ -58,6 +54,10 @@ $ibo-title--icon-background--size--must-zoomout: 66.67% !default;
@extend %ibo-font-size-300;
}
.ibo-title--text {
@extend %ibo-font-ral-sembol-300;
}
.ibo-title--subtitle {
margin-top: 2px;
margin-bottom: 2px;