@openui5/sap.uxap 1.101.0 → 1.102.2
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/.eslintrc.json +18 -0
- package/THIRDPARTY.txt +1 -1
- package/package.json +5 -5
- package/src/sap/uxap/.library +1 -1
- package/src/sap/uxap/AnchorBar.js +16 -0
- package/src/sap/uxap/BlockBaseMetadata.js +1 -1
- package/src/sap/uxap/ObjectPageAccessibleLandmarkInfo.js +1 -1
- package/src/sap/uxap/ObjectPageDynamicHeaderContent.js +1 -1
- package/src/sap/uxap/ObjectPageDynamicHeaderTitle.js +1 -1
- package/src/sap/uxap/ObjectPageLayout.js +28 -11
- package/src/sap/uxap/ObjectPageLazyLoader.js +1 -1
- package/src/sap/uxap/ObjectPageSection.js +45 -0
- package/src/sap/uxap/ObjectPageSubSection.js +5 -0
- package/src/sap/uxap/ObjectPageSubSectionRenderer.js +4 -0
- package/src/sap/uxap/changeHandler/AddIFrameObjectPageLayout.js +1 -1
- package/src/sap/uxap/changeHandler/MoveObjectPageSection.js +1 -1
- package/src/sap/uxap/changeHandler/RenameObjectPageSection.js +1 -1
- package/src/sap/uxap/library.js +4 -3
- package/src/sap/uxap/messagebundle_ja.properties +3 -3
- package/src/sap/uxap/themes/base/ObjectPageLayout.less +10 -0
- package/src/sap/uxap/themes/base/ObjectPageSection.less +1 -0
- package/src/sap/uxap/themes/base/ObjectPageSubSection.less +6 -41
package/.eslintrc.json
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
{
|
|
2
|
+
"overrides": [
|
|
3
|
+
/*
|
|
4
|
+
* Productive code, sample and unit test code of sap.uxap has been cleaned up.
|
|
5
|
+
* No more references to the global jQuery allowed
|
|
6
|
+
*/
|
|
7
|
+
{
|
|
8
|
+
"files": [
|
|
9
|
+
"src/**/*.js",
|
|
10
|
+
"test/sap/uxap/demokit/**/*.js",
|
|
11
|
+
"test/sap/uxap/qunit/**/*.js"
|
|
12
|
+
],
|
|
13
|
+
"globals": {
|
|
14
|
+
"jQuery": "off"
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
]
|
|
18
|
+
}
|
package/THIRDPARTY.txt
CHANGED
|
@@ -450,7 +450,7 @@ License: Apache-2.0
|
|
|
450
450
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
|
|
451
451
|
Contained in: lib/jsdoc/ui5/plugin.js
|
|
452
452
|
|
|
453
|
-
Component: SAP Theming Base Content, version: 11.1.
|
|
453
|
+
Component: SAP Theming Base Content, version: 11.1.39
|
|
454
454
|
Copyright: SAP SE or an SAP affiliate company and Theming Base Content contributors
|
|
455
455
|
License: Apache-2.0
|
|
456
456
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openui5/sap.uxap",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.102.2",
|
|
4
4
|
"description": "OpenUI5 UI Library sap.uxap",
|
|
5
5
|
"author": "SAP SE (https://www.sap.com)",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -14,9 +14,9 @@
|
|
|
14
14
|
"url": "https://github.com/SAP/openui5.git"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@openui5/sap.f": "1.
|
|
18
|
-
"@openui5/sap.m": "1.
|
|
19
|
-
"@openui5/sap.ui.core": "1.
|
|
20
|
-
"@openui5/sap.ui.layout": "1.
|
|
17
|
+
"@openui5/sap.f": "1.102.2",
|
|
18
|
+
"@openui5/sap.m": "1.102.2",
|
|
19
|
+
"@openui5/sap.ui.core": "1.102.2",
|
|
20
|
+
"@openui5/sap.ui.layout": "1.102.2"
|
|
21
21
|
}
|
|
22
22
|
}
|
package/src/sap/uxap/.library
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
<name>sap.uxap</name>
|
|
5
5
|
<vendor>SAP SE</vendor>
|
|
6
|
-
<version>1.
|
|
6
|
+
<version>1.102.2</version>
|
|
7
7
|
<copyright>OpenUI5
|
|
8
8
|
* (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
|
|
9
9
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.</copyright>
|
|
@@ -640,6 +640,22 @@ sap.ui.define([
|
|
|
640
640
|
}
|
|
641
641
|
};
|
|
642
642
|
|
|
643
|
+
/**
|
|
644
|
+
* Scrolls to the currently selected Section tab, when the header titles is snapped/unsnapped
|
|
645
|
+
*
|
|
646
|
+
* @public
|
|
647
|
+
*/
|
|
648
|
+
AnchorBar.prototype.scrollToCurrentlySelectedSection = function () {
|
|
649
|
+
var sSelectedButton = this.getSelectedButton(),
|
|
650
|
+
oSelectedButton = sap.ui.getCore().byId(sSelectedButton),
|
|
651
|
+
sSelectedSectionId;
|
|
652
|
+
|
|
653
|
+
if (oSelectedButton) {
|
|
654
|
+
sSelectedSectionId = oSelectedButton.data("sectionId");
|
|
655
|
+
this.scrollToSection(sSelectedSectionId, 0);
|
|
656
|
+
}
|
|
657
|
+
};
|
|
658
|
+
|
|
643
659
|
// use type 'object' because Metamodel doesn't know ScrollEnablement
|
|
644
660
|
/**
|
|
645
661
|
* Returns an sap.ui.core.delegate.ScrollEnablement object used to handle scrolling.
|
|
@@ -1464,12 +1464,17 @@ sap.ui.define([
|
|
|
1464
1464
|
*
|
|
1465
1465
|
* The section can either be given by itself or by its id.
|
|
1466
1466
|
*
|
|
1467
|
-
*
|
|
1468
|
-
*
|
|
1467
|
+
* If left unspecified, then the page automatically sets
|
|
1468
|
+
* the value to the first visible section before rendering.
|
|
1469
|
+
* The value never remains empty because <code>sap.uxap.ObjectPageLayout</code> should
|
|
1470
|
+
* always have one of its sections selected (unless it has 0 visible sections).
|
|
1471
|
+
*
|
|
1472
|
+
* <b>Note:</b> Updating the <code>selectedSection</code> with a value of <code>null</code>
|
|
1473
|
+
* resets the <code>selectedSection</code> to the first visible section and scrolls the page to the top.
|
|
1469
1474
|
*
|
|
1470
1475
|
* @param {string | sap.uxap.ObjectPageSection} sId
|
|
1471
1476
|
* The ID or the section instance that should be selected
|
|
1472
|
-
* Note that <code>
|
|
1477
|
+
* Note that <code>undefined</code> is not a valid argument
|
|
1473
1478
|
* @return {this} Returns <code>this</code> to allow method chaining
|
|
1474
1479
|
* @public
|
|
1475
1480
|
*/
|
|
@@ -1583,7 +1588,8 @@ sap.ui.define([
|
|
|
1583
1588
|
* @private
|
|
1584
1589
|
*/
|
|
1585
1590
|
ObjectPageLayout.prototype._toggleHeaderTitle = function (bExpand, bUserInteraction) {
|
|
1586
|
-
var oHeaderTitle = this.getHeaderTitle()
|
|
1591
|
+
var oHeaderTitle = this.getHeaderTitle(),
|
|
1592
|
+
oAnchorBar = this._oABHelper._getAnchorBar();
|
|
1587
1593
|
|
|
1588
1594
|
// note that <code>this._$titleArea</code> is the placeholder [of the sticky area] where both the header title and header content are placed
|
|
1589
1595
|
if (this._$titleArea.length) {
|
|
@@ -1597,6 +1603,8 @@ sap.ui.define([
|
|
|
1597
1603
|
} else {
|
|
1598
1604
|
oHeaderTitle && oHeaderTitle.snap(bUserInteraction);
|
|
1599
1605
|
}
|
|
1606
|
+
|
|
1607
|
+
oAnchorBar.scrollToCurrentlySelectedSection();
|
|
1600
1608
|
};
|
|
1601
1609
|
|
|
1602
1610
|
/**
|
|
@@ -1697,6 +1705,12 @@ sap.ui.define([
|
|
|
1697
1705
|
|
|
1698
1706
|
}, this);
|
|
1699
1707
|
|
|
1708
|
+
if (iVisibleSubSections > 1) {
|
|
1709
|
+
aSubSections.forEach(function(oSubSection) {
|
|
1710
|
+
oSubSection._setBorrowedTitleDomId("");
|
|
1711
|
+
});
|
|
1712
|
+
}
|
|
1713
|
+
|
|
1700
1714
|
//rule noVisibleSubSection: If a section has no content (or only empty subsections) the section will be hidden.
|
|
1701
1715
|
if (iVisibleSubSections == 0) {
|
|
1702
1716
|
oSection._setInternalVisible(false, bInvalidate);
|
|
@@ -2484,8 +2498,9 @@ sap.ui.define([
|
|
|
2484
2498
|
this._aSectionBases.forEach(function (oSectionBase) {
|
|
2485
2499
|
var oInfo = this._oSectionInfo[oSectionBase.getId()],
|
|
2486
2500
|
$this = oSectionBase.$(),
|
|
2501
|
+
bPromoted = false,
|
|
2487
2502
|
oSection,
|
|
2488
|
-
|
|
2503
|
+
iSectionsTopMargin;
|
|
2489
2504
|
|
|
2490
2505
|
if (!oInfo /* sectionBase is visible */ || !$this.length) {
|
|
2491
2506
|
return;
|
|
@@ -2499,7 +2514,7 @@ sap.ui.define([
|
|
|
2499
2514
|
|
|
2500
2515
|
//calculate the scrollTop value to get the section title at the bottom of the header
|
|
2501
2516
|
//performance improvements possible here as .position() is costly
|
|
2502
|
-
var realTop = $this.
|
|
2517
|
+
var realTop = library.Utilities.getChildPosition($this, this._$contentContainer).top;
|
|
2503
2518
|
|
|
2504
2519
|
//the amount of scrolling required is the distance between their position().top and the bottom of the anchorBar
|
|
2505
2520
|
oInfo.positionTop = Math.ceil(realTop);
|
|
@@ -2562,8 +2577,9 @@ sap.ui.define([
|
|
|
2562
2577
|
bParentIsFirstVisibleSection = bUseIconTabBar /* there is only single section per tab */ || (oSectionBase.getParent() === this._oFirstVisibleSection);
|
|
2563
2578
|
bIsFirstVisibleSubSection = bParentIsFirstVisibleSection && (iSubSectionIndex === 0); /* index of *visible* subSections is first */
|
|
2564
2579
|
bIsFullscreenSection = oSectionBase.hasStyleClass(ObjectPageSubSection.FIT_CONTAINER_CLASS);
|
|
2580
|
+
iSectionsTopMargin = oSection && oSection.$().length ? parseInt(oSection.$().css("marginTop")) : 0;
|
|
2565
2581
|
|
|
2566
|
-
oSectionBase._setHeight(this._computeSubSectionHeight(bIsFirstVisibleSubSection, bIsFullscreenSection, Math.ceil(realTop), iSectionsContainerOffsetTop));
|
|
2582
|
+
oSectionBase._setHeight(this._computeSubSectionHeight(bIsFirstVisibleSubSection, bIsFullscreenSection, Math.ceil(realTop), iSectionsContainerOffsetTop, iSectionsTopMargin));
|
|
2567
2583
|
}
|
|
2568
2584
|
|
|
2569
2585
|
}, this);
|
|
@@ -2628,7 +2644,8 @@ sap.ui.define([
|
|
|
2628
2644
|
return true; // return success flag
|
|
2629
2645
|
};
|
|
2630
2646
|
|
|
2631
|
-
ObjectPageLayout.prototype._computeSubSectionHeight = function(bFirstVisibleSubSection, bFullscreenSection,
|
|
2647
|
+
ObjectPageLayout.prototype._computeSubSectionHeight = function(bFirstVisibleSubSection, bFullscreenSection,
|
|
2648
|
+
iSubSectionOffsetTop, iSectionsContainerOffsetTop, iSectionsTopMargin) {
|
|
2632
2649
|
|
|
2633
2650
|
var iSectionsContainerHeight,
|
|
2634
2651
|
iRemainingSectionContentHeight;
|
|
@@ -2653,8 +2670,8 @@ sap.ui.define([
|
|
|
2653
2670
|
|
|
2654
2671
|
if (this._bAllContentFitsContainer) {
|
|
2655
2672
|
// if we have a single fullscreen subsection [that takes the entire available height within the sections container]
|
|
2656
|
-
// => subtract the heights above and bellow the subSection to *avoid having a scrollbar
|
|
2657
|
-
iRemainingSectionContentHeight = (iSubSectionOffsetTop - iSectionsContainerOffsetTop) + this.iFooterHeight;
|
|
2673
|
+
// => subtract the heights above and bellow the subSection to *avoid having a scrollbar*, having in mind the top margin of the Section
|
|
2674
|
+
iRemainingSectionContentHeight = (iSubSectionOffsetTop - iSectionsContainerOffsetTop) + iSectionsTopMargin + this.iFooterHeight;
|
|
2658
2675
|
iSectionsContainerHeight -= iRemainingSectionContentHeight;
|
|
2659
2676
|
}
|
|
2660
2677
|
|
|
@@ -2707,7 +2724,7 @@ sap.ui.define([
|
|
|
2707
2724
|
var bIsStickyMode = this._bStickyAnchorBar || this._bHeaderInTitleArea; // get current mode
|
|
2708
2725
|
var iLastSectionPositionTop = this._getSectionPositionTop(oLastVisibleSubSection, bIsStickyMode); /* we need to get the position in the current mode */
|
|
2709
2726
|
|
|
2710
|
-
return this._$spacer.position().top - iLastSectionPositionTop;
|
|
2727
|
+
return Math.ceil(this._$spacer.position().top) - iLastSectionPositionTop;
|
|
2711
2728
|
};
|
|
2712
2729
|
|
|
2713
2730
|
ObjectPageLayout.prototype._getStickyAreaHeight = function(bIsStickyMode) {
|
|
@@ -9,6 +9,7 @@ sap.ui.define([
|
|
|
9
9
|
"./ObjectPageSectionBase",
|
|
10
10
|
"sap/ui/Device",
|
|
11
11
|
"sap/m/Button",
|
|
12
|
+
"sap/ui/core/ResizeHandler",
|
|
12
13
|
"sap/ui/core/StashedControlSupport",
|
|
13
14
|
"./ObjectPageSubSection",
|
|
14
15
|
"./library",
|
|
@@ -18,6 +19,7 @@ sap.ui.define([
|
|
|
18
19
|
ObjectPageSectionBase,
|
|
19
20
|
Device,
|
|
20
21
|
Button,
|
|
22
|
+
ResizeHandler,
|
|
21
23
|
StashedControlSupport,
|
|
22
24
|
ObjectPageSubSection,
|
|
23
25
|
library,
|
|
@@ -130,10 +132,20 @@ sap.ui.define([
|
|
|
130
132
|
ObjectPageSection.prototype.init = function () {
|
|
131
133
|
ObjectPageSectionBase.prototype.init.call(this);
|
|
132
134
|
this._sContainerSelector = ".sapUxAPObjectPageSectionContainer";
|
|
135
|
+
this._onResizeRef = this._onResize.bind(this);
|
|
133
136
|
};
|
|
134
137
|
|
|
135
138
|
ObjectPageSection.prototype.exit = function () {
|
|
136
139
|
this._detachMediaContainerWidthChange(this._updateImportance, this);
|
|
140
|
+
|
|
141
|
+
if (this._iResizeHandlerId) {
|
|
142
|
+
ResizeHandler.deregister(this._iResizeHandlerId);
|
|
143
|
+
this._iResizeHandlerId = null;
|
|
144
|
+
}
|
|
145
|
+
};
|
|
146
|
+
|
|
147
|
+
ObjectPageSection.prototype._onResize = function () {
|
|
148
|
+
this._updateMultilineContent();
|
|
137
149
|
};
|
|
138
150
|
|
|
139
151
|
ObjectPageSection.prototype._getImportanceLevelToHide = function (oCurrentMedia) {
|
|
@@ -164,6 +176,37 @@ sap.ui.define([
|
|
|
164
176
|
}
|
|
165
177
|
};
|
|
166
178
|
|
|
179
|
+
ObjectPageSection.prototype._updateMultilineContent = function () {
|
|
180
|
+
var aSubSections = this.getSubSections(),
|
|
181
|
+
oFirstSubSection = aSubSections.find(function(oSubSection) {
|
|
182
|
+
return oSubSection.getVisible();
|
|
183
|
+
});
|
|
184
|
+
|
|
185
|
+
if (oFirstSubSection && oFirstSubSection.getDomRef()) {
|
|
186
|
+
var sTitleDomId = oFirstSubSection._getTitleDomId(),
|
|
187
|
+
iTitleWidth,
|
|
188
|
+
iActionsWidth,
|
|
189
|
+
iHeaderWidth,
|
|
190
|
+
bMultiLine,
|
|
191
|
+
oFirstSubSectionTitle;
|
|
192
|
+
|
|
193
|
+
// When there are more than one SubSections with no title, sTitleDomId=false.
|
|
194
|
+
// However, we are not interested in this case anyway, as there is no promoted SubSection
|
|
195
|
+
if (!sTitleDomId) {
|
|
196
|
+
return;
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
oFirstSubSectionTitle = document.getElementById(oFirstSubSection._getTitleDomId());
|
|
200
|
+
// Title is hidden for the first SubSection of the first Section
|
|
201
|
+
iTitleWidth = oFirstSubSectionTitle ? oFirstSubSectionTitle.offsetWidth : 0;
|
|
202
|
+
iActionsWidth = this.$().find(".sapUxAPObjectPageSubSectionHeaderActions").width();
|
|
203
|
+
iHeaderWidth = this.$("header").width();
|
|
204
|
+
bMultiLine = (iTitleWidth + iActionsWidth) > iHeaderWidth;
|
|
205
|
+
|
|
206
|
+
oFirstSubSection._toggleMultiLineSectionContent(bMultiLine);
|
|
207
|
+
}
|
|
208
|
+
};
|
|
209
|
+
|
|
167
210
|
ObjectPageSection.prototype._determineTheLowestLevelOfImportanceToShow = function (sMedia, bShowOnlyHighImportance) {
|
|
168
211
|
if (bShowOnlyHighImportance || sMedia === "Phone") {
|
|
169
212
|
return library.Importance.High;
|
|
@@ -196,7 +239,9 @@ sap.ui.define([
|
|
|
196
239
|
};
|
|
197
240
|
|
|
198
241
|
ObjectPageSection.prototype.onAfterRendering = function () {
|
|
242
|
+
this._updateMultilineContent();
|
|
199
243
|
this._attachMediaContainerWidthChange(this._updateImportance, this);
|
|
244
|
+
this._iResizeHandlerId = ResizeHandler.register(this, this._onResizeRef);
|
|
200
245
|
};
|
|
201
246
|
|
|
202
247
|
/**
|
|
@@ -291,6 +291,11 @@ sap.ui.define([
|
|
|
291
291
|
this._sBorrowedTitleDomId = sId;
|
|
292
292
|
};
|
|
293
293
|
|
|
294
|
+
ObjectPageSubSection.prototype._toggleMultiLineSectionContent = function (bMultiLine) {
|
|
295
|
+
this.toggleStyleClass("sapUxAPObjectPageSectionMultilineContent", bMultiLine);
|
|
296
|
+
this._bMultiLine = bMultiLine;
|
|
297
|
+
};
|
|
298
|
+
|
|
294
299
|
ObjectPageSubSection.prototype._expandSection = function () {
|
|
295
300
|
ObjectPageSectionBase.prototype._expandSection.call(this);
|
|
296
301
|
var oParent = this.getParent();
|
|
@@ -39,6 +39,10 @@ sap.ui.define(function () {
|
|
|
39
39
|
oRm.class("sapUxAPObjectPageSubSectionWithSeeMore");
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
+
if (oControl._bMultiLine) {
|
|
43
|
+
oRm.class("sapUxAPObjectPageSectionMultilineContent");
|
|
44
|
+
}
|
|
45
|
+
|
|
42
46
|
oRm.class("sapUxAPObjectPageSubSection")
|
|
43
47
|
.class("ui-helper-clearfix");
|
|
44
48
|
|
package/src/sap/uxap/library.js
CHANGED
|
@@ -11,11 +11,12 @@ sap.ui.define([
|
|
|
11
11
|
"sap/ui/core/Core",
|
|
12
12
|
"sap/ui/base/DataType",
|
|
13
13
|
"sap/ui/Device",
|
|
14
|
+
"sap/ui/thirdparty/jquery",
|
|
14
15
|
"sap/ui/core/library", // library dependency
|
|
15
16
|
"sap/f/library", // library dependency
|
|
16
17
|
"sap/m/library", // library dependency
|
|
17
18
|
"sap/ui/layout/library" // library dependency
|
|
18
|
-
], function(Core, DataType, Device) {
|
|
19
|
+
], function(Core, DataType, Device, jQuery) {
|
|
19
20
|
"use strict";
|
|
20
21
|
|
|
21
22
|
/**
|
|
@@ -24,7 +25,7 @@ sap.ui.define([
|
|
|
24
25
|
* @namespace
|
|
25
26
|
* @alias sap.uxap
|
|
26
27
|
* @author SAP SE
|
|
27
|
-
* @version 1.
|
|
28
|
+
* @version 1.102.2
|
|
28
29
|
* @since 1.36
|
|
29
30
|
* @public
|
|
30
31
|
*/
|
|
@@ -67,7 +68,7 @@ sap.ui.define([
|
|
|
67
68
|
"sap.uxap.ObjectPageHeaderLayoutData",
|
|
68
69
|
"sap.uxap.ObjectPageLazyLoader"
|
|
69
70
|
],
|
|
70
|
-
version: "1.
|
|
71
|
+
version: "1.102.2",
|
|
71
72
|
extensions: {
|
|
72
73
|
flChangeHandlers: {
|
|
73
74
|
"sap.uxap.ObjectPageHeader": "sap/uxap/flexibility/ObjectPageHeader",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
|
|
2
|
-
SHOW_MORE=\u8868\u793A
|
|
2
|
+
SHOW_MORE=\u3055\u3089\u306B\u8868\u793A
|
|
3
3
|
|
|
4
|
-
SHOW_LESS=\u8868\u793A\
|
|
4
|
+
SHOW_LESS=\u8868\u793A\u3092\u6E1B\u3089\u3059
|
|
5
5
|
|
|
6
6
|
ANCHOR_BAR_ARIA_LABEL=\u30A2\u30F3\u30AB\u30FC
|
|
7
7
|
|
|
@@ -13,7 +13,7 @@ BREADCRUMB_TRAIL_LABEL=\u8A73\u7D30\u30CA\u30D3\u30B2\u30FC\u30B7\u30E7\u30F3
|
|
|
13
13
|
|
|
14
14
|
SHOW_ALL=\u3059\u3079\u3066\u8868\u793A
|
|
15
15
|
|
|
16
|
-
HIDE_ALL=\u8868\u793A\
|
|
16
|
+
HIDE_ALL=\u8868\u793A\u3092\u6E1B\u3089\u3059
|
|
17
17
|
|
|
18
18
|
SHOW=\u5C55\u958B
|
|
19
19
|
|
|
@@ -28,6 +28,16 @@
|
|
|
28
28
|
}
|
|
29
29
|
}
|
|
30
30
|
|
|
31
|
+
.sapUxAPObjectPageLayout:not(.sapUxAPObjectPageLayout-Std-Phone) .sapUxAPObjectPageSubSectionPromoted:not(.sapUxAPObjectPageSectionMultilineContent) .sapUxAPObjectPageSubSectionHeaderActions {
|
|
32
|
+
position: absolute;
|
|
33
|
+
top: 0;
|
|
34
|
+
right: 1rem;
|
|
35
|
+
}
|
|
36
|
+
.sapUxAPObjectPageLayout:not(.sapUxAPObjectPageLayout-Std-Phone) .sapUxAPObjectPageSubSectionPromoted:not(.sapUxAPObjectPageSectionMultilineContent) .sapUxAPObjectPageSubSectionHeader {
|
|
37
|
+
height: 0;
|
|
38
|
+
padding: 0;
|
|
39
|
+
}
|
|
40
|
+
|
|
31
41
|
body > .sapUxAPObjectPageLayout,
|
|
32
42
|
.sapUiVltCell .sapUxAPObjectPageLayout {
|
|
33
43
|
position: fixed;
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
/* ============================================== */
|
|
5
5
|
|
|
6
6
|
.sapUxAPObjectPageSubSection {
|
|
7
|
-
padding-
|
|
7
|
+
padding-top: 1rem;
|
|
8
8
|
box-sizing: border-box;
|
|
9
9
|
}
|
|
10
10
|
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
height: auto;
|
|
17
17
|
overflow: auto;
|
|
18
18
|
word-wrap: break-word;
|
|
19
|
-
padding:
|
|
19
|
+
padding: 0 2.25rem 0 3rem
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
.sapUxAPObjectPageSubSectionHeaderTitle {
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
/* phone display */
|
|
51
51
|
.sapUxAPObjectPageLayout-Std-Phone .sapUxAPObjectPageSubSectionHeader,
|
|
52
52
|
html .sapUiContainer-Narrow .sapUxAPObjectPageSubSectionHeader {
|
|
53
|
-
padding: 1rem;
|
|
53
|
+
padding: 0 1rem;
|
|
54
54
|
}
|
|
55
55
|
|
|
56
56
|
.sapUxAPObjectPageLayout-Std-Phone .sapUxAPObjectPageSubSectionHeaderTitle,
|
|
@@ -67,7 +67,7 @@ html .sapUiContainer-Narrow .sapUxAPObjectPageSubSectionHeaderTitle {
|
|
|
67
67
|
|
|
68
68
|
.sapUxAPObjectPageLayout-Std-Tablet .sapUxAPObjectPageSubSectionHeader,
|
|
69
69
|
html .sapUiContainer-Medium .sapUxAPObjectPageSubSectionHeader {
|
|
70
|
-
padding:
|
|
70
|
+
padding: 0 1.25rem 0 2rem;
|
|
71
71
|
}
|
|
72
72
|
|
|
73
73
|
/* Those styles apply Desktop and Desktop-XL.
|
|
@@ -101,7 +101,6 @@ Doing so will result in less generated CSS, as well as less future maintanance i
|
|
|
101
101
|
white-space: normal;
|
|
102
102
|
word-wrap: break-word;
|
|
103
103
|
line-height: normal;
|
|
104
|
-
padding-top: 1rem;
|
|
105
104
|
}
|
|
106
105
|
|
|
107
106
|
.sapUxAPObjectPageSubSectionHeader.titleOnLeftLayout .sapUxAPObjectPageSubSectionHeaderActions {
|
|
@@ -141,10 +140,10 @@ Doing so will result in less generated CSS, as well as less future maintanance i
|
|
|
141
140
|
}
|
|
142
141
|
|
|
143
142
|
.sapUxAPBlockContainer {
|
|
144
|
-
padding:
|
|
143
|
+
padding: 0 2rem;
|
|
145
144
|
}
|
|
146
145
|
.sapUxAPObjectPageLayout-Std-Tablet .sapUxAPBlockContainer {
|
|
147
|
-
padding:
|
|
146
|
+
padding: 0 1rem;
|
|
148
147
|
}
|
|
149
148
|
.sapUxAPObjectPageLayout-Std-Phone .sapUxAPBlockContainer {
|
|
150
149
|
padding: 0 1rem;
|
|
@@ -154,20 +153,6 @@ Doing so will result in less generated CSS, as well as less future maintanance i
|
|
|
154
153
|
}
|
|
155
154
|
}
|
|
156
155
|
|
|
157
|
-
.sapUxAPObjectPageLayout-Std-Tablet .sapUxAPObjectPageSubSectionWithSeeMore {
|
|
158
|
-
.sapUxAPBlockContainer {
|
|
159
|
-
padding-bottom: 0;
|
|
160
|
-
}
|
|
161
|
-
|
|
162
|
-
.sapUxAPSubSectionSeeMoreContainer {
|
|
163
|
-
padding-bottom: 2rem;
|
|
164
|
-
}
|
|
165
|
-
}
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
.sapUxAPObjectPageLayout-Std-Phone .sapUxAPObjectPageSubSectionPromoted .sapUxAPBlockContainer {
|
|
169
|
-
padding-top: 1rem;
|
|
170
|
-
}
|
|
171
156
|
|
|
172
157
|
.sapUxAPObjectPageLayout-Std-Phone .sapUxAPObjectPageSubSection {
|
|
173
158
|
.sapUiRespGrid.sapUiRespGridHSpace1 {
|
|
@@ -200,35 +185,15 @@ Doing so will result in less generated CSS, as well as less future maintanance i
|
|
|
200
185
|
}
|
|
201
186
|
}
|
|
202
187
|
|
|
203
|
-
.sapUxAPObjectPageSection .sapUxAPObjectPageSectionContainer .sapUxAPObjectPageSubSection .sapUxAPBlockContainer {
|
|
204
|
-
padding-bottom: 0;
|
|
205
|
-
}
|
|
206
188
|
/* compact size */
|
|
207
189
|
.sapUiSizeCompact {
|
|
208
190
|
.sapUxAPObjectPageSubSectionHeaderTitle {
|
|
209
191
|
height: 2rem;
|
|
210
192
|
line-height: 2rem;
|
|
211
193
|
}
|
|
212
|
-
.sapUxAPBlockContainer {
|
|
213
|
-
padding: 1rem 2rem 2rem 2rem;
|
|
214
|
-
}
|
|
215
|
-
.sapUxAPObjectPageLayout-Std-Tablet .sapUxAPBlockContainer,
|
|
216
|
-
.sapUxAPObjectPageLayout-Std-Phone .sapUxAPBlockContainer {
|
|
217
|
-
padding: 1rem 1rem 2rem 1rem;
|
|
218
|
-
}
|
|
219
194
|
.sapUxAPObjectPageLayout-Std-Phone .sapUxAPBlockContainer .sapUiFormResGrid > div{
|
|
220
195
|
padding: 1rem 0;
|
|
221
196
|
}
|
|
222
|
-
|
|
223
|
-
.sapUxAPObjectPageSubSectionWithSeeMore {
|
|
224
|
-
.sapUxAPBlockContainer {
|
|
225
|
-
padding-bottom: 0;
|
|
226
|
-
}
|
|
227
|
-
|
|
228
|
-
.sapUxAPSubSectionSeeMoreContainer {
|
|
229
|
-
padding-bottom: 2rem;
|
|
230
|
-
}
|
|
231
|
-
}
|
|
232
197
|
}
|
|
233
198
|
|
|
234
199
|
html[data-sap-ui-browser^="ed"].sap-desktop .sapUxAPObjectPageSubSection:focus {
|