@openui5/sap.tnt 1.141.2 → 1.143.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.
Files changed (68) hide show
  1. package/README.md +2 -2
  2. package/REUSE.toml +39 -1
  3. package/THIRDPARTY.txt +36 -3
  4. package/package.json +3 -3
  5. package/src/sap/tnt/.library +1 -1
  6. package/src/sap/tnt/InfoLabel.js +1 -1
  7. package/src/sap/tnt/NavigationList.js +1 -1
  8. package/src/sap/tnt/NavigationListGroup.js +1 -1
  9. package/src/sap/tnt/NavigationListItem.js +28 -4
  10. package/src/sap/tnt/NavigationListItemBase.js +1 -1
  11. package/src/sap/tnt/NavigationListMenuItem.js +1 -1
  12. package/src/sap/tnt/SideNavigation.js +1 -1
  13. package/src/sap/tnt/ToolHeader.js +1 -1
  14. package/src/sap/tnt/ToolHeaderUtilitySeparator.js +1 -1
  15. package/src/sap/tnt/ToolPage.js +1 -1
  16. package/src/sap/tnt/library.js +2 -2
  17. package/src/sap/tnt/messagebundle.properties +1 -1
  18. package/src/sap/tnt/messagebundle_ar.properties +1 -1
  19. package/src/sap/tnt/messagebundle_bg.properties +1 -1
  20. package/src/sap/tnt/messagebundle_ca.properties +1 -1
  21. package/src/sap/tnt/messagebundle_cnr.properties +1 -1
  22. package/src/sap/tnt/messagebundle_cs.properties +1 -1
  23. package/src/sap/tnt/messagebundle_cy.properties +1 -1
  24. package/src/sap/tnt/messagebundle_da.properties +1 -1
  25. package/src/sap/tnt/messagebundle_de.properties +1 -1
  26. package/src/sap/tnt/messagebundle_el.properties +1 -1
  27. package/src/sap/tnt/messagebundle_en.properties +1 -1
  28. package/src/sap/tnt/messagebundle_en_GB.properties +1 -1
  29. package/src/sap/tnt/messagebundle_en_US_saprigi.properties +1 -1
  30. package/src/sap/tnt/messagebundle_es.properties +1 -1
  31. package/src/sap/tnt/messagebundle_es_MX.properties +1 -1
  32. package/src/sap/tnt/messagebundle_et.properties +1 -1
  33. package/src/sap/tnt/messagebundle_fi.properties +1 -1
  34. package/src/sap/tnt/messagebundle_fr.properties +1 -1
  35. package/src/sap/tnt/messagebundle_fr_CA.properties +1 -1
  36. package/src/sap/tnt/messagebundle_hi.properties +1 -1
  37. package/src/sap/tnt/messagebundle_hr.properties +1 -1
  38. package/src/sap/tnt/messagebundle_hu.properties +1 -1
  39. package/src/sap/tnt/messagebundle_id.properties +1 -1
  40. package/src/sap/tnt/messagebundle_it.properties +1 -1
  41. package/src/sap/tnt/messagebundle_iw.properties +1 -1
  42. package/src/sap/tnt/messagebundle_ja.properties +1 -1
  43. package/src/sap/tnt/messagebundle_kk.properties +1 -1
  44. package/src/sap/tnt/messagebundle_ko.properties +1 -1
  45. package/src/sap/tnt/messagebundle_lt.properties +1 -1
  46. package/src/sap/tnt/messagebundle_lv.properties +1 -1
  47. package/src/sap/tnt/messagebundle_mk.properties +1 -1
  48. package/src/sap/tnt/messagebundle_ms.properties +1 -1
  49. package/src/sap/tnt/messagebundle_nl.properties +1 -1
  50. package/src/sap/tnt/messagebundle_no.properties +1 -1
  51. package/src/sap/tnt/messagebundle_pl.properties +1 -1
  52. package/src/sap/tnt/messagebundle_pt.properties +1 -1
  53. package/src/sap/tnt/messagebundle_pt_PT.properties +1 -1
  54. package/src/sap/tnt/messagebundle_ro.properties +1 -1
  55. package/src/sap/tnt/messagebundle_ru.properties +1 -1
  56. package/src/sap/tnt/messagebundle_sh.properties +1 -1
  57. package/src/sap/tnt/messagebundle_sk.properties +1 -1
  58. package/src/sap/tnt/messagebundle_sl.properties +1 -1
  59. package/src/sap/tnt/messagebundle_sr.properties +1 -1
  60. package/src/sap/tnt/messagebundle_sv.properties +1 -1
  61. package/src/sap/tnt/messagebundle_th.properties +1 -1
  62. package/src/sap/tnt/messagebundle_tr.properties +1 -1
  63. package/src/sap/tnt/messagebundle_uk.properties +1 -1
  64. package/src/sap/tnt/messagebundle_vi.properties +3 -3
  65. package/src/sap/tnt/messagebundle_zh_CN.properties +1 -1
  66. package/src/sap/tnt/messagebundle_zh_TW.properties +1 -1
  67. package/src/sap/tnt/themes/base/NavigationList.less +90 -49
  68. package/src/sap/tnt/themes/base/ToolPage.less +28 -24
@@ -4,16 +4,18 @@
4
4
  /* ======================================= */
5
5
 
6
6
  @_sap_tnt_NavigationList_CollapsedWidth: 3rem;
7
- @_sap_tnt_NavigationList_IconColor: @sapUiContentIconColor;
8
- @_sap_tnt_NavigationList_ExpandIconColor: @sapUiContentIconColor;
7
+ @_sap_tnt_NavigationList_IconColor: var(--sapContent_IconColor);
8
+ @_sap_tnt_NavigationList_ExpandIconColor: var(--sapContent_IconColor);
9
9
  @_sap_tnt_NavigationList_HoverBorderStyleColor: none;
10
10
  @_sap_tnt_NavigationList_HoverBorderWidth: 0;
11
- @_sap_tnt_NavigationList_GroupBorderStyleColor: solid @sapUiListBorderColor;
11
+ @_sap_tnt_NavigationList_GroupBorderStyleColor: solid var(--sapList_BorderColor);
12
12
  @_sap_tnt_NavigationList_GroupBorderWidth: 0 0 0.0625rem 0;
13
13
  @_sap_tnt_NavigationList_ItemBorderStyleColor: none;
14
14
  @_sap_tnt_NavigationList_ItemBorderWidth: 0;
15
15
  @_sap_tnt_NavigationList_ItemHeight: 3rem;
16
16
  @_sap_tnt_NavigationList_ItemHeightCompact: 2rem;
17
+ @_sap_tnt_NavigationList_ItemTextMargin: 0.875rem;
18
+ @_sap_tnt_NavigationList_ItemTextMarginCompact: 0.5rem;
17
19
  @_sap_tnt_NavigationList_LastItemBorderStyleColor: none;
18
20
  @_sap_tnt_NavigationList_ItemBorderRadius: 0;
19
21
  @_sap_tnt_NavigationList_ItemBottomMargin: 0;
@@ -25,10 +27,10 @@
25
27
  @_sap_tnt_NavigationList_NoIconsNestedItemPadding: 1rem;
26
28
  @_sap_tnt_NavigationList_ItemFocusBorderOffset: 1px;
27
29
  @_sap_tnt_NavigationList_ItemFocusBorderRadius: @_sap_tnt_NavigationList_ItemBorderRadius;
28
- @_sap_tnt_NavigationList_Collapsed_SelectedItemBackground: ~"0 100% / 100% 0.125rem" no-repeat linear-gradient(0deg, @sapUiListSelectionBorderColor, @sapUiListSelectionBorderColor), @sapUiListSelectionBackgroundColor;
30
+ @_sap_tnt_NavigationList_Collapsed_SelectedItemBackground: ~"0 100% / 100% 0.125rem" no-repeat linear-gradient(0deg, var(--sapList_SelectionBorderColor), var(--sapList_SelectionBorderColor)), var(--sapList_SelectionBackgroundColor);
29
31
  @_sap_tnt_NavigationList_Collapsed_SelectedItemBackgroundHover: @_sap_tnt_NavigationList_Collapsed_SelectedItemBackground;
30
32
  @_sap_tnt_NavigationList_Collapsed_SelectedItemBackgroundRTL: @_sap_tnt_NavigationList_Collapsed_SelectedItemBackground;
31
- @_sap_tnt_NavigationList_SelectedItemBorderColor: @sapUiListSelectionBorderColor;
33
+ @_sap_tnt_NavigationList_SelectedItemBorderColor: var(--sapList_SelectionBorderColor);
32
34
  @_sap_tnt_NavigationList_SelectedBorderStyleColor: solid @_sap_tnt_NavigationList_SelectedItemBorderColor;
33
35
  @_sap_tnt_NavigationList_SelectedBorderWidth: 0 0 0.0625rem 0;
34
36
  @_sap_tnt_NavigationList_SelectedAndFocusedBorderStyleColor: @_sap_tnt_NavigationList_SelectedBorderStyleColor;
@@ -69,7 +71,7 @@
69
71
  @_sap_tnt_NavigationList_ActionItemBorderPosition: auto;
70
72
  @_sap_tnt_NavigationList_ActionItemBorderHeight: 100%;
71
73
  @_sap_tnt_NavigationList_ActionItemBorderPaddingLeft: @_sap_tnt_NavigationList_Collapsed_HoverOrFocusItemPadding;
72
- @_sap_tnt_NavigationList_ActionItemBorder: @sapUiButtonBorderWidth solid @sapUiButtonBorderColor;
74
+ @_sap_tnt_NavigationList_ActionItemBorder: var(--sapButton_BorderWidth) solid var(--sapButton_BorderColor);
73
75
 
74
76
  .sapTntNL {
75
77
  margin: 0;
@@ -84,7 +86,7 @@
84
86
  }
85
87
 
86
88
  .sapTntSideNavigation:not(.sapTntSideNavigationNotExpanded) .sapTntSideNavigationFixed .sapTntNLI.sapTntNLIFirstLevel:first-of-type {
87
- // add 2px margin to make focus border visible
89
+ /* add 2px margin to make focus border visible */
88
90
  margin-top: 0.125rem;
89
91
  }
90
92
 
@@ -121,15 +123,15 @@
121
123
  height: @_sap_tnt_NavigationList_ItemHeight;
122
124
  box-sizing: border-box;
123
125
  cursor: pointer;
124
- background-color: @sapUiListBackground;
126
+ background-color: var(--sapUiListBackground);
125
127
  border-radius: @_sap_tnt_NavigationList_ItemBorderRadius;
126
128
 
127
- // borders are drawn using a pseudo element.
128
- // in some themes, the border is drawn only on the bottom.
129
- // in high contrast themes the border is on all sides and there is extra border on hover
129
+ /* borders are drawn using a pseudo element. */
130
+ /* in some themes, the border is drawn only on the bottom. */
131
+ /* in high contrast themes the border is on all sides and there is extra border on hover */
130
132
  &::before {
131
133
  pointer-events: none;
132
- content: "";
134
+ content: '';
133
135
  position: absolute;
134
136
  inset: 0;
135
137
  }
@@ -143,7 +145,7 @@
143
145
 
144
146
  span {
145
147
  cursor: default;
146
- opacity: @sapUiContentDisabledOpacity;
148
+ opacity: var(--sapContent_DisabledOpacity);
147
149
  }
148
150
  }
149
151
 
@@ -156,7 +158,7 @@
156
158
  }
157
159
 
158
160
  .sapMText {
159
- color: @sapUiListTextColor;
161
+ color: var(--sapList_TextColor);
160
162
  font-family: @_sap_tnt_NavigationList_ItemTextFontFamily;
161
163
  }
162
164
 
@@ -184,15 +186,27 @@
184
186
  }
185
187
  }
186
188
 
189
+ .sapTntNL:not(.sapTntNLCollapsed) .sapTntNLI:not(.sapTntNLIAction):not(.sapTntNLIInPopover) {
190
+ height: auto;
191
+ min-height: @_sap_tnt_NavigationList_ItemHeight;
192
+
193
+ a {
194
+ padding-top: @_sap_tnt_NavigationList_ItemTextMargin;
195
+ padding-bottom: @_sap_tnt_NavigationList_ItemTextMargin;
196
+ }
197
+ }
198
+
187
199
  .sapTntNL.sapTntNLCollapsed {
200
+
188
201
  .sapTntNLI a {
189
202
  justify-content: center;
190
203
  transition: none;
191
204
  }
192
205
  }
193
206
 
194
- // defines the styles for border when selected, border when hovering (hover used in high contrast themes)
207
+ /* defines the styles for border when selected, border when hovering (hover used in high contrast themes) */
195
208
  .sapTntNL li .sapTntNLI:not(.sapTntNLIDisabled):not(.sapTntNLIAction) {
209
+
196
210
  &.sapTntNLISelected::before {
197
211
  border: @_sap_tnt_NavigationList_SelectedBorderStyleColor;
198
212
  border-width: @_sap_tnt_NavigationList_SelectedBorderWidth;
@@ -202,7 +216,8 @@
202
216
  &:active,
203
217
  .sapTntNLPopover &:last-child:hover,
204
218
  .sapTntNLPopover &:last-child:active {
205
- &:not(.sapTntNLISelected):not(.sapTntNLIAction):before {
219
+
220
+ &:not(.sapTntNLISelected):not(.sapTntNLIAction)::before {
206
221
  border: @_sap_tnt_NavigationList_HoverBorderStyleColor;
207
222
  border-width: @_sap_tnt_NavigationList_HoverBorderWidth;
208
223
  }
@@ -210,7 +225,8 @@
210
225
  }
211
226
 
212
227
  .sapTntNL .sapTntNLI:not(.sapTntNLIDisabled).sapTntNLISelected [tabindex]:focus {
213
- // .sapTntNL .sapTntNLI:not(.sapTntNLIDisabled).sapTntNLISelected:focus {
228
+ /* .sapTntNL .sapTntNLI:not(.sapTntNLIDisabled).sapTntNLISelected:focus { */
229
+
214
230
  &::before {
215
231
  border: @_sap_tnt_NavigationList_SelectedAndFocusedBorderStyleColor;
216
232
  }
@@ -234,9 +250,10 @@
234
250
  border: none;
235
251
  }
236
252
 
237
- // When a group is expanded, defines the border of the group and of its last item
253
+ /* When a group is expanded, defines the border of the group and of its last item */
238
254
  .sapTntNL:not(.sapTntNLPopup) {
239
- .sapTntNLIFirstLevel[aria-expanded="true"]::before {
255
+
256
+ .sapTntNLIFirstLevel[aria-expanded='true']::before {
240
257
  border-width: @_sap_tnt_NavigationList_GroupExpandedBorderWidth;
241
258
  }
242
259
 
@@ -280,6 +297,7 @@
280
297
  }
281
298
 
282
299
  .sapTntNL {
300
+
283
301
  span.sapTntNLIIcon {
284
302
  outline: none;
285
303
  -webkit-user-select: none; /* Chrome all / Safari all */
@@ -353,6 +371,7 @@
353
371
  }
354
372
 
355
373
  .sapTntNLI:not(.sapTntNLIDisabled):not(.sapTntNLIActive):not(.sapTntNLINoHoverEffect) {
374
+
356
375
  [tabindex]:hover,
357
376
  [tabindex]:focus {
358
377
  position: @_sap_tnt_NavigationList_Collapsed_HoverOrFocusItemPosition;
@@ -382,10 +401,11 @@
382
401
  }
383
402
 
384
403
  &.sapTntNLIAction {
404
+
385
405
  [tabindex]:not(:focus):hover {
386
406
  border: @_sap_tnt_NavigationList_ActionItemBorderHover;
387
407
 
388
- //border should be considered for the positioning in Horizon - the following styles are used to keep the icon in the same position when the border is added
408
+ /* border should be considered for the positioning in Horizon - the following styles are used to keep the icon in the same position when the border is added */
389
409
  top: @_sap_tnt_NavigationList_ActionItemBorderPosition;
390
410
  bottom: @_sap_tnt_NavigationList_ActionItemBorderPosition;
391
411
  left: @_sap_tnt_NavigationList_ActionItemBorderPosition;
@@ -400,6 +420,7 @@
400
420
  }
401
421
 
402
422
  &.sapTntNLITwoClickAreas:not(.sapTntNLIWithExpander) {
423
+
403
424
  [tabindex]:hover,
404
425
  [tabindex]:focus {
405
426
  padding-right: @_sap_tnt_NavigationList_CollapsedHiddenExpanderPadding;
@@ -413,7 +434,7 @@
413
434
  }
414
435
 
415
436
  .sapTntNLI:not(.sapTntNLIDisabled, .sapTntNLIFirstLevel.sapTntNLIInPopover.sapTntNLIUnselectable):hover {
416
- background-color: @sapUiListHoverBackground;
437
+ background-color: var(--sapList_Hover_Background);
417
438
  }
418
439
 
419
440
  .sapTntNLI:not(.sapTntNLIDisabled).sapTntNLIActive:not(:hover),
@@ -423,7 +444,7 @@
423
444
  .sapTntNL .sapTntNLIFirstLevel.sapTntNLI:not(.sapTntNLIDisabled, .sapTntNLIInPopover.sapTntNLIUnselectable):not(.sapTntNLIAction):active,
424
445
  .sapTntNL .sapTntNLISecondLevel.sapTntNLI:not(.sapTntNLIDisabled):not(.sapTntNLIAction):active,
425
446
  .sapTntNL .sapTntNLISecondLevel.sapTntNLI:not(.sapTntNLIDisabled):not(.sapTntNLIAction).sapTntNLIActive {
426
- background: @sapUiListActiveBackground;
447
+ background: var(--sapList_Active_Background);
427
448
 
428
449
  &::before {
429
450
  border: @_sap_tnt_NavigationList_SelectedBorderStyleColor;
@@ -432,11 +453,11 @@
432
453
 
433
454
  .sapMText,
434
455
  .sapTntNLGroupText {
435
- color: @sapUiListActiveTextColor;
456
+ color: var(--sapList_Active_TextColor);
436
457
  }
437
458
 
438
459
  .sapUiIcon {
439
- color: @sapUiListActiveTextColor;
460
+ color: var(--sapList_Active_TextColor);
440
461
  }
441
462
  }
442
463
 
@@ -444,11 +465,11 @@
444
465
  .sapTntNLISelected .sapTntNLIFirstLevel,
445
466
  .sapTntNLISelected.sapTntNLISecondLevel,
446
467
  .sapTntNLISelected.sapTntNLISecondLevel.sapTntNLI {
447
- background-color: @sapUiListSelectionBackgroundColor;
468
+ background-color: var(--sapList_SelectionBackgroundColor);
448
469
  }
449
470
 
450
471
  .sapTntSideNavigationNotExpanded .sapTntNLIFirstLevel.sapTntNLIWithExpander .sapUiIcon {
451
- padding-left: @_sap_tnt_NavigationList_CollapsedIconPaddingLeft; // to center the icon. Value is the width of the expander.
472
+ padding-left: @_sap_tnt_NavigationList_CollapsedIconPaddingLeft; /* to center the icon. Value is the width of the expander. */
452
473
  }
453
474
 
454
475
 
@@ -467,10 +488,11 @@
467
488
 
468
489
  .sapTntNLIAction .sapMText,
469
490
  .sapTntNLIAction .sapUiIcon {
470
- color: @sapButton_Lite_TextColor;
491
+ color: var(--sapButton_Lite_TextColor);
471
492
  }
472
493
 
473
494
  .sapTntNLIFirstLevel:not(.sapTntNLIWithExpander) {
495
+
474
496
  .sapTntNLISelectionIndicator {
475
497
  margin: 0 0.5rem;
476
498
  }
@@ -481,16 +503,16 @@
481
503
  }
482
504
 
483
505
  .sapTntNLIWithExpander.sapTntNLITwoClickAreas .sapUiIcon:last-of-type {
484
- height: @sapUiElementCondensedHeight;
485
- line-height: @sapUiElementCondensedHeight;
506
+ height: var(--sapElement_Condensed_Height);
507
+ line-height: var(--sapElement_Condensed_Height);
486
508
  }
487
509
 
488
510
  .sapTntNL:not(.sapTntNLCollapsed) .sapTntNLIWithExpander.sapTntNLITwoClickAreas .sapUiIcon:last-of-type {
489
- border-left: 0.0625rem solid @sapTextColor;
511
+ border-left: 0.0625rem solid var(--sapTextColor);
490
512
  }
491
513
 
492
514
  .sapTntNLIWithExpander.sapTntNLITwoClickAreas .sapUiIcon:last-of-type::before {
493
- line-height: @sapUiElementCondensedHeight;
515
+ line-height: var(--sapElement_Condensed_Height);
494
516
  }
495
517
 
496
518
  .sapTntNLISecondLevel .sapTntNLISelectionIndicator {
@@ -523,7 +545,7 @@ html[dir=rtl] .sapTntNLISelected:not(.sapTntNLIDisabled) {
523
545
  padding-inline-start: 1rem;
524
546
  border-radius: @_sap_tnt_NavigationList_ItemBorderRadius;
525
547
  transition: @_sap_tnt_NavigationList_ItemTransition;
526
- color: @sapUiContentLabelColor;
548
+ color: var(--sapContent_LabelColor);
527
549
  display: flex;
528
550
  cursor: pointer;
529
551
  box-sizing: border-box;
@@ -537,10 +559,9 @@ html[dir=rtl] .sapTntNLISelected:not(.sapTntNLIDisabled) {
537
559
  .sapTntNLGroupText {
538
560
  flex: 1 1 auto;
539
561
  font-size: @sapFontSize;
540
- font-family: @sapFontFamily;
562
+ font-family: var(--sapFontFamily);
541
563
  overflow: hidden;
542
- text-overflow: ellipsis;
543
- white-space: nowrap;
564
+ margin: @_sap_tnt_NavigationList_ItemTextMargin 0;
544
565
  }
545
566
 
546
567
  .sapTntNLGroupIcon {
@@ -561,11 +582,12 @@ html[dir=rtl] .sapTntNLISelected:not(.sapTntNLIDisabled) {
561
582
  }
562
583
 
563
584
  .sapTntNL .sapTntNLI:not(.sapTntNLIFirstLevel.sapTntNLIInPopover.sapTntNLIUnselectable) {
585
+
564
586
  &[tabindex]:focus::after,
565
587
  [tabindex]:focus::after {
566
- border: @sapUiContentFocusWidth @sapUiContentFocusStyle @sapUiContentFocusColor;
588
+ border: var(--sapContent_FocusWidth) var(--sapContent_FocusStyle) var(--sapContent_FocusColor);
567
589
  position: absolute;
568
- content: "";
590
+ content: '';
569
591
  inset: @_sap_tnt_NavigationList_ItemFocusBorderOffset;
570
592
  z-index: 2;
571
593
  pointer-events: none;
@@ -573,7 +595,7 @@ html[dir=rtl] .sapTntNLISelected:not(.sapTntNLIDisabled) {
573
595
  }
574
596
  }
575
597
 
576
- // NavigationList with icons
598
+ /* NavigationList with icons */
577
599
  .sapTntNL:not(.sapTntNLNoIcons) span.sapTntNLIIcon {
578
600
  min-width: @_sap_tnt_NavigationList_GroupIconWidth;
579
601
  }
@@ -584,20 +606,21 @@ html[dir=rtl] .sapTntNLISelected:not(.sapTntNLIDisabled) {
584
606
  margin-right: @_sap_tnt_NavigationList_GroupIconMarginRight
585
607
  }
586
608
 
587
- // NavigationList without icons
609
+ /* NavigationList without icons */
588
610
  .sapTntNL.sapTntNLNoIcons:not(.sapTntNLPopup) {
589
611
 
590
612
  .sapTntNLIFirstLevel .sapMText {
591
613
  padding-left: @_sap_tnt_NavigationList_NoIconsGroupPadding;
592
614
  }
593
615
 
594
- // nested items
616
+ /* nested items */
595
617
  .sapTntNLISecondLevel .sapMText {
596
618
  padding-left: @_sap_tnt_NavigationList_NoIconsNestedItemPadding;
597
619
  }
598
620
  }
599
621
 
600
622
  .sapTntNLMenu.sapMMenu {
623
+
601
624
  &:not(.sapMSubmenu) .sapMMenuList {
602
625
  padding: @_sap_tnt_NavigationList_PopupPadding;
603
626
  }
@@ -607,11 +630,12 @@ html[dir=rtl] .sapTntNLISelected:not(.sapTntNLIDisabled) {
607
630
  padding-inline-end: initial;
608
631
  }
609
632
 
610
- // parent menu
633
+ /* parent menu */
611
634
  &:not(.sapMSubmenu) .sapMMenuList .sapMMenuItem {
612
635
  font-family: @_sap_tnt_NavigationList_ParentItemTextFontFamily;
613
636
 
614
637
  .sapMMenuItemIcon {
638
+
615
639
  .sapUiIcon {
616
640
  color: @_sap_tnt_NavigationList_IconColor;
617
641
  display: block;
@@ -619,7 +643,7 @@ html[dir=rtl] .sapTntNLISelected:not(.sapTntNLIDisabled) {
619
643
  }
620
644
 
621
645
  .sapMMenuItemSubMenu {
622
- position: static; // default one
646
+ position: static; /* default one */
623
647
  display: flex;
624
648
  align-items: center;
625
649
  justify-content: center;
@@ -635,7 +659,7 @@ html[dir=rtl] .sapTntNLISelected:not(.sapTntNLIDisabled) {
635
659
  }
636
660
 
637
661
  .sapUiIconMirrorInRTL::after {
638
- content: "\e1ed";
662
+ content: '\e1ed';
639
663
  font-size: @_sap_tnt_NavigationList_ExpandIconFontSize;
640
664
  color: @_sap_tnt_NavigationList_IconColor;
641
665
  }
@@ -644,11 +668,11 @@ html[dir=rtl] .sapTntNLISelected:not(.sapTntNLIDisabled) {
644
668
  &.sapMMenuItemSubMenuOpen,
645
669
  &.sapMMenuItemSubMenuOpen:hover {
646
670
  border-bottom: none;
647
- background-color: @sapUiListHoverBackground;
671
+ background-color: var(--sapList_Hover_Background);
648
672
 
649
673
  &::before {
650
674
  position: absolute;
651
- content: "";
675
+ content: '';
652
676
  inset: 0;
653
677
  border: @_sap_tnt_NavigationList_SelectedBorderStyleColor;
654
678
  border-width: @_sap_tnt_NavigationList_SelectedBorderWidth;
@@ -657,6 +681,7 @@ html[dir=rtl] .sapTntNLISelected:not(.sapTntNLIDisabled) {
657
681
  }
658
682
 
659
683
  .sapMMenuList {
684
+
660
685
  li.sapMMenuItem {
661
686
  display: flex;
662
687
  align-items: center;
@@ -676,7 +701,7 @@ html[dir=rtl] .sapTntNLISelected:not(.sapTntNLIDisabled) {
676
701
  }
677
702
 
678
703
  &:focus {
679
- outline: @sapUiContentFocusStyle @sapUiContentFocusWidth @sapUiContentFocusColor;
704
+ outline: var(--sapContent_FocusStyle) var(--sapContent_FocusWidth) var(--sapContent_FocusColor);
680
705
  }
681
706
 
682
707
  &:not(:last-child) {
@@ -702,15 +727,16 @@ html[dir=rtl] .sapTntNLISelected:not(.sapTntNLIDisabled) {
702
727
  }
703
728
 
704
729
  .sapMMenuItemText {
705
- color: @sapUiListTextColor;
730
+ color: var(--sapList_TextColor);
706
731
  }
707
732
 
708
733
  &.sapMMenuItemDisabled {
734
+
709
735
  .sapMMenuItemIcon,
710
736
  .sapMMenuItemText,
711
737
  .sapTntNLIExpandIcon,
712
738
  .sapTntNLIExternalLinkIcon {
713
- opacity: @sapUiContentDisabledOpacity;
739
+ opacity: var(--sapContent_DisabledOpacity);
714
740
  }
715
741
  }
716
742
  }
@@ -781,6 +807,16 @@ html[dir=rtl] .sapTntNLISelected:not(.sapTntNLIDisabled) {
781
807
  height: @_sap_tnt_NavigationList_ItemHeightCompact;
782
808
  }
783
809
 
810
+ .sapTntNL:not(.sapTntNLCollapsed) .sapTntNLI:not(.sapTntNLIAction):not(.sapTntNLIInPopover) {
811
+ height: auto;
812
+ min-height: @_sap_tnt_NavigationList_ItemHeightCompact;
813
+
814
+ a {
815
+ padding-top: @_sap_tnt_NavigationList_ItemTextMarginCompact;
816
+ padding-bottom: @_sap_tnt_NavigationList_ItemTextMarginCompact;
817
+ }
818
+ }
819
+
784
820
  .sapTntNLMenu.sapMMenu .sapUiIcon {
785
821
  line-height: @_sap_tnt_NavigationList_ItemHeightCompact;
786
822
  }
@@ -802,12 +838,17 @@ html[dir=rtl] .sapTntNLISelected:not(.sapTntNLIDisabled) {
802
838
  padding-left: 0;
803
839
  }
804
840
 
841
+ .sapTntNLGroupText {
842
+ margin: @_sap_tnt_NavigationList_ItemTextMarginCompact 0;
843
+ }
844
+
805
845
  .sapTntNLCollapsed {
806
846
  .sapTntNLI:not(.sapTntNLIDisabled):not(.sapTntNLIActive):not(.sapTntNLINoHoverEffect) {
847
+
807
848
  [tabindex]:hover,
808
849
  [tabindex]:focus {
809
850
  padding: @_sap_tnt_NavigationList_Collapsed_HoverOrFocusItemPaddingCompact;
810
851
  }
811
852
  }
812
853
  }
813
- }
854
+ }
@@ -3,9 +3,10 @@
3
3
  /* Base theme */
4
4
  /* ================================= */
5
5
 
6
- /* ==========================================================================
7
- Variables
8
- ========================================================================== */
6
+ /* ========================================================================== */
7
+ /* Variables */
8
+ /* ========================================================================== */
9
+
9
10
  @_sap_tnt_ToolPage_AnimationDuration : 0.3s;
10
11
  @_sap_tnt_ToolPage_Background: darken(@sapUiBaseBG, 4);
11
12
  @_sap_tnt_ToolPage_ContentBackgroundStandard: none;
@@ -18,9 +19,10 @@
18
19
  @_sap_tnt_ToolPage_AsidePhoneWidth: auto;
19
20
  @_sap_tnt_ToolHeader_Shadow: none;
20
21
 
21
- /* ==========================================================================
22
- Root element
23
- ========================================================================== */
22
+ /* ========================================================================== */
23
+ /* Root element */
24
+ /* ========================================================================== */
25
+
24
26
  .sapTntToolPage {
25
27
  position: absolute;
26
28
  top: 0;
@@ -34,21 +36,23 @@
34
36
  background: @_sap_tnt_ToolPage_Background;
35
37
  }
36
38
 
37
- /* ==========================================================================
38
- Header wrapper
39
- ========================================================================== */
39
+ /* ========================================================================== */
40
+ /* Header wrapper */
41
+ /* ========================================================================== */
42
+
40
43
  .sapTntToolPageHeaderWrapper {
41
44
  z-index: 3;
42
45
  box-shadow: @_sap_tnt_ToolHeader_Shadow;
43
46
  }
44
47
 
45
- /* ==========================================================================
46
- Content wrapper
47
- ========================================================================== */
48
+ /* ========================================================================== */
49
+ /* Content wrapper */
50
+ /* ========================================================================== */
51
+
48
52
  .sapTntToolPageContentWrapper {
49
53
  display: flex;
50
54
  flex: 1;
51
- min-height: 0; // fixes flex chrome issue
55
+ min-height: 0; /* fixes flex chrome issue */
52
56
  position: relative;
53
57
  }
54
58
 
@@ -92,14 +96,15 @@ html.sap-phone {
92
96
  }
93
97
  }
94
98
 
95
- /* Main container
96
- ========================================================================== */
99
+ /* ========================================================================== */
100
+ /* Main container */
101
+ /* ========================================================================== */
97
102
 
98
103
  .sapTntToolPageMain {
99
104
  display: flex;
100
105
  flex-direction: column;
101
106
  flex: 1;
102
- min-width: 0; // fixes flex chrome issue
107
+ min-width: 0; /* fixes flex chrome issue */
103
108
  overflow: hidden;
104
109
  will-change: transform;
105
110
  background: @_sap_tnt_ToolPage_ContentBackgroundStandard;
@@ -120,7 +125,7 @@ html.sap-phone {
120
125
 
121
126
  .sapTntToolPageMainContent {
122
127
  flex: 1;
123
- min-height: 0; // fixes flex chrome issue
128
+ min-height: 0; /* fixes flex chrome issue */
124
129
  position: relative;
125
130
  }
126
131
 
@@ -129,18 +134,17 @@ html.sap-phone {
129
134
  height: 100%;
130
135
  }
131
136
 
132
- /* ==========================================================================
133
- Overrides
134
- ========================================================================== */
137
+ /* ========================================================================== */
138
+ /* Overrides */
139
+ /* ========================================================================== */
140
+
135
141
  .sapTntToolPage.sapTntToolPageWithSideContent .sapTntToolPageHeader [ui5-shellbar] {
136
142
  padding-inline: 0.875rem 1rem;
137
143
  }
138
144
 
139
145
  /* ========================================================================== */
140
-
141
- /* ==========================================================================
142
- RTL
143
- ========================================================================== */
146
+ /* RTL */
147
+ /* ========================================================================== */
144
148
 
145
149
  html[dir=rtl] {
146
150
  &.sap-phone {