mirror of
https://github.com/Combodo/iTop.git
synced 2026-03-09 19:14:19 +01:00
N°3685 Greatly optimize SCSS rules to reduce compiled CSS file size (4.7Mo -> 620ko)
This commit is contained in:
@@ -11,7 +11,5 @@ $ibo-block-csv--textarea--margin-top: 10px !default;
|
||||
}
|
||||
|
||||
.ibo-block-csv--download-link{
|
||||
@extend .ibo-button;
|
||||
@extend .ibo-is-alternative;
|
||||
@extend .ibo-is-primary;
|
||||
@extend .ibo-button.ibo-is-alternative.ibo-is-primary;
|
||||
}
|
||||
@@ -42,7 +42,6 @@ $ibo-prop--apply--error--color: $ibo-color-grey-800 !default;
|
||||
height: $ibo-prop--apply-cancel--span--height;
|
||||
width: $ibo-prop--apply-cancel--span--width;
|
||||
text-align: center;
|
||||
@extend .ibo-button;
|
||||
@extend .ibo-is-alternative;
|
||||
@extend .ibo-button.ibo-is-alternative;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -847,9 +847,7 @@ $ibo-search-results-area--datatable-scrollhead--border--is-sticking: $ibo-search
|
||||
|
||||
button {
|
||||
margin-top: 8px;
|
||||
@extend .ibo-button;
|
||||
@extend .ibo-is-primary;
|
||||
@extend .ibo-is-regular;
|
||||
@extend .ibo-button.ibo-is-primary.ibo-is-regular;
|
||||
> span {
|
||||
margin-right: 0.5em;
|
||||
}
|
||||
@@ -877,8 +875,7 @@ $ibo-search-results-area--datatable-scrollhead--border--is-sticking: $ibo-search
|
||||
}
|
||||
|
||||
.sfc_fg_button{
|
||||
@extend .ibo-button;
|
||||
@extend .ibo-is-neutral;
|
||||
@extend .ibo-button.ibo-is-neutral;
|
||||
&.sfc_fg_search, &.sfc_fg_apply, &.sfc_fg_cancel {
|
||||
@extend .ibo-is-regular;
|
||||
}
|
||||
|
||||
@@ -25,9 +25,7 @@ $ibo-input-datetime--ui-tpicker-slider--padding-right: 18px !default;
|
||||
color: $ibo-input-datetime--action-button--color;
|
||||
}
|
||||
.ui-datepicker-current, .ui-datepicker-close{
|
||||
@extend .ibo-button;
|
||||
@extend .ibo-is-regular;
|
||||
@extend .ibo-is-secondary;
|
||||
@extend .ibo-button.ibo-is-regular.ibo-is-secondary;
|
||||
}
|
||||
.ui_tpicker_hour_slider, .ui_tpicker_minute_slider, .ui_tpicker_second_slider{
|
||||
@extend .ibo-input-wrapper;
|
||||
|
||||
@@ -100,9 +100,7 @@ $ibo-dashboard-editor--delete-dashlet-icon--z-index: 21 !default;
|
||||
right: $ibo-dashboard-editor--delete-dashlet-icon--right;
|
||||
padding: $ibo-dashboard-editor--delete-dashlet-icon--padding;
|
||||
z-index: $ibo-dashboard-editor--delete-dashlet-icon--z-index;
|
||||
@extend .ibo-button;
|
||||
@extend .ibo-is-alternative;
|
||||
@extend .ibo-is-danger;
|
||||
@extend .ibo-button.ibo-is-alternative.ibo-is-danger;
|
||||
}
|
||||
.ibo-dashboard-editor .itop-dashboard{
|
||||
a{
|
||||
|
||||
4
css/backoffice/vendors/_jqueryui.scss
vendored
4
css/backoffice/vendors/_jqueryui.scss
vendored
@@ -167,9 +167,7 @@ $ibo-vendors-jqueryui--ui-slider--ui-slider-handle--hover--border-color: $ibo-co
|
||||
top: 0;
|
||||
}
|
||||
.ui-button {
|
||||
@extend .ibo-button;
|
||||
@extend .ibo-is-regular;
|
||||
@extend .ibo-is-secondary;
|
||||
@extend .ibo-button.ibo-is-regular.ibo-is-secondary;
|
||||
> .ui-icon {
|
||||
background-image: none;
|
||||
float: unset;
|
||||
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user