@openui5/sap.f 1.125.0 → 1.126.1
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 +4 -4
- package/THIRDPARTY.txt +6 -6
- package/package.json +4 -4
- package/src/sap/f/.library +1 -1
- package/src/sap/f/Avatar.js +1 -1
- package/src/sap/f/AvatarGroup.js +1 -1
- package/src/sap/f/AvatarGroupItem.js +1 -1
- package/src/sap/f/CalendarAppointmentInCard.js +1 -1
- package/src/sap/f/CalendarInCard.js +1 -1
- package/src/sap/f/Card.js +1 -1
- package/src/sap/f/CardBase.js +1 -1
- package/src/sap/f/DynamicPage.js +2 -2
- package/src/sap/f/DynamicPageAccessibleLandmarkInfo.js +1 -1
- package/src/sap/f/DynamicPageHeader.js +1 -1
- package/src/sap/f/DynamicPageTitle.js +1 -1
- package/src/sap/f/FlexibleColumnLayout.js +1 -1
- package/src/sap/f/FlexibleColumnLayoutAccessibleLandmarkInfo.js +1 -1
- package/src/sap/f/FlexibleColumnLayoutSemanticHelper.js +1 -1
- package/src/sap/f/GridContainer.js +1 -1
- package/src/sap/f/GridContainerItemLayoutData.js +1 -1
- package/src/sap/f/GridContainerSettings.js +2 -2
- package/src/sap/f/GridList.js +1 -1
- package/src/sap/f/GridListItem.js +1 -1
- package/src/sap/f/IllustratedMessage.js +1 -1
- package/src/sap/f/Illustration.js +1 -1
- package/src/sap/f/PlanningCalendarInCardLegend.js +1 -1
- package/src/sap/f/ProductSwitch.js +1 -1
- package/src/sap/f/ProductSwitchItem.js +1 -1
- package/src/sap/f/SearchManager.js +1 -1
- package/src/sap/f/ShellBar.js +1 -1
- package/src/sap/f/SidePanel.js +1 -1
- package/src/sap/f/SidePanelItem.js +1 -1
- package/src/sap/f/cards/BaseHeader.js +6 -10
- package/src/sap/f/cards/Header.js +1 -1
- package/src/sap/f/cards/HeaderRenderer.js +4 -0
- package/src/sap/f/cards/NumericHeader.js +1 -1
- package/src/sap/f/cards/NumericHeaderRenderer.js +7 -2
- package/src/sap/f/cards/NumericIndicators.js +1 -1
- package/src/sap/f/cards/NumericSideIndicator.js +1 -1
- package/src/sap/f/cards/loading/AnalyticalPlaceholder.js +1 -1
- package/src/sap/f/cards/loading/CalendarPlaceholder.js +1 -1
- package/src/sap/f/cards/loading/GenericPlaceholder.js +1 -1
- package/src/sap/f/cards/loading/ListPlaceholder.js +1 -1
- package/src/sap/f/cards/loading/ObjectPlaceholder.js +1 -1
- package/src/sap/f/cards/loading/PlaceholderBase.js +2 -1
- package/src/sap/f/cards/loading/TablePlaceholder.js +1 -1
- package/src/sap/f/cards/loading/TimelinePlaceholder.js +1 -1
- package/src/sap/f/changeHandler/MoveDynamicPageTitleActions.js +1 -1
- package/src/sap/f/delegate/GridContainerItemNavigation.js +9 -6
- package/src/sap/f/delegate/GridItemNavigation.js +1 -1
- package/src/sap/f/dnd/GridDragOver.js +1 -1
- package/src/sap/f/dnd/GridDropInfo.js +1 -1
- package/src/sap/f/library.js +2 -2
- package/src/sap/f/semantic/AddAction.js +1 -1
- package/src/sap/f/semantic/CloseAction.js +1 -1
- package/src/sap/f/semantic/CopyAction.js +1 -1
- package/src/sap/f/semantic/DeleteAction.js +1 -1
- package/src/sap/f/semantic/DiscussInJamAction.js +1 -1
- package/src/sap/f/semantic/EditAction.js +1 -1
- package/src/sap/f/semantic/ExitFullScreenAction.js +1 -1
- package/src/sap/f/semantic/FavoriteAction.js +1 -1
- package/src/sap/f/semantic/FlagAction.js +1 -1
- package/src/sap/f/semantic/FooterMainAction.js +1 -1
- package/src/sap/f/semantic/FullScreenAction.js +1 -1
- package/src/sap/f/semantic/MainAction.js +1 -1
- package/src/sap/f/semantic/MessagesIndicator.js +1 -1
- package/src/sap/f/semantic/NegativeAction.js +1 -1
- package/src/sap/f/semantic/PositiveAction.js +1 -1
- package/src/sap/f/semantic/PrintAction.js +1 -1
- package/src/sap/f/semantic/SemanticButton.js +1 -1
- package/src/sap/f/semantic/SemanticConfiguration.js +1 -1
- package/src/sap/f/semantic/SemanticControl.js +1 -1
- package/src/sap/f/semantic/SemanticPage.js +1 -1
- package/src/sap/f/semantic/SemanticToggleButton.js +1 -1
- package/src/sap/f/semantic/SendEmailAction.js +1 -1
- package/src/sap/f/semantic/SendMessageAction.js +1 -1
- package/src/sap/f/semantic/ShareInJamAction.js +1 -1
- package/src/sap/f/semantic/TitleMainAction.js +1 -1
- package/src/sap/f/shellBar/AdditionalContentSupport.js +1 -1
- package/src/sap/f/shellBar/CoPilot.js +1 -1
- package/src/sap/f/shellBar/ControlSpacer.js +1 -1
- package/src/sap/f/shellBar/Search.js +1 -1
- package/src/sap/f/themes/base/Card.less +11 -2
- package/src/sap/f/themes/sap_hcb/base_AvatarGroup.less +275 -0
- package/src/sap/f/themes/sap_hcb/base_CalendarPlaceholder.less +70 -0
- package/src/sap/f/themes/sap_hcb/base_Card.less +638 -0
- package/src/sap/f/themes/sap_hcb/base_CardLoading.less +268 -0
- package/src/sap/f/themes/sap_hcb/base_CardNumericIndicators.less +38 -0
- package/src/sap/f/themes/sap_hcb/base_DynamicPage.less +418 -0
- package/src/sap/f/themes/sap_hcb/base_DynamicPageHeader.less +66 -0
- package/src/sap/f/themes/sap_hcb/base_DynamicPageTitle.less +373 -0
- package/src/sap/f/themes/sap_hcb/base_FlexibleColumnLayout.less +281 -0
- package/src/sap/f/themes/sap_hcb/base_GridContainer.less +60 -0
- package/src/sap/f/themes/sap_hcb/base_GridDragAndDrop.less +5 -0
- package/src/sap/f/themes/sap_hcb/base_GridList.less +103 -0
- package/src/sap/f/themes/sap_hcb/base_GridListItem.less +111 -0
- package/src/sap/f/themes/sap_hcb/base_ListPlaceholder.less +53 -0
- package/src/sap/f/themes/sap_hcb/base_ObjectPlaceholder.less +43 -0
- package/src/sap/f/themes/sap_hcb/base_ProductSwitch.less +3 -0
- package/src/sap/f/themes/sap_hcb/base_ProductSwitchItem.less +160 -0
- package/src/sap/f/themes/sap_hcb/base_SemanticPage.less +34 -0
- package/src/sap/f/themes/sap_hcb/base_ShellBar.less +495 -0
- package/src/sap/f/themes/sap_hcb/base_SidePanel.less +858 -0
- package/src/sap/f/themes/sap_hcb/base_TablePlaceholder.less +34 -0
- package/src/sap/f/themes/sap_hcb/base_TimelinePlaceholder.less +79 -0
- package/src/sap/f/themes/sap_hcb/library.source.less +34 -1
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
/* ======================================================== */
|
|
2
|
+
/* CSS for control sap.f.cards.loading/CalendarPlaceholder */
|
|
3
|
+
/* Base theme */
|
|
4
|
+
/* ======================================================== */
|
|
5
|
+
|
|
6
|
+
.sapFCard .sapFCardContentCalendarPlaceholder .sapFCardLoadingShimmer {
|
|
7
|
+
background-size: unset;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.sapFCardCalendarContent.sapMPCInCardTwoColumns .sapFCardContentCalendarPlaceholder {
|
|
11
|
+
display: flex;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.sapFCardContentCalendarPlaceholder {
|
|
15
|
+
.sapFCardContentCalendarPartPlaceholder {
|
|
16
|
+
height: 13rem;
|
|
17
|
+
min-width: 18rem;
|
|
18
|
+
margin: 1rem;
|
|
19
|
+
}
|
|
20
|
+
.sapFCardContentLegendItemsListPlaceholder {
|
|
21
|
+
column-width: 9rem;
|
|
22
|
+
}
|
|
23
|
+
.sapFCardContentItemsListPlaceholder {
|
|
24
|
+
margin: 1rem;
|
|
25
|
+
}
|
|
26
|
+
.sapFCardListPlaceholderItem {
|
|
27
|
+
height: 4.75rem;
|
|
28
|
+
display: block;
|
|
29
|
+
&.sapFCardListPlaceholderLegendItem {
|
|
30
|
+
width: 15rem;
|
|
31
|
+
height: 1.75rem;
|
|
32
|
+
.sapFCardListPlaceholderImg,
|
|
33
|
+
.sapFCardListPlaceholderRows {
|
|
34
|
+
display: inline-block;
|
|
35
|
+
}
|
|
36
|
+
.sapFCardListPlaceholderImg {
|
|
37
|
+
margin: 0.5rem 0.5rem 0.5rem 0;
|
|
38
|
+
height: 1rem;
|
|
39
|
+
width: 1rem;
|
|
40
|
+
}
|
|
41
|
+
.sapFCardListPlaceholderRows {
|
|
42
|
+
.sapFCardListPlaceholderRow {
|
|
43
|
+
width: 6rem;
|
|
44
|
+
margin-left: 0;
|
|
45
|
+
}
|
|
46
|
+
width: 8rem;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
.sapFCardListPlaceholderFromTo {
|
|
50
|
+
height: 1rem;
|
|
51
|
+
width: 5rem;
|
|
52
|
+
display: inline-block;
|
|
53
|
+
}
|
|
54
|
+
.sapFCardListPlaceholderRows {
|
|
55
|
+
.sapFCardListPlaceholderRow {
|
|
56
|
+
height: 1rem;
|
|
57
|
+
width: 8rem;
|
|
58
|
+
margin-left: 2rem;
|
|
59
|
+
&.sapFCardListPlaceholderTextRow {
|
|
60
|
+
height: 0.75rem;
|
|
61
|
+
width: 6rem;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.sapUiSizeCompact .sapFCardContentCalendarPlaceholder .sapFCardContentItemsListPlaceholder .sapFCardListPlaceholderItem {
|
|
69
|
+
height: 4.75rem;
|
|
70
|
+
}
|
|
@@ -0,0 +1,638 @@
|
|
|
1
|
+
/* ================================== */
|
|
2
|
+
/* CSS for control sap.f/Card */
|
|
3
|
+
/* Base theme */
|
|
4
|
+
/* ================================== */
|
|
5
|
+
|
|
6
|
+
@_sap_f_Card_BoxShadow: @sapUiContentShadow0;
|
|
7
|
+
@_sap_f_Card_HeaderBorder: 0.0625rem solid @sapUiTileSeparatorColor; // used as top or bottom border
|
|
8
|
+
@_sap_f_Card_HeaderFocusBorderRadius: none;
|
|
9
|
+
@_sap_f_Card_BorderRadius: @sapUiElementBorderCornerRadius;
|
|
10
|
+
@_sap_f_Card_ContentPadding: 1rem;
|
|
11
|
+
@_sap_f_Card_HeaderFocusBorderBottomOffset: 1px;
|
|
12
|
+
@_sap_f_Card_HeaderFocusBorderTopOffset: 1px;
|
|
13
|
+
@_sap_f_Card_HeaderFocusBorderLeftOffset: 1px;
|
|
14
|
+
@_sap_f_Card_HeaderFocusBorderRightOffset: 1px;
|
|
15
|
+
@_sap_f_Card_Badge_Background: @sapUiBrand;
|
|
16
|
+
@_sap_f_Card_Badge_Color: @sapUiContentContrastTextColor;
|
|
17
|
+
@_sap_f_Card_Badge_Border: 0.0625rem solid @sapUiButtonLiteBorderColor;
|
|
18
|
+
@_sap_f_Card_TitleFontSize: @sapMFontHeader5Size;
|
|
19
|
+
|
|
20
|
+
.sapFCard {
|
|
21
|
+
position: relative;
|
|
22
|
+
display: inline-flex;
|
|
23
|
+
flex-direction: column;
|
|
24
|
+
vertical-align: top;
|
|
25
|
+
box-sizing: border-box;
|
|
26
|
+
background: @sapUiTileBackground;
|
|
27
|
+
box-shadow: @_sap_f_Card_BoxShadow;
|
|
28
|
+
border-radius: @_sap_f_Card_BorderRadius;
|
|
29
|
+
border: 0.0625rem solid @sapUiTileBorderColor;
|
|
30
|
+
width: 100%;
|
|
31
|
+
height: auto;
|
|
32
|
+
font-family: @sapUiFontFamily;
|
|
33
|
+
font-size: @sapMFontMediumSize;
|
|
34
|
+
color: @sapUiGroupTitleTextColor;
|
|
35
|
+
outline: none;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
/* ui5-restricted task center */
|
|
39
|
+
.sapFCardTransparent.sapFCard,
|
|
40
|
+
ui-integration-card.sapFCardTransparent > [data-sap-ui-area] > .sapFCard {
|
|
41
|
+
border: none;
|
|
42
|
+
border-radius: 0%;
|
|
43
|
+
background: transparent;
|
|
44
|
+
box-shadow: unset;
|
|
45
|
+
overflow: visible;
|
|
46
|
+
|
|
47
|
+
& > .sapFCardContent {
|
|
48
|
+
overflow: visible;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
& > .sapFCardHeader,
|
|
52
|
+
& > .sapFCardFilterBar,
|
|
53
|
+
& > .sapFCardFooter {
|
|
54
|
+
background: transparent;
|
|
55
|
+
border: none;
|
|
56
|
+
border-radius: 0%;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
& > .sapFCardFooter .sapMTB {
|
|
60
|
+
background: transparent;
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.sapFCardMaxItems > .sapMGrowingList,
|
|
65
|
+
.sapFCardMaxItems .sapSuiteUiCommonsTimelineShowMoreWrapper {
|
|
66
|
+
display: none;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.sapFCard .sapFCardFilterBar {
|
|
70
|
+
padding: 0.5rem @_sap_f_Card_ContentPadding;
|
|
71
|
+
background: @sapUiTileBackground;
|
|
72
|
+
border-bottom: @_sap_f_Card_HeaderBorder;
|
|
73
|
+
|
|
74
|
+
.sapFCardFilterBarContent {
|
|
75
|
+
overflow: hidden;
|
|
76
|
+
|
|
77
|
+
&.sapFCardFilterBarAFLayout {
|
|
78
|
+
column-gap: 0.5rem;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
&:not(.sapFCardFilterBarAFLayout) .sapFCardFilter {
|
|
82
|
+
max-width: 100%;
|
|
83
|
+
|
|
84
|
+
.sapFCardDateRangeField {
|
|
85
|
+
width: 14rem;
|
|
86
|
+
max-width: 100%;
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.sapFCard .sapFCardHeader {
|
|
93
|
+
position: relative;
|
|
94
|
+
flex-shrink: 0;
|
|
95
|
+
justify-content: space-between;
|
|
96
|
+
background: @sapUiTileBackground;
|
|
97
|
+
border-bottom: @_sap_f_Card_HeaderBorder;
|
|
98
|
+
border-radius: @_sap_f_Card_BorderRadius @_sap_f_Card_BorderRadius 0 0;
|
|
99
|
+
padding: @_sap_f_Card_ContentPadding;
|
|
100
|
+
display: flex;
|
|
101
|
+
|
|
102
|
+
.sapFCardHeaderWrapper {
|
|
103
|
+
outline: none;
|
|
104
|
+
display: flex;
|
|
105
|
+
min-width: 0;
|
|
106
|
+
flex: 1;
|
|
107
|
+
height: fit-content;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
.sapFCardHeaderImage {
|
|
111
|
+
position: relative;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
.sapFCardIcon.sapFAvatar {
|
|
115
|
+
flex-shrink: 0;
|
|
116
|
+
display: flex;
|
|
117
|
+
align-items: center;
|
|
118
|
+
justify-content: center;
|
|
119
|
+
|
|
120
|
+
&.sapFAvatarColorTransparent {
|
|
121
|
+
.sapUiIcon {
|
|
122
|
+
color: @sapUiTileIconColor;
|
|
123
|
+
font-size: 2rem;
|
|
124
|
+
align-self: center;
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
.sapFCardHeaderText {
|
|
130
|
+
flex: 1 1 auto;
|
|
131
|
+
display: flex;
|
|
132
|
+
flex-direction: column;
|
|
133
|
+
justify-content: center;
|
|
134
|
+
//fixes bug with flex
|
|
135
|
+
min-width: 0;
|
|
136
|
+
width: 100%;
|
|
137
|
+
|
|
138
|
+
.sapFCardTitle {
|
|
139
|
+
min-width: 0;
|
|
140
|
+
display: block;
|
|
141
|
+
font-family: @sapUiFontHeaderFamily;
|
|
142
|
+
font-size: @_sap_f_Card_TitleFontSize;
|
|
143
|
+
font-weight: @sapUiFontHeaderWeight;
|
|
144
|
+
color: @sapUiTileTitleTextColor;
|
|
145
|
+
min-height: 1rem;
|
|
146
|
+
position: relative;
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
.sapFCardSubtitle {
|
|
151
|
+
position: relative;
|
|
152
|
+
font-family: @sapUiFontFamily;
|
|
153
|
+
font-size: @sapMFontMediumSize;
|
|
154
|
+
font-weight: normal;
|
|
155
|
+
color: @sapUiTileTextColor;
|
|
156
|
+
min-height: 1rem;
|
|
157
|
+
flex-grow: 1;
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
.sapFCardStatus {
|
|
161
|
+
position: relative;
|
|
162
|
+
font-family: @sapUiFontFamily;
|
|
163
|
+
font-size: @sapMFontSmallSize;
|
|
164
|
+
color: @sapUiTileTextColor;
|
|
165
|
+
text-align: right;
|
|
166
|
+
line-height: normal;
|
|
167
|
+
margin-left: 1rem;
|
|
168
|
+
margin-top: 0.188rem;
|
|
169
|
+
display: inline-block;
|
|
170
|
+
white-space: nowrap;
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
.sapFCardHeaderTextFirstLine {
|
|
174
|
+
display: flex;
|
|
175
|
+
justify-content: space-between;
|
|
176
|
+
width: 100%;
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
.sapFCardHeaderTextSecondLine {
|
|
180
|
+
margin-top: 0.25rem;
|
|
181
|
+
display: flex;
|
|
182
|
+
justify-content: space-between;
|
|
183
|
+
align-items: flex-end;
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
.sapFCardDataTimestamp {
|
|
187
|
+
color: @sapUiTileTextColor;
|
|
188
|
+
font-size: @sapMFontSmallSize;
|
|
189
|
+
margin-left: auto;
|
|
190
|
+
flex-shrink: 0;
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
.sapFCardHeaderLineIncludesDataTimestamp .sapFCardSubtitle {
|
|
194
|
+
margin-right: 1rem;
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
.sapFCardHeaderToolbarCont {
|
|
198
|
+
position: absolute;
|
|
199
|
+
right: 0.65rem;
|
|
200
|
+
top: 0.45rem;
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
&.sapFCardHeaderHasToolbar {
|
|
204
|
+
.sapFCardHeaderText {
|
|
205
|
+
margin-right: 2rem;
|
|
206
|
+
width: unset;
|
|
207
|
+
}
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
.sapFCardHeaderBanner {
|
|
211
|
+
display: flex;
|
|
212
|
+
justify-content: flex-end;
|
|
213
|
+
margin: 0.25rem -(@_sap_f_Card_ContentPadding) 0;
|
|
214
|
+
|
|
215
|
+
.sapFCardHeaderBannerInner {
|
|
216
|
+
padding-inline-start: 0.25rem;
|
|
217
|
+
padding-inline-end: @_sap_f_Card_ContentPadding;
|
|
218
|
+
background-color: @sapUiInfobarNonInteractiveBackground;
|
|
219
|
+
border-radius: 0.125rem 0 0 0.125rem;
|
|
220
|
+
min-width: 0;
|
|
221
|
+
|
|
222
|
+
.sapFCardHeaderBannerLine {
|
|
223
|
+
display: flex;
|
|
224
|
+
justify-content: flex-end;
|
|
225
|
+
padding: 0.125rem 0;
|
|
226
|
+
|
|
227
|
+
.sapMText {
|
|
228
|
+
font-size: @sapMFontSmallSize;
|
|
229
|
+
color: @sapUiTileTitleTextColor;
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
.sapMText.sapFCardHeaderBannerLineDiminished {
|
|
233
|
+
color: @sapUiTileTextColor;
|
|
234
|
+
}
|
|
235
|
+
}
|
|
236
|
+
}
|
|
237
|
+
}
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
.sapFCard .sapFCardIcon.sapFAvatar {
|
|
241
|
+
margin-right: 0.75rem;
|
|
242
|
+
|
|
243
|
+
&:not(.sapFAvatarImage):not(.sapFAvatarInitials) {
|
|
244
|
+
border: none;
|
|
245
|
+
}
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
.sapFCard.sapFCardBottomHeader {
|
|
249
|
+
.sapFCardHeader {
|
|
250
|
+
border-top: @_sap_f_Card_HeaderBorder;
|
|
251
|
+
border-bottom: none;
|
|
252
|
+
border-radius: 0 0 @_sap_f_Card_BorderRadius @_sap_f_Card_BorderRadius;
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
.sapFCardContent {
|
|
256
|
+
border-radius: @_sap_f_Card_BorderRadius @_sap_f_Card_BorderRadius 0 0;
|
|
257
|
+
}
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
.sapFCard .sapFCardHeader.sapFCardNumericHeader {
|
|
261
|
+
|
|
262
|
+
.sapFCardHeaderContent {
|
|
263
|
+
outline: none;
|
|
264
|
+
min-width: 0; // fixes Chrome issue
|
|
265
|
+
flex: 1;
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
.sapFCardStatus {
|
|
269
|
+
min-width: fit-content;
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
.sapFCardSubtitle {
|
|
273
|
+
margin: 0.25rem 0 0 0;
|
|
274
|
+
display: flex;
|
|
275
|
+
align-items: flex-end;
|
|
276
|
+
|
|
277
|
+
.sapFCardHeaderUnitOfMeasurement {
|
|
278
|
+
flex-shrink: 0;
|
|
279
|
+
max-height: 1rem;
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
&.sapFCardSubtitleAndUnit .sapFCardHeaderUnitOfMeasurement {
|
|
283
|
+
margin-left: 0.25rem;
|
|
284
|
+
padding-left: 0.25rem;
|
|
285
|
+
border-left: 1px solid @sapUiTileTextColor;
|
|
286
|
+
}
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
.sapFCardHeaderText .sapFCardSubtitle .sapMText {
|
|
290
|
+
color: @sapUiTileTextColor;
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
.sapFCardAvatarAndIndicatorsLine {
|
|
294
|
+
display: flex;
|
|
295
|
+
align-items: center;
|
|
296
|
+
overflow: hidden;
|
|
297
|
+
|
|
298
|
+
.sapFCardIcon.sapFAvatar {
|
|
299
|
+
margin-top: 0.5rem;
|
|
300
|
+
margin-right: 0;
|
|
301
|
+
}
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
.sapFCardNumericIndicators {
|
|
305
|
+
margin-top: 0.25rem;
|
|
306
|
+
flex: 1;
|
|
307
|
+
min-width: 0; // allows items to shrink and truncate the content inside
|
|
308
|
+
|
|
309
|
+
.sapFCardHeaderSideIndicator .sapFCardHeaderSITitle,
|
|
310
|
+
.sapFCardHeaderSINumber,
|
|
311
|
+
.sapFCardHeaderSINumber .sapMText {
|
|
312
|
+
font-size: @sapMFontSmallSize;
|
|
313
|
+
}
|
|
314
|
+
|
|
315
|
+
.sapFCardNumericIndicatorsSide {
|
|
316
|
+
padding: 0.5rem 0;
|
|
317
|
+
}
|
|
318
|
+
}
|
|
319
|
+
|
|
320
|
+
.sapFCardHeaderDetailsWrapper {
|
|
321
|
+
margin-top: 0.25rem;
|
|
322
|
+
display: flex;
|
|
323
|
+
justify-content: space-between;
|
|
324
|
+
align-items: flex-end;
|
|
325
|
+
}
|
|
326
|
+
|
|
327
|
+
.sapFCardHeaderDetails {
|
|
328
|
+
font-size: @sapMFontSmallSize;
|
|
329
|
+
color: @sapUiTileTextColor;
|
|
330
|
+
position: relative;
|
|
331
|
+
flex-grow: 1;
|
|
332
|
+
}
|
|
333
|
+
|
|
334
|
+
.sapFCardNumericHeaderDetailsState {
|
|
335
|
+
&None {
|
|
336
|
+
color: @sapUiNeutralText;
|
|
337
|
+
}
|
|
338
|
+
|
|
339
|
+
&Success {
|
|
340
|
+
color: @sapUiPositiveText;
|
|
341
|
+
}
|
|
342
|
+
|
|
343
|
+
&Warning {
|
|
344
|
+
color: @sapUiCriticalText;
|
|
345
|
+
}
|
|
346
|
+
|
|
347
|
+
&Error {
|
|
348
|
+
color: @sapUiNegativeText;
|
|
349
|
+
}
|
|
350
|
+
|
|
351
|
+
&Information {
|
|
352
|
+
color: @sapUiInformativeText;
|
|
353
|
+
}
|
|
354
|
+
}
|
|
355
|
+
|
|
356
|
+
.sapFCardHeaderLineIncludesDataTimestamp .sapFCardHeaderDetails {
|
|
357
|
+
margin-right: 1rem;
|
|
358
|
+
}
|
|
359
|
+
}
|
|
360
|
+
|
|
361
|
+
.sapFCardHeaderSideIndicator {
|
|
362
|
+
display: flex;
|
|
363
|
+
flex-direction: column;
|
|
364
|
+
align-items: flex-end;
|
|
365
|
+
min-width: 0; // allows items to shrink and truncate the content inside
|
|
366
|
+
.sapFCardHeaderSITitle {
|
|
367
|
+
color: @sapUiTileTextColor;
|
|
368
|
+
padding-bottom: 0.25rem;
|
|
369
|
+
position: relative;
|
|
370
|
+
}
|
|
371
|
+
.sapFCardHeaderSINumber,
|
|
372
|
+
.sapFCardHeaderSINumber .sapMText {
|
|
373
|
+
color: @sapUiTileTitleTextColor;
|
|
374
|
+
position: relative;
|
|
375
|
+
}
|
|
376
|
+
}
|
|
377
|
+
|
|
378
|
+
// Value colors for the Side Indicators in the Numeric header
|
|
379
|
+
.sapFCard .sapFCardHeaderSideIndicatorStateCritical .sapFCardHeaderSINumber span {
|
|
380
|
+
color: @sapUiCriticalText;
|
|
381
|
+
}
|
|
382
|
+
|
|
383
|
+
.sapFCard .sapFCardHeaderSideIndicatorStateError .sapFCardHeaderSINumber span {
|
|
384
|
+
color: @sapUiNegativeText;
|
|
385
|
+
}
|
|
386
|
+
|
|
387
|
+
.sapFCard .sapFCardHeaderSideIndicatorStateGood .sapFCardHeaderSINumber span {
|
|
388
|
+
color: @sapUiPositiveText;
|
|
389
|
+
}
|
|
390
|
+
|
|
391
|
+
.sapFCard .sapFCardHeaderSideIndicatorStateNeutral .sapFCardHeaderSINumber span {
|
|
392
|
+
color: @sapUiNeutralText;
|
|
393
|
+
}
|
|
394
|
+
|
|
395
|
+
.sapFCard .sapFCardContent {
|
|
396
|
+
flex: 1 1 auto;
|
|
397
|
+
overflow: hidden;
|
|
398
|
+
position: relative;
|
|
399
|
+
display: flex;
|
|
400
|
+
border-radius: 0 0 @_sap_f_Card_BorderRadius @_sap_f_Card_BorderRadius;
|
|
401
|
+
|
|
402
|
+
.sapFCardContentListPlaceholder,
|
|
403
|
+
.sapFCardBaseContent {
|
|
404
|
+
max-width: 100%;
|
|
405
|
+
flex: 1;
|
|
406
|
+
box-sizing: border-box;
|
|
407
|
+
}
|
|
408
|
+
}
|
|
409
|
+
|
|
410
|
+
.sapFCard.sapFCardNoHeader > .sapFCardContent {
|
|
411
|
+
border-radius: @_sap_f_Card_BorderRadius;
|
|
412
|
+
|
|
413
|
+
&:focus {
|
|
414
|
+
border-radius: inherit;
|
|
415
|
+
}
|
|
416
|
+
}
|
|
417
|
+
|
|
418
|
+
.sapFCard .sapFCardContent {
|
|
419
|
+
.sapVizFrame {
|
|
420
|
+
min-height: inherit;
|
|
421
|
+
|
|
422
|
+
.ui5-viz-controls-app {
|
|
423
|
+
min-height: inherit;
|
|
424
|
+
}
|
|
425
|
+
}
|
|
426
|
+
|
|
427
|
+
.sapMLIB.sapMSLINoDescIcon {
|
|
428
|
+
padding: 0 1rem 0 0.125rem; // padding left is for alignment with the header
|
|
429
|
+
}
|
|
430
|
+
|
|
431
|
+
.sapMLIBContent {
|
|
432
|
+
.sapMSLIDiv {
|
|
433
|
+
flex: 1 1 auto;
|
|
434
|
+
}
|
|
435
|
+
}
|
|
436
|
+
|
|
437
|
+
.sapUiView.sapUiXMLView > .sapMImg {
|
|
438
|
+
display: block; // Fix for unwanted space under the only image inside Component Card content
|
|
439
|
+
}
|
|
440
|
+
|
|
441
|
+
.sapFCardIcon.sapFAvatarColorTransparent {
|
|
442
|
+
.sapUiIcon {
|
|
443
|
+
color: @sapUiContentNonInteractiveIconColor;
|
|
444
|
+
}
|
|
445
|
+
}
|
|
446
|
+
}
|
|
447
|
+
|
|
448
|
+
html[data-sap-ui-browser^="sf"] .sapFCard,
|
|
449
|
+
html[data-sap-ui-browser^="cr"] .sapFCard {
|
|
450
|
+
.sapFCardHeaderText {
|
|
451
|
+
flex: 1;
|
|
452
|
+
}
|
|
453
|
+
|
|
454
|
+
.sapFCardContent {
|
|
455
|
+
.sapMLIBContent {
|
|
456
|
+
.sapMSLIDiv {
|
|
457
|
+
flex: 1;
|
|
458
|
+
}
|
|
459
|
+
}
|
|
460
|
+
}
|
|
461
|
+
}
|
|
462
|
+
|
|
463
|
+
.sapFCard.sapFCardNoContent .sapFCardHeader {
|
|
464
|
+
border-bottom: none;
|
|
465
|
+
border-radius: @_sap_f_Card_BorderRadius;
|
|
466
|
+
flex-grow: 1;
|
|
467
|
+
}
|
|
468
|
+
|
|
469
|
+
.sapFCard.sapFCardSectionInteractive {
|
|
470
|
+
&[data-sap-ui-draggable=true] {
|
|
471
|
+
.sapMText {
|
|
472
|
+
cursor: grab;
|
|
473
|
+
}
|
|
474
|
+
}
|
|
475
|
+
|
|
476
|
+
&:not(.sapFCardTransparent) {
|
|
477
|
+
.sapFCardSectionClickable:hover {
|
|
478
|
+
background: @sapUiTileHoverBackground;
|
|
479
|
+
}
|
|
480
|
+
|
|
481
|
+
.sapFCardSectionClickable:active {
|
|
482
|
+
background: @sapUiTileActiveBackground;
|
|
483
|
+
}
|
|
484
|
+
}
|
|
485
|
+
|
|
486
|
+
.sapFCardSectionClickable,
|
|
487
|
+
.sapFCardSectionClickable svg {
|
|
488
|
+
cursor: pointer !important;
|
|
489
|
+
|
|
490
|
+
.sapMText {
|
|
491
|
+
cursor: pointer;
|
|
492
|
+
}
|
|
493
|
+
}
|
|
494
|
+
}
|
|
495
|
+
|
|
496
|
+
.sapFCardHeader:not(.sapFCardHeaderToolbarFocused):focus-within::before,
|
|
497
|
+
.sapFGridContainer .sapFGridContainerItemWrapperNoVisualFocus:focus > .sapFCard > .sapFCardHeader:not(.sapFCardHeaderToolbarFocused)::before, // focus inside Grid Container
|
|
498
|
+
.sapFGridContainer .sapFGridContainerItemWrapperNoVisualFocus:focus > .sapFCard.sapFCardNoHeader::before { // ... focus on a card without header
|
|
499
|
+
content: '';
|
|
500
|
+
display: block;
|
|
501
|
+
position: absolute;
|
|
502
|
+
left: @_sap_f_Card_HeaderFocusBorderLeftOffset;
|
|
503
|
+
bottom: @_sap_f_Card_HeaderFocusBorderBottomOffset;
|
|
504
|
+
right: @_sap_f_Card_HeaderFocusBorderRightOffset;
|
|
505
|
+
top: @_sap_f_Card_HeaderFocusBorderTopOffset;
|
|
506
|
+
border: @sapUiContentFocusWidth @sapUiContentFocusStyle @sapUiContentFocusColor;
|
|
507
|
+
border-radius: @_sap_f_Card_HeaderFocusBorderRadius;
|
|
508
|
+
pointer-events: none;
|
|
509
|
+
}
|
|
510
|
+
|
|
511
|
+
/* ui5-restricted work zone */
|
|
512
|
+
.sapFCard.sapFCardFocusFullCard,
|
|
513
|
+
ui-integration-card.sapFCardFocusFullCard > [data-sap-ui-area] > .sapFCard {
|
|
514
|
+
&:has(.sapFCardHeader:not(.sapFCardHeaderToolbarFocused):focus-within)::before {
|
|
515
|
+
content: '';
|
|
516
|
+
display: block;
|
|
517
|
+
position: absolute;
|
|
518
|
+
left: @_sap_f_Card_HeaderFocusBorderLeftOffset;
|
|
519
|
+
bottom: @_sap_f_Card_HeaderFocusBorderBottomOffset;
|
|
520
|
+
right: @_sap_f_Card_HeaderFocusBorderRightOffset;
|
|
521
|
+
top: @_sap_f_Card_HeaderFocusBorderTopOffset;
|
|
522
|
+
border: @sapUiContentFocusWidth @sapUiContentFocusStyle @sapUiContentFocusColor;
|
|
523
|
+
border-radius: @_sap_f_Card_HeaderFocusBorderRadius;
|
|
524
|
+
pointer-events: none;
|
|
525
|
+
z-index: 1;
|
|
526
|
+
}
|
|
527
|
+
|
|
528
|
+
.sapFCardHeader:not(.sapFCardHeaderToolbarFocused):focus-within::before {
|
|
529
|
+
display: none;
|
|
530
|
+
}
|
|
531
|
+
}
|
|
532
|
+
|
|
533
|
+
.sapFCardHeader:not(.sapFCardHeaderToolbarFocused):focus-within::before,
|
|
534
|
+
|
|
535
|
+
.sapFGridContainer .sapFGridContainerItemWrapperNoVisualFocus:focus > .sapFCard.sapFCardNoHeader::before { // focus inside GridContainer on a card without header
|
|
536
|
+
bottom: 1px;
|
|
537
|
+
z-index: 1;
|
|
538
|
+
}
|
|
539
|
+
|
|
540
|
+
.sapUiSizeCompact {
|
|
541
|
+
.sapFCard .sapFCardContent {
|
|
542
|
+
|
|
543
|
+
.sapMLIB.sapMSLINoDescIcon {
|
|
544
|
+
padding: 0 1rem 0 0;
|
|
545
|
+
|
|
546
|
+
.sapMSLIImgIcon.sapUiIcon {
|
|
547
|
+
font-size: 1rem;
|
|
548
|
+
height: 1rem;
|
|
549
|
+
line-height: 1rem;
|
|
550
|
+
}
|
|
551
|
+
}
|
|
552
|
+
.sapMListTbl {
|
|
553
|
+
padding-bottom: 0.5rem;
|
|
554
|
+
}
|
|
555
|
+
}
|
|
556
|
+
}
|
|
557
|
+
|
|
558
|
+
.sapFCardAdaptiveContent {
|
|
559
|
+
.sapFCardAdaptiveContentChoiceSetWrapper {
|
|
560
|
+
display: flex;
|
|
561
|
+
flex-direction: column;
|
|
562
|
+
flex-wrap: nowrap;
|
|
563
|
+
justify-content: center;
|
|
564
|
+
align-items: flex-start;
|
|
565
|
+
height: fit-content;
|
|
566
|
+
}
|
|
567
|
+
.sapFTimeInput {
|
|
568
|
+
width: 13.125rem;
|
|
569
|
+
}
|
|
570
|
+
}
|
|
571
|
+
|
|
572
|
+
.sapFCardTableContent {
|
|
573
|
+
.sapMListTbl {
|
|
574
|
+
border: none;
|
|
575
|
+
}
|
|
576
|
+
}
|
|
577
|
+
|
|
578
|
+
.sapFCard .ac-adaptiveCard {
|
|
579
|
+
outline: none;
|
|
580
|
+
}
|
|
581
|
+
|
|
582
|
+
.sapFCard.sapMBadge .sapMBadgeIndicator {
|
|
583
|
+
padding: 0 0.5rem;
|
|
584
|
+
top: -0.6125rem;
|
|
585
|
+
right: 0;
|
|
586
|
+
height: auto;
|
|
587
|
+
}
|
|
588
|
+
|
|
589
|
+
.sapFCard.sapMBadge .sapMBadgeIndicator:after {
|
|
590
|
+
background: @_sap_f_Card_Badge_Background;
|
|
591
|
+
color: @_sap_f_Card_Badge_Color;
|
|
592
|
+
border: @_sap_f_Card_Badge_Border;
|
|
593
|
+
|
|
594
|
+
}
|
|
595
|
+
|
|
596
|
+
.sapFCard.sapMBadge .sapMBadgeIndicator:before {
|
|
597
|
+
background: @_sap_f_Card_Badge_Background;
|
|
598
|
+
color: @_sap_f_Card_Badge_Color;
|
|
599
|
+
border: @_sap_f_Card_Badge_Border;
|
|
600
|
+
}
|
|
601
|
+
|
|
602
|
+
.sapFCardExperimentalCaching {
|
|
603
|
+
.sapFCardDataTimestamp {
|
|
604
|
+
min-width: 100px;
|
|
605
|
+
padding-right: 1px;
|
|
606
|
+
}
|
|
607
|
+
|
|
608
|
+
.sapFCardDataTimestamp:not(.sapFCardDataTimestampUpdating) {
|
|
609
|
+
cursor: pointer;
|
|
610
|
+
&:hover:before {
|
|
611
|
+
content: "\e010";
|
|
612
|
+
font-family: "SAP-icons";
|
|
613
|
+
margin-right: 4px;
|
|
614
|
+
font-size: 0.7rem;
|
|
615
|
+
}
|
|
616
|
+
}
|
|
617
|
+
}
|
|
618
|
+
|
|
619
|
+
.sapFCardFooter {
|
|
620
|
+
padding: 0.5rem 1rem 0.7rem;
|
|
621
|
+
}
|
|
622
|
+
|
|
623
|
+
.sapFCardContentMessageContainer {
|
|
624
|
+
position: absolute;
|
|
625
|
+
padding: 1rem;
|
|
626
|
+
z-index: 1;
|
|
627
|
+
pointer-events: none;
|
|
628
|
+
left: 0;
|
|
629
|
+
right: 0;
|
|
630
|
+
top: 0;
|
|
631
|
+
bottom: 0;
|
|
632
|
+
|
|
633
|
+
.sapFCardContentMessage {
|
|
634
|
+
pointer-events: all;
|
|
635
|
+
box-shadow: @sapUiShadow;
|
|
636
|
+
}
|
|
637
|
+
}
|
|
638
|
+
|