@openui5/themelib_sap_horizon 1.96.0 → 1.96.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openui5/themelib_sap_horizon",
3
- "version": "1.96.0",
3
+ "version": "1.96.2",
4
4
  "description": "OpenUI5 Theme Library sap_horizon",
5
5
  "author": "SAP SE (https://www.sap.com)",
6
6
  "license": "Apache-2.0",
@@ -14,22 +14,22 @@
14
14
  "url": "https://github.com/SAP/openui5.git"
15
15
  },
16
16
  "devDependencies": {
17
- "@openui5/sap.f": "1.96.0",
18
- "@openui5/sap.m": "1.96.0",
19
- "@openui5/sap.tnt": "1.96.0",
20
- "@openui5/sap.ui.codeeditor": "1.96.0",
21
- "@openui5/sap.ui.commons": "1.96.0",
22
- "@openui5/sap.ui.core": "1.96.0",
23
- "@openui5/sap.ui.dt": "1.96.0",
24
- "@openui5/sap.ui.fl": "1.96.0",
25
- "@openui5/sap.ui.mdc": "1.96.0",
26
- "@openui5/sap.ui.integration": "1.96.0",
27
- "@openui5/sap.ui.layout": "1.96.0",
28
- "@openui5/sap.ui.rta": "1.96.0",
29
- "@openui5/sap.ui.suite": "1.96.0",
30
- "@openui5/sap.ui.table": "1.96.0",
31
- "@openui5/sap.ui.unified": "1.96.0",
32
- "@openui5/sap.ui.ux3": "1.96.0",
33
- "@openui5/sap.uxap": "1.96.0"
17
+ "@openui5/sap.f": "1.96.2",
18
+ "@openui5/sap.m": "1.96.2",
19
+ "@openui5/sap.tnt": "1.96.2",
20
+ "@openui5/sap.ui.codeeditor": "1.96.2",
21
+ "@openui5/sap.ui.commons": "1.96.2",
22
+ "@openui5/sap.ui.core": "1.96.2",
23
+ "@openui5/sap.ui.dt": "1.96.2",
24
+ "@openui5/sap.ui.fl": "1.96.2",
25
+ "@openui5/sap.ui.mdc": "1.96.2",
26
+ "@openui5/sap.ui.integration": "1.96.2",
27
+ "@openui5/sap.ui.layout": "1.96.2",
28
+ "@openui5/sap.ui.rta": "1.96.2",
29
+ "@openui5/sap.ui.suite": "1.96.2",
30
+ "@openui5/sap.ui.table": "1.96.2",
31
+ "@openui5/sap.ui.unified": "1.96.2",
32
+ "@openui5/sap.ui.ux3": "1.96.2",
33
+ "@openui5/sap.uxap": "1.96.2"
34
34
  }
35
35
  }
@@ -12,6 +12,7 @@
12
12
  .sapFAvatarGroup:focus {
13
13
  box-shadow: 0px 0px 0px 0.125rem @sapUiContentFocusColor;
14
14
  outline: none;
15
+ border-radius: 0.35rem;
15
16
  }
16
17
 
17
18
  .sapFAvatarGroup {
@@ -20,7 +20,7 @@
20
20
  height: 1.375rem;
21
21
  width: 1.375rem;
22
22
  line-height: 1.125rem;
23
- border-width: 0.125rem;
23
+ border-width: 0.0625rem;
24
24
  box-sizing: border-box;
25
25
  border-radius: @sapField_BorderCornerRadius;
26
26
 
@@ -58,7 +58,7 @@
58
58
 
59
59
  .sapMCb.sapMCbSucc .sapMCbBg {
60
60
  background-color: @sapUiFieldSuccessBackground;
61
- border: 0.125rem solid @sapUiFieldSuccessColor;
61
+ border: 0.0625rem solid @sapUiFieldSuccessColor;
62
62
 
63
63
  &.sapMCbMarkChecked:before {
64
64
  color: @sapUiFieldSuccessColor;
@@ -191,7 +191,7 @@ html.sap-desktop {
191
191
 
192
192
  .sapMCbDisplayOnly .sapMCbBg:not(.sapMCbMarkPartiallyChecked) {
193
193
  border-style: solid;
194
- border-width: 0.125rem;
194
+ border-width: 0.0625rem;
195
195
  margin: 0;
196
196
  }
197
197
 
@@ -5,8 +5,8 @@
5
5
 
6
6
  .sapMGT.sapMGTBackgroundImage {
7
7
  .sapMGTContent {
8
- border-bottom-left-radius: 0.125rem;
9
- border-bottom-right-radius: 0.125rem;
8
+ border-bottom-left-radius: @sapElement_BorderCornerRadius;
9
+ border-bottom-right-radius: @sapElement_BorderCornerRadius;
10
10
  height: auto;
11
11
  }
12
12
  }
@@ -237,3 +237,106 @@ html.sap-desktop .sapMGT.sapMGTBackgroundImage:active .sapMGTFocusDiv {
237
237
  z-index: 0;
238
238
  }
239
239
  }
240
+
241
+ .sapUshellSection .sapUshellSectionHeader, .sapUshellSection .sapUshellSectionDefaultArea, .sapUshellSection .sapUshellSectionFlatArea
242
+ {
243
+ gap: 0.75rem !important;
244
+ }
245
+ large.sapUiSizeCompact .sapMGT.sapMGTLineMode, .sapUiMedia-GenericTileDeviceSet-large .sapUiSizeCompact .sapMGT.sapMGTLineMode {
246
+ margin-right: 1rem;
247
+ border: 1px solid @sapTile_BorderColor
248
+ }
249
+ .sapMGT {
250
+ border-radius: @sapElement_BorderCornerRadius;
251
+ border-color: @sapTile_BorderColor;
252
+ }
253
+ .sapUshellSection {
254
+ .sapMGT.TwoByOne {
255
+ width: 23rem;
256
+ }
257
+ .sapMGT.TwoByHalf {
258
+ width: 23rem;
259
+ }
260
+ }
261
+ .sapMGT.TwoByOne {
262
+ width: 22.5rem;
263
+ }
264
+ .sapMGT.TwoByHalf {
265
+ width: 22.5rem;
266
+ }
267
+ .sapMGTHdrTxt>.sapMText {
268
+ font-weight: bold;
269
+ font-size: @sapFontHeader6Size;
270
+ }
271
+ .sapMGTLineMode .sapMGTHdrTxt {
272
+ font-weight: bold;
273
+ }
274
+ .sapMGT.sapMGTLineMode {
275
+ border: 1px solid @sapTile_BorderColor !important;
276
+ border-radius: @sapElement_BorderCornerRadius !important;
277
+ box-shadow: @sapContent_Shadow0 !important;
278
+ }
279
+ .sap-desktop .sapMGT.sapMGTLineMode:not(.sapMGTDisabled):not(.sapMGTLineModePress):hover {
280
+ background: @sapTile_Hover_Background;
281
+ border: 1px solid @sapTile_BorderColor !important;
282
+ box-shadow: @sapContent_Shadow1 !important;
283
+ }
284
+ html.sap-desktop .sapMGT:hover:not(.sapMGTPressActive) {
285
+ border: 1px solid @sapTile_BorderColor !important;
286
+ box-shadow: @sapContent_Shadow1 !important;
287
+ }
288
+ html.sap-desktop .sapMGTIconMode.sapMGT:hover:not(.sapMGTPressActive) {
289
+ border: none !important;
290
+ }
291
+ .sapMTileCntFtrTxt .sapMLnk .sapUiIcon {
292
+ font-size: 0.75rem !important;
293
+ margin-left: 1px;
294
+ margin-right: 1px;
295
+ }
296
+ html.sap-desktop .sapFGridContainer .sapFGridContainerItemWrapperNoVisualFocus:focus .sapMGTFocusDiv, html.sap-desktop .sapMGT:focus .sapMGTFocusDiv, html.sap-desktop .sapMGT:active .sapMGTFocusDiv, html.sap-desktop .sapMGTLineModePress .sapMGTFocusDiv {
297
+ border-radius: @sapElement_BorderCornerRadius;
298
+ box-shadow: inset 0 0 0 0.063rem @sapContent_ContrastFocusColor, 0 0 0 @sapContent_FocusWidth @sapContent_FocusColor;
299
+ }
300
+ html.sap-desktop .sapMGT.sapMGTBackgroundImage:focus .sapMGTFocusDiv:after, html.sap-desktop .sapMGT.sapMGTBackgroundImage:active .sapMGTFocusDiv:after {
301
+ border: none;
302
+ border-radius: @sapElement_BorderCornerRadius;
303
+ }
304
+ .sapMGTLineMode .sapMGTFocusDiv {
305
+ border-radius: 10px !important;
306
+ }
307
+ .sapFGridContainer .sapFGridContainerItemWrapper:not(.sapFGridContainerItemWrapperNoVisualFocus):focus::before {
308
+ border: 2px solid @sapContent_FocusColor;
309
+ border-radius: @sapElement_BorderCornerRadius;
310
+ }
311
+ .miniTileBackground {
312
+ background: @sapTile_Background;
313
+ box-shadow: @sapContent_Shadow0 !important;
314
+ }
315
+ .miniTileContainer .sapMGT {
316
+ background: @sapTile_Background;
317
+ box-shadow: @sapContent_Shadow0 !important;
318
+ }
319
+ .sapUshellTile, .sapUshellTileWrapper, .sapUshellTileInner, .sapUshellTileBase, .sapUshellInner .sapUshellTile-placeholder, .sapUshellInner .sapUshellLinkTile-placeholder {
320
+ border-radius: @sapElement_BorderCornerRadius;
321
+ }
322
+ .sapUshellTile{
323
+ margin: 0 1rem 1rem 0;
324
+ }
325
+ .sapUshellSection .sapUshellSectionTitle {
326
+ font-weight: bold;
327
+ }
328
+ .OneByOne.tileWithAppInfo {
329
+ .sapMGTTInfoContainer {
330
+ .sapMGTTInfo {
331
+ background-color: @sapTile_Active_Background;
332
+ }
333
+ }
334
+ }
335
+ .TwoByOne.sapMGTActionMode {
336
+ width: 20rem;
337
+ height: 11.375rem;
338
+ border-radius: 1rem;
339
+ .sapMGTFocusDiv {
340
+ border-radius: 1rem !important;
341
+ }
342
+ }
@@ -166,4 +166,112 @@ html.sap-desktop .sapMSlt.sapMSltFocused:not(.sapMSltExpanded):not(.sapMSltDisab
166
166
  &:before {
167
167
  box-shadow: inset 0px 0px 0px 2px @sapField_Focus_BorderColor;
168
168
  }
169
+ }
170
+
171
+ // =====================================
172
+ // Input Information state
173
+ // =====================================
174
+ .sapMSltInformation {
175
+ border: none;
176
+ background-image: linear-gradient(0deg, @sapField_InformationColor 0, @sapField_InformationColor 100%);
177
+ background-size: 100% @sapField_InformationBorderWidth;
178
+ background-repeat: repeat-x;
179
+ background-position: bottom;
180
+ }
181
+
182
+ .sapMSltInformation.sapMSltHoverable:not(.sapMSltIconOnly):not(.sapMSltDisabled):not(.sapMSltPressed):hover {
183
+ background-color: @sapField_Hover_Background;
184
+
185
+ &:not(.sapMSltFocused) {
186
+ box-shadow: @sapContent_Informative_Shadow; // NEW Parameter
187
+ }
188
+ }
189
+
190
+ .sapMSltHoverable.sapMSltInformation:not(.sapMSltIconOnly):active,
191
+ .sapMSltFocused.sapMSltInformation {
192
+ box-shadow: inset 0px 0px 0px 2px @sapField_Active_BorderColor;
193
+ background-color: @sapField_Focus_Background;
194
+ }
195
+
196
+ // =====================================
197
+ // Input Success state
198
+ // =====================================
199
+
200
+ .sapMSltSuccess {
201
+ border: none;
202
+ background-image: linear-gradient(0deg, @sapField_SuccessColor 0, @sapField_SuccessColor 100%);
203
+ background-size: 100% @sapField_SuccessBorderWidth;
204
+ background-repeat: repeat-x;
205
+ background-position: bottom;
206
+ }
207
+
208
+ .sapMSltSuccess.sapMSltHoverable:not(.sapMSltIconOnly):not(.sapMSltDisabled):not(.sapMSltPressed):hover {
209
+ background-color: @sapField_Hover_Background;
210
+
211
+ &:not(.sapMSltFocused) {
212
+ box-shadow: @sapContent_Positive_Shadow; // New Parameter
213
+ }
214
+ }
215
+
216
+ // Field Success Focus - Experimental
217
+ .sapMSltHoverable.sapMSltSuccess:not(.sapMSltIconOnly):active,
218
+ .sapMSltFocused.sapMSltSuccess {
219
+ box-shadow: inset 0px 0px 0px 2px @sapField_SuccessColor;
220
+ border-radius: @sapField_BorderCornerRadius;
221
+ background-color: @sapField_Focus_Background;
222
+ }
223
+
224
+ // =====================================
225
+ // Input Warning state
226
+ // =====================================
227
+
228
+ .sapMSltWarning {
229
+ border: none;
230
+ background-image: linear-gradient(0deg, @sapField_WarningColor 0, @sapField_WarningColor 100%);
231
+ background-size: 100% @sapField_WarningBorderWidth;
232
+ background-repeat: repeat-x;
233
+ background-position: bottom;
234
+ }
235
+
236
+ .sapMSltWarning.sapMSltHoverable:not(.sapMSltIconOnly):not(.sapMSltDisabled):not(.sapMSltPressed):hover {
237
+ background-color: @sapField_Hover_Background;
238
+
239
+ &:not(.sapMSltFocused) {
240
+ box-shadow: @sapContent_Critical_Shadow; // NEW Parameter
241
+ }
242
+ }
243
+
244
+ // Field Warning Focus - Experimental
245
+ .sapMSltHoverable.sapMSltWarning:not(.sapMSltIconOnly):active,
246
+ .sapMSltFocused.sapMSltWarning {
247
+ box-shadow: inset 0px 0px 0px 2px @sapField_WarningColor; // Experimental
248
+ background-color: @sapField_Focus_Background;
249
+ }
250
+
251
+
252
+ // =====================================
253
+ // Input Error state
254
+ // =====================================
255
+
256
+ .sapMSltError {
257
+ border: none;
258
+ background-image: linear-gradient(0deg, @sapField_InvalidColor 0, @sapField_InvalidColor 100%);
259
+ background-size: 100% @sapField_InvalidBorderWidth;
260
+ background-repeat: repeat-x;
261
+ background-position: bottom;
262
+ }
263
+
264
+ .sapMSltError.sapMSltHoverable:not(.sapMSltIconOnly):not(.sapMSltDisabled):not(.sapMSltPressed):hover {
265
+ background-color: @sapField_Hover_Background;
266
+
267
+ &:not(.sapMSltFocused) {
268
+ box-shadow: @sapContent_Negative_Shadow; // New Parameter
269
+ }
270
+ }
271
+
272
+ // Field Error Focus - Experimental
273
+ .sapMSltHoverable.sapMSltError:not(.sapMSltIconOnly):active,
274
+ .sapMSltFocused.sapMSltError {
275
+ box-shadow: inset 0px 0px 0px 2px @sapField_InvalidColor;
276
+ background-color: @sapField_Focus_Background;
169
277
  }
@@ -50,13 +50,15 @@ html.sap-desktop .sapMSelectListItemBase:focus {
50
50
  .sapMSelectListItemBase {
51
51
  position: relative;
52
52
 
53
+ &:last-child:not(:only-child)::after {
54
+ border-bottom-left-radius: 0.75rem;
55
+ border-bottom-right-radius: 0.75rem;
56
+ }
57
+ }
58
+
59
+ .sapMSltPicker-CTX:not(.sapMSltPickerWithSubHeader) .sapMSelectListItemBase {
53
60
  &:first-child::after {
54
61
  border-top-left-radius: 0.75rem;
55
62
  border-top-right-radius: 0.75rem;
56
63
  }
57
-
58
- &:last-child::after {
59
- border-bottom-left-radius: 0.75rem;
60
- border-bottom-right-radius: 0.75rem;
61
- }
62
64
  }
@@ -37,6 +37,19 @@ html.sap-desktop .sapMST:active .sapMSTFocusDiv:after {
37
37
  box-shadow: 0 0 0.25rem fade(@sapUiContentShadowColor, 25);
38
38
  }
39
39
 
40
+ .sapMST {
41
+ border-radius: @sapElement_BorderCornerRadius;
42
+ border-color: @sapTile_BorderColor;
43
+ }
44
+
45
+ .sapMST.TwoByOne {
46
+ width: 23rem;
47
+ }
48
+
49
+ .sapMST.TwoByHalf {
50
+ width: 23rem;
51
+ }
52
+
40
53
  .sapMST .sapMSTIconDisplayArea {
41
54
  background-color: darken(@sapUiBrand, 18);
42
55
  }
@@ -49,7 +62,15 @@ html.sap-desktop .sapMST:active .sapMSTFocusDiv:after {
49
62
  text-shadow: 0px 1px @sapUiButtonEmphasizedTextShadow;
50
63
  }
51
64
 
52
- html.sap-desktop .sapMST .sapMGT:active .sapMGTFocusDiv,
53
- html.sap-desktop .sapMST .sapMGT:active .sapMGTFocusDiv:after {
65
+ html.sap-desktop .sapMST:focus .sapMSTFocusDiv,
66
+ html.sap-desktop .sapMST:active .sapMSTFocusDiv {
54
67
  border: none;
68
+ border-radius: @sapElement_BorderCornerRadius;
69
+ box-shadow: inset 0 0 0 0.063rem @sapContent_ContrastFocusColor, 0 0 0 @sapContent_FocusWidth @sapContent_FocusColor;
55
70
  }
71
+
72
+ html.sap-desktop .sapMST:focus .sapMSTFocusDiv:after,
73
+ html.sap-desktop .sapMST:active .sapMSTFocusDiv:after {
74
+ border: none;
75
+ border-radius: @sapElement_BorderCornerRadius;
76
+ }
@@ -6,7 +6,7 @@
6
6
  <copyright>OpenUI5
7
7
  * (c) Copyright 2009-2021 SAP SE or an SAP affiliate company.
8
8
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.</copyright>
9
- <version>1.96.0</version>
9
+ <version>1.96.2</version>
10
10
 
11
11
  <documentation>SAPUI5 Horizon theme library.</documentation>
12
12