@openui5/themelib_sap_horizon 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 +18 -18
  5. package/src/sap/f/themes/sap_horizon/Card.less +1 -1
  6. package/src/sap/f/themes/sap_horizon_dark/Card.less +1 -1
  7. package/src/sap/m/themes/sap_horizon/SegmentedButton.less +3 -3
  8. package/src/sap/m/themes/sap_horizon/SliderTooltip.less +7 -3
  9. package/src/sap/m/themes/sap_horizon_dark/GenericTile.less +0 -11
  10. package/src/sap/m/themes/sap_horizon_dark/SegmentedButton.less +3 -3
  11. package/src/sap/m/themes/sap_horizon_dark/SliderTooltip.less +7 -3
  12. package/src/sap/m/themes/sap_horizon_hcb/SliderTooltip.less +4 -5
  13. package/src/sap/m/themes/sap_horizon_hcw/SliderTooltip.less +4 -5
  14. package/src/sap/tnt/themes/sap_horizon/NavigationList.less +8 -8
  15. package/src/sap/tnt/themes/sap_horizon/ToolPage.less +7 -7
  16. package/src/sap/tnt/themes/sap_horizon_dark/NavigationList.less +7 -7
  17. package/src/sap/tnt/themes/sap_horizon_dark/ToolPage.less +4 -4
  18. package/src/sap/tnt/themes/sap_horizon_hcb/NavigationList.less +7 -7
  19. package/src/sap/tnt/themes/sap_horizon_hcb/ToolPage.less +8 -8
  20. package/src/sap/tnt/themes/sap_horizon_hcw/NavigationList.less +7 -7
  21. package/src/sap/tnt/themes/sap_horizon_hcw/ToolPage.less +4 -4
  22. package/src/sap/ui/codeeditor/themes/sap_horizon_hcb/CodeEditor.less +5 -6
  23. package/src/sap/ui/codeeditor/themes/sap_horizon_hcw/CodeEditor.less +5 -6
  24. package/src/sap/ui/core/themes/sap_horizon/.theme +1 -1
  25. package/src/sap/ui/core/themes/sap_horizon/BusyIndicator.less +23 -0
  26. package/src/sap/ui/core/themes/sap_horizon/library.source.less +1 -1
  27. package/src/sap/ui/core/themes/sap_horizon_dark/.theme +1 -1
  28. package/src/sap/ui/core/themes/sap_horizon_dark/BusyIndicator.less +23 -0
  29. package/src/sap/ui/core/themes/sap_horizon_dark/library.source.less +1 -1
  30. package/src/sap/ui/core/themes/sap_horizon_hcb/.theme +1 -1
  31. package/src/sap/ui/core/themes/sap_horizon_hcb/BusyIndicator.less +24 -0
  32. package/src/sap/ui/core/themes/sap_horizon_hcb/Icon.less +7 -7
  33. package/src/sap/ui/core/themes/sap_horizon_hcb/library.source.less +1 -2
  34. package/src/sap/ui/core/themes/sap_horizon_hcw/.theme +1 -1
  35. package/src/sap/ui/core/themes/sap_horizon_hcw/BusyIndicator.less +24 -0
  36. package/src/sap/ui/core/themes/sap_horizon_hcw/Icon.less +7 -7
  37. package/src/sap/ui/core/themes/sap_horizon_hcw/library.source.less +1 -2
  38. package/src/sap/ui/core/themes/sap_horizon_hcw/shared.less +4 -0
  39. package/src/sap/ui/rta/themes/sap_horizon_hcb/ChangeVisualization.less +2 -0
  40. package/src/sap/ui/rta/themes/sap_horizon_hcb/Toolbar.adaptation.less +1 -1
  41. package/src/sap/ui/rta/themes/sap_horizon_hcw/ChangeVisualization.less +2 -0
  42. package/src/sap/ui/rta/themes/sap_horizon_hcw/Toolbar.adaptation.less +1 -1
  43. package/src/sap/ui/unified/themes/sap_horizon/CalendarLegend.less +11 -9
  44. package/src/sap/ui/unified/themes/sap_horizon/CalendarRow.less +36 -42
  45. package/src/sap/ui/unified/themes/sap_horizon/FileUploader.less +6 -31
  46. package/src/sap/ui/unified/themes/sap_horizon/Menu.less +22 -16
  47. package/src/sap/ui/unified/themes/sap_horizon_dark/CalendarLegend.less +9 -7
  48. package/src/sap/ui/unified/themes/sap_horizon_dark/CalendarRow.less +35 -42
  49. package/src/sap/ui/unified/themes/sap_horizon_dark/FileUploader.less +5 -30
  50. package/src/sap/ui/unified/themes/sap_horizon_dark/Menu.less +19 -14
  51. package/src/sap/ui/unified/themes/sap_horizon_hcb/CalendarLegend.less +6 -3
  52. package/src/sap/ui/unified/themes/sap_horizon_hcb/CalendarRow.less +44 -49
  53. package/src/sap/ui/unified/themes/sap_horizon_hcb/FileUploader.less +5 -30
  54. package/src/sap/ui/unified/themes/sap_horizon_hcb/Menu.less +23 -17
  55. package/src/sap/ui/unified/themes/sap_horizon_hcw/CalendarLegend.less +6 -3
  56. package/src/sap/ui/unified/themes/sap_horizon_hcw/CalendarRow.less +46 -50
  57. package/src/sap/ui/unified/themes/sap_horizon_hcw/FileUploader.less +5 -30
  58. package/src/sap/ui/unified/themes/sap_horizon_hcw/Menu.less +23 -17
  59. package/src/sap/uxap/themes/sap_horizon/ObjectPageSubSection.less +0 -5
  60. package/src/sap/uxap/themes/sap_horizon_dark/ObjectPageSubSection.less +0 -5
  61. package/src/sap/uxap/themes/sap_horizon_hcb/ObjectPageSubSection.less +4 -5
  62. package/src/sap/uxap/themes/sap_horizon_hcw/ObjectPageSubSection.less +4 -5
  63. package/src/sap/ui/core/themes/sap_horizon/LocalBusyIndicator.less +0 -23
  64. package/src/sap/ui/core/themes/sap_horizon_dark/LocalBusyIndicator.less +0 -23
  65. package/src/sap/ui/core/themes/sap_horizon_hcb/LocalBusyIndicator.less +0 -24
  66. package/src/sap/ui/core/themes/sap_horizon_hcb/Shadow.less +0 -8
  67. package/src/sap/ui/core/themes/sap_horizon_hcw/LocalBusyIndicator.less +0 -24
  68. package/src/sap/ui/core/themes/sap_horizon_hcw/Shadow.less +0 -8
@@ -9,7 +9,7 @@
9
9
 
10
10
  .sapUiCalLegDayTypeNonWorking .sapUiUnifiedLegendSquare .sapUiUnifiedLegendSquareColor,
11
11
  .sapUiUnifiedLegendNonWorkingDay .sapUiUnifiedLegendSquare .sapUiUnifiedLegendSquareColor {
12
- background: @sapUiLegendNonWorkingBackground;
12
+ background: var(--sapLegend_NonWorkingBackground);
13
13
  }
14
14
 
15
15
  .sapUiUnifiedLegendSelected .sapUiUnifiedLegendSquare .sapUiUnifiedLegendSquareColor {
@@ -17,7 +17,7 @@
17
17
  border: 0.0625rem solid var(--sapList_SelectionBorderColor);
18
18
 
19
19
  &::after {
20
- content: "";
20
+ content: '';
21
21
  display: block;
22
22
  width: 0.25rem;
23
23
  height: 0.25rem;
@@ -34,12 +34,13 @@
34
34
 
35
35
  &:focus {
36
36
  outline: none;
37
+
37
38
  &::after {
38
- content: "";
39
+ content: '';
39
40
  position: absolute;
40
41
  box-sizing: border-box;
41
42
  inset: 0.125rem;
42
- border: @sapContent_FocusWidth @sapContent_FocusStyle @sapUiContentFocusColor;
43
+ border: var(--sapContent_FocusWidth) var(--sapContent_FocusStyle) var(--sapContent_FocusColor);
43
44
  border-radius: 0.25rem;
44
45
  pointer-events: none;
45
46
  }
@@ -52,12 +53,13 @@
52
53
 
53
54
  &:focus {
54
55
  outline: none;
56
+
55
57
  &::after {
56
- content: "";
58
+ content: '';
57
59
  position: absolute;
58
60
  box-sizing: border-box;
59
61
  inset: 0;
60
- border: @sapContent_FocusWidth @sapContent_FocusStyle @sapUiContentFocusColor;
62
+ border: var(--sapContent_FocusWidth) var(--sapContent_FocusStyle) var(--sapContent_FocusColor);
61
63
  border-radius: 0.25rem;
62
64
  pointer-events: none;
63
65
  }
@@ -67,4 +69,4 @@
67
69
  .sapUiSizeCompact .sapUiUnifiedLegendSelected .sapUiUnifiedLegendSquare .sapUiUnifiedLegendSquareColor::after {
68
70
  inset-block-start: 0.625rem;
69
71
  inset-inline-start: 0.625rem;
70
- }
72
+ }
@@ -5,35 +5,35 @@
5
5
 
6
6
  /* intervals */
7
7
  .sapUiCalendarRowAppsInt,
8
- .sapUiCalendarRowAppsSubInt{
8
+ .sapUiCalendarRowAppsSubInt {
9
9
  border-color: @sapUiListVerticalBorderColor;
10
10
  }
11
11
 
12
- .sapUiCalendarRowAppsIntHead{
13
- font-size: @sapMFontSmallSize;
14
- color: @sapUiBaseText;
12
+ .sapUiCalendarRowAppsIntHead {
13
+ font-size: var(--sapFontSmallSize);
14
+ color: var(--sapTextColor);
15
15
  }
16
16
 
17
17
  .sapMListTblRow:not(.sapMLIBSelected) .sapUiCalendarRowAppsNoWork,
18
18
  .sapMListTblSubRow:not(.sapMLIBSelected) .sapUiCalendarRowAppsNoWork {
19
- background-color: @sapUiLegendNonWorkingBackground;
19
+ background-color: var(--sapLegend_NonWorkingBackground);
20
20
  }
21
21
 
22
22
  /* Appointments */
23
23
  /* as outlines can't have different offsets on one side (no left border) and don't work in IE just use a inner border */
24
- html.sap-desktop .sapUiCalendarApp:focus > .sapUiCalendarAppCont:after {
24
+ html.sap-desktop .sapUiCalendarApp:focus > .sapUiCalendarAppCont::after {
25
25
  position: absolute;
26
26
  top: 0.0625rem;
27
27
  left: 0.0625rem;
28
28
  right: 0.0625rem;
29
29
  bottom: 0.0625rem;
30
- content: "";
31
- border: 0.125rem solid @sapUiContentFocusColor;
30
+ content: '';
31
+ border: 0.125rem solid var(--sapContent_FocusColor);
32
32
  pointer-events: none;
33
33
  border-radius: 0.125rem;
34
34
  }
35
35
 
36
- html.sap-desktop .sapUiCalendarApp.sapUiCalendarAppSel:focus:hover > .sapUiCalendarAppCont:after {
36
+ html.sap-desktop .sapUiCalendarApp.sapUiCalendarAppSel:focus:hover > .sapUiCalendarAppCont::after {
37
37
  top: 0.125rem;
38
38
  left: 0.125rem;
39
39
  right: 0.125rem;
@@ -51,46 +51,39 @@ html.sap-desktop .sapUiCalendarApp.sapUiCalendarAppSel:focus:hover > .sapUiCalen
51
51
  }
52
52
 
53
53
  html.sap-desktop .sapUiCalendarApp:hover:not(:active),
54
- html.sap-desktop .sapUiCalendarApp:focus:not(:active) > .sapUiCalendarAppCont{
55
- background-color: @sapUiListBackground;
54
+ html.sap-desktop .sapUiCalendarApp:focus:not(:active) > .sapUiCalendarAppCont {
55
+ background-color: var(--sapList_Background);
56
56
  }
57
57
 
58
58
  html.sap-desktop .sapUiCalendarApp.sapUiCalendarAppSel:hover:not(:active),
59
- html.sap-desktop .sapUiCalendarApp.sapUiCalendarAppSel:focus:not(:active) > .sapUiCalendarAppCont{
60
- background-color: @sapUiContentSelectedBackground;
61
- }
62
-
63
- html[data-sap-ui-browser ^= "ie"], html[data-sap-ui-browser^="ed"] {
64
- .sapUiCalendarApp:focus > .sapUiCalendarAppCont:after{
65
- border-style: dashed;
66
- }
59
+ html.sap-desktop .sapUiCalendarApp.sapUiCalendarAppSel:focus:not(:active) > .sapUiCalendarAppCont {
60
+ background-color: var(--sapContent_Selected_Background);
67
61
  }
68
62
 
69
63
  .sapUiCalendarApp.sapUiCalendarAppSel,
70
64
  .sapUiCalendarApp:active,
71
- .sapUiCalendarApp.sapUiCalendarAppSel:active{
72
- color: @sapUiContentSelectedTextColor;
73
- background-color:@sapUiContentSelectedBackground
65
+ .sapUiCalendarApp.sapUiCalendarAppSel:active {
66
+ color: var(--sapContent_Selected_TextColor);
67
+ background-color: var(--sapContent_Selected_Background)
74
68
  }
75
69
 
76
70
  html.sap-desktop .sapUiCalendarApp.sapUiCalendarAppSel:hover:not(:active),
77
- html.sap-desktop .sapUiCalendarApp.sapUiCalendarAppSel:focus:not(:active){
78
- color: @sapUiContentSelectedTextColor;
71
+ html.sap-desktop .sapUiCalendarApp.sapUiCalendarAppSel:focus:not(:active) {
72
+ color: var(--sapContent_Selected_TextColor);
79
73
  }
80
74
 
81
75
  .sapUiCalendarApp.sapUiCalendarAppSel > .sapUiCalendarAppCont,
82
76
  .sapUiCalendarApp:active > .sapUiCalendarAppCont,
83
- .sapUiCalendarApp.sapUiCalendarAppSel:active > .sapUiCalendarAppCont{
84
- border-color: @sapUiListSelectionBorderColor;
77
+ .sapUiCalendarApp.sapUiCalendarAppSel:active > .sapUiCalendarAppCont {
78
+ border-color: var(--sapList_SelectionBorderColor);
85
79
  border-top-left-radius: 0;
86
80
  border-bottom-left-radius: 0;
87
81
  }
88
82
 
89
-
90
- html.sap-desktop .sapUiCalendarApp.sapUiCalendarAppSel:focus:not(:active) > .sapUiCalendarAppCont,
91
- html.sap-desktop .sapUiCalendarApp.sapUiCalendarAppSel:hover:not(:active) > .sapUiCalendarAppCont{
92
- border-color: @sapUiListSelectionBorderColor;
93
- border-left-color: @sapUiListBackground;
83
+ html.sap-desktop .sapUiCalendarApp.sapUiCalendarAppSel:focus:not(:active) > .sapUiCalendarAppCont,
84
+ html.sap-desktop .sapUiCalendarApp.sapUiCalendarAppSel:hover:not(:active) > .sapUiCalendarAppCont {
85
+ border-color: var(--sapList_SelectionBorderColor);
86
+ border-left-color: var(--sapList_Background);
94
87
  }
95
88
 
96
89
  .sapUiCalendarApp.sapUiCalendarAppSel > .sapUiCalendarAppCont > .sapUiCalendarAppIcon,
@@ -99,19 +92,19 @@ html.sap-desktop .sapUiCalendarApp.sapUiCalendarAppSel:hover:not(:active) > .sa
99
92
  .sapUiCalendarApp.sapUiCalendarAppSel > .sapUiCalendarAppCont .sapUiCalendarAppTitle,
100
93
  .sapUiCalendarApp.sapUiCalendarAppSel > .sapUiCalendarAppCont .sapUiCalendarAppText,
101
94
  .sapUiCalendarApp.sapUiCalendarAppSel > .sapUiCalendarAppCont .sapUiCalendarAppDescription {
102
- color: @sapUiContentSelectedTextColor;
95
+ color: var(--sapContent_Selected_TextColor);
103
96
  }
104
97
 
105
- .sapUiCalendarAppTitle{
98
+ .sapUiCalendarAppTitle {
106
99
  font-size: @sapMFontMediumSize;
107
- color: @sapUiBaseText;
100
+ color: var(--sapTextColor);
108
101
  }
109
102
 
110
- .sapUiCalendarAppText{
111
- font-size: @sapMFontSmallSize;
103
+ .sapUiCalendarAppText {
104
+ font-size: var(--sapFontSmallSize);
112
105
  }
113
106
 
114
- .sapUiCalendarRowNow{
107
+ .sapUiCalendarRowNow {
115
108
  border-color: @sapUiCalendarColorToday;
116
109
  }
117
110
 
@@ -120,7 +113,7 @@ html.sap-desktop .sapUiCalendarApp.sapUiCalendarAppSel:hover:not(:active) > .sa
120
113
  border-right-color: darken(@sapUiListBorderColor, 15);
121
114
  border-bottom-color: darken(@sapUiListBorderColor, 15);
122
115
  background-color: lighten(@sapUiAccent1, 50);
123
- color: @sapUiListTextColor;
116
+ color: var(--sapList_TextColor);
124
117
  }
125
118
 
126
119
  .sapUiCalendarApp.sapUiCalendarAppTent > .sapUiCalendarAppCont {
@@ -135,12 +128,12 @@ html.sap-desktop .sapUiCalendarApp.sapUiCalendarAppSel:hover:not(:active) > .sa
135
128
  }
136
129
 
137
130
  .sapUiCalendarAppCont:hover {
138
- border-color: @sapUiListSelectionBorderColor;
131
+ border-color: var(--sapList_SelectionBorderColor);
139
132
  }
140
133
 
141
- // SPC
134
+ /* SPC */
142
135
  .sapUiCalendarAppSel:hover .sapUiCalendarAppCont,
143
- // PC
136
+ /* PC */
144
137
  .sapUiCalendarAppSel .sapUiCalendarAppCont:hover {
145
- box-shadow: inset 0 0 0 0.0625rem @sapUiListSelectionBorderColor;
138
+ box-shadow: inset 0 0 0 0.0625rem var(--sapList_SelectionBorderColor);
146
139
  }
@@ -8,7 +8,8 @@
8
8
  height: 2.75rem;
9
9
  }
10
10
 
11
- .sapUiSizeCompact{
11
+ .sapUiSizeCompact {
12
+
12
13
  .sapUiFup,
13
14
  .sapUiFup.sapMBarChild {
14
15
  height: 2rem;
@@ -26,7 +27,7 @@
26
27
 
27
28
  html.sap-desktop .sapUiFup .sapMFocusable:focus,
28
29
  html.sap-desktop .sapUiFup .sapMFocusable:active {
29
- outline: 1px dotted @sapUiContentFocusColor;
30
+ outline: 1px dotted var(--sapContent_FocusColor);
30
31
  outline-offset: -1px;
31
32
  }
32
33
 
@@ -38,36 +39,10 @@ html.sap-desktop .sapUiFup .sapMBtnInner:active.sapMBtnAccept,
38
39
  html.sap-desktop .sapUiFup .sapMBtnInner:active.sapMBtnReject,
39
40
  .sapUiFup .sapMBtnInner:active.sapMBtnEmphasized,
40
41
  html.sap-desktop .sapUiFup .sapMBtnInner:active.sapMBtnEmphasized {
41
- outline-color: @sapUiContentContrastFocusColor;
42
+ outline-color: var(--sapContent_ContrastFocusColor);
42
43
  outline-offset: -.125rem;
43
44
  }
44
45
 
45
46
  .sapMFooter-CTX .sapUiFup .sapMBtnInner:active.sapMFocusable {
46
- background-color: @sapUiButtonActiveBackground;
47
- }
48
-
49
- /* IE ignores outline-offset. Use an overlay: */
50
-
51
- html[data-sap-ui-browser^="ie"] {
52
-
53
- .sapUiFup .sapMBtnInner:focus.sapMFocusable {
54
- outline: none;
55
- position: relative;
56
- }
57
-
58
- .sapUiFup .sapMBtnInner:focus.sapMFocusable:before {
59
- content: " ";
60
- box-sizing: border-box;
61
- width: 100%;
62
- height: 100%;
63
- position: absolute;
64
- left: 0;
65
- top: 0;
66
- border: 1px dotted @sapUiContentFocusColor;
67
- }
68
-
69
- .sapMFooter-CTX .sapUiFup .sapMBtnInner:focus.sapMFocusable:before {
70
- border-color: @sapUiContentContrastFocusColor;
71
- }
72
-
47
+ background-color: var(--sapButton_Active_Background);
73
48
  }
@@ -4,26 +4,26 @@
4
4
  /* ==================================== */
5
5
 
6
6
  .sapUiMnu {
7
- border-radius: @sapUiPopoverBorderCornerRadius;
7
+ border-radius: var(--sapPopover_BorderCornerRadius);
8
8
  }
9
9
 
10
- .sapUiMnuItmSbMnu > div:after {
10
+ .sapUiMnuItmSbMnu > div::after {
11
11
  font-size: 1rem;
12
12
  }
13
13
 
14
14
  .sapUiMnuItm.sapUiMnuTfItm .sapUiMnuTfItemTf.sapUiMnuTfItemTfDsbl {
15
- opacity: @sapUiContentDisabledOpacity;
15
+ opacity: var(--sapContent_DisabledOpacity);
16
16
  }
17
17
 
18
18
  .sapUiMnuItm.sapUiMnuItmSubMnuOpen.sapUiMnuItmHov:hover {
19
19
  background-color: @sapUiListSelectionHoverBackground;
20
20
  }
21
21
 
22
- .sapUiMnu .sapUiMnuDiv>hr,
23
- .sapMList .sapMListItems .sapUiMnuDiv>hr{
24
- border-top: 0.0625rem solid @sapUiGroupContentBorderColor;
25
- inset-inline-start: 0rem;
26
- inset-inline-end: 0rem;
22
+ .sapUiMnu .sapUiMnuDiv > hr,
23
+ .sapMList .sapMListItems .sapUiMnuDiv > hr {
24
+ border-top: 0.0625rem solid var(--sapGroup_ContentBorderColor);
25
+ inset-inline-start: 0;
26
+ inset-inline-end: 0;
27
27
  }
28
28
 
29
29
  .sapUiMnu.sapUiMnuCozySupport.sapUiSizeCozy .sapUiMnuItm {
@@ -40,12 +40,14 @@
40
40
  width: 2.25rem;
41
41
  height: 2.75rem;
42
42
  font-size: 0.75rem;
43
- &.sapUiIconMirrorInRTL{
43
+
44
+ &.sapUiIconMirrorInRTL {
44
45
  height: 2.75rem;
45
46
  }
46
47
  }
47
48
 
48
49
  html.sap-phone .sapUiSizeCozy {
50
+
49
51
  .sapUiMnuLst > .sapUiMnuItm > .sapUiMnuItmIco + .sapUiMnuItmTxt {
50
52
  padding-inline-start: 0;
51
53
  }
@@ -64,34 +66,37 @@ html.sap-phone .sapUiSizeCozy {
64
66
 
65
67
  .sapUiMnu .sapUiMnuLst .sapUiMnuItm.sapUiMnuItmSubMnuOpen,
66
68
  .sapUiMnu .sapUiMnuLst .sapUiMnuItm.sapUiMnuItmSubMnuOpen.sapUiMnuItmHov {
67
- border-bottom: 1px solid @sapUiListSelectionBorderColor;
69
+ border-bottom: 1px solid var(--sapList_SelectionBorderColor);
68
70
  }
69
71
 
70
72
  .sapUiMnu .sapUiMnuLst .sapUiMnuItm {
71
73
  border-bottom: 1px solid transparent;
72
74
  }
73
75
 
74
- .sapUiMnu .sapUiMnuLst .sapUiMnuItm.sapUiMnuItmHov:active{
76
+ .sapUiMnu .sapUiMnuLst .sapUiMnuItm.sapUiMnuItmHov:active {
75
77
  border-bottom: 1px solid transparent;
76
78
  }
77
79
 
78
- .sapUiMnu .sapUiMnuLst .sapUiMnuItm.sapUiMnuItmSubMnuOpen.sapUiMnuItmHov:active{
80
+ .sapUiMnu .sapUiMnuLst .sapUiMnuItm.sapUiMnuItmSubMnuOpen.sapUiMnuItmHov:active {
79
81
  border-bottom: 1px solid transparent;
80
- background-color: @sapUiListActiveBackground;
82
+ background-color: var(--sapList_Active_Background);
81
83
  }
82
84
 
83
85
  .sapUiMnuItm:focus {
84
- outline: 0.125rem solid @sapUiContentFocusColor;
86
+ outline: 0.125rem solid var(--sapContent_FocusColor);
85
87
  outline-offset: -0.1875rem;
86
88
  }
87
89
 
88
90
  html.sap-desktop,
89
91
  html.sap-tablet {
92
+
90
93
  .sapUiSizeCompact {
94
+
91
95
  .sapUiMnuLst > .sapUiMnuItm > .sapUiMnuItmIco + .sapUiMnuItmTxt {
92
96
  padding-inline-start: 0;
93
97
  }
94
98
  }
99
+
95
100
  .sapUiMnuLst > .sapUiMnuItm > .sapUiMnuItmIco + .sapUiMnuItmTxt {
96
101
  padding-inline-start: 0;
97
102
  }
@@ -8,12 +8,13 @@
8
8
 
9
9
  &:focus {
10
10
  outline: none;
11
+
11
12
  &::after {
12
- content: "";
13
+ content: '';
13
14
  position: absolute;
14
15
  box-sizing: border-box;
15
16
  inset: 0.125rem;
16
- border: @sapContent_FocusWidth @sapContent_FocusStyle @sapUiContentFocusColor;
17
+ border: var(--sapContent_FocusWidth) var(--sapContent_FocusStyle) var(--sapContent_FocusColor);
17
18
  pointer-events: none;
18
19
  }
19
20
  }
@@ -25,10 +26,11 @@
25
26
 
26
27
  .sapUiCalLegDayTypeNonWorking .sapUiUnifiedLegendSquare .sapUiUnifiedLegendSquareColor,
27
28
  .sapUiUnifiedLegendNonWorkingDay .sapUiUnifiedLegendSquare .sapUiUnifiedLegendSquareColor {
28
- background: @sapUiLegendNonWorkingBackground;
29
+ background: var(--sapLegend_NonWorkingBackground);
29
30
  }
30
31
 
31
32
  .sapUiSizeCompact {
33
+
32
34
  .sapUiUnifiedLegendSquare > .sapUiUnifiedLegendSquareColor {
33
35
  margin: 0.1875rem;
34
36
  }
@@ -36,6 +38,7 @@
36
38
  .sapUiUnifiedLegendItem {
37
39
 
38
40
  &:focus {
41
+
39
42
  &::after {
40
43
  inset: 0.0625rem;
41
44
  }
@@ -5,30 +5,30 @@
5
5
 
6
6
  /* intervals */
7
7
  .sapUiCalendarRowAppsInt,
8
- .sapUiCalendarRowAppsSubInt{
8
+ .sapUiCalendarRowAppsSubInt {
9
9
  border-color: @sapUiListVerticalBorderColor;
10
10
  }
11
11
 
12
- .sapUiCalendarRowAppsIntHead{
13
- font-size: @sapMFontSmallSize;
14
- color: @sapUiBaseText;
12
+ .sapUiCalendarRowAppsIntHead {
13
+ font-size: var(--sapFontSmallSize);
14
+ color: var(--sapTextColor);
15
15
  }
16
16
 
17
17
  .sapMListTblRow:not(.sapMLIBSelected) .sapUiCalendarRowAppsNoWork,
18
18
  .sapMListTblSubRow:not(.sapMLIBSelected) .sapUiCalendarRowAppsNoWork {
19
- background-color: @sapUiLegendNonWorkingBackground;
19
+ background-color: var(--sapLegend_NonWorkingBackground);
20
20
  }
21
21
 
22
22
  /* Appointments */
23
23
  /* as outlines can't have different offsets on one side (no left border) and don't work in IE just use a inner border */
24
- html.sap-desktop .sapUiCalendarApp:focus > .sapUiCalendarAppCont:after {
24
+ html.sap-desktop .sapUiCalendarApp:focus > .sapUiCalendarAppCont::after {
25
25
  position: absolute;
26
26
  top: 1px;
27
27
  left: 1px;
28
28
  right: 1px;
29
29
  bottom: 1px;
30
- content: "";
31
- border: 0.125rem dotted @sapUiContentFocusColor;
30
+ content: '';
31
+ border: 0.125rem dotted var(--sapContent_FocusColor);
32
32
  pointer-events: none;
33
33
  }
34
34
 
@@ -43,61 +43,55 @@ html.sap-desktop .sapUiCalendarApp:focus > .sapUiCalendarAppCont:after {
43
43
  }
44
44
 
45
45
  html.sap-desktop .sapUiCalendarApp:focus:not(:active) > .sapUiCalendarAppCont {
46
- background-color: @sapUiListBackground;
46
+ background-color: var(--sapList_Background);
47
47
  }
48
48
 
49
49
  html.sap-desktop .sapUiCalendarApp.sapUiCalendarAppSel:focus:hover:not(:active) > .sapUiCalendarAppCont,
50
50
  html.sap-desktop .sapUiCalendarApp:hover:not(:active) > .sapUiCalendarAppCont {
51
- background-color: @sapUiListHoverBackground;
51
+ background-color: var(--sapList_Hover_Background);
52
52
  }
53
53
 
54
- html[data-sap-ui-browser ^= "ie"], html[data-sap-ui-browser^="ed"] {
55
- .sapUiCalendarApp:focus > .sapUiCalendarAppCont:after{
56
- border-style: dashed;
57
- }
58
- }
59
-
60
- html.sap-desktop .sapUiCalendarAppSel:focus > .sapUiCalendarAppCont:after{
61
- border-color: @sapUiContentContrastFocusColor;
54
+ html.sap-desktop .sapUiCalendarAppSel:focus > .sapUiCalendarAppCont::after {
55
+ border-color: var(--sapContent_ContrastFocusColor);
62
56
  left: 2px;
63
57
  }
64
58
 
65
- html.sap-desktop .sapUiCalendarApp:hover:not(:active) > .sapUiCalendarAppCont{
66
- border-color: @sapUiListSelectionBorderColor;
59
+ html.sap-desktop .sapUiCalendarApp:hover:not(:active) > .sapUiCalendarAppCont {
60
+ border-color: var(--sapList_SelectionBorderColor);
67
61
  }
68
62
 
69
- .sapUiCalendarAppCont{
70
- border-color: @sapUiContentForegroundBorderColor;
63
+ .sapUiCalendarAppCont {
64
+ border-color: var(--sapContent_ForegroundBorderColor);
71
65
  }
72
66
 
73
67
  .sapUiCalendarApp.sapUiCalendarAppSel,
74
68
  .sapUiCalendarApp:active,
75
- .sapUiCalendarApp.sapUiCalendarAppSel:active{
76
- color: @sapUiContentSelectedTextColor;
77
- background-color:@sapUiContentSelectedBackground
69
+ .sapUiCalendarApp.sapUiCalendarAppSel:active {
70
+ color: var(--sapContent_Selected_TextColor);
71
+ background-color: var(--sapContent_Selected_Background)
78
72
  }
79
73
 
80
74
  html.sap-desktop .sapUiCalendarApp.sapUiCalendarAppSel:hover:not(:active),
75
+ html.sap-desktop .sapUiCalendarApp.sapUiCalendarAppSel:focus:not(:active) > .sapUiCalendarAppCont,
81
76
  html.sap-desktop .sapUiCalendarApp.sapUiCalendarAppSel:focus:not(:active){
82
- background-color: @sapUiContentSelectedHoverBackground;
83
- color: @sapUiContentSelectedTextColor;
77
+ background-color: var(--sapContent_Selected_Hover_Background);
78
+ color: var(--sapContent_Selected_TextColor);
84
79
  }
85
80
 
86
81
  .sapUiCalendarApp.sapUiCalendarAppSel > .sapUiCalendarAppCont,
87
82
  .sapUiCalendarApp:active > .sapUiCalendarAppCont,
88
- .sapUiCalendarApp.sapUiCalendarAppSel:active > .sapUiCalendarAppCont{
89
- border-color: @sapUiListSelectionBorderColor;
83
+ .sapUiCalendarApp.sapUiCalendarAppSel:active > .sapUiCalendarAppCont {
84
+ border-color: var(--sapList_SelectionBorderColor);
90
85
  }
91
86
 
92
-
93
- html.sap-desktop .sapUiCalendarApp.sapUiCalendarAppSel:focus:not(:active) > .sapUiCalendarAppCont,
94
- html.sap-desktop .sapUiCalendarApp.sapUiCalendarAppSel:hover:not(:active) > .sapUiCalendarAppCont {
95
- border-color: @sapUiListSelectionBorderColor;
96
- border-left-color: @sapUiListBackground;
87
+ html.sap-desktop .sapUiCalendarApp.sapUiCalendarAppSel:focus:not(:active) > .sapUiCalendarAppCont,
88
+ html.sap-desktop .sapUiCalendarApp.sapUiCalendarAppSel:hover:not(:active) > .sapUiCalendarAppCont {
89
+ border-color: var(--sapList_SelectionBorderColor);
90
+ border-left-color: var(--sapList_Background);
97
91
  }
98
92
 
99
- .sapUiCalendarApp.sapUiCalendarAppTent > .sapUiCalendarAppCont{
100
- border-color: @sapUiContentForegroundBorderColor;
93
+ .sapUiCalendarApp.sapUiCalendarAppTent > .sapUiCalendarAppCont {
94
+ border-color: var(--sapContent_ForegroundBorderColor);
101
95
  }
102
96
 
103
97
  .sapUiCalendarApp.sapUiCalendarAppSel > .sapUiCalendarAppCont > .sapUiCalendarAppIcon,
@@ -106,38 +100,39 @@ html.sap-desktop .sapUiCalendarApp.sapUiCalendarAppSel:hover:not(:active) > .sa
106
100
  .sapUiCalendarApp.sapUiCalendarAppSel > .sapUiCalendarAppCont .sapUiCalendarAppTitle,
107
101
  .sapUiCalendarApp.sapUiCalendarAppSel > .sapUiCalendarAppCont .sapUiCalendarAppText,
108
102
  .sapUiCalendarApp.sapUiCalendarAppSel > .sapUiCalendarAppCont .sapUiCalendarAppDescription {
109
- color: @sapUiListActiveTextColor;
103
+ color: var(--sapList_Active_TextColor);
110
104
  }
111
105
 
112
- .sapUiCalendarAppTitle{
106
+ .sapUiCalendarAppTitle {
113
107
  font-size: @sapMFontMediumSize;
114
- color: @sapUiBaseText;
108
+ color: var(--sapTextColor);
115
109
  }
116
110
 
117
- .sapUiCalendarAppText{
118
- font-size: @sapMFontSmallSize;
111
+ .sapUiCalendarAppText {
112
+ font-size: var(--sapFontSmallSize);
119
113
  }
120
114
 
121
- .sapUiCalendarRowNow{
122
- border-color: @sapLegend_CurrentDateTime;
115
+ .sapUiCalendarRowNow {
116
+ border-color: var(--sapLegend_CurrentDateTime);
123
117
  }
124
118
 
125
119
  /* colors for types */
126
- .calendarRowTypeColorMixIn(@class, @iclass, @color, @bcolor){
120
+ .calendarRowTypeColorMixIn(@class, @iclass, @color, @bcolor) {
121
+
127
122
  .@{class}.sapUiCalendarApp,
128
- .@{class}.sapUiCalendarApp:active{
123
+ .@{class}.sapUiCalendarApp:active {
129
124
  border-left-color: @color;
130
125
  }
131
126
 
132
- .sapUiCalendarRowVisFilled > .sapUiCalendarRowApps > .@{class}.sapUiCalendarApp:not(.sapUiCalendarAppSel) > .sapUiCalendarAppCont{
127
+ .sapUiCalendarRowVisFilled > .sapUiCalendarRowApps > .@{class}.sapUiCalendarApp:not(.sapUiCalendarAppSel) > .sapUiCalendarAppCont {
133
128
  background-color: @bcolor;
134
129
  }
135
130
 
136
- .@{iclass}.sapUiCalendarRowAppsIntHead{
131
+ .@{iclass}.sapUiCalendarRowAppsIntHead {
137
132
  background-color: @bcolor;
138
133
  }
139
134
 
140
- .@{iclass}.sapUiCalendarRowAppsIntHeadFirst{
135
+ .@{iclass}.sapUiCalendarRowAppsIntHeadFirst {
141
136
  border-left-color: @color;
142
137
  }
143
138
  }
@@ -147,5 +142,5 @@ html.sap-desktop .sapUiCalendarApp.sapUiCalendarAppSel:hover:not(:active) > .sa
147
142
  border-right-color: lighten(@sapUiListBorderColor, 15);
148
143
  border-bottom-color: lighten(@sapUiListBorderColor, 15);
149
144
  background-color: darken(@sapUiAccent1, 50);
150
- color: @sapUiListTextColor;
145
+ color: var(--sapList_TextColor);
151
146
  }
@@ -8,7 +8,8 @@
8
8
  height: 2.75rem;
9
9
  }
10
10
 
11
- .sapUiSizeCompact{
11
+ .sapUiSizeCompact {
12
+
12
13
  .sapUiFup,
13
14
  .sapUiFup.sapMBarChild {
14
15
  height: 2rem;
@@ -26,7 +27,7 @@
26
27
 
27
28
  html.sap-desktop .sapUiFup .sapMFocusable:focus,
28
29
  html.sap-desktop .sapUiFup .sapMFocusable:active {
29
- outline: 1px dotted @sapUiContentFocusColor;
30
+ outline: 1px dotted var(--sapContent_FocusColor);
30
31
  outline-offset: -1px;
31
32
  }
32
33
 
@@ -38,36 +39,10 @@ html.sap-desktop .sapUiFup .sapMBtnInner:active.sapMBtnAccept,
38
39
  html.sap-desktop .sapUiFup .sapMBtnInner:active.sapMBtnReject,
39
40
  .sapUiFup .sapMBtnInner:active.sapMBtnEmphasized,
40
41
  html.sap-desktop .sapUiFup .sapMBtnInner:active.sapMBtnEmphasized {
41
- outline-color: @sapUiContentContrastFocusColor;
42
+ outline-color: var(--sapContent_ContrastFocusColor);
42
43
  outline-offset: -.125rem;
43
44
  }
44
45
 
45
46
  .sapMFooter-CTX .sapUiFup .sapMBtnInner:active.sapMFocusable {
46
- background-color: @sapUiButtonActiveBackground;
47
- }
48
-
49
- /* IE ignores outline-offset. Use an overlay: */
50
-
51
- html[data-sap-ui-browser^="ie"] {
52
-
53
- .sapUiFup .sapMBtnInner:focus.sapMFocusable {
54
- outline: none;
55
- position: relative;
56
- }
57
-
58
- .sapUiFup .sapMBtnInner:focus.sapMFocusable:before {
59
- content: " ";
60
- box-sizing: border-box;
61
- width: 100%;
62
- height: 100%;
63
- position: absolute;
64
- left: 0;
65
- top: 0;
66
- border: 1px dotted @sapUiContentFocusColor;
67
- }
68
-
69
- .sapMFooter-CTX .sapUiFup .sapMBtnInner:focus.sapMFocusable:before {
70
- border-color: @sapUiContentContrastFocusColor;
71
- }
72
-
47
+ background-color: var(--sapButton_Active_Background);
73
48
  }