@openui5/sap.tnt 1.124.2 → 1.126.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/.reuse/dep5 +9 -4
- package/THIRDPARTY.txt +13 -6
- package/package.json +3 -3
- package/src/sap/tnt/.library +1 -1
- package/src/sap/tnt/IllustratedMessageType.js +3 -1
- package/src/sap/tnt/InfoLabel.js +1 -1
- package/src/sap/tnt/NavigationList.js +1 -1
- package/src/sap/tnt/NavigationListGroup.js +1 -1
- package/src/sap/tnt/NavigationListItem.js +1 -1
- package/src/sap/tnt/NavigationListItemBase.js +1 -1
- package/src/sap/tnt/NavigationListMenuItem.js +1 -1
- package/src/sap/tnt/SideNavigation.js +1 -1
- package/src/sap/tnt/ToolHeader.js +1 -1
- package/src/sap/tnt/ToolHeaderUtilitySeparator.js +1 -1
- package/src/sap/tnt/ToolPage.js +1 -1
- package/src/sap/tnt/library.js +6 -3
- package/src/sap/tnt/themes/base/NavigationList.less +1 -1
- package/src/sap/tnt/themes/base/fonts/SAP-icons-TNT.json +4 -1
- package/src/sap/tnt/themes/base/fonts/SAP-icons-TNT.woff2 +0 -0
- package/src/sap/tnt/themes/base/fonts/horizon/SAP-icons-TNT.woff2 +0 -0
- package/src/sap/tnt/themes/sap_hcb/base_InfoLabel.less +152 -0
- package/src/sap/tnt/themes/sap_hcb/base_NavigationList.less +732 -0
- package/src/sap/tnt/themes/sap_hcb/base_SideNavigation.less +123 -0
- package/src/sap/tnt/themes/sap_hcb/base_ToolHeader.less +93 -0
- package/src/sap/tnt/themes/sap_hcb/base_ToolPage.less +194 -0
- package/src/sap/tnt/themes/sap_hcb/library.source.less +17 -1
|
@@ -0,0 +1,732 @@
|
|
|
1
|
+
/* ======================================= */
|
|
2
|
+
/* CSS for control sap.tnt/NavigationList */
|
|
3
|
+
/* Base theme */
|
|
4
|
+
/* ======================================= */
|
|
5
|
+
|
|
6
|
+
@_sap_tnt_NavigationList_CollapsedWidth: 3rem;
|
|
7
|
+
@_sap_tnt_NavigationList_IconColor: @sapUiContentIconColor;
|
|
8
|
+
@_sap_tnt_NavigationList_IconFontSize: 1rem;
|
|
9
|
+
@_sap_tnt_NavigationList_ExpandIconColor: @sapUiContentIconColor;
|
|
10
|
+
@_sap_tnt_NavigationList_HoverBorderStyleColor: none;
|
|
11
|
+
@_sap_tnt_NavigationList_HoverBorderWidth: 0;
|
|
12
|
+
@_sap_tnt_NavigationList_GroupBorderStyleColor: solid @sapUiListBorderColor;
|
|
13
|
+
@_sap_tnt_NavigationList_GroupBorderWidth: 0 0 0.0625rem 0;
|
|
14
|
+
@_sap_tnt_NavigationList_ItemBorderStyleColor: none;
|
|
15
|
+
@_sap_tnt_NavigationList_ItemBorderWidth: 0;
|
|
16
|
+
@_sap_tnt_NavigationList_ItemHeight: 3rem;
|
|
17
|
+
@_sap_tnt_NavigationList_ItemHeightCompact: 2rem;
|
|
18
|
+
@_sap_tnt_NavigationList_LastItemBorderStyleColor: none;
|
|
19
|
+
@_sap_tnt_NavigationList_ItemBorderRadius: 0;
|
|
20
|
+
@_sap_tnt_NavigationList_ItemBottomMargin: 0;
|
|
21
|
+
@_sap_tnt_NavigationList_ItemBottomMarginCompact: 0;
|
|
22
|
+
@_sap_tnt_NavigationList_ItemTransition: none;
|
|
23
|
+
@_sap_tnt_NavigationList_NoIconsGroupPadding: 1rem;
|
|
24
|
+
@_sap_tnt_NavigationList_NoIconsNestedItemPadding: 1rem;
|
|
25
|
+
@_sap_tnt_NavigationList_ItemFocusBorderOffset: 1px;
|
|
26
|
+
@_sap_tnt_NavigationList_ItemFocusBorderRadius: @_sap_tnt_NavigationList_ItemBorderRadius;
|
|
27
|
+
@_sap_tnt_NavigationList_Collapsed_SelectedItemBackground: ~"0 100% / 100% 0.125rem" no-repeat linear-gradient(0deg, @sapUiListSelectionBorderColor, @sapUiListSelectionBorderColor), @sapUiListSelectionBackgroundColor;
|
|
28
|
+
@_sap_tnt_NavigationList_SelectedItemBorderColor: @sapUiListSelectionBorderColor;
|
|
29
|
+
@_sap_tnt_NavigationList_SelectedBorderStyleColor: solid @_sap_tnt_NavigationList_SelectedItemBorderColor;
|
|
30
|
+
@_sap_tnt_NavigationList_SelectedBorderWidth: 0 0 0.0625rem 0;
|
|
31
|
+
@_sap_tnt_NavigationList_SelectedAndFocusedBorderStyleColor: @_sap_tnt_NavigationList_SelectedBorderStyleColor;
|
|
32
|
+
@_sap_tnt_NavigationList_Collapsed_SelectedItemBorderStyleColor: solid @_sap_tnt_NavigationList_SelectedItemBorderColor;
|
|
33
|
+
@_sap_tnt_NavigationList_Collapsed_SelectedGroupBorderColor: @_sap_tnt_NavigationList_SelectedItemBorderColor;
|
|
34
|
+
@_sap_tnt_NavigationList_Collapsed_GroupBorderWidth: 0;
|
|
35
|
+
@_sap_tnt_NavigationList_GroupExpandedBorderWidth: @_sap_tnt_NavigationList_GroupBorderWidth;
|
|
36
|
+
@_sap_tnt_NavigationList_GroupIconWidth: @_sap_tnt_NavigationList_CollapsedWidth;
|
|
37
|
+
@_sap_tnt_NavigationList_GroupTextWeight: unset;
|
|
38
|
+
@_sap_tnt_NavigationList_GroupBottomMarginInPopup: 0;
|
|
39
|
+
@_sap_tnt_NavigationList_Padding: 0;
|
|
40
|
+
@_sap_tnt_NavigationList_PaddingCompact: 0;
|
|
41
|
+
@_sap_tnt_NavigationList_ParentPopupPadding: 0;
|
|
42
|
+
@_sap_tnt_NavigationList_ParentPopupBorderRadius: @sapUiPopoverBorderCornerRadius;
|
|
43
|
+
@_sap_tnt_NavigationList_PopupItemPadding: 0 1rem;
|
|
44
|
+
@_sap_tnt_NavigationList_PopupIconWidth: 1rem;
|
|
45
|
+
@_sap_tnt_NavigationList_PopupBoxShadow: @sapUiContentShadow2;
|
|
46
|
+
@_sap_tnt_NavigationList_PopupArrowBoxShadow: @sapUiContentShadow2;
|
|
47
|
+
@_sap_tnt_NavigationList_PopupTitleTextSize: @sapMFontMediumSize;
|
|
48
|
+
@_sap_tnt_NavigationList_PopupTitleLineHeight: normal;
|
|
49
|
+
@_sap_tnt_NavigationList_SelectionIndicatorDisplay: none;
|
|
50
|
+
@_sap_tnt_NavigationList_Collapsed_HoverOrFocusItemPadding: 0;
|
|
51
|
+
@_sap_tnt_NavigationList_Collapsed_HoverOrFocusItemPaddingCompact: 0;
|
|
52
|
+
@_sap_tnt_NavigationList_Collapsed_HoverOrFocusTextDisplay: none;
|
|
53
|
+
@_sap_tnt_NavigationList_Collapsed_HoverOrFocusItemZIndex: 0;
|
|
54
|
+
@_sap_tnt_NavigationList_Collapsed_HoverOrFocusItemPosition: relative;
|
|
55
|
+
@_sap_tnt_NavigationList_Collapsed_ItemHoverBoxShadow: @_sap_tnt_SideNavigation_BoxShadow;
|
|
56
|
+
|
|
57
|
+
.sapTntNL {
|
|
58
|
+
margin: 0;
|
|
59
|
+
padding: @_sap_tnt_NavigationList_Padding;
|
|
60
|
+
list-style: none;
|
|
61
|
+
box-sizing: border-box;
|
|
62
|
+
overflow: hidden auto;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.sapTntNL.sapTntNLCollapsed {
|
|
66
|
+
overflow: visible;
|
|
67
|
+
display: flex;
|
|
68
|
+
flex-direction: column;
|
|
69
|
+
height: 100%;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.sapTntNLOverflow {
|
|
73
|
+
flex: 1;
|
|
74
|
+
display: flex;
|
|
75
|
+
flex-direction: column-reverse;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.sapTntNL ul {
|
|
79
|
+
margin: 0;
|
|
80
|
+
padding: 0;
|
|
81
|
+
list-style: none;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
.sapTntNL.sapTntNLCollapsed li:not(.sapTntNLSeparator) {
|
|
85
|
+
min-height: @_sap_tnt_NavigationList_ItemHeight + @_sap_tnt_NavigationList_ItemBottomMargin;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.sapTntNLI {
|
|
89
|
+
height: @_sap_tnt_NavigationList_ItemHeight;
|
|
90
|
+
box-sizing: border-box;
|
|
91
|
+
cursor: pointer;
|
|
92
|
+
background-color: @sapUiListBackground;
|
|
93
|
+
border-radius: @_sap_tnt_NavigationList_ItemBorderRadius;
|
|
94
|
+
|
|
95
|
+
// borders are drawn using a pseudo element.
|
|
96
|
+
// in some themes, the border is drawn only on the bottom.
|
|
97
|
+
// in high contrast themes the border is on all sides and there is extra border on hover
|
|
98
|
+
&::before {
|
|
99
|
+
pointer-events: none;
|
|
100
|
+
content: "";
|
|
101
|
+
position: absolute;
|
|
102
|
+
inset: 0;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
span {
|
|
106
|
+
cursor: pointer;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
&.sapTntNLIDisabled {
|
|
110
|
+
cursor: default;
|
|
111
|
+
opacity: @sapUiContentDisabledOpacity;
|
|
112
|
+
|
|
113
|
+
span {
|
|
114
|
+
cursor: default;
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
.sapMText {
|
|
119
|
+
color: @sapUiListTextColor;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
.sapTntNLIIcon {
|
|
123
|
+
color: @_sap_tnt_NavigationList_IconColor;
|
|
124
|
+
font-size: @_sap_tnt_NavigationList_IconFontSize;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
.sapTntNLIExpandIcon,
|
|
128
|
+
.sapTntNLIExternalLinkIcon {
|
|
129
|
+
color: @_sap_tnt_NavigationList_ExpandIconColor;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
a {
|
|
133
|
+
min-width: 100%;
|
|
134
|
+
height: 100%;
|
|
135
|
+
text-decoration: none;
|
|
136
|
+
outline: none;
|
|
137
|
+
background: inherit;
|
|
138
|
+
border-radius: inherit;
|
|
139
|
+
transition: @_sap_tnt_NavigationList_ItemTransition;
|
|
140
|
+
display: flex;
|
|
141
|
+
align-items: center;
|
|
142
|
+
box-sizing: border-box;
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
.sapTntNL.sapTntNLCollapsed {
|
|
147
|
+
.sapTntNLI a {
|
|
148
|
+
justify-content: center;
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
// defines the styles for border when selected, border when hovering (hover used in high contrast themes)
|
|
153
|
+
.sapTntNL li .sapTntNLI:not(.sapTntNLIDisabled) {
|
|
154
|
+
&.sapTntNLISelected::before {
|
|
155
|
+
border: @_sap_tnt_NavigationList_SelectedBorderStyleColor;
|
|
156
|
+
border-width: @_sap_tnt_NavigationList_SelectedBorderWidth;
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
&:hover,
|
|
160
|
+
&:active,
|
|
161
|
+
.sapTntNLPopover &:last-child:hover,
|
|
162
|
+
.sapTntNLPopover &:last-child:active {
|
|
163
|
+
&:not(.sapTntNLISelected)::before {
|
|
164
|
+
border: @_sap_tnt_NavigationList_HoverBorderStyleColor;
|
|
165
|
+
border-width: @_sap_tnt_NavigationList_HoverBorderWidth;
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
.sapTntNL .sapTntNLI:not(.sapTntNLIDisabled).sapTntNLISelected [tabindex]:focus {
|
|
171
|
+
// .sapTntNL .sapTntNLI:not(.sapTntNLIDisabled).sapTntNLISelected:focus {
|
|
172
|
+
&::before {
|
|
173
|
+
border: @_sap_tnt_NavigationList_SelectedAndFocusedBorderStyleColor;
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
.sapTntNLISecondLevel::before {
|
|
178
|
+
border: @_sap_tnt_NavigationList_ItemBorderStyleColor;
|
|
179
|
+
border-width: @_sap_tnt_NavigationList_ItemBorderWidth;
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
.sapTntNLIFirstLevel::before {
|
|
183
|
+
border: @_sap_tnt_NavigationList_GroupBorderStyleColor;
|
|
184
|
+
border-width: @_sap_tnt_NavigationList_GroupBorderWidth;
|
|
185
|
+
|
|
186
|
+
.sapTntNLCollapsed & {
|
|
187
|
+
border-width: @_sap_tnt_NavigationList_Collapsed_GroupBorderWidth;
|
|
188
|
+
}
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
// When a group is expanded, defines the border of the group and of its last item
|
|
192
|
+
.sapTntNL:not(.sapTntNLPopup) {
|
|
193
|
+
.sapTntNLIFirstLevel[aria-expanded="true"]::before {
|
|
194
|
+
border-width: @_sap_tnt_NavigationList_GroupExpandedBorderWidth;
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
.sapTntNLISecondLevel:last-child::before {
|
|
198
|
+
border: @_sap_tnt_NavigationList_GroupBorderStyleColor;
|
|
199
|
+
border-width: @_sap_tnt_NavigationList_GroupBorderWidth;
|
|
200
|
+
}
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
.sapTntNLPopover .sapTntNLISecondLevel:last-child::before {
|
|
204
|
+
border: @_sap_tnt_NavigationList_LastItemBorderStyleColor;
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
.sapTntNLIText {
|
|
208
|
+
flex: 1;
|
|
209
|
+
min-width: 0;
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
.sapTntNLPopover .sapTntNLPopup.sapTntNL {
|
|
213
|
+
padding: @_sap_tnt_NavigationList_ParentPopupPadding;
|
|
214
|
+
|
|
215
|
+
.sapTntNLI.sapTntNLIFirstLevel {
|
|
216
|
+
margin-bottom: @_sap_tnt_NavigationList_GroupBottomMarginInPopup;
|
|
217
|
+
}
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
.sapTntNLPopup .sapTntNLISecondLevel .sapMText {
|
|
221
|
+
padding: @_sap_tnt_NavigationList_PopupItemPadding;
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
.sapTntNLPopup .sapTntNLIFirstLevel .sapMText {
|
|
225
|
+
margin: 0 1rem 0 0;
|
|
226
|
+
font-size: @_sap_tnt_NavigationList_PopupTitleTextSize;
|
|
227
|
+
line-height: @_sap_tnt_NavigationList_PopupTitleLineHeight;
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
.sapTntNL {
|
|
231
|
+
span.sapTntNLIIcon {
|
|
232
|
+
outline: none;
|
|
233
|
+
-webkit-user-select: none; /* Chrome all / Safari all */
|
|
234
|
+
-moz-user-select: none; /* Firefox all */
|
|
235
|
+
user-select: none;
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
img.sapTntNLIIcon {
|
|
239
|
+
height: 1.125rem;
|
|
240
|
+
width: 1.125rem;
|
|
241
|
+
padding: 0.6875rem 0.9375rem;
|
|
242
|
+
}
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
.sapTntNLIHidden {
|
|
246
|
+
display: none;
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
.sapTntNLPopup {
|
|
250
|
+
span.sapTntNLIIcon {
|
|
251
|
+
width: @_sap_tnt_NavigationList_PopupIconWidth;
|
|
252
|
+
min-width: @_sap_tnt_NavigationList_PopupIconWidth;
|
|
253
|
+
visibility: hidden;
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
img.sapTntNLIIcon {
|
|
257
|
+
width: @_sap_tnt_NavigationList_PopupIconWidth;
|
|
258
|
+
min-width: @_sap_tnt_NavigationList_PopupIconWidth;
|
|
259
|
+
visibility: hidden;
|
|
260
|
+
padding: 0;
|
|
261
|
+
}
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
.sapTntNL .sapTntNLIExpandIcon,
|
|
265
|
+
.sapTntNLIExternalLinkIcon {
|
|
266
|
+
min-width: 2rem;
|
|
267
|
+
font-size: 0.875rem;
|
|
268
|
+
|
|
269
|
+
pointer-events: all;
|
|
270
|
+
|
|
271
|
+
outline: none;
|
|
272
|
+
-webkit-user-select: none; /* Chrome all / Safari all */
|
|
273
|
+
-moz-user-select: none; /* Firefox all */
|
|
274
|
+
user-select: none;
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
.sapTntNLIItemsContainer.sapTntNLIItemsContainerHidden {
|
|
278
|
+
display: none;
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
.sapTntNLCollapsed {
|
|
282
|
+
width: @_sap_tnt_NavigationList_CollapsedWidth;
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
.sapTntNL li,
|
|
286
|
+
.sapTntNLI {
|
|
287
|
+
position: relative;
|
|
288
|
+
}
|
|
289
|
+
|
|
290
|
+
.sapTntNLIFirstLevel .sapTntNLIText {
|
|
291
|
+
font-weight: @_sap_tnt_NavigationList_GroupTextWeight;
|
|
292
|
+
}
|
|
293
|
+
|
|
294
|
+
.sapTntNLCollapsed {
|
|
295
|
+
|
|
296
|
+
.sapTntNLIText {
|
|
297
|
+
display: none;
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
.sapTntNLIExternalLinkIcon,
|
|
301
|
+
.sapTntNLIExpandIcon {
|
|
302
|
+
display: none;
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
.sapTntNLI:not(.sapTntNLIDisabled):not(.sapTntNLIActive):not(.sapTntNLINoHoverEffect) {
|
|
306
|
+
[tabindex]:hover,
|
|
307
|
+
[tabindex]:focus {
|
|
308
|
+
position: @_sap_tnt_NavigationList_Collapsed_HoverOrFocusItemPosition;
|
|
309
|
+
padding: @_sap_tnt_NavigationList_Collapsed_HoverOrFocusItemPadding;
|
|
310
|
+
z-index: @_sap_tnt_NavigationList_Collapsed_HoverOrFocusItemZIndex;
|
|
311
|
+
|
|
312
|
+
.sapTntNLIText {
|
|
313
|
+
display: @_sap_tnt_NavigationList_Collapsed_HoverOrFocusTextDisplay;
|
|
314
|
+
}
|
|
315
|
+
.sapTntNLIExternalLinkIcon,
|
|
316
|
+
.sapTntNLIExpandIcon {
|
|
317
|
+
display: @_sap_tnt_NavigationList_Collapsed_HoverOrFocusTextDisplay;
|
|
318
|
+
}
|
|
319
|
+
}
|
|
320
|
+
}
|
|
321
|
+
|
|
322
|
+
.sapTntNLI:not(.sapTntNLIDisabled):not(.sapTntNLIActive) [tabindex]:hover {
|
|
323
|
+
box-shadow: @_sap_tnt_NavigationList_Collapsed_ItemHoverBoxShadow;
|
|
324
|
+
}
|
|
325
|
+
}
|
|
326
|
+
|
|
327
|
+
.sapTntNLI:not(.sapTntNLIDisabled):hover {
|
|
328
|
+
background-color: @sapUiListHoverBackground;
|
|
329
|
+
}
|
|
330
|
+
|
|
331
|
+
.sapTntNLI:not(.sapTntNLIDisabled).sapTntNLIActive,
|
|
332
|
+
.sapTntNLCollapsed.sapTntNLIFirstLevel.sapTntNLISelected,
|
|
333
|
+
.sapTntNL .sapTntNLGroup.sapTntNLI:not(.sapTntNLIDisabled):active,
|
|
334
|
+
.sapTntNL .sapTntNLIFirstLevel.sapTntNLI:not(.sapTntNLIDisabled):active,
|
|
335
|
+
.sapTntNL .sapTntNLISecondLevel.sapTntNLI:not(.sapTntNLIDisabled):active {
|
|
336
|
+
background: @sapUiListActiveBackground;
|
|
337
|
+
|
|
338
|
+
&::before {
|
|
339
|
+
border: @_sap_tnt_NavigationList_SelectedBorderStyleColor;
|
|
340
|
+
border-width: @_sap_tnt_NavigationList_SelectedBorderWidth;
|
|
341
|
+
}
|
|
342
|
+
|
|
343
|
+
.sapMText {
|
|
344
|
+
color: @sapUiListActiveTextColor;
|
|
345
|
+
}
|
|
346
|
+
|
|
347
|
+
.sapUiIcon {
|
|
348
|
+
color: @sapUiListActiveTextColor;
|
|
349
|
+
}
|
|
350
|
+
}
|
|
351
|
+
|
|
352
|
+
.sapTntNLISelectionIndicator {
|
|
353
|
+
display: none;
|
|
354
|
+
font-size: 0.5rem;
|
|
355
|
+
color: @sapUiListSelectionBorderColor;
|
|
356
|
+
}
|
|
357
|
+
|
|
358
|
+
.sapTntNLISelected.sapTntNLI,
|
|
359
|
+
.sapTntNLISelected .sapTntNLIFirstLevel,
|
|
360
|
+
.sapTntNLISelected.sapTntNLISecondLevel,
|
|
361
|
+
.sapTntNLISelected.sapTntNLISecondLevel.sapTntNLI {
|
|
362
|
+
background-color: @sapUiListSelectionBackgroundColor;
|
|
363
|
+
|
|
364
|
+
.sapTntNLISelectionIndicator {
|
|
365
|
+
display: @_sap_tnt_NavigationList_SelectionIndicatorDisplay;
|
|
366
|
+
}
|
|
367
|
+
}
|
|
368
|
+
|
|
369
|
+
.sapTntNLIFirstLevel.sapTntNLIWithExpander {
|
|
370
|
+
.sapTntNLISelectionIndicator {
|
|
371
|
+
margin: 0 0 0 0.5rem;
|
|
372
|
+
}
|
|
373
|
+
}
|
|
374
|
+
|
|
375
|
+
.sapTntNLIFirstLevel:not(.sapTntNLIWithExpander) {
|
|
376
|
+
.sapTntNLISelectionIndicator {
|
|
377
|
+
margin: 0 0.5rem;
|
|
378
|
+
}
|
|
379
|
+
}
|
|
380
|
+
|
|
381
|
+
.sapTntNLISecondLevel .sapTntNLISelectionIndicator {
|
|
382
|
+
margin: 0 0.5rem;
|
|
383
|
+
}
|
|
384
|
+
|
|
385
|
+
.sapTntNLISelected .sapTntNLI:hover,
|
|
386
|
+
.sapTntNLISelected.sapTntNLI.sapTntNLIFirstLevel:hover,
|
|
387
|
+
.sapTntNLISelected.sapTntNLISecondLevel.sapTntNLISecondLevel:hover {
|
|
388
|
+
background-color: @sapUiListSelectionHoverBackground;
|
|
389
|
+
}
|
|
390
|
+
|
|
391
|
+
.sapTntNL:not(.sapTntNLPopup) {
|
|
392
|
+
.sapTntNLI,
|
|
393
|
+
.sapTntNLSeparator {
|
|
394
|
+
margin-bottom: @_sap_tnt_NavigationList_ItemBottomMargin;
|
|
395
|
+
}
|
|
396
|
+
}
|
|
397
|
+
|
|
398
|
+
.sapTntNLCollapsed .sapTntNLISelected:not(.sapTntNLIDisabled):not(.sapTntNLIActive):not(:hover):not(:focus-within) {
|
|
399
|
+
background: @_sap_tnt_NavigationList_Collapsed_SelectedItemBackground;
|
|
400
|
+
}
|
|
401
|
+
|
|
402
|
+
.sapTntNLGroup {
|
|
403
|
+
height: 2rem;
|
|
404
|
+
padding-inline-start: 0.5rem;
|
|
405
|
+
padding-inline-end: 0.5rem;
|
|
406
|
+
border-radius: @_sap_tnt_NavigationList_ItemBorderRadius;
|
|
407
|
+
transition: @_sap_tnt_NavigationList_ItemTransition;
|
|
408
|
+
color: @sapUiContentLabelColor;
|
|
409
|
+
display: flex;
|
|
410
|
+
cursor: pointer;
|
|
411
|
+
box-sizing: border-box;
|
|
412
|
+
gap: 0.4375rem;
|
|
413
|
+
align-items: center;
|
|
414
|
+
|
|
415
|
+
&::before {
|
|
416
|
+
border: @_sap_tnt_NavigationList_GroupBorderStyleColor;
|
|
417
|
+
border-width: @_sap_tnt_NavigationList_GroupBorderWidth;
|
|
418
|
+
}
|
|
419
|
+
|
|
420
|
+
.sapTntNLGroupText {
|
|
421
|
+
flex: 1 1 auto;
|
|
422
|
+
font-size: @sapMFontSmallSize;
|
|
423
|
+
font-family: @sapUiFontSemiboldFamily;
|
|
424
|
+
overflow: hidden;
|
|
425
|
+
text-overflow: ellipsis;
|
|
426
|
+
white-space: nowrap;
|
|
427
|
+
}
|
|
428
|
+
|
|
429
|
+
.sapTntNLGroupIcon {
|
|
430
|
+
display: none;
|
|
431
|
+
flex: 0 0 0%;
|
|
432
|
+
}
|
|
433
|
+
|
|
434
|
+
&:focus {
|
|
435
|
+
outline: none;
|
|
436
|
+
}
|
|
437
|
+
|
|
438
|
+
&:not(.sapTntNLIDisabled) {
|
|
439
|
+
&:focus,
|
|
440
|
+
&:hover,
|
|
441
|
+
&:active {
|
|
442
|
+
padding-inline-end: 0rem;
|
|
443
|
+
|
|
444
|
+
.sapTntNLGroupIcon {
|
|
445
|
+
display: block;
|
|
446
|
+
}
|
|
447
|
+
}
|
|
448
|
+
}
|
|
449
|
+
}
|
|
450
|
+
|
|
451
|
+
.sapTntNLSeparator {
|
|
452
|
+
min-height: 0.75rem;
|
|
453
|
+
}
|
|
454
|
+
|
|
455
|
+
.sapTntNL > .sapTntNLSeparator:last-child {
|
|
456
|
+
display: none;
|
|
457
|
+
}
|
|
458
|
+
|
|
459
|
+
.sapTntNL [tabindex]:focus::after {
|
|
460
|
+
border: @sapUiContentFocusWidth @sapUiContentFocusStyle @sapUiContentFocusColor;
|
|
461
|
+
position: absolute;
|
|
462
|
+
content: "";
|
|
463
|
+
inset: @_sap_tnt_NavigationList_ItemFocusBorderOffset;
|
|
464
|
+
z-index: 2;
|
|
465
|
+
pointer-events: none;
|
|
466
|
+
border-radius: @_sap_tnt_NavigationList_ItemFocusBorderRadius;
|
|
467
|
+
}
|
|
468
|
+
|
|
469
|
+
// NavigationList with icons
|
|
470
|
+
.sapTntNL:not(.sapTntNLNoIcons) {
|
|
471
|
+
span.sapTntNLIIcon {
|
|
472
|
+
min-width: @_sap_tnt_NavigationList_GroupIconWidth;
|
|
473
|
+
}
|
|
474
|
+
}
|
|
475
|
+
|
|
476
|
+
// NavigationList without icons
|
|
477
|
+
.sapTntNL.sapTntNLNoIcons:not(.sapTntNLPopup) {
|
|
478
|
+
|
|
479
|
+
.sapTntNLIFirstLevel {
|
|
480
|
+
padding-left: @_sap_tnt_NavigationList_NoIconsGroupPadding;
|
|
481
|
+
}
|
|
482
|
+
|
|
483
|
+
// nested items
|
|
484
|
+
.sapTntNLISecondLevel .sapMText {
|
|
485
|
+
padding-left: @_sap_tnt_NavigationList_NoIconsNestedItemPadding;
|
|
486
|
+
}
|
|
487
|
+
}
|
|
488
|
+
|
|
489
|
+
.sapTntNLPopover {
|
|
490
|
+
&.sapMPopover {
|
|
491
|
+
box-shadow: @_sap_tnt_NavigationList_PopupBoxShadow;
|
|
492
|
+
border-radius: @_sap_tnt_NavigationList_ParentPopupBorderRadius;
|
|
493
|
+
|
|
494
|
+
.sapMPopoverCont {
|
|
495
|
+
border-radius: @_sap_tnt_NavigationList_ParentPopupBorderRadius;
|
|
496
|
+
}
|
|
497
|
+
}
|
|
498
|
+
|
|
499
|
+
.sapMPopoverArr:after {
|
|
500
|
+
box-shadow: @_sap_tnt_NavigationList_PopupArrowBoxShadow;
|
|
501
|
+
}
|
|
502
|
+
}
|
|
503
|
+
|
|
504
|
+
.sapTntNLMenu.sapUiMnu {
|
|
505
|
+
box-shadow: @_sap_tnt_NavigationList_PopupBoxShadow;
|
|
506
|
+
|
|
507
|
+
&:not(.sapUiSubmenu) {
|
|
508
|
+
padding: @_sap_tnt_NavigationList_ParentPopupPadding;
|
|
509
|
+
border-radius: @_sap_tnt_NavigationList_ParentPopupBorderRadius;
|
|
510
|
+
}
|
|
511
|
+
|
|
512
|
+
&.sapUiSubmenu {
|
|
513
|
+
padding: 0.5rem;
|
|
514
|
+
}
|
|
515
|
+
|
|
516
|
+
.sapUiMnuItmSbMnu:empty {
|
|
517
|
+
min-width: initial;
|
|
518
|
+
padding-inline-end: initial;
|
|
519
|
+
}
|
|
520
|
+
|
|
521
|
+
// parent menu
|
|
522
|
+
&:not(.sapUiSubmenu) .sapUiMnuLst .sapUiMnuItm {
|
|
523
|
+
font-weight: @_sap_tnt_NavigationList_GroupTextWeight;
|
|
524
|
+
|
|
525
|
+
.sapUiMnuItmIco {
|
|
526
|
+
position: relative !important;
|
|
527
|
+
width: auto;
|
|
528
|
+
|
|
529
|
+
.sapUiIcon {
|
|
530
|
+
color: @_sap_tnt_NavigationList_IconColor;
|
|
531
|
+
display: block;
|
|
532
|
+
}
|
|
533
|
+
}
|
|
534
|
+
|
|
535
|
+
.sapUiMnuItmSbMnu {
|
|
536
|
+
position: static; // default one
|
|
537
|
+
display: flex;
|
|
538
|
+
align-items: center;
|
|
539
|
+
justify-content: center;
|
|
540
|
+
width: 0.75rem;
|
|
541
|
+
height: 100%;
|
|
542
|
+
padding-inline-start: 0.5rem;
|
|
543
|
+
padding-inline-end: 0;
|
|
544
|
+
min-width: inherit;
|
|
545
|
+
min-height: inherit;
|
|
546
|
+
|
|
547
|
+
&:empty {
|
|
548
|
+
min-width: 0.75rem;
|
|
549
|
+
}
|
|
550
|
+
|
|
551
|
+
.sapUiIconMirrorInRTL::after {
|
|
552
|
+
content: "\e1ed";
|
|
553
|
+
font-size: 0.75rem;
|
|
554
|
+
color: @_sap_tnt_NavigationList_IconColor;
|
|
555
|
+
}
|
|
556
|
+
}
|
|
557
|
+
|
|
558
|
+
.sapUiMnuItmR {
|
|
559
|
+
display: none;
|
|
560
|
+
}
|
|
561
|
+
|
|
562
|
+
&.sapUiMnuItmSubMnuOpen,
|
|
563
|
+
&.sapUiMnuItmSubMnuOpen.sapUiMnuItmHov {
|
|
564
|
+
border-bottom: none;
|
|
565
|
+
background-color: @sapUiListHoverBackground;
|
|
566
|
+
|
|
567
|
+
&::before {
|
|
568
|
+
position: absolute;
|
|
569
|
+
content: "";
|
|
570
|
+
inset: 0;
|
|
571
|
+
border: @_sap_tnt_NavigationList_SelectedBorderStyleColor;
|
|
572
|
+
border-width: @_sap_tnt_NavigationList_SelectedBorderWidth;
|
|
573
|
+
}
|
|
574
|
+
}
|
|
575
|
+
}
|
|
576
|
+
|
|
577
|
+
.sapUiMnuLst {
|
|
578
|
+
li.sapUiMnuItm {
|
|
579
|
+
display: flex;
|
|
580
|
+
align-items: center;
|
|
581
|
+
height: @_sap_tnt_NavigationList_ItemHeight;
|
|
582
|
+
padding-inline: 0.5rem;
|
|
583
|
+
border-radius: @_sap_tnt_NavigationList_ItemBorderRadius;
|
|
584
|
+
transition: @_sap_tnt_NavigationList_ItemTransition;
|
|
585
|
+
font-size: @sapMFontMediumSize;
|
|
586
|
+
|
|
587
|
+
.sapUiMnuItmL {
|
|
588
|
+
display: none;
|
|
589
|
+
}
|
|
590
|
+
|
|
591
|
+
.sapUiMnuItmTxt {
|
|
592
|
+
display: flex;
|
|
593
|
+
align-items: center;
|
|
594
|
+
margin: 0 !important;
|
|
595
|
+
padding: 0 !important;
|
|
596
|
+
flex: 1;
|
|
597
|
+
min-width: 0;
|
|
598
|
+
}
|
|
599
|
+
|
|
600
|
+
&:focus {
|
|
601
|
+
outline: @sapUiContentFocusStyle @sapUiContentFocusWidth @sapUiContentFocusColor;
|
|
602
|
+
}
|
|
603
|
+
|
|
604
|
+
outline-offset: 0;
|
|
605
|
+
|
|
606
|
+
&:not(:last-child) {
|
|
607
|
+
margin-bottom: 0.1875rem;
|
|
608
|
+
border: @_sap_tnt_NavigationList_ItemBorderStyleColor;
|
|
609
|
+
border-width: @_sap_tnt_NavigationList_ItemBorderWidth;
|
|
610
|
+
}
|
|
611
|
+
}
|
|
612
|
+
}
|
|
613
|
+
|
|
614
|
+
.sapUiMnuItmIco {
|
|
615
|
+
min-width: 1rem;
|
|
616
|
+
max-width: 1rem;
|
|
617
|
+
padding-inline-end: 0.5rem;
|
|
618
|
+
}
|
|
619
|
+
|
|
620
|
+
}
|
|
621
|
+
|
|
622
|
+
.sapTntNLMenu.sapUiMnu.sapUiSubmenu {
|
|
623
|
+
.sapUiMnuLst {
|
|
624
|
+
.sapUiMnuItm {
|
|
625
|
+
.sapUiMnuItmIco {
|
|
626
|
+
position: relative !important;
|
|
627
|
+
width: auto;
|
|
628
|
+
.sapUiIcon {
|
|
629
|
+
color: @_sap_tnt_NavigationList_IconColor;
|
|
630
|
+
display: block;
|
|
631
|
+
}
|
|
632
|
+
}
|
|
633
|
+
.sapTntNLIExtLinkOverflowIcon {
|
|
634
|
+
color: @_sap_tnt_NavigationList_ExpandIconColor;
|
|
635
|
+
padding-left: 0.5rem;
|
|
636
|
+
font-size: 0.875rem;
|
|
637
|
+
pointer-events: all;
|
|
638
|
+
outline: none;
|
|
639
|
+
-webkit-user-select: none; /* Chrome all / Safari all */
|
|
640
|
+
-moz-user-select: none; /* Firefox all */
|
|
641
|
+
user-select: none;
|
|
642
|
+
}
|
|
643
|
+
}
|
|
644
|
+
}
|
|
645
|
+
}
|
|
646
|
+
|
|
647
|
+
.sapTntNLPopup .sapTntNLISecondLevel .sapMText{
|
|
648
|
+
padding-left: 0;
|
|
649
|
+
}
|
|
650
|
+
|
|
651
|
+
.sapUiMnuItmExternalLink a{
|
|
652
|
+
min-width: 100%;
|
|
653
|
+
height: 100%;
|
|
654
|
+
text-decoration: none;
|
|
655
|
+
outline: none;
|
|
656
|
+
background: inherit;
|
|
657
|
+
border-radius: inherit;
|
|
658
|
+
display: flex;
|
|
659
|
+
align-items: center;
|
|
660
|
+
box-sizing: border-box;
|
|
661
|
+
color: @_sap_tnt_NavigationList_ExpandIconColor;
|
|
662
|
+
|
|
663
|
+
.sapTntNLIExternalLinkIcon::before {
|
|
664
|
+
margin-left: 0.8rem;
|
|
665
|
+
}
|
|
666
|
+
}
|
|
667
|
+
|
|
668
|
+
/* Compact size */
|
|
669
|
+
.sapUiSizeCompact {
|
|
670
|
+
|
|
671
|
+
.sapTntNL {
|
|
672
|
+
padding: @_sap_tnt_NavigationList_PaddingCompact;
|
|
673
|
+
}
|
|
674
|
+
|
|
675
|
+
.sapTntNL.sapTntNLCollapsed li:not(.sapTntNLSeparator) {
|
|
676
|
+
min-height: @_sap_tnt_NavigationList_ItemHeightCompact + @_sap_tnt_NavigationList_ItemBottomMarginCompact;
|
|
677
|
+
}
|
|
678
|
+
|
|
679
|
+
.sapTntNLMenu.sapUiMnu li.sapUiMnuItm,
|
|
680
|
+
.sapTntNLI {
|
|
681
|
+
height: @_sap_tnt_NavigationList_ItemHeightCompact;
|
|
682
|
+
}
|
|
683
|
+
|
|
684
|
+
.sapTntNLPopup .sapTntNLISecondLevel .sapMText {
|
|
685
|
+
padding: 0 0.5rem;
|
|
686
|
+
}
|
|
687
|
+
|
|
688
|
+
.sapTntNLPopup .sapTntNLIFirstLevel .sapMText {
|
|
689
|
+
margin: 0 0.5rem 0 0;
|
|
690
|
+
}
|
|
691
|
+
|
|
692
|
+
.sapTntNL.sapTntNLPopup span.sapTntNLIIcon {
|
|
693
|
+
padding: 0.5rem 0;
|
|
694
|
+
}
|
|
695
|
+
|
|
696
|
+
.sapTntNL img.sapTntNLIIcon {
|
|
697
|
+
padding: 0.5rem 0.4375rem;
|
|
698
|
+
}
|
|
699
|
+
|
|
700
|
+
.sapTntNLPopup span.sapTntNLIIcon {
|
|
701
|
+
width: 0.5rem;
|
|
702
|
+
min-width: 0.5rem;
|
|
703
|
+
}
|
|
704
|
+
|
|
705
|
+
.sapTntNLPopup .sapTntNLISecondLevel .sapMText{
|
|
706
|
+
padding-left: 0;
|
|
707
|
+
}
|
|
708
|
+
|
|
709
|
+
// NavigationList with icons
|
|
710
|
+
.sapTntNL:not(.sapTntNLNoIcons) {
|
|
711
|
+
|
|
712
|
+
span.sapTntNLIIcon {
|
|
713
|
+
width: @_sap_tnt_NavigationList_GroupIconWidth;
|
|
714
|
+
}
|
|
715
|
+
}
|
|
716
|
+
|
|
717
|
+
.sapTntNL:not(.sapTntNLPopup) {
|
|
718
|
+
.sapTntNLI,
|
|
719
|
+
.sapTntNLSeparator {
|
|
720
|
+
margin-bottom: @_sap_tnt_NavigationList_ItemBottomMarginCompact;
|
|
721
|
+
}
|
|
722
|
+
}
|
|
723
|
+
|
|
724
|
+
.sapTntNLCollapsed {
|
|
725
|
+
.sapTntNLI:not(.sapTntNLIDisabled):not(.sapTntNLIActive):not(.sapTntNLINoHoverEffect) {
|
|
726
|
+
[tabindex]:hover,
|
|
727
|
+
[tabindex]:focus {
|
|
728
|
+
padding: @_sap_tnt_NavigationList_Collapsed_HoverOrFocusItemPaddingCompact;
|
|
729
|
+
}
|
|
730
|
+
}
|
|
731
|
+
}
|
|
732
|
+
}
|