SCSS: Replace font global redefinition with more accurate overloads (only size, only weight, ...) to simplify styles inheritance

This commit is contained in:
Molkobain
2021-06-03 22:12:28 +02:00
committed by Eric
parent 674d2a261e
commit ccad70e8ee
25 changed files with 39 additions and 43 deletions

View File

@@ -64,7 +64,7 @@ $ibo-top-bar--quick-actions--margin-right: $ibo-top-bar--elements-spacing !defau
}
.ibo-top-bar--toolbar-dashboard-title {
@extend %ibo-font-ral-med-250;
@extend %ibo-font-size-250;
}
.ibo-top-bar--toolbar-dashboard-menu-toggler {

View File

@@ -159,7 +159,7 @@ $ibo-activity-panel--load-more-entries--border: $ibo-content-block--border !defa
border-radius: $ibo-activity-entry--medallion--border-radius;
@extend %ibo-font-ral-nor-150;
@extend %ibo-font-size-150;
&.ibo-has-image{
background-color: $ibo-activity-entry--medallion--has-image--background-color;
@@ -227,7 +227,7 @@ $ibo-activity-panel--load-more-entries--border: $ibo-content-block--border !defa
text-align: left;
color: $ibo-activity-entry--sub-information--text-color;
@extend %ibo-font-ral-nor-50;
@extend %ibo-font-size-50;
}
.ibo-activity-entry--author-name {

View File

@@ -224,7 +224,7 @@ $ibo-activity-panel--open-icon--margin-left: 0.75rem !default;
.ibo-activity-panel--tab-title-draft-indicator{
display: none;
margin-left: $ibo-activity-panel--tab-title-draft-indicator--margin-x;
@extend %ibo-font-ral-nor-50;
@extend %ibo-font-size-50;
}
.ibo-activity-panel--tab-title-text{
max-width: $ibo-activity-panel--tab-title-text--max-width;

View File

@@ -49,20 +49,20 @@ $ibo-dashboard-editor--delete-dashlet-icon--z-index: 21 !default;
td{
margin-bottom: 14px;
.ibo-field{
@extend %ibo-font-ral-med-100;
@extend %ibo-font-size-100;
}
}
}
}
.ibo-dashboard-editor--properties-title{
padding-bottom: $ibo-dashboard-editor--properties-title--padding-bottom;
@extend %ibo-font-ral-med-250;
@extend %ibo-font-size-250;
}
.ibo-dashboard-editor--properties-subtitle,
.ibo-dashboard--available-dashlet--title,
.ibo-dashlet--properties--title{
@extend .ibo-fieldset-legend;
@extend %ibo-font-ral-med-150;
@extend %ibo-font-size-150;
}
.ibo-dashboard-editor--layout-list {

View File

@@ -57,7 +57,7 @@ $ibo-tab--temporary-remote-content--button--hover--color: $ibo-color-grey-200 !d
height: $ibo-tab-container--tabs-list--height;
background-color: $ibo-tab-container--tabs-list--background-color;
@extend %ibo-font-ral-nor-150;
@extend %ibo-font-size-150;
}
.ibo-tab-container--tab-header {
@@ -71,7 +71,7 @@ $ibo-tab--temporary-remote-content--button--hover--color: $ibo-color-grey-200 !d
}
&.ui-tabs-active {
@extend %ibo-font-ral-bol-150;
@extend %ibo-font-weight-700;
color: $ibo-tab-container--tab-header--text-color--is-active;
}
}
@@ -154,7 +154,7 @@ $ibo-tab--temporary-remote-content--button--hover--color: $ibo-color-grey-200 !d
margin-left: $ibo-tab-container--tab-container--label--span--margin-left;
color: $ibo-tab-container--tab-container--label--text-color;
@extend %ibo-font-ral-med-250;
@extend %ibo-font-size-250;
}
> span::before,
@@ -207,7 +207,7 @@ $ibo-tab--temporary-remote-content--button--hover--color: $ibo-color-grey-200 !d
width: 100%;
cursor: pointer;
@extend %ibo-font-ral-med-300;
@extend %ibo-font-size-300;
background-color: transparent;
color: $ibo-tab--temporary-remote-content--button--color;