@openui5/themelib_sap_horizon 1.128.0 → 1.129.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/THIRDPARTY.txt +1 -1
- package/package.json +18 -18
- package/src/sap/m/themes/sap_horizon/ActionSelect.less +13 -13
- package/src/sap/m/themes/sap_horizon/ActionSheet.less +12 -12
- package/src/sap/m/themes/sap_horizon/Avatar.less +12 -10
- package/src/sap/m/themes/sap_horizon/Bar.less +11 -9
- package/src/sap/m/themes/sap_horizon/ColorPalette.less +43 -16
- package/src/sap/m/themes/sap_horizon/ComboBoxBase.less +3 -3
- package/src/sap/m/themes/sap_horizon/Dialog.less +29 -20
- package/src/sap/m/themes/sap_horizon/DynamicDateRange.less +1 -1
- package/src/sap/m/themes/sap_horizon/GenericTile.less +21 -21
- package/src/sap/m/themes/sap_horizon/RatingIndicator.less +0 -2
- package/src/sap/m/themes/sap_horizon/SlideTile.less +10 -10
- package/src/sap/m/themes/sap_horizon/Token.less +27 -7
- package/src/sap/m/themes/sap_horizon_dark/ActionSelect.less +11 -10
- package/src/sap/m/themes/sap_horizon_dark/ActionSheet.less +11 -11
- package/src/sap/m/themes/sap_horizon_dark/Avatar.less +12 -10
- package/src/sap/m/themes/sap_horizon_dark/Bar.less +12 -10
- package/src/sap/m/themes/sap_horizon_dark/ColorPalette.less +42 -16
- package/src/sap/m/themes/sap_horizon_dark/ComboBoxBase.less +3 -3
- package/src/sap/m/themes/sap_horizon_dark/Dialog.less +29 -21
- package/src/sap/m/themes/sap_horizon_dark/DynamicDateRange.less +1 -1
- package/src/sap/m/themes/sap_horizon_dark/GenericTile.less +24 -24
- package/src/sap/m/themes/sap_horizon_dark/SlideTile.less +10 -10
- package/src/sap/m/themes/sap_horizon_dark/Token.less +28 -8
- package/src/sap/m/themes/sap_horizon_hcb/ActionSelect.less +4 -3
- package/src/sap/m/themes/sap_horizon_hcb/ActionSheet.less +12 -12
- package/src/sap/m/themes/sap_horizon_hcb/Avatar.less +9 -8
- package/src/sap/m/themes/sap_horizon_hcb/Bar.less +12 -10
- package/src/sap/m/themes/sap_horizon_hcb/ColorPalette.less +25 -15
- package/src/sap/m/themes/sap_horizon_hcb/ComboBoxBase.less +8 -8
- package/src/sap/m/themes/sap_horizon_hcb/Dialog.less +22 -13
- package/src/sap/m/themes/sap_horizon_hcb/DynamicDateRange.less +1 -1
- package/src/sap/m/themes/sap_horizon_hcb/GenericTile.less +5 -5
- package/src/sap/m/themes/sap_horizon_hcb/SlideTile.less +6 -6
- package/src/sap/m/themes/sap_horizon_hcb/Token.less +29 -4
- package/src/sap/m/themes/sap_horizon_hcw/ActionSelect.less +4 -3
- package/src/sap/m/themes/sap_horizon_hcw/ActionSheet.less +12 -12
- package/src/sap/m/themes/sap_horizon_hcw/Avatar.less +9 -8
- package/src/sap/m/themes/sap_horizon_hcw/Bar.less +12 -10
- package/src/sap/m/themes/sap_horizon_hcw/ColorPalette.less +25 -15
- package/src/sap/m/themes/sap_horizon_hcw/ComboBoxBase.less +7 -7
- package/src/sap/m/themes/sap_horizon_hcw/Dialog.less +22 -13
- package/src/sap/m/themes/sap_horizon_hcw/DynamicDateRange.less +1 -1
- package/src/sap/m/themes/sap_horizon_hcw/GenericTile.less +6 -6
- package/src/sap/m/themes/sap_horizon_hcw/SlideTile.less +6 -6
- package/src/sap/m/themes/sap_horizon_hcw/Token.less +29 -4
- package/src/sap/ui/core/themes/sap_horizon/.theme +1 -1
- package/src/sap/ui/core/themes/sap_horizon/base.less +515 -7
- package/src/sap/ui/core/themes/sap_horizon/global.less +453 -7
- package/src/sap/ui/core/themes/sap_horizon_dark/.theme +1 -1
- package/src/sap/ui/core/themes/sap_horizon_dark/base.less +517 -9
- package/src/sap/ui/core/themes/sap_horizon_dark/global.less +453 -6
- package/src/sap/ui/core/themes/sap_horizon_hcb/.theme +1 -1
- package/src/sap/ui/core/themes/sap_horizon_hcb/base.less +524 -16
- package/src/sap/ui/core/themes/sap_horizon_hcb/global.less +453 -6
- package/src/sap/ui/core/themes/sap_horizon_hcw/.theme +1 -1
- package/src/sap/ui/core/themes/sap_horizon_hcw/base.less +521 -13
- package/src/sap/ui/core/themes/sap_horizon_hcw/global.less +453 -6
- package/src/sap/ui/dt/themes/sap_horizon/ContextMenu.less +0 -14
- package/src/sap/ui/dt/themes/sap_horizon_dark/ContextMenu.less +0 -14
- package/src/sap/ui/dt/themes/sap_horizon_hcb/ContextMenu.less +0 -10
- package/src/sap/ui/dt/themes/sap_horizon_hcw/ContextMenu.less +0 -10
- package/src/sap/ui/rta/themes/sap_horizon_dark/Toolbar.adaptation.less +1 -1
|
@@ -17,61 +17,71 @@ html:not(.sap-phone) .sapMColorPalette .sapMColorPaletteSquare {
|
|
|
17
17
|
}
|
|
18
18
|
|
|
19
19
|
html:not(.sap-phone) .sapMColorPalette .sapMColorPaletteSquare {
|
|
20
|
-
|
|
21
|
-
|
|
20
|
+
|
|
21
|
+
&:focus::before {
|
|
22
|
+
content: '';
|
|
22
23
|
box-sizing: border-box;
|
|
23
24
|
position: absolute;
|
|
24
25
|
left: 0.125rem;
|
|
25
26
|
top: 0.125rem;
|
|
26
27
|
right: 0.125rem;
|
|
27
28
|
bottom: 0.125rem;
|
|
28
|
-
border: 0.125rem solid
|
|
29
|
+
border: 0.125rem solid var(--sapButton_Lite_Background);
|
|
29
30
|
pointer-events: none;
|
|
30
31
|
}
|
|
32
|
+
|
|
31
33
|
&:hover,
|
|
32
34
|
&.sapMColorPaletteSquareSelected {
|
|
33
35
|
border: 0;
|
|
36
|
+
|
|
34
37
|
> div {
|
|
35
|
-
border: 0.125rem solid
|
|
38
|
+
border: 0.125rem solid var(--sapContent_ForegroundBorderColor);
|
|
36
39
|
}
|
|
37
40
|
}
|
|
38
|
-
|
|
39
|
-
|
|
41
|
+
|
|
42
|
+
&:focus::after {
|
|
43
|
+
content: '';
|
|
40
44
|
position: absolute;
|
|
41
45
|
box-sizing: border-box;
|
|
42
46
|
left: 0.125rem;
|
|
43
47
|
top: 0.125rem;
|
|
44
48
|
right: 0.125rem;
|
|
45
49
|
bottom: 0.125rem;
|
|
46
|
-
border: 0.125rem dotted
|
|
50
|
+
border: 0.125rem dotted var(--sapContent_ContrastFocusColor);
|
|
47
51
|
pointer-events: none;
|
|
48
52
|
}
|
|
49
53
|
}
|
|
54
|
+
|
|
50
55
|
.sap-desktop .sapMColorPalette .sapMBtn:focus {
|
|
51
|
-
|
|
56
|
+
|
|
57
|
+
&::after {
|
|
52
58
|
border-width: 0.125rem;
|
|
53
|
-
border-color:
|
|
59
|
+
border-color: var(--sapContent_FocusColor);
|
|
54
60
|
}
|
|
55
61
|
}
|
|
56
|
-
|
|
57
|
-
.sap-desktop .sapContrast,
|
|
62
|
+
|
|
63
|
+
html:not(.sap-phone) .sapMColorPalette .sap-desktop .sapContrast,
|
|
58
64
|
.sap-desktop.sapContrast {
|
|
65
|
+
|
|
59
66
|
.sapMColorPalette .sapMBtn {
|
|
60
|
-
|
|
61
|
-
|
|
67
|
+
|
|
68
|
+
&:focus::after {
|
|
69
|
+
border-color: var(--sapContent_FocusColor);
|
|
62
70
|
|
|
63
71
|
}
|
|
72
|
+
|
|
64
73
|
&:active,
|
|
65
74
|
> .sapMBtnActive,
|
|
66
75
|
&:hover > .sapMBtnActive,
|
|
67
76
|
&:active > .sapMBtnActive {
|
|
68
|
-
color:
|
|
77
|
+
color: var(--sapList_TextColor);
|
|
69
78
|
}
|
|
70
79
|
}
|
|
71
80
|
}
|
|
72
81
|
|
|
73
82
|
.sap-phone .sapMColorPaletteSquare {
|
|
83
|
+
|
|
74
84
|
&:active > div {
|
|
75
|
-
box-shadow: inset 0 0 0 0.125rem
|
|
85
|
+
box-shadow: inset 0 0 0 0.125rem var(--sapContent_ForegroundBorderColor);
|
|
76
86
|
}
|
|
77
87
|
}
|
|
@@ -4,25 +4,25 @@
|
|
|
4
4
|
/* =================================== */
|
|
5
5
|
|
|
6
6
|
.sapMInputBaseIconPressed .sapMComboBoxBaseClearIcon {
|
|
7
|
-
color:
|
|
7
|
+
color: var(--sapContent_IconColor);
|
|
8
8
|
background: transparent;
|
|
9
9
|
border-left-color: transparent;
|
|
10
10
|
|
|
11
11
|
&:hover {
|
|
12
|
-
background:
|
|
13
|
-
border-left-color:
|
|
12
|
+
background: var(--sapButton_Lite_Hover_Background);
|
|
13
|
+
border-left-color: var(--sapButton_Selected_BorderColor);
|
|
14
14
|
}
|
|
15
15
|
|
|
16
16
|
&:active {
|
|
17
|
-
background-color:
|
|
18
|
-
color:
|
|
17
|
+
background-color: var(--sapButton_Lite_Active_Background);
|
|
18
|
+
color: var(--sapButton_Active_TextColor);
|
|
19
19
|
|
|
20
20
|
&::before {
|
|
21
|
-
color:
|
|
21
|
+
color: var(--sapButton_Active_TextColor);
|
|
22
22
|
}
|
|
23
23
|
}
|
|
24
24
|
}
|
|
25
25
|
|
|
26
26
|
.sapMInputBaseIconPressed .sapMComboBoxBaseClearIcon::before {
|
|
27
|
-
color:
|
|
27
|
+
color: var(--sapContent_IconColor);
|
|
28
28
|
}
|
|
@@ -3,15 +3,15 @@
|
|
|
3
3
|
/* Horizon High Contrast White theme */
|
|
4
4
|
/* ================================== */
|
|
5
5
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
/* ========================================================================== */
|
|
7
|
+
/* Variables */
|
|
8
|
+
/* ========================================================================== */
|
|
9
9
|
|
|
10
10
|
@_sap_m_Dialog_VerticalMargin: 3%;
|
|
11
11
|
@_sap_m_Dialog_BarHeight: 2.75rem;
|
|
12
12
|
@_sap_m_Dialog_SubHeaderCompactHeight: 2.25rem;
|
|
13
13
|
|
|
14
|
-
@_sap_m_Dialog_NoStateHeaderShadow:
|
|
14
|
+
@_sap_m_Dialog_NoStateHeaderShadow: var(--sapContent_HeaderShadow);
|
|
15
15
|
|
|
16
16
|
.sapMDialogSubHeader .sapMIBar {
|
|
17
17
|
height: 100%;
|
|
@@ -28,21 +28,23 @@
|
|
|
28
28
|
}
|
|
29
29
|
|
|
30
30
|
.sapMDialogTitleGroup {
|
|
31
|
-
z-index: 3;
|
|
31
|
+
z-index: 3; /* to hide the shadow from the header when there is sub-header */
|
|
32
32
|
}
|
|
33
33
|
|
|
34
|
-
|
|
34
|
+
/* buttons on phone must be to the right side (in LTR mode) */
|
|
35
35
|
html.sap-phone .sapMDialog {
|
|
36
|
+
|
|
36
37
|
& > footer .sapMFooter-CTX {
|
|
37
38
|
justify-content: flex-end;
|
|
38
39
|
}
|
|
39
40
|
}
|
|
40
41
|
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
42
|
+
/* ========================================================================== */
|
|
43
|
+
/* header, sub-header, footer */
|
|
44
|
+
/* ========================================================================== */
|
|
44
45
|
|
|
45
46
|
.sapMDialog {
|
|
47
|
+
|
|
46
48
|
header .sapMBarLeft,
|
|
47
49
|
header .sapMBarPH {
|
|
48
50
|
padding-left: 1rem;
|
|
@@ -59,11 +61,17 @@ html.sap-phone .sapMDialog {
|
|
|
59
61
|
}
|
|
60
62
|
}
|
|
61
63
|
|
|
62
|
-
|
|
63
|
-
.sapMDialogTitleGroup,
|
|
64
|
-
|
|
65
|
-
|
|
64
|
+
/* Responsive paddings */
|
|
65
|
+
.sapMDialogTitleGroup,
|
|
66
|
+
.sapMDialogSubHeader {
|
|
67
|
+
|
|
68
|
+
.sapUi-Std-PaddingS,
|
|
69
|
+
.sapUi-Std-PaddingM,
|
|
70
|
+
.sapUi-Std-PaddingL,
|
|
71
|
+
.sapUi-Std-PaddingXL {
|
|
72
|
+
|
|
66
73
|
&.sapMIBar {
|
|
74
|
+
|
|
67
75
|
.sapMBarMiddle .sapMBarPH {
|
|
68
76
|
padding-left: 0;
|
|
69
77
|
padding-right: 0;
|
|
@@ -89,6 +97,7 @@ html.sap-phone .sapMDialog {
|
|
|
89
97
|
}
|
|
90
98
|
|
|
91
99
|
.sapMDialog:not(.sapUiResponsiveContentPadding):not(.sapUiContentPadding) {
|
|
100
|
+
|
|
92
101
|
&.sapMDialog-NoHeader .sapMDialogScroll {
|
|
93
102
|
padding-top: 0.25rem;
|
|
94
103
|
|
|
@@ -104,7 +104,7 @@
|
|
|
104
104
|
}
|
|
105
105
|
}
|
|
106
106
|
|
|
107
|
-
.
|
|
107
|
+
.sapUiMedia-GenericTileDeviceSet-large .sapMGT.sapMGTLineMode {
|
|
108
108
|
|
|
109
109
|
&:not(.sapMGTDisabled):not(.sapMGTFailed):hover .sapMGTLineStyleHelperInner {
|
|
110
110
|
box-shadow: 0 0 0 0.1875rem @sapUiContentShadowColor;
|
|
@@ -148,7 +148,7 @@
|
|
|
148
148
|
box-shadow: none;
|
|
149
149
|
}
|
|
150
150
|
|
|
151
|
-
|
|
151
|
+
.sapMGT:not(.sapMGTStateDisabled):hover,
|
|
152
152
|
html.sap-phone .sapMGTHvrOutln:not(.sapMGTStateDisabled):active,
|
|
153
153
|
html.sap-tablet .sapMGTHvrOutln:not(.sapMGTStateDisabled):active,
|
|
154
154
|
html.sap-phone .sapMGTBackgroundHvrOutln:not(.sapMGTStateDisabled):active,
|
|
@@ -156,14 +156,14 @@ html.sap-tablet .sapMGTBackgroundHvrOutln:not(.sapMGTStateDisabled):active {
|
|
|
156
156
|
box-shadow: 0 0 0 0.125rem @sapUiContentShadowColor;
|
|
157
157
|
}
|
|
158
158
|
|
|
159
|
-
.
|
|
159
|
+
.sapMGT.sapMGTLineMode:hover {
|
|
160
160
|
&.sapMGTLineModePress {
|
|
161
161
|
box-shadow: none;
|
|
162
162
|
}
|
|
163
163
|
}
|
|
164
164
|
|
|
165
|
-
|
|
166
|
-
|
|
165
|
+
.sapMGT:not(.sapMGTStateDisabled,.sapMGTLineMode,.TwoByHalf.sapMGTIconMode):hover,
|
|
166
|
+
.sapMGT:not(.sapMGTStateDisabled,.sapMGTLineMode,.TwoByHalf.sapMGTIconMode):active {
|
|
167
167
|
box-shadow: none;
|
|
168
168
|
border-color: transparent !important;
|
|
169
169
|
.sapMGTFocusDiv{
|
|
@@ -179,7 +179,7 @@ html.sap-desktop .sapMGT:not(.sapMGTStateDisabled,.sapMGTLineMode,.TwoByHalf.sap
|
|
|
179
179
|
}
|
|
180
180
|
}
|
|
181
181
|
|
|
182
|
-
|
|
182
|
+
.sapMGT.sapMGTLineMode:hover{
|
|
183
183
|
box-shadow: none !important;
|
|
184
184
|
border: none !important;
|
|
185
185
|
.sapMGTFocusDiv {
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
border-radius: 0.25rem;
|
|
8
8
|
}
|
|
9
9
|
|
|
10
|
-
|
|
10
|
+
.sapMST:active .sapMGTFocusDiv {
|
|
11
11
|
left: 0;
|
|
12
12
|
top: 0;
|
|
13
13
|
right: 0;
|
|
@@ -15,19 +15,19 @@ html.sap-desktop .sapMST:active .sapMGTFocusDiv {
|
|
|
15
15
|
border: 0.125rem dotted @sapUiContentFocusColor;
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
|
|
18
|
+
.sapMST:focus:not([tabindex]) {
|
|
19
19
|
border-color: transparent;
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
/* Bulleted indicator of multiple tiles*/
|
|
23
|
-
.sapMSTBulleted
|
|
23
|
+
.sapMSTBulleted .sapMSTIndicator{
|
|
24
24
|
border: solid 0.0625rem @sapTile_OverlayForegroundColor;
|
|
25
25
|
opacity: 0.6;
|
|
26
26
|
box-shadow : 0 0 0.125rem @sapContent_ShadowColor;
|
|
27
27
|
margin: 0 0.094rem;
|
|
28
28
|
}
|
|
29
29
|
|
|
30
|
-
.sapMSTBulleted
|
|
30
|
+
.sapMSTBulleted .sapMSTIndicator.sapMSTActive {
|
|
31
31
|
background: @sapTile_OverlayForegroundColor;
|
|
32
32
|
box-shadow: 0 0 0.063rem @sapContent_ShadowColor;
|
|
33
33
|
}
|
|
@@ -60,12 +60,12 @@ html.sap-desktop .sapMST:focus:not([tabindex]) {
|
|
|
60
60
|
border: none;
|
|
61
61
|
}
|
|
62
62
|
|
|
63
|
-
|
|
63
|
+
.sapMST.sapMSTIconPressed .sapMSTIconClickTapArea:hover ~.sapMSTIconDisplayArea {
|
|
64
64
|
border-color: @sapButton_Active_BorderColor;
|
|
65
65
|
background-color: @sapButton_Active_Background;
|
|
66
66
|
}
|
|
67
67
|
|
|
68
|
-
|
|
68
|
+
.sapMST.sapMSTIconPressed{
|
|
69
69
|
.sapMSTIconNestedArea{
|
|
70
70
|
.sapUiIcon{
|
|
71
71
|
color: @sapButton_Active_TextColor !important;
|
|
@@ -3,17 +3,25 @@
|
|
|
3
3
|
/* Horizon High Contrast White theme */
|
|
4
4
|
/* ================================== */
|
|
5
5
|
|
|
6
|
-
@_sap_m_Token_TokenPadding: 0.5rem;
|
|
7
|
-
@_sap_m_Token_TokenCompactPadding: 0.25rem;
|
|
8
6
|
@_sap_m_Token_LeftPadding: 0.3125rem;
|
|
9
|
-
@
|
|
10
|
-
@
|
|
7
|
+
@_sap_m_Token_IconWidth: 1.75rem;
|
|
8
|
+
@_sap_m_Token_CompactIconWidth: 1.5rem;
|
|
9
|
+
@_sap_m_Token_DeleteIconHeight: 2.25rem;
|
|
10
|
+
@_sap_m_Token_DeleteIconCompactHeight: 1.625rem;
|
|
11
11
|
|
|
12
12
|
.sapMToken {
|
|
13
13
|
padding-left: @_sap_m_Token_LeftPadding;
|
|
14
14
|
border-radius: 0.25rem;
|
|
15
15
|
color: @sapTextColor;
|
|
16
16
|
font-size: @sapFontSize;
|
|
17
|
+
overflow: visible;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.sapMTokenIcon::before {
|
|
21
|
+
display: inline-block;
|
|
22
|
+
width: 0.75rem;
|
|
23
|
+
height: 0.75rem;
|
|
24
|
+
line-height: 1;
|
|
17
25
|
}
|
|
18
26
|
|
|
19
27
|
html.sap-desktop .sapMToken:not(.sapMTokenReadOnly):hover {
|
|
@@ -57,4 +65,21 @@ html.sap-desktop .sapMToken {
|
|
|
57
65
|
.sapMTokenText {
|
|
58
66
|
line-height: 0.875rem;
|
|
59
67
|
}
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.sapMTokenIcon {
|
|
71
|
+
box-sizing: border-box;
|
|
72
|
+
top: ~"calc((@{_sap_m_Token_TokenHeight} / 2) - (@{_sap_m_Token_DeleteIconHeight} / 2) - @{sapUiButtonBorderWidth})";
|
|
73
|
+
width: @_sap_m_Token_IconWidth;
|
|
74
|
+
height: @_sap_m_Token_DeleteIconHeight;
|
|
75
|
+
display: inline-flex;
|
|
76
|
+
justify-content: center;
|
|
77
|
+
align-items: center;
|
|
78
|
+
right: -@sapUiButtonBorderWidth;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.sapUiSizeCompact .sapMTokenIcon {
|
|
82
|
+
top: ~"calc((@{_sap_m_Token_TokenCompactHeight} / 2) - (@{_sap_m_Token_DeleteIconCompactHeight} / 2) - @{sapUiButtonBorderWidth})";
|
|
83
|
+
width: @_sap_m_Token_CompactIconWidth;
|
|
84
|
+
height: @_sap_m_Token_DeleteIconCompactHeight;
|
|
60
85
|
}
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<copyright>OpenUI5
|
|
7
7
|
* (c) Copyright 2009-2024 SAP SE or an SAP affiliate company.
|
|
8
8
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.</copyright>
|
|
9
|
-
<version>1.
|
|
9
|
+
<version>1.129.0</version>
|
|
10
10
|
|
|
11
11
|
<documentation>SAPUI5 Horizon theme library.</documentation>
|
|
12
12
|
|