mirror of
https://github.com/Combodo/iTop.git
synced 2026-05-02 06:58:49 +02:00
N°3685 Greatly optimize SCSS rules to reduce compiled CSS file size (4.7Mo -> 620ko)
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user