Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(ui5-dialog): set horizon themes parameters (#4925)
* style(ui5-dialog): set horizon themes parameters * fix focus borders radius * fix horizon dark theme * fix footer border * fix comments
- Loading branch information
1 parent
1b3f354
commit 1f3d212
Showing
21 changed files
with
56 additions
and
92 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,10 @@ | ||
:root { | ||
--_ui5_dialog_resize_handle_color: var(--sapButton_Lite_TextColor); | ||
--_ui5_dialog_header_focus_width: 0.0625rem; | ||
--_ui5_dialog_header_focus_offset: -0.1875rem; | ||
--_ui5_dialog_outline: var(--_ui5_dialog_header_focus_width) var(--sapContent_FocusStyle) var(--sapContent_FocusColor); | ||
--_ui5_dialog_header_border_radius: 0px; | ||
--_ui5_dialog_resize_handle_right: -0.25rem; | ||
--_ui5_dialog_resize_handle_bottom: -0.0625rem; | ||
--_ui5_dialog_header_focus_bottom_offset: 3px; | ||
--_ui5_dialog_header_focus_top_offset: 2px; | ||
--_ui5_dialog_header_focus_left_offset: 2px; | ||
--_ui5_dialog_header_focus_right_offset: 2px; | ||
--_ui5_dialog_header_border_radius: 0px; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 0 additions & 7 deletions
7
packages/main/src/themes/sap_belize_hcb/Dialog-parameters.css
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 0 additions & 7 deletions
7
packages/main/src/themes/sap_belize_hcw/Dialog-parameters.css
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 0 additions & 7 deletions
7
packages/main/src/themes/sap_fiori_3_hcb/Dialog-parameters.css
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 0 additions & 7 deletions
7
packages/main/src/themes/sap_fiori_3_hcw/Dialog-parameters.css
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
@import "../base/Dialog-parameters.css"; | ||
|
||
:root { | ||
--_ui5_dialog_header_focus_offset: 0px; | ||
--_ui5_dialog_header_focus_width: 0.125rem; | ||
--_ui5_dialog_header_border_radius: 0.75rem 0.75rem 0 0; | ||
--_ui5_dialog_header_focus_bottom_offset: 2px; | ||
--_ui5_dialog_header_focus_top_offset: 1px; | ||
--_ui5_dialog_header_focus_left_offset: 1px; | ||
--_ui5_dialog_header_focus_right_offset: 1px; | ||
--_ui5_dialog_resize_handle_right: 3px; | ||
--_ui5_dialog_resize_handle_bottom: 3px; | ||
--_ui5_dialog_resize_handle_right: 1px; | ||
--_ui5_dialog_header_focus_offset: -2px; | ||
--_ui5_dialog_header_focus_width: 2px; | ||
--_ui5_dialog_header_border_radius: var(--sapElement_BorderCornerRadius); | ||
} |
9 changes: 0 additions & 9 deletions
9
packages/main/src/themes/sap_horizon/PopupsCommon-parameters.css
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 6 additions & 6 deletions
12
packages/main/src/themes/sap_horizon_dark/Dialog-parameters.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
@import "../base/Dialog-parameters.css"; | ||
|
||
:root { | ||
--_ui5_dialog_header_focus_offset: 0px; | ||
--_ui5_dialog_header_focus_width: 0.125rem; | ||
--_ui5_dialog_header_border_radius: 0.75rem 0.75rem 0 0; | ||
--_ui5_dialog_header_focus_bottom_offset: 2px; | ||
--_ui5_dialog_header_focus_top_offset: 1px; | ||
--_ui5_dialog_header_focus_left_offset: 1px; | ||
--_ui5_dialog_header_focus_right_offset: 1px; | ||
--_ui5_dialog_resize_handle_right: 3px; | ||
--_ui5_dialog_resize_handle_bottom: 3px; | ||
--_ui5_dialog_resize_handle_right: 1px; | ||
--_ui5_dialog_header_focus_offset: -2px; | ||
--_ui5_dialog_header_focus_width: 2px; | ||
--_ui5_dialog_header_border_radius: var(--sapElement_BorderCornerRadius); | ||
} |
10 changes: 0 additions & 10 deletions
10
packages/main/src/themes/sap_horizon_dark/PopupsCommon-parameters.css
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 0 additions & 1 deletion
1
packages/main/src/themes/sap_horizon_exp/Popover-parameters.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
:root { | ||
--_ui5-popover-margin-top: 8px; | ||
--_ui5-popover-margin-bottom: -8px; | ||
--_ui5-popup-border-radius: .5rem; | ||
} |
5 changes: 2 additions & 3 deletions
5
packages/main/src/themes/sap_horizon_hcb/Dialog-parameters.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,6 @@ | ||
@import "../base/Dialog-parameters.css"; | ||
|
||
:root { | ||
--_ui5_dialog_resize_handle_color: var(--sapContent_IconColor); | ||
--_ui5_dialog_header_focus_width: 0.125rem; | ||
--_ui5_dialog_header_focus_offset: -0.25rem; | ||
--_ui5_dialog_resize_handle_right: 3px; | ||
--_ui5_dialog_resize_handle_bottom: 3px; | ||
} |
5 changes: 2 additions & 3 deletions
5
packages/main/src/themes/sap_horizon_hcw/Dialog-parameters.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,6 @@ | ||
@import "../base/Dialog-parameters.css"; | ||
|
||
:root { | ||
--_ui5_dialog_resize_handle_color: var(--sapContent_IconColor); | ||
--_ui5_dialog_header_focus_width: 0.125rem; | ||
--_ui5_dialog_header_focus_offset: -0.25rem; | ||
--_ui5_dialog_resize_handle_right: 3px; | ||
--_ui5_dialog_resize_handle_bottom: 3px; | ||
} |