@openui5/themelib_sap_horizon 1.108.20 → 1.108.21

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.
Files changed (44) hide show
  1. package/.reuse/dep5 +0 -5
  2. package/THIRDPARTY.txt +0 -6
  3. package/package.json +18 -18
  4. package/src/sap/f/themes/sap_horizon/AvatarGroup.less +81 -25
  5. package/src/sap/f/themes/sap_horizon_dark/AvatarGroup.less +82 -25
  6. package/src/sap/m/themes/sap_horizon/Button.less +16 -4
  7. package/src/sap/m/themes/sap_horizon/IconTabBar.less +0 -1
  8. package/src/sap/m/themes/sap_horizon/MenuButton.less +22 -4
  9. package/src/sap/m/themes/sap_horizon/ObjectStatus.less +243 -20
  10. package/src/sap/m/themes/sap_horizon/RangeSlider.less +6 -8
  11. package/src/sap/m/themes/sap_horizon/SegmentedButton.less +133 -11
  12. package/src/sap/m/themes/sap_horizon/Select.less +4 -2
  13. package/src/sap/m/themes/sap_horizon/Slider.less +18 -22
  14. package/src/sap/m/themes/sap_horizon/SplitButton.less +73 -23
  15. package/src/sap/m/themes/sap_horizon_dark/Button.less +16 -4
  16. package/src/sap/m/themes/sap_horizon_dark/IconTabBar.less +0 -1
  17. package/src/sap/m/themes/sap_horizon_dark/MenuButton.less +18 -3
  18. package/src/sap/m/themes/sap_horizon_dark/ObjectStatus.less +243 -20
  19. package/src/sap/m/themes/sap_horizon_dark/RangeSlider.less +28 -8
  20. package/src/sap/m/themes/sap_horizon_dark/SegmentedButton.less +133 -11
  21. package/src/sap/m/themes/sap_horizon_dark/Select.less +4 -1
  22. package/src/sap/m/themes/sap_horizon_dark/Slider.less +18 -21
  23. package/src/sap/m/themes/sap_horizon_dark/SplitButton.less +73 -23
  24. package/src/sap/m/themes/sap_horizon_hcb/MenuButton.less +4 -0
  25. package/src/sap/m/themes/sap_horizon_hcb/ObjectStatus.less +124 -13
  26. package/src/sap/m/themes/sap_horizon_hcb/RangeSlider.less +4 -6
  27. package/src/sap/m/themes/sap_horizon_hcb/SegmentedButton.less +1 -1
  28. package/src/sap/m/themes/sap_horizon_hcb/Slider.less +20 -46
  29. package/src/sap/m/themes/sap_horizon_hcw/MenuButton.less +4 -0
  30. package/src/sap/m/themes/sap_horizon_hcw/ObjectStatus.less +124 -13
  31. package/src/sap/m/themes/sap_horizon_hcw/RangeSlider.less +4 -6
  32. package/src/sap/m/themes/sap_horizon_hcw/SegmentedButton.less +1 -1
  33. package/src/sap/m/themes/sap_horizon_hcw/Slider.less +20 -47
  34. package/src/sap/tnt/themes/sap_horizon_hcb/ToolHeader.less +2 -0
  35. package/src/sap/tnt/themes/sap_horizon_hcw/ToolHeader.less +2 -0
  36. package/src/sap/ui/commons/themes/sap_horizon/MenuButton.less +12 -0
  37. package/src/sap/ui/core/themes/sap_horizon/.theme +1 -1
  38. package/src/sap/ui/core/themes/sap_horizon/global.less +16 -16
  39. package/src/sap/ui/core/themes/sap_horizon_dark/.theme +1 -1
  40. package/src/sap/ui/core/themes/sap_horizon_dark/global.less +16 -16
  41. package/src/sap/ui/core/themes/sap_horizon_hcb/.theme +1 -1
  42. package/src/sap/ui/core/themes/sap_horizon_hcb/global.less +16 -16
  43. package/src/sap/ui/core/themes/sap_horizon_hcw/.theme +1 -1
  44. package/src/sap/ui/core/themes/sap_horizon_hcw/global.less +16 -16
package/.reuse/dep5 CHANGED
@@ -192,11 +192,6 @@ Copyright: 2012 Matteo Spinelli
192
192
  License: MIT
193
193
  Comment: these files belong to: cubiq.org - swipeview
194
194
 
195
- Files: src/sap.ui.core/src/sap/ui/thirdparty/mobify-carousel.js
196
- Copyright: Mobify R&D Inc.
197
- License: MIT
198
- Comment: these files belong to: Mobify.js
199
-
200
195
  Files: src/sap.ui.core/src/sap/ui/thirdparty/zyngascroll.js
201
196
  Copyright: 2011 Zynga Inc.
202
197
  License: MIT
package/THIRDPARTY.txt CHANGED
@@ -143,12 +143,6 @@ License: MIT
143
143
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
144
144
  Contained in: src/sap.ui.core/src/sap/ui/thirdparty/swipe-view.js
145
145
 
146
- Component: Mobify.js, version: 1.1
147
- Copyright: Mobify R&D Inc.
148
- License: MIT
149
- License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
150
- Contained in: src/sap.ui.core/src/sap/ui/thirdparty/mobify-carousel.js
151
-
152
146
  Component: Zynga Scroller, version: 1.2.1-0-g5d43806
153
147
  Copyright: 2011 Zynga Inc.
154
148
  License: MIT
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openui5/themelib_sap_horizon",
3
- "version": "1.108.20",
3
+ "version": "1.108.21",
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.108.20",
18
- "@openui5/sap.m": "1.108.20",
19
- "@openui5/sap.tnt": "1.108.20",
20
- "@openui5/sap.ui.codeeditor": "1.108.20",
21
- "@openui5/sap.ui.commons": "1.108.20",
22
- "@openui5/sap.ui.core": "1.108.20",
23
- "@openui5/sap.ui.dt": "1.108.20",
24
- "@openui5/sap.ui.fl": "1.108.20",
25
- "@openui5/sap.ui.mdc": "1.108.20",
26
- "@openui5/sap.ui.integration": "1.108.20",
27
- "@openui5/sap.ui.layout": "1.108.20",
28
- "@openui5/sap.ui.rta": "1.108.20",
29
- "@openui5/sap.ui.suite": "1.108.20",
30
- "@openui5/sap.ui.table": "1.108.20",
31
- "@openui5/sap.ui.unified": "1.108.20",
32
- "@openui5/sap.ui.ux3": "1.108.20",
33
- "@openui5/sap.uxap": "1.108.20"
17
+ "@openui5/sap.f": "1.108.21",
18
+ "@openui5/sap.m": "1.108.21",
19
+ "@openui5/sap.tnt": "1.108.21",
20
+ "@openui5/sap.ui.codeeditor": "1.108.21",
21
+ "@openui5/sap.ui.commons": "1.108.21",
22
+ "@openui5/sap.ui.core": "1.108.21",
23
+ "@openui5/sap.ui.dt": "1.108.21",
24
+ "@openui5/sap.ui.fl": "1.108.21",
25
+ "@openui5/sap.ui.mdc": "1.108.21",
26
+ "@openui5/sap.ui.integration": "1.108.21",
27
+ "@openui5/sap.ui.layout": "1.108.21",
28
+ "@openui5/sap.ui.rta": "1.108.21",
29
+ "@openui5/sap.ui.suite": "1.108.21",
30
+ "@openui5/sap.ui.table": "1.108.21",
31
+ "@openui5/sap.ui.unified": "1.108.21",
32
+ "@openui5/sap.ui.ux3": "1.108.21",
33
+ "@openui5/sap.uxap": "1.108.21"
34
34
  }
35
35
  }
@@ -1,43 +1,99 @@
1
- /* ============================= */
2
- /* CSS for control sap.f/AvatarGroup */
3
- /* Horizon theme */
4
- /* ============================= */
1
+ /* ===================================== */
2
+ /* CSS for control sap.f/AvatarGroup */
3
+ /* Horizon theme */
4
+ /* ===================================== */
5
5
 
6
+ .applyBorderColorAccent(@counter) when (@counter > 0) {
7
+ .sapFAvatar.sapFAvatarColorAccent@{counter} {
8
+ border: 0.0625rem solid~"@{sapUiAccent@{counter}}";
9
+ }
6
10
 
7
- /* ============================= */
8
- /* CSS for control sap.f/AvatarGroup */
9
- /* Base theme */
10
- /* ============================= */
11
-
12
- .sapFAvatarGroup:focus {
13
- box-shadow: 0px 0px 0px 0.125rem @sapUiContentFocusColor;
14
- outline: none;
15
- border-radius: 0.35rem;
11
+ .applyBorderColorAccent(@counter - 1);
16
12
  }
17
13
 
18
14
  .sapFAvatarGroup {
19
15
  padding: 0.125rem;
20
- }
21
16
 
22
- .sapFAvatarGroupIndividual {
17
+ .sapFAvatar {
18
+ border: none;
19
+ }
23
20
 
24
- .sapFAvatarGroupItem:focus {
21
+ &:focus {
22
+ box-shadow: 0px 0px 0px 0.125rem @sapUiContentFocusColor;
25
23
  outline: none;
26
- .sapFAvatar {
27
- outline: none;
28
- box-shadow: 0px 0px 0px 0.125rem @sapUiContentFocusColor;
24
+ border-radius: 0.35rem;
25
+ }
26
+
27
+ &.sapFAvatarGroupIndividual {
28
+ .sapFAvatarGroupItem {
29
+
30
+ &:hover:not(:active):not(:focus) {
31
+ .applyBorderColorAccent(10)
32
+ }
33
+
34
+ &:active {
35
+ .sapFAvatar {
36
+ background-color: @sapUiButtonActiveBackground;
37
+
38
+ .sapFAvatarInitialsHolder {
39
+ color: @sapUiButtonActiveTextColor;
40
+ }
41
+ }
42
+ }
43
+
44
+ &:focus {
45
+ outline: none;
46
+
47
+ .sapFAvatar {
48
+ outline: none;
49
+ box-shadow: 0px 0px 0px 0.125rem @sapUiContentFocusColor;
50
+ }
51
+ }
52
+
29
53
  }
30
54
  }
55
+
56
+ &.sapFAvatarGroupGroup {
57
+ &:hover:not(:active) {
58
+ .sapFAvatarGroupItem {
59
+ .applyBorderColorAccent(10);
60
+ }
61
+ }
62
+
63
+ &:active {
64
+ .sapFAvatarGroupItem {
65
+ .sapFAvatar {
66
+ border: 0.0625rem solid @sapUiButtonActiveBorderColor;
67
+ background-color: @sapUiButtonActiveBackground;
68
+
69
+ .sapFAvatarInitialsHolder {
70
+ color: @sapUiButtonActiveTextColor;
71
+ }
72
+ }
73
+ }
74
+
75
+ .sapFAvatarGroupMoreButton {
76
+ .sapMBtnInner {
77
+ background-color: @sapUiButtonActiveBackground;
78
+ border: 0.0625rem solid @sapUiButtonActiveBorderColor;
79
+
80
+ .sapMBtnContent {
81
+ color: @sapUiButtonActiveTextColor;
82
+ }
83
+ }
84
+ }
85
+ }
86
+ }
87
+ }
88
+
89
+ .sapFAvatarGroupPopover .sapFCard {
90
+ border-radius: 0;
31
91
  }
32
92
 
33
- html.sap-desktop .sapFAvatarGroupMoreButton.sapMBtn:focus > .sapMFocusable:not(.sapMBadgeIndicator):before {
93
+ html.sap-desktop .sapFAvatarGroupMoreButton.sapMBtn:focus>.sapMFocusable:not(.sapMBadgeIndicator):before {
34
94
  border-radius: 50%;
35
95
  left: 0;
36
96
  right: 0;
37
97
  top: 0;
38
98
  bottom: 0;
39
- }
40
-
41
- .sapFAvatarGroupPopover .sapFCard {
42
- border-radius: 0;
43
- }
99
+ }
@@ -1,42 +1,99 @@
1
- /* ================================== */
2
- /* CSS for control sap.f/AvatarGroup */
3
- /* Evening Horizon theme */
4
- /* ================================== */
5
-
6
- .sapFAvatarGroup:focus {
7
- box-shadow: 0px 0px 0px 0.125rem @sapUiContentFocusColor;
8
- outline: none;
9
- border-radius: 0.35rem;
1
+ /* ===================================== */
2
+ /* CSS for control sap.f/AvatarGroup */
3
+ /* Evening Horizon theme */
4
+ /* ===================================== */
5
+
6
+ .applyBorderColorAccent(@counter) when (@counter > 0) {
7
+ .sapFAvatar.sapFAvatarColorAccent@{counter} {
8
+ border: 0.0625rem solid~"@{sapUiAccent@{counter}}";
9
+ }
10
+
11
+ .applyBorderColorAccent(@counter - 1);
10
12
  }
11
13
 
12
14
  .sapFAvatarGroup {
13
15
  padding: 0.125rem;
14
- }
15
16
 
16
- .sapFAvatarGroupIndividual {
17
+ .sapFAvatar {
18
+ border: none;
19
+ }
17
20
 
18
- .sapFAvatarGroupItem:focus {
21
+ &:focus {
22
+ box-shadow: 0px 0px 0px 0.125rem @sapUiContentFocusColor;
19
23
  outline: none;
20
- .sapFAvatar {
21
- outline: none;
22
- box-shadow: 0px 0px 0px 0.125rem @sapUiContentFocusColor;
24
+ border-radius: 0.35rem;
25
+ }
26
+
27
+ &.sapFAvatarGroupIndividual {
28
+ .sapFAvatarGroupItem {
29
+
30
+ &:hover:not(:active):not(:focus) {
31
+ .applyBorderColorAccent(10)
32
+ }
33
+
34
+ &:active {
35
+ .sapFAvatar {
36
+ background-color: @sapUiButtonActiveBackground;
37
+
38
+ .sapFAvatarInitialsHolder {
39
+ color: @sapUiButtonActiveTextColor;
40
+ }
41
+ }
42
+ }
43
+
44
+ &:focus {
45
+ outline: none;
46
+
47
+ .sapFAvatar {
48
+ outline: none;
49
+ box-shadow: 0px 0px 0px 0.125rem @sapUiContentFocusColor;
50
+ }
51
+ }
52
+
23
53
  }
24
54
  }
25
- }
26
55
 
27
- html.sap-desktop .sapFAvatarGroupMoreButton.sapMBtn:focus > .sapMFocusable:not(.sapMBadgeIndicator):before {
28
- border-radius: 50%;
29
- left: 0;
30
- right: 0;
31
- top: 0;
32
- bottom: 0;
33
- }
56
+ &.sapFAvatarGroupGroup {
57
+ &:hover:not(:active) {
58
+ .sapFAvatarGroupItem {
59
+ .applyBorderColorAccent(10);
60
+ }
61
+ }
62
+
63
+ &:active {
64
+ .sapFAvatarGroupItem {
65
+ .sapFAvatar {
66
+ border: 0.0625rem solid @sapUiButtonActiveBorderColor;
67
+ background-color: @sapUiButtonActiveBackground;
34
68
 
69
+ .sapFAvatarInitialsHolder {
70
+ color: @sapUiButtonActiveTextColor;
71
+ }
72
+ }
73
+ }
35
74
 
36
- html.sap-desktop .sapFAvatarGroupMoreButton.sapMBtn:focus > .sapMBtnActive.sapMFocusable {
37
- border-color: transparent;
75
+ .sapFAvatarGroupMoreButton {
76
+ .sapMBtnInner {
77
+ background-color: @sapUiButtonActiveBackground;
78
+ border: 0.0625rem solid @sapUiButtonActiveBorderColor;
79
+
80
+ .sapMBtnContent {
81
+ color: @sapUiButtonActiveTextColor;
82
+ }
83
+ }
84
+ }
85
+ }
86
+ }
38
87
  }
39
88
 
40
89
  .sapFAvatarGroupPopover .sapFCard {
41
90
  border-radius: 0;
91
+ }
92
+
93
+ html.sap-desktop .sapFAvatarGroupMoreButton.sapMBtn:focus>.sapMFocusable:not(.sapMBadgeIndicator):before {
94
+ border-radius: 50%;
95
+ left: 0;
96
+ right: 0;
97
+ top: 0;
98
+ bottom: 0;
42
99
  }
@@ -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
 
@@ -10,7 +10,6 @@
10
10
  @_sap_m_IconTabBar_TextColor: @sapTextColor;
11
11
  @_sap_m_IconTabBar_TextShadow: none;
12
12
  @_sap_m_IconTabBar_Separator_Font_Size:@sapFontLargeSize;
13
- @_sap_m_IconTabBar_More_Button_Font_size: 1rem;
14
13
  @_sap_m_IconTabBar_More_Button_Focus_Offset: -0.3125rem;
15
14
  @_sap_m_IconTabBar_Arrow_SubItem_Left_Padding: 0.5rem;
16
15
 
@@ -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
  }