@openui5/themelib_sap_horizon 1.114.10 → 1.114.12
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/package.json +18 -18
- package/src/sap/f/themes/sap_horizon/AvatarGroup.less +4 -2
- package/src/sap/f/themes/sap_horizon/ShellBar.less +10 -4
- package/src/sap/f/themes/sap_horizon_dark/ShellBar.less +10 -4
- package/src/sap/m/themes/sap_horizon/Avatar.less +2 -2
- package/src/sap/m/themes/sap_horizon/Breadcrumbs.less +2 -1
- package/src/sap/m/themes/sap_horizon/Button.less +16 -4
- package/src/sap/m/themes/sap_horizon/MenuButton.less +22 -4
- package/src/sap/m/themes/sap_horizon/ObjectNumber.less +107 -17
- package/src/sap/m/themes/sap_horizon/ProgressIndicator.less +4 -0
- package/src/sap/m/themes/sap_horizon/SegmentedButton.less +133 -11
- package/src/sap/m/themes/sap_horizon/Select.less +4 -2
- package/src/sap/m/themes/sap_horizon/SplitButton.less +46 -23
- package/src/sap/m/themes/sap_horizon_dark/Button.less +16 -4
- package/src/sap/m/themes/sap_horizon_dark/MenuButton.less +18 -3
- package/src/sap/m/themes/sap_horizon_dark/ObjectNumber.less +107 -17
- package/src/sap/m/themes/sap_horizon_dark/ProgressIndicator.less +4 -0
- package/src/sap/m/themes/sap_horizon_dark/SegmentedButton.less +133 -11
- package/src/sap/m/themes/sap_horizon_dark/Select.less +4 -2
- package/src/sap/m/themes/sap_horizon_dark/SplitButton.less +46 -37
- package/src/sap/m/themes/sap_horizon_hcb/CheckBox.less +5 -1
- package/src/sap/m/themes/sap_horizon_hcb/MenuButton.less +4 -0
- package/src/sap/m/themes/sap_horizon_hcb/ObjectNumber.less +11 -14
- package/src/sap/m/themes/sap_horizon_hcb/ProgressIndicator.less +4 -0
- package/src/sap/m/themes/sap_horizon_hcb/SegmentedButton.less +1 -1
- package/src/sap/m/themes/sap_horizon_hcw/CheckBox.less +5 -1
- package/src/sap/m/themes/sap_horizon_hcw/MenuButton.less +4 -0
- package/src/sap/m/themes/sap_horizon_hcw/ObjectNumber.less +11 -14
- package/src/sap/m/themes/sap_horizon_hcw/ProgressIndicator.less +4 -0
- package/src/sap/m/themes/sap_horizon_hcw/SegmentedButton.less +1 -1
- package/src/sap/tnt/themes/sap_horizon/ToolHeader.less +0 -4
- package/src/sap/tnt/themes/sap_horizon_dark/ToolHeader.less +0 -4
- package/src/sap/tnt/themes/sap_horizon_hcb/ToolHeader.less +0 -4
- package/src/sap/tnt/themes/sap_horizon_hcw/ToolHeader.less +0 -4
- package/src/sap/ui/commons/themes/sap_horizon/MenuButton.less +12 -0
- package/src/sap/ui/core/themes/sap_horizon/.theme +1 -1
- package/src/sap/ui/core/themes/sap_horizon_dark/.theme +1 -1
- package/src/sap/ui/core/themes/sap_horizon_hcb/.theme +1 -1
- package/src/sap/ui/core/themes/sap_horizon_hcw/.theme +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openui5/themelib_sap_horizon",
|
|
3
|
-
"version": "1.114.
|
|
3
|
+
"version": "1.114.12",
|
|
4
4
|
"description": "OpenUI5 Theme Library sap_horizon",
|
|
5
5
|
"author": "SAP SE (https://www.sap.com)",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -14,22 +14,22 @@
|
|
|
14
14
|
"url": "https://github.com/SAP/openui5.git"
|
|
15
15
|
},
|
|
16
16
|
"devDependencies": {
|
|
17
|
-
"@openui5/sap.f": "1.114.
|
|
18
|
-
"@openui5/sap.m": "1.114.
|
|
19
|
-
"@openui5/sap.tnt": "1.114.
|
|
20
|
-
"@openui5/sap.ui.codeeditor": "1.114.
|
|
21
|
-
"@openui5/sap.ui.commons": "1.114.
|
|
22
|
-
"@openui5/sap.ui.core": "1.114.
|
|
23
|
-
"@openui5/sap.ui.dt": "1.114.
|
|
24
|
-
"@openui5/sap.ui.fl": "1.114.
|
|
25
|
-
"@openui5/sap.ui.mdc": "1.114.
|
|
26
|
-
"@openui5/sap.ui.integration": "1.114.
|
|
27
|
-
"@openui5/sap.ui.layout": "1.114.
|
|
28
|
-
"@openui5/sap.ui.rta": "1.114.
|
|
29
|
-
"@openui5/sap.ui.suite": "1.114.
|
|
30
|
-
"@openui5/sap.ui.table": "1.114.
|
|
31
|
-
"@openui5/sap.ui.unified": "1.114.
|
|
32
|
-
"@openui5/sap.ui.ux3": "1.114.
|
|
33
|
-
"@openui5/sap.uxap": "1.114.
|
|
17
|
+
"@openui5/sap.f": "1.114.12",
|
|
18
|
+
"@openui5/sap.m": "1.114.12",
|
|
19
|
+
"@openui5/sap.tnt": "1.114.12",
|
|
20
|
+
"@openui5/sap.ui.codeeditor": "1.114.12",
|
|
21
|
+
"@openui5/sap.ui.commons": "1.114.12",
|
|
22
|
+
"@openui5/sap.ui.core": "1.114.12",
|
|
23
|
+
"@openui5/sap.ui.dt": "1.114.12",
|
|
24
|
+
"@openui5/sap.ui.fl": "1.114.12",
|
|
25
|
+
"@openui5/sap.ui.mdc": "1.114.12",
|
|
26
|
+
"@openui5/sap.ui.integration": "1.114.12",
|
|
27
|
+
"@openui5/sap.ui.layout": "1.114.12",
|
|
28
|
+
"@openui5/sap.ui.rta": "1.114.12",
|
|
29
|
+
"@openui5/sap.ui.suite": "1.114.12",
|
|
30
|
+
"@openui5/sap.ui.table": "1.114.12",
|
|
31
|
+
"@openui5/sap.ui.unified": "1.114.12",
|
|
32
|
+
"@openui5/sap.ui.ux3": "1.114.12",
|
|
33
|
+
"@openui5/sap.uxap": "1.114.12"
|
|
34
34
|
}
|
|
35
35
|
}
|
|
@@ -35,7 +35,8 @@
|
|
|
35
35
|
.sapFAvatar {
|
|
36
36
|
background-color: @sapUiButtonActiveBackground;
|
|
37
37
|
|
|
38
|
-
.sapFAvatarInitialsHolder
|
|
38
|
+
.sapFAvatarInitialsHolder,
|
|
39
|
+
&.sapFAvatarIcon {
|
|
39
40
|
color: @sapUiButtonActiveTextColor;
|
|
40
41
|
}
|
|
41
42
|
}
|
|
@@ -66,7 +67,8 @@
|
|
|
66
67
|
border: 0.0625rem solid @sapUiButtonActiveBorderColor;
|
|
67
68
|
background-color: @sapUiButtonActiveBackground;
|
|
68
69
|
|
|
69
|
-
.sapFAvatarInitialsHolder
|
|
70
|
+
.sapFAvatarInitialsHolder,
|
|
71
|
+
&.sapFAvatarIcon {
|
|
70
72
|
color: @sapUiButtonActiveTextColor;
|
|
71
73
|
}
|
|
72
74
|
}
|
|
@@ -96,14 +96,20 @@
|
|
|
96
96
|
font-size: @sapMFontHeader5Size;
|
|
97
97
|
font-weight: bold;
|
|
98
98
|
|
|
99
|
-
.sapMBtn:hover
|
|
99
|
+
.sapMBtn:not(:hover) .sapMBtnInner.sapMBtnTransparent::after,
|
|
100
|
+
.sapMBtnTransparent {
|
|
101
|
+
color: @sapUiShellTextColor;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
.sapMBtn:hover > .sapMBtnHoverable:not(.sapMBtnActive) {
|
|
100
105
|
background: @sapUiShellHoverBackground;
|
|
101
106
|
box-shadow: @sapUiContentInteractionShadow;
|
|
102
107
|
border-color: @sapUiButtonLiteBorderColor;
|
|
108
|
+
color: @sapUiShellActiveTextColor;
|
|
103
109
|
}
|
|
104
110
|
|
|
105
|
-
.sapMBtn:hover > .sapMBtnHoverable.
|
|
106
|
-
background: @
|
|
111
|
+
.sapMBtn:hover > .sapMBtnHoverable.sapMBtnActive {
|
|
112
|
+
background: @sapUiShellHoverBackground;
|
|
107
113
|
color: @sapUiShellActiveTextColor;
|
|
108
114
|
border-color: @sapUiButtonLiteActiveBorderColor;
|
|
109
115
|
}
|
|
@@ -506,7 +512,7 @@ html.sap-desktop .sapFShellBarSearchWrap .sapMBtn:not(.sapFShellBarSearchCancelB
|
|
|
506
512
|
|
|
507
513
|
// sap.m.Button
|
|
508
514
|
.sapFShellBarItem.sapMBtn,
|
|
509
|
-
.sapFShellBarItem .sapMBtn,
|
|
515
|
+
.sapFShellBarItem:not(.sapFSHMegaMenu ) .sapMBtn,
|
|
510
516
|
.sapMTB-Transparent-CTX .sapFShellBarItem.sapMBtn,
|
|
511
517
|
.sapMTB-Transparent-CTX .sapFShellBarItem .sapMBtn {
|
|
512
518
|
.sapMBtnInner::after,
|
|
@@ -96,14 +96,20 @@
|
|
|
96
96
|
font-size: @sapMFontHeader5Size;
|
|
97
97
|
font-weight: bold;
|
|
98
98
|
|
|
99
|
-
.sapMBtn:hover
|
|
99
|
+
.sapMBtn:not(:hover) .sapMBtnInner.sapMBtnTransparent::after,
|
|
100
|
+
.sapMBtnTransparent {
|
|
101
|
+
color: @sapUiShellTextColor;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
.sapMBtn:hover > .sapMBtnHoverable:not(.sapMBtnActive) {
|
|
100
105
|
background: @sapUiShellHoverBackground;
|
|
101
106
|
box-shadow: @sapUiContentInteractionShadow;
|
|
102
107
|
border-color: @sapUiButtonLiteBorderColor;
|
|
108
|
+
color: @sapUiShellActiveTextColor;
|
|
103
109
|
}
|
|
104
110
|
|
|
105
|
-
.sapMBtn:hover > .sapMBtnHoverable.
|
|
106
|
-
background: @
|
|
111
|
+
.sapMBtn:hover > .sapMBtnHoverable.sapMBtnActive {
|
|
112
|
+
background: @sapUiShellHoverBackground;
|
|
107
113
|
color: @sapUiShellActiveTextColor;
|
|
108
114
|
border-color: @sapUiButtonLiteActiveBorderColor;
|
|
109
115
|
}
|
|
@@ -504,7 +510,7 @@ html.sap-desktop .sapFShellBarSearchWrap .sapMBtn:not(.sapFShellBarSearchCancelB
|
|
|
504
510
|
|
|
505
511
|
// sap.m.Button
|
|
506
512
|
.sapFShellBarItem.sapMBtn,
|
|
507
|
-
.sapFShellBarItem .sapMBtn,
|
|
513
|
+
.sapFShellBarItem:not(.sapFSHMegaMenu ) .sapMBtn,
|
|
508
514
|
.sapMTB-Transparent-CTX .sapFShellBarItem.sapMBtn,
|
|
509
515
|
.sapMTB-Transparent-CTX .sapFShellBarItem .sapMBtn {
|
|
510
516
|
.sapMBtnInner::after,
|
|
@@ -22,10 +22,10 @@
|
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
.sapFAvatarFocusable.sapMAvatarPressed {
|
|
25
|
-
box-shadow: 0px 0px 0px
|
|
25
|
+
box-shadow: 0px 0px 0px @sapUiButtonBorderWidth @sapUiButtonSelectedBorderColor;
|
|
26
26
|
|
|
27
27
|
&:hover {
|
|
28
|
-
box-shadow: 0px 0px 0px
|
|
28
|
+
box-shadow: 0px 0px 0px @sapUiButtonBorderWidth @sapUiButtonSelectedHoverBorderColor;
|
|
29
29
|
}
|
|
30
30
|
}
|
|
31
31
|
|
|
@@ -159,6 +159,19 @@ html.sap-desktop .sapMBtn:focus > .sapMBtnEmphasized.sapMBtnActive.sapMFocusable
|
|
|
159
159
|
border-color: @sapUiContentFocusColor;
|
|
160
160
|
}
|
|
161
161
|
|
|
162
|
+
// Value State Message buttons
|
|
163
|
+
:not(.sapMBtnDisabled) > span.sapMBtnInner.sapMBtnCritical.sapMBtnActive {
|
|
164
|
+
border-color: @sapUiButtonCriticalBorderColor;
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
:not(.sapMBtnDisabled) > span.sapMBtnInner.sapMBtnNegative.sapMBtnActive {
|
|
168
|
+
border-color: @sapUiButtonNegativeBorderColor;
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
:not(.sapMBtnDisabled) > span.sapMBtnInner.sapMBtnSuccess.sapMBtnActive {
|
|
172
|
+
border-color: @sapButton_Success_BorderColor;
|
|
173
|
+
}
|
|
174
|
+
|
|
162
175
|
html.sap-desktop .sapMBtn:focus > .sapMFocusable:not(.sapMBadgeIndicator):before {
|
|
163
176
|
content: "";
|
|
164
177
|
position: absolute;
|
|
@@ -173,10 +186,9 @@ html.sap-desktop .sapMBtn:focus > .sapMFocusable:not(.sapMBadgeIndicator):before
|
|
|
173
186
|
}
|
|
174
187
|
|
|
175
188
|
html.sap-desktop .sapMBtn:focus > .sapMBtnEmphasized.sapMFocusable:not(.sapMBtnActive):not(.sapMToggleBtnPressed):not(.sapMBadgeIndicator):before,
|
|
176
|
-
html.sap-desktop .sapMBtn:focus > .sapMBtnCritical.sapMFocusable:not(.sapMBadgeIndicator):before,
|
|
177
|
-
html.sap-desktop .sapMBtn:focus > .sapMBtnNegative.sapMFocusable:not(.sapMBadgeIndicator):before,
|
|
178
|
-
html.sap-desktop .sapMBtn:focus > .sapMBtnSuccess.sapMFocusable:not(.sapMBadgeIndicator):before
|
|
179
|
-
html.sap-desktop .sapMBtn:focus > .sapMBtnNeutral.sapMFocusable:not(.sapMBadgeIndicator):before {
|
|
189
|
+
html.sap-desktop .sapMBtn:focus > .sapMBtnCritical.sapMFocusable:not(.sapMBtnActive):not(.sapMBadgeIndicator):before,
|
|
190
|
+
html.sap-desktop .sapMBtn:focus > .sapMBtnNegative.sapMFocusable:not(.sapMBtnActive):not(.sapMBadgeIndicator):before,
|
|
191
|
+
html.sap-desktop .sapMBtn:focus > .sapMBtnSuccess.sapMFocusable:not(.sapMBtnActive):not(.sapMBadgeIndicator):before {
|
|
180
192
|
border: 0.125rem solid @sapUiContentContrastFocusColor;
|
|
181
193
|
}
|
|
182
194
|
|
|
@@ -17,6 +17,10 @@
|
|
|
17
17
|
}
|
|
18
18
|
}
|
|
19
19
|
|
|
20
|
+
.sapMMenuBtn.sapMMenuBtnRegular .sapMBtnInner::after {
|
|
21
|
+
line-height: 2.125rem;
|
|
22
|
+
}
|
|
23
|
+
|
|
20
24
|
.sapMMenuBtn.sapMMenuBtnRegular .sapMBtnInner:not(.sapMBtnText) {
|
|
21
25
|
padding-left: 0rem;
|
|
22
26
|
}
|
|
@@ -56,12 +60,8 @@
|
|
|
56
60
|
}
|
|
57
61
|
|
|
58
62
|
.sapMMenuBtnSplit .sapMSB:not(.sapMBtnDisabled) .sapMBtnInner.sapMBtnEmphasized.sapMBtnActive {
|
|
59
|
-
padding-right: 0.4375rem;
|
|
60
|
-
padding-left: 0.4375rem;
|
|
61
|
-
|
|
62
63
|
.sapMBtnContent {
|
|
63
64
|
position: relative;
|
|
64
|
-
top: -1px;
|
|
65
65
|
left: 0;
|
|
66
66
|
}
|
|
67
67
|
}
|
|
@@ -71,4 +71,22 @@
|
|
|
71
71
|
padding-right: 0.3125rem;
|
|
72
72
|
padding-left: 0.3125rem;
|
|
73
73
|
}
|
|
74
|
+
.sapMMenuBtn .sapMBtn:not(.sapMSBArrow) .sapMBtnInner .sapMBtnIcon,
|
|
75
|
+
.sapMMenuBtn .sapMBtn:not(.sapMSBArrow) .sapMBtnInner .sapMBtnContent {
|
|
76
|
+
position: relative;
|
|
77
|
+
top: 0;
|
|
78
|
+
left: 0;
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.sapMMenuBtn.sapMMenuBtnRegular .sapMBtn:not(.sapMBtnDisabled) .sapMBtnInner.sapMBtnNegative.sapMBtnActive::after {
|
|
83
|
+
color: @sapUiButtonNegativeActiveTextColor;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.sapMMenuBtn.sapMMenuBtnRegular .sapMBtn:not(.sapMBtnDisabled) .sapMBtnInner.sapMBtnCritical.sapMBtnActive::after {
|
|
87
|
+
color: @sapUiButtonCriticalActiveTextColor;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
.sapMMenuBtn.sapMMenuBtnRegular .sapMBtn:not(.sapMBtnDisabled) .sapMBtnInner.sapMBtnSuccess.sapMBtnActive::after {
|
|
91
|
+
color: @sapUiButtonSuccessActiveTextColor;
|
|
74
92
|
}
|
|
@@ -3,17 +3,21 @@
|
|
|
3
3
|
/* Horizon theme */
|
|
4
4
|
/* =================================== */
|
|
5
5
|
|
|
6
|
-
.sapMObjectNumberInverted .sapMObjectNumberText,
|
|
7
|
-
.sapMObjectNumberInverted .sapMObjectNumberUnit {
|
|
8
|
-
text-shadow: @sapUiContentContrastTextShadow;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
6
|
.sapMObjectNumberInverted {
|
|
12
|
-
|
|
13
|
-
|
|
7
|
+
box-sizing: border-box;
|
|
8
|
+
&:not(.sapMObjectNumberLarge) .sapMObjectNumberInner {
|
|
9
|
+
min-height: 1rem;
|
|
10
|
+
height: auto;
|
|
14
11
|
}
|
|
15
12
|
}
|
|
16
13
|
|
|
14
|
+
.sapMObjectNumberInverted .sapMObjectNumberInner {
|
|
15
|
+
border: 0.0625rem solid;
|
|
16
|
+
border-radius: @sapUiButtonBorderCornerRadius;
|
|
17
|
+
padding: 0.1875rem 0.25rem;
|
|
18
|
+
vertical-align: middle;
|
|
19
|
+
}
|
|
20
|
+
|
|
17
21
|
html.sap-desktop .sapMObjectNumberActive:focus {
|
|
18
22
|
.sapMObjectNumberInner::after {
|
|
19
23
|
left: -0.0625rem;
|
|
@@ -33,7 +37,7 @@ html.sap-desktop .sapMObjectNumberActive:focus {
|
|
|
33
37
|
bottom: -0.0625rem;
|
|
34
38
|
height: auto;
|
|
35
39
|
outline: none;
|
|
36
|
-
border-radius:
|
|
40
|
+
border-radius: @sapUiButtonBorderCornerRadius;
|
|
37
41
|
border: 0.125rem solid @sapUiContentFocusColor;
|
|
38
42
|
}
|
|
39
43
|
|
|
@@ -52,29 +56,115 @@ html.sap-desktop .sapMObjectNumberActive:focus {
|
|
|
52
56
|
bottom: -0.0625rem;
|
|
53
57
|
height: auto;
|
|
54
58
|
outline: none;
|
|
55
|
-
border-radius:
|
|
59
|
+
border-radius: @sapUiButtonBorderCornerRadius;
|
|
56
60
|
border: 0.125rem solid @sapUiContentFocusColor;
|
|
57
61
|
}
|
|
58
62
|
}
|
|
59
63
|
}
|
|
60
64
|
|
|
61
|
-
.objectNumberStatusMixIn(@class, @
|
|
65
|
+
.objectNumberStatusMixIn(@class, @regularBackgroundColor, @regularTextColor,
|
|
66
|
+
@hoverBackgroundColor, @hoverTextColor,
|
|
67
|
+
@activeBackgroundColor, @activeTextColor,
|
|
68
|
+
@regularTextShadow, @activeTextShadow,
|
|
69
|
+
@regularBorderColor, @hoverBorderColor, @activeBorderColor) {
|
|
62
70
|
.sapMObjectNumberInverted.@{class} {
|
|
71
|
+
.sapMObjectNumberText,
|
|
72
|
+
.sapMObjectNumberUnit {
|
|
73
|
+
text-shadow: @regularTextShadow;
|
|
74
|
+
}
|
|
63
75
|
.sapMObjectNumberInner {
|
|
64
|
-
|
|
65
|
-
color: @
|
|
76
|
+
border-color: @regularBorderColor;
|
|
77
|
+
background-color: @regularBackgroundColor;
|
|
78
|
+
color: @regularTextColor;
|
|
66
79
|
}
|
|
67
80
|
|
|
68
81
|
&.sapMObjectNumberActive {
|
|
69
82
|
.sapMObjectNumberInner:hover {
|
|
70
|
-
|
|
71
|
-
color: @
|
|
83
|
+
border-color: @hoverBorderColor;
|
|
84
|
+
background-color: @hoverBackgroundColor;
|
|
85
|
+
color: @hoverTextColor;
|
|
72
86
|
}
|
|
73
87
|
.sapMObjectNumberInner:active,
|
|
74
88
|
&.sapMObjectNumberPressed .sapMObjectNumberInner {
|
|
75
|
-
|
|
76
|
-
color: @
|
|
89
|
+
border-color: @activeBorderColor;
|
|
90
|
+
background-color: @activeBackgroundColor;
|
|
91
|
+
color: @activeTextColor;
|
|
92
|
+
|
|
93
|
+
.sapMObjectNumberText,
|
|
94
|
+
.sapMObjectNumberUnit {
|
|
95
|
+
text-shadow: @activeTextShadow;
|
|
96
|
+
}
|
|
77
97
|
}
|
|
78
98
|
}
|
|
79
99
|
}
|
|
80
|
-
}
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
.objectNumberStatusMixIn(sapMObjectNumberStatusNone,
|
|
103
|
+
@sapNeutralBackground,
|
|
104
|
+
@sapTextColor,
|
|
105
|
+
@sapUiButtonNeutralHoverBackground,
|
|
106
|
+
@sapUiButtonNeutralHoverTextColor,
|
|
107
|
+
@sapUiButtonNeutralActiveBackground,
|
|
108
|
+
@sapUiButtonActiveTextColor,
|
|
109
|
+
@sapUiContentTextShadow,
|
|
110
|
+
@sapUiContentTextShadow,
|
|
111
|
+
@sapNeutralBorderColor,
|
|
112
|
+
@sapUiButtonNeutralHoverBorderColor,
|
|
113
|
+
@sapUiButtonNeutralActiveBorderColor
|
|
114
|
+
);
|
|
115
|
+
|
|
116
|
+
.objectNumberStatusMixIn(sapMObjectNumberStatusInformation,
|
|
117
|
+
@sapUiButtonInformationBackground,
|
|
118
|
+
@sapUiButtonInformationTextColor,
|
|
119
|
+
@sapUiButtonInformationHoverBackground,
|
|
120
|
+
@sapUiButtonInformationHoverTextColor,
|
|
121
|
+
@sapUiButtonInformationActiveBackground,
|
|
122
|
+
@sapUiButtonSelectedTextColor,
|
|
123
|
+
@sapUiContentTextShadow,
|
|
124
|
+
@sapUiContentTextShadow,
|
|
125
|
+
@sapUiButtonInformationBorderColor,
|
|
126
|
+
@sapUiButtonInformationHoverBorderColor,
|
|
127
|
+
@sapUiButtonInformationActiveBorderColor
|
|
128
|
+
);
|
|
129
|
+
|
|
130
|
+
.objectNumberStatusMixIn(sapMObjectNumberStatusError,
|
|
131
|
+
@sapUiButtonNegativeBackground,
|
|
132
|
+
@sapUiButtonNegativeTextColor,
|
|
133
|
+
@sapUiButtonNegativeHoverBackground,
|
|
134
|
+
@sapUiButtonNegativeHoverTextColor,
|
|
135
|
+
@sapUiButtonNegativeActiveBackground,
|
|
136
|
+
@sapUiButtonRejectSelectedTextColor,
|
|
137
|
+
@sapUiContentContrastTextShadow,
|
|
138
|
+
@sapUiContentTextShadow,
|
|
139
|
+
@sapUiButtonNegativeBorderColor,
|
|
140
|
+
@sapUiButtonNegativeHoverBorderColor,
|
|
141
|
+
@sapUiButtonNegativeActiveBorderColor
|
|
142
|
+
);
|
|
143
|
+
|
|
144
|
+
.objectNumberStatusMixIn(sapMObjectNumberStatusWarning,
|
|
145
|
+
@sapUiButtonCriticalBackground,
|
|
146
|
+
@sapUiButtonCriticalTextColor,
|
|
147
|
+
@sapUiButtonCriticalHoverBackground,
|
|
148
|
+
@sapUiButtonCriticalHoverTextColor,
|
|
149
|
+
@sapUiButtonCriticalActiveBackground,
|
|
150
|
+
@sapUiButtonAttentionSelectedTextColor,
|
|
151
|
+
@sapUiContentContrastTextShadow,
|
|
152
|
+
@sapUiContentTextShadow,
|
|
153
|
+
@sapUiButtonCriticalBorderColor,
|
|
154
|
+
@sapUiButtonCriticalHoverBorderColor,
|
|
155
|
+
@sapUiButtonCriticalActiveBorderColor
|
|
156
|
+
);
|
|
157
|
+
|
|
158
|
+
.objectNumberStatusMixIn(sapMObjectNumberStatusSuccess,
|
|
159
|
+
@sapUiButtonSuccessBackground,
|
|
160
|
+
@sapUiButtonSuccessTextColor,
|
|
161
|
+
@sapUiButtonSuccessHoverBackground,
|
|
162
|
+
@sapUiButtonSuccessHoverTextColor,
|
|
163
|
+
@sapUiButtonSuccessActiveBackground,
|
|
164
|
+
@sapUiButtonAcceptSelectedTextColor,
|
|
165
|
+
@sapUiContentContrastTextShadow,
|
|
166
|
+
@sapUiContentTextShadow,
|
|
167
|
+
@sapUiButtonSuccessBorderColor,
|
|
168
|
+
@sapUiButtonSuccessHoverBorderColor,
|
|
169
|
+
@sapUiButtonSuccessActiveBorderColor
|
|
170
|
+
);
|
|
@@ -19,10 +19,14 @@
|
|
|
19
19
|
text-shadow: none;
|
|
20
20
|
color: @sapUiButtonTextColor;
|
|
21
21
|
border-top: 1px solid @sapUiButtonBorderColor;
|
|
22
|
-
border-left: 1px solid
|
|
22
|
+
border-left: 1px solid transparent;
|
|
23
23
|
border-bottom: 1px solid @sapUiButtonBorderColor;
|
|
24
24
|
border-right: 1px solid transparent;
|
|
25
|
-
background-color:
|
|
25
|
+
background-color: transparent;
|
|
26
|
+
margin-left: 1px;
|
|
27
|
+
margin-right: 1px;
|
|
28
|
+
margin-top: -1px;
|
|
29
|
+
margin-bottom: -1px;
|
|
26
30
|
}
|
|
27
31
|
&:not(.sapMSegBBtnMixed) .sapMImg {
|
|
28
32
|
padding-left: 0.5625rem;
|
|
@@ -31,20 +35,39 @@
|
|
|
31
35
|
}
|
|
32
36
|
}
|
|
33
37
|
|
|
38
|
+
.sapMSegB .sapMSegBBtn .sapMSegBBtnInnerWrapper {
|
|
39
|
+
border-top: 1px solid @sapUiButtonBorderColor;
|
|
40
|
+
border-bottom: 1px solid @sapUiButtonBorderColor;
|
|
41
|
+
background-color: @sapUiButtonBackground;
|
|
42
|
+
}
|
|
43
|
+
|
|
34
44
|
.sapMSegB .sapMSegBBtn {
|
|
35
45
|
position: relative;
|
|
36
46
|
}
|
|
37
47
|
|
|
38
|
-
.sapMSegBBtn:first-child .sapMSegBBtnInner
|
|
48
|
+
.sapMSegBBtn:first-child .sapMSegBBtnInner {
|
|
49
|
+
border-top-left-radius: @sapUiButtonBorderCornerRadius;
|
|
50
|
+
border-bottom-left-radius: @sapUiButtonBorderCornerRadius;
|
|
51
|
+
border-left: 1px solid @sapUiButtonBorderColor;
|
|
52
|
+
margin-left: -1px;
|
|
53
|
+
}
|
|
54
|
+
|
|
39
55
|
.sapMSegBBtn:first-child .sapMSegBBtnInnerWrapper {
|
|
40
56
|
border-top-left-radius: @sapUiButtonBorderCornerRadius;
|
|
41
57
|
border-bottom-left-radius: @sapUiButtonBorderCornerRadius;
|
|
42
58
|
}
|
|
43
59
|
|
|
44
|
-
.sapMSegBBtn
|
|
45
|
-
|
|
60
|
+
.sapMSegBBtn.sapMSegBtnLastVisibleButton .sapMSegBBtnInnerWrapper {
|
|
61
|
+
border-top-right-radius: @sapUiButtonBorderCornerRadius;
|
|
62
|
+
border-bottom-right-radius: @sapUiButtonBorderCornerRadius;
|
|
63
|
+
border-right: 1px solid @sapUiButtonBorderColor;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.sapMSegBBtn.sapMSegBtnLastVisibleButton .sapMSegBBtnInner{
|
|
46
67
|
border-top-right-radius: @sapUiButtonBorderCornerRadius;
|
|
47
68
|
border-bottom-right-radius: @sapUiButtonBorderCornerRadius;
|
|
69
|
+
border-right: 1px solid @sapUiButtonBorderColor;
|
|
70
|
+
margin-right: -1px;
|
|
48
71
|
}
|
|
49
72
|
|
|
50
73
|
html.sap-desktop .sapMSegBBtnFocusable:hover .sapMSegBBtnInner {
|
|
@@ -54,7 +77,7 @@ html.sap-desktop .sapMSegBBtnFocusable:hover .sapMSegBBtnInner {
|
|
|
54
77
|
}
|
|
55
78
|
|
|
56
79
|
html.sap-desktop .sapMSegBBtnFocusable.sapMSegBBtnSel:hover .sapMSegBBtnInner {
|
|
57
|
-
border-color:
|
|
80
|
+
border-color: @sapUiButtonSelectedBorderColor;
|
|
58
81
|
}
|
|
59
82
|
|
|
60
83
|
html.sap-desktop .sapMSegBBtnFocusable.sapMBtnActive:hover .sapMSegBBtnInner {
|
|
@@ -63,22 +86,121 @@ html.sap-desktop .sapMSegBBtnFocusable.sapMBtnActive:hover .sapMSegBBtnInner {
|
|
|
63
86
|
|
|
64
87
|
/* Custom focus outline: */
|
|
65
88
|
html.sap-desktop {
|
|
66
|
-
.sapMSegBBtnFocusable:focus .sapMSegBBtnInner:after {
|
|
89
|
+
.sapMSegBBtn:first-child.sapMSegBBtnFocusable:focus .sapMSegBBtnInner:after {
|
|
67
90
|
content: "";
|
|
68
91
|
position: absolute;
|
|
69
92
|
box-sizing: border-box;
|
|
70
93
|
left: 0.125rem;
|
|
71
94
|
top: 0.375rem;
|
|
95
|
+
right: 0.2rem;
|
|
96
|
+
bottom: 0.375rem;
|
|
97
|
+
pointer-events: none;
|
|
98
|
+
border: 0.125rem solid @sapUiContentFocusColor;
|
|
99
|
+
border-radius: 0.375rem;
|
|
100
|
+
}
|
|
101
|
+
.sapUiSizeCompact .sapMSegBBtn:first-child.sapMSegBBtnFocusable:focus .sapMSegBBtnInner:after,
|
|
102
|
+
&.sapUiSizeCompact .sapMSegBBtn:first-child.sapMSegBBtnFocusable:focus .sapMSegBBtnInner:after {
|
|
103
|
+
top: 0.3rem;
|
|
104
|
+
bottom: 0.3rem;
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
/* Custom focus outline: */
|
|
109
|
+
html.sap-desktop {
|
|
110
|
+
.sapMSegBBtn.sapMSegBtnLastVisibleButton.sapMSegBBtnFocusable:focus .sapMSegBBtnInner:after {
|
|
111
|
+
content: "";
|
|
112
|
+
position: absolute;
|
|
113
|
+
box-sizing: border-box;
|
|
114
|
+
left: 0.2rem;
|
|
115
|
+
top: 0.375rem;
|
|
72
116
|
right: 0.125rem;
|
|
73
117
|
bottom: 0.375rem;
|
|
74
118
|
pointer-events: none;
|
|
75
119
|
border: 0.125rem solid @sapUiContentFocusColor;
|
|
76
120
|
border-radius: 0.375rem;
|
|
77
121
|
}
|
|
122
|
+
.sapUiSizeCompact .sapMSegBBtn.sapMSegBtnLastVisibleButton.sapMSegBBtnFocusable:focus .sapMSegBBtnInner:after,
|
|
123
|
+
&.sapUiSizeCompact .sapMSegBBtn.sapMSegBtnLastVisibleButton.sapMSegBBtnFocusable:focus .sapMSegBBtnInner:after {
|
|
124
|
+
top: 0.3rem;
|
|
125
|
+
bottom: 0.3rem;
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
html.sap-desktop {
|
|
130
|
+
.sapMSegBBtnFocusable:focus .sapMSegBBtnInner:after {
|
|
131
|
+
content: "";
|
|
132
|
+
position: absolute;
|
|
133
|
+
box-sizing: border-box;
|
|
134
|
+
left: 0.2rem;
|
|
135
|
+
top: 0.375rem;
|
|
136
|
+
right: 0.2rem;
|
|
137
|
+
bottom: 0.375rem;
|
|
138
|
+
pointer-events: none;
|
|
139
|
+
border: 0.125rem solid @sapUiContentFocusColor;
|
|
140
|
+
border-radius: 0.375rem;
|
|
141
|
+
}
|
|
78
142
|
.sapUiSizeCompact .sapMSegBBtnFocusable:focus .sapMSegBBtnInner:after,
|
|
79
143
|
&.sapUiSizeCompact .sapMSegBBtnFocusable:focus .sapMSegBBtnInner:after {
|
|
80
|
-
top: 0.
|
|
81
|
-
bottom: 0.
|
|
144
|
+
top: 0.3rem;
|
|
145
|
+
bottom: 0.3rem;
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
.sapMSegB.sapMSegBIcons {
|
|
150
|
+
.sapMSegBBtn.sapMSegBtnLastVisibleButton:not(.sapMSegBBtnMixed) .sapMSegBBtnInner {
|
|
151
|
+
margin-right: -1px;
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
.sapMSegB.sapMSegBIcons {
|
|
156
|
+
.sapMSegBBtn.sapMSegBtnLastVisibleButton:not(.sapMSegBBtnMixed) .sapMSegBBtnInner {
|
|
157
|
+
margin-right: -1px;
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
/* Custom focus outline: */
|
|
162
|
+
html.sap-desktop {
|
|
163
|
+
.sapMSegB.sapMSegBIcons {
|
|
164
|
+
.sapMSegBBtn.sapMSegBBtnFocusable:not(.sapMSegBtnLastVisibleButton):not(.sapMSegBBtnMixed):focus .sapMSegBBtnInner:after {
|
|
165
|
+
content: "";
|
|
166
|
+
position: absolute;
|
|
167
|
+
box-sizing: border-box;
|
|
168
|
+
left: 0.2rem;
|
|
169
|
+
top: 0.375rem;
|
|
170
|
+
right: 0.15rem;
|
|
171
|
+
bottom: 0.375rem;
|
|
172
|
+
pointer-events: none;
|
|
173
|
+
border: 0.125rem solid @sapUiContentFocusColor;
|
|
174
|
+
border-radius: 0.375rem;
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
.sapUiSizeCompact .sapMSegB.sapMSegBIcons .sapMSegBBtn.sapMSegBBtnFocusable:not(.sapMSegBBtnMixed):not(.sapMSegBtnLastVisibleButton):focus .sapMSegBBtnInner:after,
|
|
178
|
+
&.sapUiSizeCompact .sapMSegB.sapMSegBIcons .sapMSegBBtn.sapMSegBBtnFocusable:not(.sapMSegBBtnMixed):not(.sapMSegBtnLastVisibleButton):focus .sapMSegBBtnInner:after {
|
|
179
|
+
top: 0.3rem;
|
|
180
|
+
bottom: 0.3rem;
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
/* Custom focus outline: */
|
|
185
|
+
html.sap-desktop {
|
|
186
|
+
.sapMSegB.sapMSegBIcons {
|
|
187
|
+
.sapMSegBBtn.sapMSegBBtnFocusable:not(.sapMSegBBtnMixed):first-child:focus .sapMSegBBtnInner:after {
|
|
188
|
+
content: "";
|
|
189
|
+
position: absolute;
|
|
190
|
+
box-sizing: border-box;
|
|
191
|
+
left: 0.15rem;
|
|
192
|
+
top: 0.375rem;
|
|
193
|
+
right: 0.15rem;
|
|
194
|
+
bottom: 0.375rem;
|
|
195
|
+
pointer-events: none;
|
|
196
|
+
border: 0.125rem solid @sapUiContentFocusColor;
|
|
197
|
+
border-radius: 0.375rem;
|
|
198
|
+
}
|
|
199
|
+
.sapUiSizeCompact .sapMSegBBtn.sapMSegBBtnFocusable:not(.sapMSegBBtnMixed):first-child:focus .sapMSegBBtnInner:after,
|
|
200
|
+
&.sapUiSizeCompact .sapMSegBBtn.sapMSegBBtnFocusable:not(.sapMSegBBtnMixed):first-child:focus .sapMSegBBtnInner:after {
|
|
201
|
+
top: 0.3rem;
|
|
202
|
+
bottom: 0.3rem;
|
|
203
|
+
}
|
|
82
204
|
}
|
|
83
205
|
}
|
|
84
206
|
|
|
@@ -127,7 +249,7 @@ html.sap-desktop {
|
|
|
127
249
|
|
|
128
250
|
.sapMSegBBtn.sapMSegBBtnSel:hover {
|
|
129
251
|
.sapMSegBBtnInner {
|
|
130
|
-
border-color: @
|
|
252
|
+
border-color: @sapUiButtonSelectedBorderColor;
|
|
131
253
|
}
|
|
132
254
|
}
|
|
133
255
|
|
|
@@ -206,7 +328,7 @@ html.sap-desktop .sapMSegBBtnFocusable.sapMBtnActive:hover .sapMSegBBtnInner {
|
|
|
206
328
|
border-bottom-left-radius: 0.5rem;
|
|
207
329
|
}
|
|
208
330
|
|
|
209
|
-
.sapMSegBBtn
|
|
331
|
+
.sapMSegBBtn.sapMSegBtnLastVisibleButton .sapMSegBBtnInner {
|
|
210
332
|
border-top-right-radius: 0.5rem;
|
|
211
333
|
border-bottom-right-radius: 0.5rem;
|
|
212
334
|
}
|
|
@@ -118,8 +118,10 @@ html.sap-desktop .sapMSltIconOnly.focus:not(.sapMSltExpanded):not(.sapMSltDisabl
|
|
|
118
118
|
}
|
|
119
119
|
|
|
120
120
|
.sapMSlt.sapMSltReadonly {
|
|
121
|
-
|
|
122
|
-
|
|
121
|
+
border-color: @sapUiFieldReadOnlyBorderColor;
|
|
122
|
+
background:@sapUiFieldReadOnlyBackgroundStyle;
|
|
123
|
+
background-color: @sapUiFieldReadOnlyBackground;
|
|
124
|
+
box-shadow: none;
|
|
123
125
|
}
|
|
124
126
|
|
|
125
127
|
div.sapMSltPicker .sapMSltPickerValueState {
|