-
Notifications
You must be signed in to change notification settings - Fork 273
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(ui5-panel): implement SAP Horizon themes (#5058)
* feat(ui5-panel): implement SAP Horizon themes - existing themes adjustments - implementation of Horizon themes Related to: #5007 * remove font-weight * additional fixes
- Loading branch information
1 parent
b09dd35
commit 67565d5
Showing
14 changed files
with
68 additions
and
24 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
:root { | ||
--_ui5_panel_focus_border: var(--sapContent_FocusWidth) var(--sapContent_FocusStyle) var(--sapContent_FocusColor); | ||
--_ui5_panel_header_height: 3rem; | ||
--_ui5_panel_button_root_width: 3rem; | ||
--_ui5_panel_background_color: var(--sapGroup_TitleBackground); | ||
--_ui5_panel_border_radius: 0px; | ||
--_ui5_panel_border_radius_expanded: 0; | ||
--_ui5_panel_border_bottom: 1px solid var(--sapGroup_TitleBorderColor); | ||
--_ui5_panel_default_header_border: none; | ||
--_ui5_panel_border_bottom: 0.0625rem solid var(--sapGroup_TitleBorderColor); | ||
--_ui5_panel_outline_offset: -3px; | ||
--_ui5_panel_title_font_weight: normal; | ||
--_ui5_panel_icon_color: var(--sapContent_IconColor); | ||
--_ui5_panel_header_padding_right: 0.5rem; | ||
} |
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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
@import "../base/Panel-parameters.css"; | ||
|
||
:root { | ||
--_ui5_panel_header_padding_right: 1rem; | ||
--_ui5_panel_header_height: 3rem; | ||
} | ||
|
||
[data-ui5-compact-size], | ||
.ui5-content-density-compact, | ||
.sapUiSizeCompact { | ||
--_ui5_panel_header_height: 2rem; | ||
} |
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
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,6 +1,5 @@ | ||
@import "../base/Panel-parameters.css"; | ||
|
||
:root { | ||
--_ui5_panel_header_height: 2.75rem; | ||
--_ui5_panel_button_root_width: 2.75rem; | ||
} |
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,6 +1,5 @@ | ||
@import "../base/Panel-parameters.css"; | ||
|
||
:root { | ||
--_ui5_panel_header_height: 2.75rem; | ||
--_ui5_panel_button_root_width: 2.75rem; | ||
} |
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,12 +1,11 @@ | ||
@import "../base/Panel-parameters.css"; | ||
|
||
:root { | ||
--_ui5_panel_header_height: 2.75rem; | ||
--_ui5_panel_button_root_width: 2.75rem; | ||
--_ui5_panel_background_color: var(--sapGroup_ContentBackground); | ||
--_ui5_panel_border_radius: var(--sapElement_BorderCornerRadius); | ||
--_ui5_panel_border_bottom: none; | ||
--_ui5_panel_default_header_border: 0.0625rem solid var(--sapGroup_TitleBorderColor); | ||
--_ui5_panel_outline_offset: -0.125rem; | ||
--_ui5_panel_title_font_weight: bold; | ||
--_ui5_panel_border_radius_expanded: var(--sapElement_BorderCornerRadius) var(--sapElement_BorderCornerRadius) 0 0; | ||
--_ui5_panel_icon_color: var(--sapButton_Lite_TextColor); | ||
} |
5 changes: 2 additions & 3 deletions
5
packages/main/src/themes/sap_horizon_dark/Panel-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,12 +1,11 @@ | ||
@import "../base/Panel-parameters.css"; | ||
|
||
:root { | ||
--_ui5_panel_header_height: 2.75rem; | ||
--_ui5_panel_button_root_width: 2.75rem; | ||
--_ui5_panel_background_color: var(--sapGroup_ContentBackground); | ||
--_ui5_panel_border_radius: var(--sapElement_BorderCornerRadius); | ||
--_ui5_panel_border_bottom: none; | ||
--_ui5_panel_default_header_border: 0.0625rem solid var(--sapGroup_TitleBorderColor); | ||
--_ui5_panel_outline_offset: -0.125rem; | ||
--_ui5_panel_title_font_weight: bold; | ||
--_ui5_panel_border_radius_expanded: var(--sapElement_BorderCornerRadius) var(--sapElement_BorderCornerRadius) 0 0; | ||
--_ui5_panel_icon_color: var(--sapButton_Lite_TextColor); | ||
} |
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,6 +1,5 @@ | ||
@import "../base/Panel-parameters.css"; | ||
|
||
:root { | ||
--_ui5_panel_header_height: 2.75rem; | ||
--_ui5_panel_button_root_width: 2.75rem; | ||
} |
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