@openui5/sap.f 1.131.1 → 1.132.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/THIRDPARTY.txt +1 -1
- package/package.json +4 -4
- package/src/sap/f/.library +2 -2
- package/src/sap/f/Avatar.js +2 -2
- package/src/sap/f/AvatarGroup.js +2 -2
- package/src/sap/f/AvatarGroupItem.js +2 -2
- package/src/sap/f/AvatarGroupItemRenderer.js +1 -1
- package/src/sap/f/AvatarGroupRenderer.js +1 -1
- package/src/sap/f/CalendarAppointmentInCard.js +2 -2
- package/src/sap/f/CalendarInCard.js +2 -2
- package/src/sap/f/CalendarInCardRenderer.js +1 -1
- package/src/sap/f/Card.js +2 -2
- package/src/sap/f/CardBase.js +21 -3
- package/src/sap/f/CardRenderer.js +2 -2
- package/src/sap/f/DynamicPage.js +3 -2
- package/src/sap/f/DynamicPageAccessibleLandmarkInfo.js +2 -2
- package/src/sap/f/DynamicPageHeader.js +2 -2
- package/src/sap/f/DynamicPageHeaderRenderer.js +1 -1
- package/src/sap/f/DynamicPageRenderer.js +1 -1
- package/src/sap/f/DynamicPageTitle.js +2 -2
- package/src/sap/f/DynamicPageTitleRenderer.js +1 -1
- package/src/sap/f/FlexibleColumnLayout.js +2 -2
- package/src/sap/f/FlexibleColumnLayoutAccessibleLandmarkInfo.js +2 -2
- package/src/sap/f/FlexibleColumnLayoutData.js +2 -2
- package/src/sap/f/FlexibleColumnLayoutDataForDesktop.js +2 -2
- package/src/sap/f/FlexibleColumnLayoutDataForTablet.js +2 -2
- package/src/sap/f/FlexibleColumnLayoutRenderer.js +1 -1
- package/src/sap/f/FlexibleColumnLayoutSemanticHelper.js +2 -2
- package/src/sap/f/GridContainer.js +2 -2
- package/src/sap/f/GridContainerItemLayoutData.js +2 -2
- package/src/sap/f/GridContainerRenderer.js +1 -1
- package/src/sap/f/GridContainerSettings.js +3 -3
- package/src/sap/f/GridContainerUtils.js +1 -1
- package/src/sap/f/GridList.js +2 -2
- package/src/sap/f/GridListItem.js +2 -2
- package/src/sap/f/GridListItemRenderer.js +1 -1
- package/src/sap/f/GridListRenderer.js +1 -1
- package/src/sap/f/GridNavigationMatrix.js +1 -1
- package/src/sap/f/IllustratedMessage.js +2 -2
- package/src/sap/f/Illustration.js +2 -2
- package/src/sap/f/IllustrationPool.js +1 -1
- package/src/sap/f/PlanningCalendarInCardLegend.js +2 -2
- package/src/sap/f/PlanningCalendarInCardLegendRenderer.js +1 -1
- package/src/sap/f/ProductSwitch.js +2 -2
- package/src/sap/f/ProductSwitchItem.js +2 -2
- package/src/sap/f/ProductSwitchItemRenderer.js +1 -1
- package/src/sap/f/ProductSwitchRenderer.js +1 -1
- package/src/sap/f/SearchManager.js +2 -2
- package/src/sap/f/ShellBar.js +2 -2
- package/src/sap/f/ShellBarRenderer.js +1 -1
- package/src/sap/f/SidePanel.js +2 -2
- package/src/sap/f/SidePanelItem.js +2 -2
- package/src/sap/f/SidePanelRenderer.js +1 -1
- package/src/sap/f/cards/BaseHeader.js +63 -10
- package/src/sap/f/cards/BaseHeaderRenderer.js +1 -1
- package/src/sap/f/cards/CardBadgeCustomData.js +1 -1
- package/src/sap/f/cards/Header.js +9 -9
- package/src/sap/f/cards/HeaderRenderer.js +1 -1
- package/src/sap/f/cards/NumericHeader.js +10 -9
- package/src/sap/f/cards/NumericHeaderRenderer.js +1 -1
- package/src/sap/f/cards/NumericIndicators.js +2 -2
- package/src/sap/f/cards/NumericIndicatorsRenderer.js +1 -1
- package/src/sap/f/cards/NumericSideIndicator.js +2 -2
- package/src/sap/f/cards/NumericSideIndicatorRenderer.js +1 -1
- package/src/sap/f/cards/loading/AnalyticalPlaceholder.js +2 -2
- package/src/sap/f/cards/loading/AnalyticalPlaceholderRenderer.js +1 -1
- package/src/sap/f/cards/loading/CalendarPlaceholder.js +2 -2
- package/src/sap/f/cards/loading/CalendarPlaceholderRenderer.js +1 -1
- package/src/sap/f/cards/loading/GenericPlaceholder.js +2 -2
- package/src/sap/f/cards/loading/GenericPlaceholderRenderer.js +1 -1
- package/src/sap/f/cards/loading/ListPlaceholder.js +2 -2
- package/src/sap/f/cards/loading/ListPlaceholderRenderer.js +1 -1
- package/src/sap/f/cards/loading/ObjectPlaceholder.js +2 -2
- package/src/sap/f/cards/loading/ObjectPlaceholderRenderer.js +1 -1
- package/src/sap/f/cards/loading/PlaceholderBase.js +2 -2
- package/src/sap/f/cards/loading/PlaceholderBaseRenderer.js +1 -1
- package/src/sap/f/cards/loading/TablePlaceholder.js +2 -2
- package/src/sap/f/cards/loading/TablePlaceholderRenderer.js +1 -1
- package/src/sap/f/cards/loading/TimelinePlaceholder.js +2 -2
- package/src/sap/f/cards/loading/TimelinePlaceholderRenderer.js +1 -1
- package/src/sap/f/cards/util/CardBadgeEnabler.js +1 -1
- package/src/sap/f/cards/util/addTooltipIfTruncated.js +1 -1
- package/src/sap/f/changeHandler/MoveDynamicPageTitleActions.js +2 -2
- package/src/sap/f/delegate/GridContainerItemNavigation.js +2 -2
- package/src/sap/f/delegate/GridItemNavigation.js +2 -2
- package/src/sap/f/designtime/Avatar.designtime.js +1 -1
- package/src/sap/f/designtime/DynamicPage.designtime.js +1 -1
- package/src/sap/f/designtime/DynamicPageHeader.designtime.js +1 -1
- package/src/sap/f/designtime/DynamicPageTitle.designtime.js +1 -1
- package/src/sap/f/designtime/GridContainer.designtime.js +1 -1
- package/src/sap/f/designtime/SemanticPage.designtime.js +1 -1
- package/src/sap/f/designtime/library.designtime.js +1 -1
- package/src/sap/f/designtime/messagebundle_en_US_saptrc.properties +6 -6
- package/src/sap/f/dnd/GridDragOver.js +2 -2
- package/src/sap/f/dnd/GridDropInfo.js +2 -2
- package/src/sap/f/dnd/GridKeyboardDragAndDrop.js +1 -1
- package/src/sap/f/flexibility/Avatar.flexibility.js +1 -1
- package/src/sap/f/flexibility/DynamicPageTitle.flexibility.js +3 -9
- package/src/sap/f/library.js +3 -3
- package/src/sap/f/library.support.js +1 -1
- package/src/sap/f/messagebundle_en_US_saptrc.properties +83 -81
- package/src/sap/f/routing/Router.js +1 -1
- package/src/sap/f/routing/Target.js +1 -1
- package/src/sap/f/routing/TargetHandler.js +1 -1
- package/src/sap/f/routing/Targets.js +1 -1
- package/src/sap/f/routing/async/Target.js +1 -1
- package/src/sap/f/routing/async/Targets.js +1 -1
- package/src/sap/f/rules/Avatar.support.js +1 -1
- package/src/sap/f/rules/DynamicPage.support.js +1 -1
- package/src/sap/f/semantic/AddAction.js +2 -2
- package/src/sap/f/semantic/CloseAction.js +2 -2
- package/src/sap/f/semantic/CopyAction.js +2 -2
- package/src/sap/f/semantic/DeleteAction.js +2 -2
- package/src/sap/f/semantic/DiscussInJamAction.js +2 -2
- package/src/sap/f/semantic/EditAction.js +2 -2
- package/src/sap/f/semantic/ExitFullScreenAction.js +2 -2
- package/src/sap/f/semantic/FavoriteAction.js +2 -2
- package/src/sap/f/semantic/FlagAction.js +2 -2
- package/src/sap/f/semantic/FooterMainAction.js +2 -2
- package/src/sap/f/semantic/FullScreenAction.js +2 -2
- package/src/sap/f/semantic/MainAction.js +2 -2
- package/src/sap/f/semantic/MessagesIndicator.js +2 -2
- package/src/sap/f/semantic/NegativeAction.js +2 -2
- package/src/sap/f/semantic/PositiveAction.js +2 -2
- package/src/sap/f/semantic/PrintAction.js +2 -2
- package/src/sap/f/semantic/SemanticButton.js +2 -2
- package/src/sap/f/semantic/SemanticConfiguration.js +2 -2
- package/src/sap/f/semantic/SemanticContainer.js +1 -1
- package/src/sap/f/semantic/SemanticControl.js +2 -2
- package/src/sap/f/semantic/SemanticFooter.js +1 -1
- package/src/sap/f/semantic/SemanticPage.js +2 -2
- package/src/sap/f/semantic/SemanticPageRenderer.js +1 -1
- package/src/sap/f/semantic/SemanticShareMenu.js +1 -1
- package/src/sap/f/semantic/SemanticTitle.js +1 -1
- package/src/sap/f/semantic/SemanticToggleButton.js +2 -2
- package/src/sap/f/semantic/SendEmailAction.js +2 -2
- package/src/sap/f/semantic/SendMessageAction.js +2 -2
- package/src/sap/f/semantic/ShareInJamAction.js +2 -2
- package/src/sap/f/semantic/TitleMainAction.js +2 -2
- package/src/sap/f/shellBar/Accessibility.js +1 -1
- package/src/sap/f/shellBar/AdditionalContentSupport.js +2 -2
- package/src/sap/f/shellBar/CoPilot.js +2 -2
- package/src/sap/f/shellBar/CoPilotRenderer.js +1 -1
- package/src/sap/f/shellBar/ControlSpacer.js +2 -2
- package/src/sap/f/shellBar/ControlSpacerRenderer.js +1 -1
- package/src/sap/f/shellBar/Factory.js +1 -1
- package/src/sap/f/shellBar/ResponsiveHandler.js +1 -1
- package/src/sap/f/shellBar/Search.js +2 -2
- package/src/sap/f/shellBar/SearchRenderer.js +1 -1
- package/src/sap/f/themes/base/Card.less +17 -313
- package/src/sap/f/themes/base/CardHeaders.less +358 -0
- package/src/sap/f/themes/base/library.source.less +2 -1
- package/src/sap/f/themes/sap_hcb/base_Card.less +15 -15
- package/src/sap/f/themes/sap_hcb/library.source.less +1 -1
|
@@ -0,0 +1,358 @@
|
|
|
1
|
+
/* ======================================== */
|
|
2
|
+
/* CSS for control sap.f.cards/BaseHeader */
|
|
3
|
+
/* Base theme */
|
|
4
|
+
/* ======================================== */
|
|
5
|
+
|
|
6
|
+
@_sap_f_CardHeaders_Padding: 1rem;
|
|
7
|
+
@_sap_f_CardHeaders_TitleFontSize: @sapMFontHeader5Size;
|
|
8
|
+
@_sap_f_CardHeaders_HeaderFocusBorderLeftOffset: 1px;
|
|
9
|
+
@_sap_f_CardHeaders_HeaderFocusBorderBottomOffset: 2px;
|
|
10
|
+
@_sap_f_CardHeaders_HeaderFocusBorderRightOffset: 1px;
|
|
11
|
+
@_sap_f_CardHeaders_HeaderFocusBorderTopOffset: 1px;
|
|
12
|
+
@_sap_f_CardHeaders_HeaderFocusBorderRadius: none;
|
|
13
|
+
|
|
14
|
+
.sapFCardHeader {
|
|
15
|
+
position: relative;
|
|
16
|
+
flex-shrink: 0;
|
|
17
|
+
justify-content: space-between;
|
|
18
|
+
background: @sapUiTileBackground;
|
|
19
|
+
padding: @_sap_f_CardHeaders_Padding;
|
|
20
|
+
display: flex;
|
|
21
|
+
|
|
22
|
+
.sapFCardHeaderWrapper {
|
|
23
|
+
outline: none;
|
|
24
|
+
display: flex;
|
|
25
|
+
min-width: 0;
|
|
26
|
+
flex: 1;
|
|
27
|
+
height: fit-content;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.sapFCardHeaderImage {
|
|
31
|
+
position: relative;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.sapFCardIcon.sapFAvatar {
|
|
35
|
+
flex-shrink: 0;
|
|
36
|
+
display: flex;
|
|
37
|
+
align-items: center;
|
|
38
|
+
justify-content: center;
|
|
39
|
+
|
|
40
|
+
&.sapFAvatarColorTransparent {
|
|
41
|
+
.sapUiIcon {
|
|
42
|
+
color: @sapUiTileIconColor;
|
|
43
|
+
font-size: 2rem;
|
|
44
|
+
align-self: center;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.sapFCardHeaderText {
|
|
50
|
+
flex: 1 1 auto;
|
|
51
|
+
display: flex;
|
|
52
|
+
flex-direction: column;
|
|
53
|
+
justify-content: center;
|
|
54
|
+
//fixes bug with flex
|
|
55
|
+
min-width: 0;
|
|
56
|
+
width: 100%;
|
|
57
|
+
|
|
58
|
+
.sapFCardTitle {
|
|
59
|
+
min-width: 0;
|
|
60
|
+
display: block;
|
|
61
|
+
font-family: @sapUiFontHeaderFamily;
|
|
62
|
+
font-size: @_sap_f_CardHeaders_TitleFontSize;
|
|
63
|
+
font-weight: @sapUiFontHeaderWeight;
|
|
64
|
+
color: @sapUiTileTitleTextColor;
|
|
65
|
+
min-height: 1rem;
|
|
66
|
+
position: relative;
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.sapFCardSubtitle {
|
|
71
|
+
position: relative;
|
|
72
|
+
font-family: @sapUiFontFamily;
|
|
73
|
+
font-size: @sapMFontMediumSize;
|
|
74
|
+
font-weight: normal;
|
|
75
|
+
color: @sapUiTileTextColor;
|
|
76
|
+
min-height: 1rem;
|
|
77
|
+
flex-grow: 1;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.sapFCardStatus {
|
|
81
|
+
position: relative;
|
|
82
|
+
font-family: @sapUiFontFamily;
|
|
83
|
+
font-size: @sapMFontSmallSize;
|
|
84
|
+
color: @sapUiTileTextColor;
|
|
85
|
+
text-align: right;
|
|
86
|
+
line-height: normal;
|
|
87
|
+
margin-left: 1rem;
|
|
88
|
+
margin-top: 0.188rem;
|
|
89
|
+
display: inline-block;
|
|
90
|
+
white-space: nowrap;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
.sapFCardHeaderTextFirstLine {
|
|
94
|
+
display: flex;
|
|
95
|
+
justify-content: space-between;
|
|
96
|
+
width: 100%;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
.sapFCardHeaderTextSecondLine {
|
|
100
|
+
margin-top: 0.25rem;
|
|
101
|
+
display: flex;
|
|
102
|
+
justify-content: space-between;
|
|
103
|
+
align-items: flex-end;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
.sapFCardDataTimestamp {
|
|
107
|
+
color: @sapUiTileTextColor;
|
|
108
|
+
font-size: @sapMFontSmallSize;
|
|
109
|
+
margin-left: auto;
|
|
110
|
+
flex-shrink: 0;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
.sapFCardHeaderLineIncludesDataTimestamp .sapFCardSubtitle {
|
|
114
|
+
margin-right: 1rem;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
.sapFCardHeaderToolbarCont {
|
|
118
|
+
position: absolute;
|
|
119
|
+
right: 0.65rem;
|
|
120
|
+
top: 0.45rem;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
&.sapFCardHeaderHasToolbar {
|
|
124
|
+
min-height: 2rem;
|
|
125
|
+
|
|
126
|
+
.sapFCardHeaderText {
|
|
127
|
+
margin-inline-end: 2rem;
|
|
128
|
+
width: unset;
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
.sapFCardHeaderBanner {
|
|
133
|
+
display: none;
|
|
134
|
+
justify-content: flex-end;
|
|
135
|
+
margin: 0.25rem -(@_sap_f_CardHeaders_Padding) 0;
|
|
136
|
+
|
|
137
|
+
.sapFCardHeaderBannerInner {
|
|
138
|
+
padding-inline-start: 0.25rem;
|
|
139
|
+
padding-inline-end: @_sap_f_CardHeaders_Padding;
|
|
140
|
+
background-color: @sapUiInfobarNonInteractiveBackground;
|
|
141
|
+
border-radius: 0.125rem 0 0 0.125rem;
|
|
142
|
+
min-width: 0;
|
|
143
|
+
|
|
144
|
+
.sapFCardHeaderBannerLine {
|
|
145
|
+
display: flex;
|
|
146
|
+
justify-content: flex-end;
|
|
147
|
+
padding: 0.125rem 0;
|
|
148
|
+
|
|
149
|
+
.sapMText {
|
|
150
|
+
font-size: @sapMFontSmallSize;
|
|
151
|
+
color: @sapUiTileTitleTextColor;
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
.sapMText.sapFCardHeaderBannerLineDiminished {
|
|
155
|
+
color: @sapUiTileTextColor;
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
&.sapFCardSectionClickable {
|
|
162
|
+
cursor: pointer !important;
|
|
163
|
+
|
|
164
|
+
.sapMText {
|
|
165
|
+
cursor: pointer;
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
&:hover {
|
|
169
|
+
background: @sapUiTileHoverBackground;
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
&:active {
|
|
173
|
+
background: @sapUiTileActiveBackground;
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
.sapUiIntCardTileFlat,
|
|
179
|
+
.sapUiIntCardTileFlatWide,
|
|
180
|
+
.sapUiIntCardTileStandardWide,
|
|
181
|
+
.sapUiIntCardTileStandard {
|
|
182
|
+
/* the banner feature is not yet available for standard card variant so we set it only for tiles variants*/
|
|
183
|
+
.sapFCardHeader .sapFCardHeaderBanner {
|
|
184
|
+
display: flex;
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
.sapFCardHeader.sapFCardNumericHeader {
|
|
189
|
+
|
|
190
|
+
.sapFCardHeaderContent {
|
|
191
|
+
outline: none;
|
|
192
|
+
min-width: 0; // fixes Chrome issue
|
|
193
|
+
flex: 1;
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
.sapFCardStatus {
|
|
197
|
+
min-width: fit-content;
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
.sapFCardSubtitle {
|
|
201
|
+
margin: 0.25rem 0 0 0;
|
|
202
|
+
display: flex;
|
|
203
|
+
align-items: flex-end;
|
|
204
|
+
|
|
205
|
+
.sapFCardHeaderUnitOfMeasurement {
|
|
206
|
+
flex-shrink: 0;
|
|
207
|
+
max-height: 1rem;
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
&.sapFCardSubtitleAndUnit .sapFCardHeaderUnitOfMeasurement {
|
|
211
|
+
margin-left: 0.25rem;
|
|
212
|
+
padding-left: 0.25rem;
|
|
213
|
+
border-left: 1px solid @sapUiTileTextColor;
|
|
214
|
+
}
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
.sapFCardHeaderText .sapFCardSubtitle .sapMText {
|
|
218
|
+
color: @sapUiTileTextColor;
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
.sapFCardAvatarAndIndicatorsLine {
|
|
222
|
+
display: flex;
|
|
223
|
+
align-items: center;
|
|
224
|
+
overflow: hidden;
|
|
225
|
+
|
|
226
|
+
.sapFCardIcon.sapFAvatar {
|
|
227
|
+
margin-top: 0.5rem;
|
|
228
|
+
margin-right: 0.5rem;
|
|
229
|
+
|
|
230
|
+
&.sapFAvatarImage {
|
|
231
|
+
margin-right: 0.5rem;
|
|
232
|
+
}
|
|
233
|
+
}
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
.sapFCardNumericIndicators {
|
|
237
|
+
margin-top: 0.25rem;
|
|
238
|
+
flex: 1;
|
|
239
|
+
min-width: 0; // allows items to shrink and truncate the content inside
|
|
240
|
+
|
|
241
|
+
.sapFCardHeaderSideIndicator .sapFCardHeaderSITitle,
|
|
242
|
+
.sapFCardHeaderSINumber,
|
|
243
|
+
.sapFCardHeaderSINumber .sapMText {
|
|
244
|
+
font-size: @sapMFontSmallSize;
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
.sapFCardNumericIndicatorsSide {
|
|
248
|
+
padding: 0.5rem 0;
|
|
249
|
+
}
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
.sapFCardHeaderDetailsWrapper {
|
|
253
|
+
margin-top: 0.25rem;
|
|
254
|
+
display: flex;
|
|
255
|
+
justify-content: space-between;
|
|
256
|
+
align-items: flex-end;
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
.sapFCardHeaderDetails {
|
|
260
|
+
font-size: @sapMFontSmallSize;
|
|
261
|
+
color: @sapUiTileTextColor;
|
|
262
|
+
position: relative;
|
|
263
|
+
flex-grow: 1;
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
.sapFCardNumericHeaderDetailsState {
|
|
267
|
+
&None {
|
|
268
|
+
color: @sapUiNeutralText;
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
&Success {
|
|
272
|
+
color: @sapUiPositiveText;
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
&Warning {
|
|
276
|
+
color: @sapUiCriticalText;
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
&Error {
|
|
280
|
+
color: @sapUiNegativeText;
|
|
281
|
+
}
|
|
282
|
+
|
|
283
|
+
&Information {
|
|
284
|
+
color: @sapUiInformativeText;
|
|
285
|
+
}
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
.sapFCardHeaderLineIncludesDataTimestamp .sapFCardHeaderDetails {
|
|
289
|
+
margin-right: 1rem;
|
|
290
|
+
}
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
.sapFCardHeaderSideIndicator {
|
|
294
|
+
display: flex;
|
|
295
|
+
flex-direction: column;
|
|
296
|
+
align-items: flex-end;
|
|
297
|
+
min-width: 0; // allows items to shrink and truncate the content inside
|
|
298
|
+
.sapFCardHeaderSITitle {
|
|
299
|
+
color: @sapUiTileTextColor;
|
|
300
|
+
padding-bottom: 0.25rem;
|
|
301
|
+
position: relative;
|
|
302
|
+
}
|
|
303
|
+
.sapFCardHeaderSINumber,
|
|
304
|
+
.sapFCardHeaderSINumber .sapMText {
|
|
305
|
+
color: @sapUiTileTitleTextColor;
|
|
306
|
+
position: relative;
|
|
307
|
+
}
|
|
308
|
+
}
|
|
309
|
+
|
|
310
|
+
// Value colors for the Side Indicators in the Numeric header
|
|
311
|
+
.sapFCardHeaderSideIndicatorStateCritical .sapFCardHeaderSINumber .sapMText {
|
|
312
|
+
color: @sapUiCriticalText;
|
|
313
|
+
}
|
|
314
|
+
|
|
315
|
+
.sapFCardHeaderSideIndicatorStateError .sapFCardHeaderSINumber .sapMText {
|
|
316
|
+
color: @sapUiNegativeText;
|
|
317
|
+
}
|
|
318
|
+
|
|
319
|
+
.sapFCardHeaderSideIndicatorStateGood .sapFCardHeaderSINumber .sapMText {
|
|
320
|
+
color: @sapUiPositiveText;
|
|
321
|
+
}
|
|
322
|
+
|
|
323
|
+
.sapFCardHeaderSideIndicatorStateNeutral .sapFCardHeaderSINumber .sapMText {
|
|
324
|
+
color: @sapUiNeutralText;
|
|
325
|
+
}
|
|
326
|
+
|
|
327
|
+
.sapUiSizeCompact {
|
|
328
|
+
.sapFCardHeaderHasToolbar {
|
|
329
|
+
min-height: 1rem;
|
|
330
|
+
}
|
|
331
|
+
}
|
|
332
|
+
|
|
333
|
+
.sapFCardHeader:not(.sapFCardHeaderToolbarFocused):focus-within::before,
|
|
334
|
+
.sapFGridContainer .sapFGridContainerItemWrapperNoVisualFocus:focus > .sapFCard > .sapFCardHeader:not(.sapFCardHeaderToolbarFocused)::before { // focus inside Grid Container
|
|
335
|
+
content: '';
|
|
336
|
+
display: block;
|
|
337
|
+
position: absolute;
|
|
338
|
+
left: @_sap_f_CardHeaders_HeaderFocusBorderLeftOffset;
|
|
339
|
+
bottom: @_sap_f_CardHeaders_HeaderFocusBorderBottomOffset;
|
|
340
|
+
right: @_sap_f_CardHeaders_HeaderFocusBorderRightOffset;
|
|
341
|
+
top: @_sap_f_CardHeaders_HeaderFocusBorderTopOffset;
|
|
342
|
+
border: @sapUiContentFocusWidth @sapUiContentFocusStyle @sapUiContentFocusColor;
|
|
343
|
+
border-radius: @_sap_f_CardHeaders_HeaderFocusBorderRadius;
|
|
344
|
+
pointer-events: none;
|
|
345
|
+
}
|
|
346
|
+
|
|
347
|
+
.sapFCardHeader:not(.sapFCardHeaderToolbarFocused):focus-within::before {
|
|
348
|
+
bottom: 1px;
|
|
349
|
+
z-index: 1;
|
|
350
|
+
}
|
|
351
|
+
|
|
352
|
+
.sapFCardHeader .sapFCardIcon.sapFAvatar {
|
|
353
|
+
margin-right: 0.75rem;
|
|
354
|
+
|
|
355
|
+
&:not(.sapFAvatarImage):not(.sapFAvatarInitials) {
|
|
356
|
+
border: none;
|
|
357
|
+
}
|
|
358
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
@import "AvatarGroup.less";
|
|
11
11
|
@import "CalendarPlaceholder.less";
|
|
12
12
|
@import "Card.less";
|
|
13
|
+
@import "CardHeaders.less";
|
|
13
14
|
@import "CardBadge.less";
|
|
14
15
|
@import "CardLoading.less";
|
|
15
16
|
@import "CardNumericIndicators.less";
|
|
@@ -5,13 +5,13 @@
|
|
|
5
5
|
|
|
6
6
|
@_sap_f_Card_BoxShadow: @sapUiContentShadow0;
|
|
7
7
|
@_sap_f_Card_HeaderBorder: 0.0625rem solid @sapUiTileSeparatorColor; // used as top or bottom border
|
|
8
|
-
@
|
|
8
|
+
@_sap_f_Card_FocusBorderRadius: none;
|
|
9
9
|
@_sap_f_Card_BorderRadius: @sapUiElementBorderCornerRadius;
|
|
10
10
|
@_sap_f_Card_ContentPadding: 1rem;
|
|
11
|
-
@
|
|
12
|
-
@
|
|
13
|
-
@
|
|
14
|
-
@
|
|
11
|
+
@_sap_f_Card_FocusBorderBottomOffset: 1px;
|
|
12
|
+
@_sap_f_Card_FocusBorderTopOffset: 1px;
|
|
13
|
+
@_sap_f_Card_FocusBorderLeftOffset: 1px;
|
|
14
|
+
@_sap_f_Card_FocusBorderRightOffset: 1px;
|
|
15
15
|
@_sap_f_Card_Badge_Background: @sapUiBrand;
|
|
16
16
|
@_sap_f_Card_Badge_Color: @sapUiContentContrastTextColor;
|
|
17
17
|
@_sap_f_Card_Badge_Border: 0.0625rem solid @sapUiButtonLiteBorderColor;
|
|
@@ -499,12 +499,12 @@ html[data-sap-ui-browser^="cr"] .sapFCard {
|
|
|
499
499
|
content: '';
|
|
500
500
|
display: block;
|
|
501
501
|
position: absolute;
|
|
502
|
-
left: @
|
|
503
|
-
bottom: @
|
|
504
|
-
right: @
|
|
505
|
-
top: @
|
|
502
|
+
left: @_sap_f_Card_FocusBorderLeftOffset;
|
|
503
|
+
bottom: @_sap_f_Card_FocusBorderBottomOffset;
|
|
504
|
+
right: @_sap_f_Card_FocusBorderRightOffset;
|
|
505
|
+
top: @_sap_f_Card_FocusBorderTopOffset;
|
|
506
506
|
border: @sapUiContentFocusWidth @sapUiContentFocusStyle @sapUiContentFocusColor;
|
|
507
|
-
border-radius: @
|
|
507
|
+
border-radius: @_sap_f_Card_FocusBorderRadius;
|
|
508
508
|
pointer-events: none;
|
|
509
509
|
}
|
|
510
510
|
|
|
@@ -515,12 +515,12 @@ ui-integration-card.sapFCardFocusFullCard > [data-sap-ui-area] > .sapFCard {
|
|
|
515
515
|
content: '';
|
|
516
516
|
display: block;
|
|
517
517
|
position: absolute;
|
|
518
|
-
left: @
|
|
519
|
-
bottom: @
|
|
520
|
-
right: @
|
|
521
|
-
top: @
|
|
518
|
+
left: @_sap_f_Card_FocusBorderLeftOffset;
|
|
519
|
+
bottom: @_sap_f_Card_FocusBorderBottomOffset;
|
|
520
|
+
right: @_sap_f_Card_FocusBorderRightOffset;
|
|
521
|
+
top: @_sap_f_Card_FocusBorderTopOffset;
|
|
522
522
|
border: @sapUiContentFocusWidth @sapUiContentFocusStyle @sapUiContentFocusColor;
|
|
523
|
-
border-radius: @
|
|
523
|
+
border-radius: @_sap_f_Card_FocusBorderRadius;
|
|
524
524
|
pointer-events: none;
|
|
525
525
|
z-index: 1;
|
|
526
526
|
}
|