Skip to content

Commit c4a9a8d

Browse files
authored
refactor: replace the CSS initial property (#180)
1 parent 7084c96 commit c4a9a8d

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

packages/main/src/themes/base/DatePicker.less

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
/* Base theme */
1010
/* ============================= */
1111

12-
@_ui5_webcomponents_datepicker_icon_border: initial;
12+
@_ui5_webcomponents_datepicker_icon_border: none;
1313

1414
:host(ui5-datepicker) {
1515
display: inline-block;

packages/main/src/themes/base/MonthPicker.less

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111

1212
@_ui5_monthpicker_item_background_color: lighten(@sapUiContentForegroundColor, 7);
1313
@_ui5_monthpicker_item_focus_background_color: darken(@sapUiContentForegroundColor, 5);
14-
@_ui5_monthpicker_item_border_radius: initial;
15-
@_ui5_monthpicker_item_border: initial;
14+
@_ui5_monthpicker_item_border_radius: 0;
15+
@_ui5_monthpicker_item_border: none;
1616
@_ui5_monthpicker_item_margin: 1px;
1717
@_ui5_monthpicker_item_hover_background_color: lighten(@sapUiContentForegroundColor, 7);
1818
@_ui5_monthpicker_item_focus_after_width: calc(~"100% - 0.375rem");

packages/main/src/themes/base/YearPicker.less

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
/* Base theme */
1010
/* ============================= */
1111

12-
@_ui5_yearpicker_item_border: initial;
13-
@_ui5_yearpicker_item_border_radius: initial;
12+
@_ui5_yearpicker_item_border: none;
13+
@_ui5_yearpicker_item_border_radius: 0;
1414
@_ui5_yearpicker_item_margin: 1px;
1515
@_ui5_yearpicker_item_background_color: lighten(@sapUiContentForegroundColor, 7);
1616
@_ui5_yearpicker_item_hover_background_color: lighten(@sapUiContentForegroundColor, 7);

packages/main/src/themes/sap_belize_hcb/DatePicker.less

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@
2121
/* Belize HCB theme */
2222
/* ============================= */
2323

24-
@_ui5_webcomponents_datepicker_icon_border: 1px solid transparent;
24+
@_ui5_webcomponents_datepicker_icon_border: 1px solid transparent;

0 commit comments

Comments
 (0)