@openui5/sap.f 1.120.7 → 1.121.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 +23 -21
- package/THIRDPARTY.txt +6 -43
- package/package.json +4 -4
- package/src/sap/f/.library +1 -1
- package/src/sap/f/Avatar.js +5 -4
- package/src/sap/f/AvatarGroup.js +4 -4
- package/src/sap/f/AvatarGroupItem.js +1 -1
- package/src/sap/f/CalendarAppointmentInCard.js +1 -1
- package/src/sap/f/CalendarInCard.js +7 -5
- package/src/sap/f/CalendarInCardRenderer.js +6 -11
- package/src/sap/f/Card.js +1 -1
- package/src/sap/f/CardBase.js +6 -6
- package/src/sap/f/DynamicPage.js +35 -15
- package/src/sap/f/DynamicPageAccessibleLandmarkInfo.js +1 -1
- package/src/sap/f/DynamicPageHeader.js +30 -16
- package/src/sap/f/DynamicPageTitle.js +10 -8
- package/src/sap/f/FlexibleColumnLayout.js +220 -90
- package/src/sap/f/FlexibleColumnLayoutAccessibleLandmarkInfo.js +1 -1
- package/src/sap/f/FlexibleColumnLayoutRenderer.js +7 -3
- package/src/sap/f/FlexibleColumnLayoutSemanticHelper.js +1 -1
- package/src/sap/f/GridContainer.js +45 -46
- package/src/sap/f/GridContainerItemLayoutData.js +1 -1
- package/src/sap/f/GridContainerRenderer.js +19 -11
- package/src/sap/f/GridContainerSettings.js +2 -2
- package/src/sap/f/GridList.js +15 -4
- package/src/sap/f/GridListItem.js +1 -1
- package/src/sap/f/GridNavigationMatrix.js +3 -3
- package/src/sap/f/IllustratedMessage.js +1 -1
- package/src/sap/f/Illustration.js +1 -1
- package/src/sap/f/PlanningCalendarInCardLegend.js +4 -5
- package/src/sap/f/PlanningCalendarInCardLegendRenderer.js +4 -4
- package/src/sap/f/ProductSwitch.js +7 -7
- package/src/sap/f/ProductSwitchItem.js +1 -1
- package/src/sap/f/ProductSwitchRenderer.js +3 -3
- package/src/sap/f/SearchManager.js +4 -4
- package/src/sap/f/ShellBar.js +71 -10
- package/src/sap/f/ShellBarRenderer.js +3 -3
- package/src/sap/f/SidePanel.js +22 -11
- package/src/sap/f/SidePanelItem.js +1 -1
- package/src/sap/f/cards/BaseHeader.js +21 -9
- package/src/sap/f/cards/Header.js +1 -1
- package/src/sap/f/cards/NumericHeader.js +1 -1
- 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 +1 -1
- package/src/sap/f/cards/loading/PlaceholderBaseRenderer.js +2 -2
- 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 +1 -1
- package/src/sap/f/delegate/GridItemNavigation.js +1 -1
- package/src/sap/f/designtime/messagebundle_en_US_saprigi.properties +4 -4
- package/src/sap/f/dnd/GridDragOver.js +5 -5
- package/src/sap/f/dnd/GridDropInfo.js +1 -1
- package/src/sap/f/library.js +23 -19
- package/src/sap/f/messagebundle.properties +4 -1
- package/src/sap/f/messagebundle_ar.properties +2 -0
- package/src/sap/f/messagebundle_bg.properties +2 -0
- package/src/sap/f/messagebundle_ca.properties +2 -0
- package/src/sap/f/messagebundle_cnr.properties +2 -0
- package/src/sap/f/messagebundle_cs.properties +2 -0
- package/src/sap/f/messagebundle_cy.properties +2 -0
- package/src/sap/f/messagebundle_da.properties +2 -0
- package/src/sap/f/messagebundle_de.properties +2 -0
- package/src/sap/f/messagebundle_el.properties +2 -0
- package/src/sap/f/messagebundle_en.properties +86 -1
- package/src/sap/f/messagebundle_en_GB.properties +2 -0
- package/src/sap/f/messagebundle_en_US_saprigi.properties +82 -80
- package/src/sap/f/messagebundle_es.properties +2 -0
- package/src/sap/f/messagebundle_es_MX.properties +2 -0
- package/src/sap/f/messagebundle_et.properties +2 -0
- package/src/sap/f/messagebundle_fi.properties +2 -0
- package/src/sap/f/messagebundle_fr.properties +2 -0
- package/src/sap/f/messagebundle_fr_CA.properties +2 -0
- package/src/sap/f/messagebundle_hi.properties +2 -0
- package/src/sap/f/messagebundle_hr.properties +2 -0
- package/src/sap/f/messagebundle_hu.properties +2 -0
- package/src/sap/f/messagebundle_id.properties +2 -0
- package/src/sap/f/messagebundle_it.properties +2 -0
- package/src/sap/f/messagebundle_iw.properties +2 -0
- package/src/sap/f/messagebundle_ja.properties +2 -0
- package/src/sap/f/messagebundle_kk.properties +2 -0
- package/src/sap/f/messagebundle_ko.properties +2 -0
- package/src/sap/f/messagebundle_lt.properties +2 -0
- package/src/sap/f/messagebundle_lv.properties +2 -0
- package/src/sap/f/messagebundle_mk.properties +2 -0
- package/src/sap/f/messagebundle_ms.properties +2 -0
- package/src/sap/f/messagebundle_nl.properties +2 -0
- package/src/sap/f/messagebundle_no.properties +2 -0
- package/src/sap/f/messagebundle_pl.properties +2 -0
- package/src/sap/f/messagebundle_pt.properties +2 -0
- package/src/sap/f/messagebundle_pt_PT.properties +2 -0
- package/src/sap/f/messagebundle_ro.properties +2 -0
- package/src/sap/f/messagebundle_ru.properties +2 -0
- package/src/sap/f/messagebundle_sh.properties +2 -0
- package/src/sap/f/messagebundle_sk.properties +2 -0
- package/src/sap/f/messagebundle_sl.properties +2 -0
- package/src/sap/f/messagebundle_sr.properties +2 -0
- package/src/sap/f/messagebundle_sv.properties +2 -0
- package/src/sap/f/messagebundle_th.properties +2 -0
- package/src/sap/f/messagebundle_tr.properties +2 -0
- package/src/sap/f/messagebundle_uk.properties +3 -1
- package/src/sap/f/messagebundle_vi.properties +2 -0
- package/src/sap/f/messagebundle_zh_CN.properties +2 -0
- package/src/sap/f/messagebundle_zh_TW.properties +2 -0
- 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 +7 -8
- package/src/sap/f/semantic/SemanticControl.js +1 -1
- package/src/sap/f/semantic/SemanticFooter.js +2 -2
- package/src/sap/f/semantic/SemanticPage.js +19 -17
- package/src/sap/f/semantic/SemanticShareMenu.js +5 -2
- 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/Accessibility.js +5 -5
- package/src/sap/f/shellBar/AdditionalContentSupport.js +1 -1
- package/src/sap/f/shellBar/CoPilot.js +8 -7
- package/src/sap/f/shellBar/ControlSpacer.js +1 -1
- package/src/sap/f/shellBar/Factory.js +14 -8
- package/src/sap/f/shellBar/ResponsiveHandler.js +23 -6
- package/src/sap/f/shellBar/Search.js +20 -4
- package/src/sap/f/themes/base/Card.less +2 -2
- package/src/sap/f/themes/base/CardLoading.less +94 -5
- package/src/sap/f/themes/base/DynamicPage.less +1 -1
- package/src/sap/f/themes/base/DynamicPageHeader.less +1 -1
- package/src/sap/f/themes/base/DynamicPageTitle.less +1 -1
- package/src/sap/f/themes/base/GridContainer.less +6 -4
- package/src/sap/f/themes/base/ShellBar.less +32 -13
- package/LICENSES/BSD-2-Clause.txt +0 -22
|
@@ -61,7 +61,7 @@ sap.ui.define([
|
|
|
61
61
|
*/
|
|
62
62
|
ResponsiveHandler.prototype.onAfterRendering = function () {
|
|
63
63
|
|
|
64
|
-
var bPhoneRange = Device.media.getCurrentRange(
|
|
64
|
+
var bPhoneRange = Device.media.getCurrentRange(this._oControl._sRangeSet, this._oControl.$().outerWidth(true)).name === "Phone";
|
|
65
65
|
this._oButton = this._oControl._oMegaMenu && this._oControl._oMegaMenu.getAggregation("_button");
|
|
66
66
|
this._oDomRef = this._oControl.getDomRef(); // Cache DOM Reference
|
|
67
67
|
this.bIsMegaMenuConfigured = this._oControl._oTitleControl &&
|
|
@@ -103,14 +103,19 @@ sap.ui.define([
|
|
|
103
103
|
|
|
104
104
|
var $Control = this._oControl.$(),
|
|
105
105
|
iWidth = $Control.outerWidth(),
|
|
106
|
-
oCurrentRange = Device.media.getCurrentRange(
|
|
106
|
+
oCurrentRange = Device.media.getCurrentRange(this._oControl._sRangeSet, iWidth),
|
|
107
107
|
bPhoneRange;
|
|
108
108
|
|
|
109
|
-
this.sCurrentRange
|
|
109
|
+
if (this.sCurrentRange !== oCurrentRange.name) {
|
|
110
|
+
this._oControl._bOTBUpdateNeeded = true;
|
|
111
|
+
this.sCurrentRange = oCurrentRange.name;
|
|
112
|
+
this._oControl._oManagedSearch && this._oControl._oManagedSearch._setMedia(this.sCurrentRange);
|
|
113
|
+
}
|
|
110
114
|
// Adapt control padding's outside the managed area
|
|
111
115
|
if (oCurrentRange) {
|
|
112
116
|
bPhoneRange = this.sCurrentRange === "Phone";
|
|
113
117
|
|
|
118
|
+
$Control.toggleClass("sapFShellBarSizeExtraLargeDesktop", this.sCurrentRange === "ExtraLargeDesktop");
|
|
114
119
|
$Control.toggleClass("sapFShellBarSizeLargeDesktop", this.sCurrentRange === "LargeDesktop");
|
|
115
120
|
$Control.toggleClass("sapFShellBarSizeDesktop", this.sCurrentRange === "Desktop");
|
|
116
121
|
$Control.toggleClass("sapFShellBarSizeTablet", this.sCurrentRange === "Tablet");
|
|
@@ -120,12 +125,24 @@ sap.ui.define([
|
|
|
120
125
|
/**
|
|
121
126
|
* Resize adaptation for the Search Bar UX requirements
|
|
122
127
|
*/
|
|
123
|
-
if (this._oControl._oManagedSearch && this._oControl._oManagedSearch.getIsOpen()) {
|
|
124
|
-
setTimeout(this._adaptSearch.bind(this), 100);
|
|
125
|
-
} else {
|
|
128
|
+
if (this._oControl._oManagedSearch && !this._oControl._oManagedSearch.getIsOpen()) {
|
|
126
129
|
this._oControl._bSearchPlaceHolder = false;
|
|
127
130
|
}
|
|
128
131
|
|
|
132
|
+
if (this.sCurrentRange === "ExtraLargeDesktop") {
|
|
133
|
+
this._oControl._oManagedSearch && this._oControl._oManagedSearch.setIsOpen(true);
|
|
134
|
+
setTimeout(this._adaptSearch.bind(this), 100);
|
|
135
|
+
}
|
|
136
|
+
if (this.sCurrentRange !== "ExtraLargeDesktop" && this._oControl._oManagedSearch && this._oControl._oManagedSearch.getIsOpen()) {
|
|
137
|
+
if (!this._oControl._oManagedSearch._bUserOpened) {
|
|
138
|
+
this._oControl._oManagedSearch.setIsOpen(false);
|
|
139
|
+
} else {
|
|
140
|
+
setTimeout(this._adaptSearch.bind(this), 100);
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
this._oControl._bOTBUpdateNeeded && this._oControl.invalidate();
|
|
145
|
+
|
|
129
146
|
if (this._iPreviousWidth === iWidth) {
|
|
130
147
|
return; // We have nothing to update
|
|
131
148
|
}
|
|
@@ -36,7 +36,7 @@ sap.ui.define(['sap/ui/core/Control',
|
|
|
36
36
|
* @extends sap.ui.core.Control
|
|
37
37
|
*
|
|
38
38
|
* @author SAP SE
|
|
39
|
-
* @version 1.
|
|
39
|
+
* @version 1.121.0
|
|
40
40
|
*
|
|
41
41
|
* @constructor
|
|
42
42
|
* @private
|
|
@@ -90,7 +90,11 @@ sap.ui.define(['sap/ui/core/Control',
|
|
|
90
90
|
this._layoutDataWhenClosed = new OverflowToolbarLayoutData({
|
|
91
91
|
priority: OverflowToolbarPriority.Low
|
|
92
92
|
});
|
|
93
|
+
this._layoutDataPhoneWhenClosed = new OverflowToolbarLayoutData({
|
|
94
|
+
priority: OverflowToolbarPriority.AlwaysOverflow
|
|
95
|
+
});
|
|
93
96
|
this._oAcc = new Accessibility();
|
|
97
|
+
this._bUserOpened = false;
|
|
94
98
|
};
|
|
95
99
|
|
|
96
100
|
Search.prototype.onBeforeRendering = function () {
|
|
@@ -191,8 +195,10 @@ sap.ui.define(['sap/ui/core/Control',
|
|
|
191
195
|
|
|
192
196
|
if (this.getIsOpen()) {
|
|
193
197
|
oLayoutData = this._layoutDataWhenOpen;
|
|
194
|
-
} else if (!this._bInOverflow) {
|
|
198
|
+
} else if (!this._bInOverflow && !this.getPhoneMode()) {
|
|
195
199
|
oLayoutData = this._layoutDataWhenClosed;
|
|
200
|
+
} else if (this.getPhoneMode()) {
|
|
201
|
+
oLayoutData = this._layoutDataPhoneWhenClosed;
|
|
196
202
|
}
|
|
197
203
|
|
|
198
204
|
if (!oLayoutData || this.getLayoutData() === oLayoutData) {
|
|
@@ -215,12 +221,22 @@ sap.ui.define(['sap/ui/core/Control',
|
|
|
215
221
|
query: oSearch.getValue(),
|
|
216
222
|
clearButtonPressed: false
|
|
217
223
|
});
|
|
218
|
-
} else {
|
|
219
|
-
this.toggleVisibilityOfSearchField();
|
|
220
224
|
}
|
|
225
|
+
|
|
226
|
+
if (this.sCurrentRange === "ExtraLargeDesktop") {
|
|
227
|
+
return;
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
this.toggleVisibilityOfSearchField();
|
|
231
|
+
this._bUserOpened = !this._bUserOpened;
|
|
232
|
+
};
|
|
233
|
+
|
|
234
|
+
Search.prototype._setMedia = function (sMediaRange) {
|
|
235
|
+
this.sCurrentRange = sMediaRange;
|
|
221
236
|
};
|
|
222
237
|
|
|
223
238
|
Search.prototype._onPressCancelButtonHandler = function () {
|
|
239
|
+
this._bUserOpened = false;
|
|
224
240
|
this.toggleVisibilityOfSearchField();
|
|
225
241
|
};
|
|
226
242
|
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
width: 100%;
|
|
31
31
|
height: auto;
|
|
32
32
|
font-family: @sapUiFontFamily;
|
|
33
|
-
font-size: @
|
|
33
|
+
font-size: @sapMFontMediumSize;
|
|
34
34
|
color: @sapUiGroupTitleTextColor;
|
|
35
35
|
outline: none;
|
|
36
36
|
}
|
|
@@ -215,7 +215,7 @@ ui-integration-card.sapFCardTransparent > [data-sap-ui-area] > .sapFCard {
|
|
|
215
215
|
padding: 0.125rem 0;
|
|
216
216
|
|
|
217
217
|
.sapMText {
|
|
218
|
-
font-size: @
|
|
218
|
+
font-size: @sapMFontSmallSize;
|
|
219
219
|
color: @sapUiTileTitleTextColor;
|
|
220
220
|
}
|
|
221
221
|
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
/* Base theme */
|
|
4
4
|
/* ================================== */
|
|
5
5
|
@_sap_f_Card_FocusBorderWidth: 1px;
|
|
6
|
-
@
|
|
7
|
-
@
|
|
6
|
+
@_sap_f_Card_Background_Placeholder_Color: @sapUiContentPlaceholderloadingBackground;
|
|
7
|
+
@_sap_f_Card_Placeholder_Gradient: linear-gradient(to right, @sapUiContentPlaceholderloadingBackground 0%, @sapUiContentPlaceholderloadingBackground 35%, darken(@sapUiContentPlaceholderloadingBackground, 5) 50%, @sapUiContentPlaceholderloadingBackground 65%, @sapUiContentPlaceholderloadingBackground 100%);
|
|
8
8
|
|
|
9
9
|
.sapFCard {
|
|
10
10
|
|
|
@@ -18,6 +18,63 @@
|
|
|
18
18
|
//hide the fallback icon
|
|
19
19
|
}
|
|
20
20
|
|
|
21
|
+
.sapFCardHeaderImage .sapFCardHeaderItemBinded::after {
|
|
22
|
+
max-height: 2rem;
|
|
23
|
+
max-width: 2rem;
|
|
24
|
+
margin-top: 0.5rem;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.sapFCardHeaderText .sapFCardStatus.sapFCardHeaderItemBinded {
|
|
28
|
+
margin-top: 0;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.sapFCardHeaderTextSecondLine .sapFCardHeaderItemBinded::after {
|
|
32
|
+
margin-top: 0.2rem;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.sapFCardHeaderDetailsWrapper>.sapFCardHeaderItemBinded::after {
|
|
36
|
+
max-width: 70%;
|
|
37
|
+
margin-top: 0.2rem;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.sapFCardSubtitle .sapFCardHeaderItemBinded::after {
|
|
41
|
+
margin-top: 0.3rem;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.sapFCardHeaderTextSecondLine .sapFCardHeaderItemBinded::after,
|
|
45
|
+
.sapFCardSubtitle .sapFCardHeaderItemBinded::after,
|
|
46
|
+
.sapFCardHeaderDetailsWrapper .sapFCardHeaderItemBinded::after,
|
|
47
|
+
.sapFCardNumericIndicatorsSide .sapFCardHeaderItemBinded::after,
|
|
48
|
+
.sapFCardNumericIndicatorsSide .sapFCardHeaderItemBinded.sapMText::after {
|
|
49
|
+
max-height: 0.6rem;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.sapFCardNumericIndicatorsMain .sapFCardHeaderItemBinded::after {
|
|
53
|
+
margin-top: 0.5rem;
|
|
54
|
+
width: 80%;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.sapFCardHeaderText .sapMText.sapFCardHeaderItemBinded,
|
|
58
|
+
.sapFCardHeaderText .sapMText.sapFCardHeaderItemBinded span,
|
|
59
|
+
.sapFCardHeaderText .sapFCardStatus.sapFCardHeaderItemBinded,
|
|
60
|
+
.sapFCardSubtitle .sapMText.sapFCardHeaderItemBinded,
|
|
61
|
+
.sapFCardSubtitle .sapMText.sapFCardHeaderItemBinded + .sapFCardHeaderUnitOfMeasurement,
|
|
62
|
+
.sapFAvatar.sapFCardHeaderItemBinded span::before,
|
|
63
|
+
.sapFAvatar.sapFCardHeaderItemBinded .sapFAvatarImageHolder,
|
|
64
|
+
.sapFCardAvatarAndIndicatorsLine .sapMNC.sapFCardHeaderItemBinded span,
|
|
65
|
+
.sapFCardAvatarAndIndicatorsLine .sapMNC.sapFCardHeaderItemBinded div.sapMNCScale,
|
|
66
|
+
.sapFCardHeaderSideIndicator.sapFCardHeaderItemBinded span,
|
|
67
|
+
.sapFCardHeaderDetailsWrapper .sapMObjStatus.sapFCardHeaderItemBinded span {
|
|
68
|
+
visibility: hidden; // hide the loaded elements (texts, icons, etc.) behind the loading indicators
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.sapFCardHeaderText .sapMText.sapFCardHeaderItemBinded::after,
|
|
72
|
+
.sapFCardHeaderText .sapFCardStatus.sapFCardHeaderItemBinded::after,
|
|
73
|
+
.sapFCardSubtitle .sapMText.sapFCardHeaderItemBinded::after,
|
|
74
|
+
.sapFCardSubtitle .sapFCardHeaderUnitOfMeasurement.sapMText.sapFCardHeaderItemBinded::after {
|
|
75
|
+
visibility: visible; // ... but show the loading indicator
|
|
76
|
+
}
|
|
77
|
+
|
|
21
78
|
.sapFCardHeaderText .sapFCardHeaderTextFirstLine {
|
|
22
79
|
|
|
23
80
|
.sapFCardTitle.sapFCardHeaderItemBinded {
|
|
@@ -37,11 +94,43 @@
|
|
|
37
94
|
position: absolute;
|
|
38
95
|
width: 100%;
|
|
39
96
|
height: 100%;
|
|
97
|
+
max-height: 1rem;
|
|
40
98
|
top: 0;
|
|
41
99
|
left: 0;
|
|
42
100
|
}
|
|
43
101
|
}
|
|
44
102
|
|
|
103
|
+
&.sapUiIntCardTileFlat,
|
|
104
|
+
&.sapUiIntCardTileFlatWide {
|
|
105
|
+
.sapFCardHeader.sapFCardHeaderLoading,
|
|
106
|
+
&.sapFCardPreview .sapFCardHeader {
|
|
107
|
+
.sapFAvatar.sapFCardHeaderItemBinded::after,
|
|
108
|
+
.sapFAvatar.sapFCardHeaderItemBinded::after {
|
|
109
|
+
margin-top: 0;
|
|
110
|
+
margin-left: 0;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
.sapFCardAvatarAndIndicatorsLine .sapFCardIcon.sapFAvatar.sapFCardHeaderItemBinded,
|
|
114
|
+
.sapFCardAvatarAndIndicatorsLine .sapFCardIcon.sapFAvatar.sapFCardHeaderItemBinded {
|
|
115
|
+
margin-right: 0.5rem;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
.sapFCardNumericIndicatorsMain .sapFCardHeaderItemBinded::after {
|
|
119
|
+
margin-top: -2px;
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
// no sapFCardHeaderItemBinded class present for the filter?
|
|
125
|
+
.sapFCardFilterLoading::after {
|
|
126
|
+
height: 2rem;
|
|
127
|
+
margin-top: 0.25rem;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
.sapFCardFilterLoading .sapMSlt {
|
|
131
|
+
visibility: hidden; // hide the loaded Select behind the loading indicator
|
|
132
|
+
}
|
|
133
|
+
|
|
45
134
|
&.sapFCardPreview .sapFCardFilter,
|
|
46
135
|
.sapFCardFilterLoading {
|
|
47
136
|
position: relative;
|
|
@@ -83,7 +172,7 @@
|
|
|
83
172
|
|
|
84
173
|
.sapFCardHeaderDetails.sapFCardHeaderItemBinded {
|
|
85
174
|
flex: 1 0;
|
|
86
|
-
min-height:
|
|
175
|
+
min-height: 1rem;
|
|
87
176
|
width: 100%;
|
|
88
177
|
}
|
|
89
178
|
}
|
|
@@ -145,8 +234,8 @@
|
|
|
145
234
|
}
|
|
146
235
|
|
|
147
236
|
.sapFCardLoadingShimmerMixin() {
|
|
148
|
-
background-color: @
|
|
149
|
-
background-image: @
|
|
237
|
+
background-color: @_sap_f_Card_Background_Placeholder_Color;
|
|
238
|
+
background-image: @_sap_f_Card_Placeholder_Gradient;
|
|
150
239
|
background-repeat: no-repeat;
|
|
151
240
|
background-size: 800px 100%;
|
|
152
241
|
position: relative;
|
|
@@ -6,6 +6,12 @@
|
|
|
6
6
|
@_sap_f_GridContainer_FocusBorderOffset: 0;
|
|
7
7
|
|
|
8
8
|
.sapFGridContainer {
|
|
9
|
+
.sapFGridContainerDummyArea {
|
|
10
|
+
position: fixed;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.sapFGridContainerListUl {
|
|
9
15
|
position: relative;
|
|
10
16
|
display: grid;
|
|
11
17
|
outline: none;
|
|
@@ -48,10 +54,6 @@
|
|
|
48
54
|
position: relative;
|
|
49
55
|
}
|
|
50
56
|
|
|
51
|
-
.sapFGridContainerDummyArea {
|
|
52
|
-
position: fixed;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
57
|
.sapUiIntCard.sapUiIntCardAnalytical {
|
|
56
58
|
min-height: 100%;
|
|
57
59
|
}
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
@_sap_f_ShellBar_PaddingPhone: 1rem;
|
|
4
4
|
@_sap_f_ShellBar_CoPilotWidth: 3rem;
|
|
5
5
|
@_sap_f_ShellBar_CoPilotHalfWidth: 1.5rem;
|
|
6
|
+
@_sap_f_ShellBar_SearchHalfMaxWidth: 17.5rem;
|
|
6
7
|
|
|
7
8
|
@_sap_f_ShellBar_PrimaryTitle_FontSize: @sapMFontMediumSize;
|
|
8
9
|
@_sap_f_ShellBar_SecondTitle_FontSize: @sapMFontSmallSize;
|
|
@@ -16,18 +17,6 @@
|
|
|
16
17
|
padding: 0 @_sap_f_ShellBar_PaddingDesktop;
|
|
17
18
|
display: flex;
|
|
18
19
|
align-items: center;
|
|
19
|
-
.sapFShellBarCopilot& {
|
|
20
|
-
.sapFShellBarORHB {
|
|
21
|
-
width: 50%;
|
|
22
|
-
padding-left: ~"calc(@{_sap_f_ShellBar_CoPilotHalfWidth} + 0.5rem)";
|
|
23
|
-
}
|
|
24
|
-
.sapFShellBarOLHB {
|
|
25
|
-
width: 50%;
|
|
26
|
-
padding-right: ~"calc(@{_sap_f_ShellBar_CoPilotHalfWidth} + 0.5rem)";
|
|
27
|
-
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
}
|
|
31
20
|
|
|
32
21
|
.sapFShellBarOLHB,
|
|
33
22
|
.sapFShellBarORHB {
|
|
@@ -385,11 +374,13 @@
|
|
|
385
374
|
}
|
|
386
375
|
.sapFShellBarSearchWrap {
|
|
387
376
|
box-sizing: border-box;
|
|
388
|
-
width: 100%;
|
|
389
377
|
padding: 0 1.25rem;
|
|
390
378
|
position: absolute;
|
|
379
|
+
align-items: center;
|
|
380
|
+
right: 0;
|
|
391
381
|
left: 0;
|
|
392
382
|
top: 0;
|
|
383
|
+
bottom: 0;
|
|
393
384
|
}
|
|
394
385
|
.sapMSF,
|
|
395
386
|
.sapFShellBarSearch {
|
|
@@ -405,6 +396,34 @@
|
|
|
405
396
|
}
|
|
406
397
|
}
|
|
407
398
|
|
|
399
|
+
.sapFShellBar.sapFShellBarSizeExtraLargeDesktop {
|
|
400
|
+
.sapFShellBarSearch {
|
|
401
|
+
max-width: 35rem; // max width of searchField + button width
|
|
402
|
+
width: 100%;
|
|
403
|
+
flex-grow: 1;
|
|
404
|
+
flex-shrink: 1;
|
|
405
|
+
box-sizing: border-box;
|
|
406
|
+
position: absolute;
|
|
407
|
+
left: ~"calc(50% - @{_sap_f_ShellBar_SearchHalfMaxWidth})";
|
|
408
|
+
|
|
409
|
+
.sapMSF {
|
|
410
|
+
max-width: 35rem;
|
|
411
|
+
min-width: auto;
|
|
412
|
+
}
|
|
413
|
+
}
|
|
414
|
+
|
|
415
|
+
&.sapFShellBarWithSearch {
|
|
416
|
+
.sapFShellBarORHB {
|
|
417
|
+
width: 50%;
|
|
418
|
+
padding-left: ~"calc(@{_sap_f_ShellBar_SearchHalfMaxWidth} + 0.5rem)";
|
|
419
|
+
}
|
|
420
|
+
.sapFShellBarOLHB {
|
|
421
|
+
width: 50%;
|
|
422
|
+
padding-right: ~"calc(@{_sap_f_ShellBar_SearchHalfMaxWidth} + 0.5rem)";
|
|
423
|
+
|
|
424
|
+
}
|
|
425
|
+
}
|
|
426
|
+
}
|
|
408
427
|
.sapFButtonNotifications[data-notifications],
|
|
409
428
|
.sapFShellBarOverflowButton[data-notifications] {
|
|
410
429
|
overflow: visible;
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
Copyright (c) <year> <owner>. All rights reserved.
|
|
2
|
-
|
|
3
|
-
Redistribution and use in source and binary forms, with or without modification,
|
|
4
|
-
are permitted provided that the following conditions are met:
|
|
5
|
-
|
|
6
|
-
1. Redistributions of source code must retain the above copyright notice,
|
|
7
|
-
this list of conditions and the following disclaimer.
|
|
8
|
-
|
|
9
|
-
2. Redistributions in binary form must reproduce the above copyright notice,
|
|
10
|
-
this list of conditions and the following disclaimer in the documentation
|
|
11
|
-
and/or other materials provided with the distribution.
|
|
12
|
-
|
|
13
|
-
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
|
14
|
-
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
15
|
-
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|
16
|
-
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
|
|
17
|
-
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
18
|
-
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
|
19
|
-
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
|
20
|
-
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
|
21
|
-
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
|
|
22
|
-
USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|