@eeacms/volto-eea-design-system 1.18.3 → 1.20.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.
Files changed (37) hide show
  1. package/CHANGELOG.md +82 -19
  2. package/RELEASE.md +14 -14
  3. package/package.json +3 -3
  4. package/src/ui/Card/Card.stories.jsx +104 -50
  5. package/src/ui/Card/Card.stories.test.jsx +196 -0
  6. package/src/ui/Footer/FooterSites.jsx +2 -2
  7. package/src/ui/Header/Header.stories.js +14 -10
  8. package/src/ui/Tab/Tab.stories.js +21 -5
  9. package/src/ui/Tab/Tab.stories.test.js +10 -0
  10. package/theme/themes/eea/collections/breadcrumb.overrides +4 -3
  11. package/theme/themes/eea/collections/menu.overrides +201 -15
  12. package/theme/themes/eea/collections/menu.variables +43 -28
  13. package/theme/themes/eea/collections/message.overrides +1 -1
  14. package/theme/themes/eea/collections/table.overrides +9 -15
  15. package/theme/themes/eea/elements/button.overrides +2 -2
  16. package/theme/themes/eea/elements/container.overrides +39 -34
  17. package/theme/themes/eea/elements/divider.overrides +13 -9
  18. package/theme/themes/eea/elements/image.overrides +5 -6
  19. package/theme/themes/eea/elements/label.overrides +16 -16
  20. package/theme/themes/eea/elements/list.overrides +3 -1
  21. package/theme/themes/eea/elements/segment.overrides +4 -4
  22. package/theme/themes/eea/extras/custom.overrides +43 -22
  23. package/theme/themes/eea/extras/header.variables +1 -1
  24. package/theme/themes/eea/globals/site.overrides +63 -35
  25. package/theme/themes/eea/globals/site.variables +2 -5
  26. package/theme/themes/eea/modules/accordion.overrides +36 -24
  27. package/theme/themes/eea/modules/accordion.variables +4 -4
  28. package/theme/themes/eea/modules/checkbox.overrides +2 -2
  29. package/theme/themes/eea/modules/modal.overrides +2 -2
  30. package/theme/themes/eea/modules/search.overrides +4 -0
  31. package/theme/themes/eea/modules/tab.overrides +6 -12
  32. package/theme/themes/eea/modules/tab.variables +2 -1
  33. package/theme/themes/eea/tokens/colors.less +2 -2
  34. package/theme/themes/eea/views/card.overrides +49 -35
  35. package/theme/themes/eea/views/card.variables +5 -0
  36. package/theme/themes/eea/views/item.overrides +15 -13
  37. package/theme/themes/eea/views/statistic.overrides +13 -3
@@ -4,7 +4,7 @@
4
4
 
5
5
  // hide breadcrumbs on homepage
6
6
  .homepage .breadcrumbs {
7
- display: none !important;
7
+ display: none !important;
8
8
  }
9
9
 
10
10
  .homepage #page-document > .hero-block h2 {
@@ -13,16 +13,16 @@
13
13
 
14
14
  // remove padding from homepage content-area since we have the bg image over the header
15
15
  .homepage .content-area {
16
- padding-top: 0 !important;
16
+ padding-top: 0 !important;
17
17
  }
18
18
 
19
19
  // show staging banner on homepage
20
20
  .homepage .stagingBanner {
21
- display: block !important;
21
+ display: block !important;
22
22
  }
23
23
 
24
24
  // use homepage text color for color of cards that are within a content-box that has a variant class
25
- .homepage .content-box[class*="ary"] [class="ui fluid card"] {
25
+ .homepage .content-box[class*='ary'] [class='ui fluid card'] {
26
26
  color: @blue-grey-5;
27
27
  }
28
28
  // set carousel arrow to homepage color
@@ -40,17 +40,21 @@
40
40
  .content {
41
41
  text-align: center;
42
42
  }
43
+
43
44
  svg.default {
44
45
  background-color: @grey-1;
45
46
  }
47
+
46
48
  svg.primary {
47
49
  background-color: @primaryColor;
48
50
  fill: @white !important;
49
51
  }
52
+
50
53
  svg.secondary {
51
54
  background-color: @secondaryColor;
52
55
  fill: @white !important;
53
56
  }
57
+
54
58
  svg.tertiary {
55
59
  background-color: @tertiaryColor;
56
60
  fill: @white !important;
@@ -68,7 +72,6 @@
68
72
  margin: 0;
69
73
  }
70
74
 
71
-
72
75
  // inherit font weight of styled headers so that if we set 300 weight it's visible also on
73
76
  // the edit page
74
77
  #page-edit .slate .styled h1,
@@ -87,31 +90,48 @@
87
90
 
88
91
  // customize error class from volto-slate to our color of red
89
92
  .error {
90
- color: @red-5;
93
+ color: @red-5;
91
94
  }
92
95
 
93
96
  .power-user-menu,
94
- .blocks-chooser {
97
+ .blocks-chooser,
98
+ .tabs-block {
95
99
  --text-color: @textColor;
96
100
  }
101
+
97
102
  .blocks-chooser {
98
103
  .searchbox {
99
104
  height: auto !important;
100
105
  }
106
+
101
107
  .input {
102
108
  width: auto !important;
103
109
  }
110
+
104
111
  .clear-search-button {
105
112
  padding: 0.5rem;
106
113
  }
114
+
107
115
  .icon {
108
116
  margin-right: 0 !important;
109
117
  }
118
+
119
+ /* fix order and color of block choose title block
120
+ * which receives accordion title styling */
121
+ .button.title {
122
+ --text-color: @brown;
123
+ --text-color-hover: @brown;
124
+ --accordion-title-icon-order: 0;
125
+ }
110
126
  }
111
127
 
112
128
  // remove margin from block headings overriding blocks.less rule
113
- .block h1:last-child, .block h2:last-child, .block h3:last-child, .block h4:last-child, .block h5:last-child {
114
- margin: 0;
129
+ .block h1:last-child,
130
+ .block h2:last-child,
131
+ .block h3:last-child,
132
+ .block h4:last-child,
133
+ .block h5:last-child {
134
+ margin: 0;
115
135
  }
116
136
 
117
137
  // tweak padding of workflow progress titles now that
@@ -134,19 +154,20 @@
134
154
 
135
155
  // Tabs block border left/top
136
156
  .tabs-block {
137
- .border-left {
138
- border-right: none !important;
139
- border-left: 0.0625rem solid @midGray !important;
157
+ // we don't want to show the active background color on the eea tabs
158
+ .tabs-accessibility {
159
+ --tab-active-bg-color: transparent;
160
+ }
140
161
 
141
- .item.active {
142
- border-right: none !important;
143
- border-left-style: solid !important;
144
- margin: 0em 0em 0em -0.2rem !important;
145
- }
162
+ // make accordion transformed from rrt_tabs use same color bg as tabs
163
+ .tabs-accessibility .RRT__panel {
164
+ --bg-color: @white;
165
+ }
146
166
 
147
- .item:active {
148
- border-right: none !important;
149
- }
167
+ // remove border from secondary active item so that when we use color
168
+ // it doesn't show a different color from the active background
169
+ .ui.secondary.inverted.menu .active.item {
170
+ border-color: transparent !important;
150
171
  }
151
172
 
152
173
  .border-top {
@@ -162,9 +183,9 @@
162
183
  }
163
184
 
164
185
  .item.active {
165
- border-bottom: none !important;
166
186
  border-top-style: solid !important;
167
- margin: 0em 0em 0em -0.2rem !important;
187
+ border-bottom: none !important;
188
+ margin: 0 0 0 -0.2rem !important;
168
189
  }
169
190
 
170
191
  .item:active {
@@ -33,7 +33,7 @@
33
33
  @topSectionItemFontSize : @font-size-00;
34
34
  @mobileTopSectionItemFontSize : @font-size-00;
35
35
  @tabletTopSectionItemFontSize : @font-size-00;
36
- @topSectionZIndex : @z-index-3;
36
+ @topSectionZIndex : @z-index-2;
37
37
  @dropdownColor : @blue-grey-6;
38
38
  @mobileDropdownFontSize : @font-size-00;
39
39
  @tabletDropdownFontSize : @font-size-00;
@@ -4,7 +4,8 @@
4
4
 
5
5
  @import '@eeacms/volto-eea-design-system/../theme/themes/eea/globals/utilities';
6
6
 
7
- html, body {
7
+ html,
8
+ body {
8
9
  font-size: @baseFontSize;
9
10
  }
10
11
 
@@ -16,17 +17,26 @@ html, body {
16
17
  button:focus-visible,
17
18
  a.button:focus-visible,
18
19
  .ui.dropdown:focus-visible,
19
- .ui.checkbox input[type="checkbox"]:focus-visible,
20
- .ui.checkbox input[type="radio"]:focus-visible {
20
+ .ui.checkbox input[type='checkbox']:focus-visible,
21
+ .ui.checkbox input[type='radio']:focus-visible {
21
22
  outline: @focusVisibleOutline !important;
22
23
  }
23
24
 
24
- h1, h2, h3, h4, h5, h6 {
25
- line-height: @font-lineheight-0;
25
+ h1,
26
+ h2,
27
+ h3,
28
+ h4,
29
+ h5,
30
+ h6 {
26
31
  letter-spacing: @font-letterspacing-00;
32
+ line-height: @font-lineheight-0;
27
33
  }
28
34
 
29
- h2, h3, h4, h5, h6 {
35
+ h2,
36
+ h3,
37
+ h4,
38
+ h5,
39
+ h6 {
30
40
  color: @headerColor;
31
41
  }
32
42
 
@@ -34,39 +44,35 @@ h2, h3, h4, h5, h6 {
34
44
  color: @contentAreaColor;
35
45
  }
36
46
 
37
- [id="page-document"] > *,
38
- .view-wrapper > *
39
- {
40
- margin-left: auto !important;
47
+ [id='page-document'] > *,
48
+ .view-wrapper > * {
41
49
  margin-right: auto !important;
50
+ margin-left: auto !important;
42
51
  }
43
52
 
44
- [class~="view-defaultview"] [id="page-document"] > *,
45
- [class~="view-viewview"] [id="page-document"] > *,
53
+ [class~='view-defaultview'] [id='page-document'] > *,
54
+ [class~='view-viewview'] [id='page-document'] > *,
46
55
  #main .container_width,
47
56
  #main .has--size--container_width,
48
- .view-wrapper > *
49
- {
57
+ .view-wrapper > * {
50
58
  max-width: @containerWidth !important;
51
59
  }
52
60
 
53
- [class~="narrow_view"] [id="page-document"] > *,
61
+ [class~='narrow_view'] [id='page-document'] > *,
54
62
  #main .narrow_width,
55
- #main .has--size--narrow_width
56
- {
63
+ #main .has--size--narrow_width {
57
64
  max-width: @narrowWidth !important;
58
65
  }
59
66
 
60
- [class~="wide_view"] [id="page-document"] > *,
67
+ [class~='wide_view'] [id='page-document'] > *,
61
68
  #main .wide_width,
62
- #main .has--size--wide_width
63
- {
69
+ #main .has--size--wide_width {
64
70
  max-width: @wideWidth !important;
65
71
  }
66
72
 
67
73
  // enlarge wide section when we have a resolution from 1280px to before the laptop hd resolution
68
74
  @media screen and (min-width: 1280px) and (max-width: 1365px) {
69
- [class~="wide_view"] [id="page-document"] > *,
75
+ [class~='wide_view'] [id='page-document'] > *,
70
76
  #main .wide_width,
71
77
  #main .has--size--wide_width {
72
78
  max-width: @wideWidthLaptop !important;
@@ -76,15 +82,17 @@ h2, h3, h4, h5, h6 {
76
82
  .block-editor-title {
77
83
  --layout-max-width: @containerWidth;
78
84
  }
79
- [class~="narrow_view"] {
85
+
86
+ [class~='narrow_view'] {
80
87
  --layout-max-width: @narrowWidth;
81
88
  }
82
- [class~="wide_view"] {
89
+
90
+ [class~='wide_view'] {
83
91
  --layout-max-width: @wideWidth;
84
92
  }
85
93
 
86
94
  // add a 1rem margin top and bottom on all direct styled classes from container
87
- [class~="container"] > [class*="styled-"] {
95
+ [class~='container'] > [class*='styled-'] {
88
96
  margin-top: @rem-space-4;
89
97
  margin-bottom: @rem-space-4;
90
98
  }
@@ -100,23 +108,35 @@ h2, h3, h4, h5, h6 {
100
108
  .caption,
101
109
  .discreet,
102
110
  small {
103
- letter-spacing: @font-letterspacing-1;
104
111
  font-size: @font-size-00;
112
+ letter-spacing: @font-letterspacing-1;
105
113
  line-height: @font-lineheight-3;
106
114
  }
107
115
 
108
116
  /* Heading size adjustment */
109
117
  @media only screen and (max-width: @largestMobileScreen) {
110
- h1 { font-size: @mobileH1; }
111
- h2 { font-size: @mobileH2; }
112
- h3 { font-size: @mobileH3; }
113
- h4 { font-size: @mobileH4; }
118
+ h1 {
119
+ font-size: @mobileH1;
120
+ }
121
+
122
+ h2 {
123
+ font-size: @mobileH2;
124
+ }
125
+
126
+ h3 {
127
+ font-size: @mobileH3;
128
+ }
129
+
130
+ h4 {
131
+ font-size: @mobileH4;
132
+ }
114
133
  }
115
134
 
116
135
  a {
117
136
  &:visited {
118
- color: @linkVisitedColor;
137
+ color: @linkVisitedColor;
119
138
  }
139
+
120
140
  &:active {
121
141
  color: @linkActiveColor;
122
142
  }
@@ -142,12 +162,15 @@ a {
142
162
  .block-style-primary {
143
163
  color: @primaryColor;
144
164
  }
165
+
145
166
  .block-style-secondary {
146
167
  color: @secondaryColor;
147
168
  }
169
+
148
170
  .block-style-tertiary {
149
171
  color: @tertiaryColor;
150
172
  }
173
+
151
174
  .active {
152
175
  background-color: @grey-2;
153
176
  }
@@ -166,24 +189,29 @@ a {
166
189
  display: none;
167
190
  visibility: hidden;
168
191
  }
192
+
169
193
  .logo {
170
194
  margin-left: 0;
171
195
  }
196
+
172
197
  .static-banner {
173
198
  display: none;
174
199
  visibility: hidden;
175
200
  }
201
+
176
202
  .image {
177
- page-break-inside: avoid;
203
+ page-break-inside: avoid;
178
204
  }
205
+
179
206
  img {
180
- page-break-inside: avoid;
207
+ page-break-inside: avoid;
181
208
  }
182
- .card {
183
- page-break-inside: avoid;
184
209
 
210
+ .card {
211
+ page-break-inside: avoid;
185
212
  }
186
- .grid-block-teaser .card{
213
+
214
+ .grid-block-teaser .card {
187
215
  page-break-inside: auto;
188
216
  }
189
217
  }
@@ -124,7 +124,7 @@
124
124
  --------------------*/
125
125
 
126
126
  /* Global focus-visible for accessibility */
127
- @focusVisibleOutline: .2rem auto var(--focus-visible, @blue-3);
127
+ @focusVisibleOutline: .2rem auto var(--focus-visible, @blue-2);
128
128
 
129
129
  /* Used on inputs, textarea etc */
130
130
  @focusedFormBorderColor: @secondaryColor;
@@ -296,9 +296,6 @@
296
296
  /*-------------------
297
297
  Pastanaga Toolbar
298
298
  --------------------*/
299
- // legacy variable names kept for tests and older volto versions use the toolbar variables from now on
300
- @toolbalWidth: 80px;
301
- @toolbalWidthMin: 20px;
302
299
 
303
300
  @toolbarWidth: 80px;
304
301
  @toolbarWidthMin: 20px;
@@ -626,7 +623,7 @@
626
623
  @invertedPressedTextColor : rgba(255, 255, 255, 1);
627
624
  @invertedSelectedTextColor : rgba(255, 255, 255, 1);
628
625
  @invertedDisabledTextColor : rgba(255, 255, 255, 0.2);
629
- // check volto core to rename this lowercased variable
626
+ // check volto core to rename this lowercase variable
630
627
  @inverteditemlinkcolor : @white;
631
628
  @invertedItemLinkColor : @white;
632
629
 
@@ -2,7 +2,8 @@
2
2
  Theme Overrides
3
3
  *******************************/
4
4
 
5
- .accordion .filter {
5
+ .accordion.inverted > .title,
6
+ .accordion > .filter {
6
7
  background-color: var(--bg-color, transparent);
7
8
  }
8
9
 
@@ -16,6 +17,7 @@
16
17
  margin: @itemsMargin;
17
18
  transition: @styledTitleTransition;
18
19
 
20
+ // basic has important as such we also need to use important
19
21
  .basic {
20
22
  color: @titleColorHover !important;
21
23
  }
@@ -27,7 +29,7 @@
27
29
  color: @titleColorHover !important;
28
30
  }
29
31
 
30
- .title {
32
+ > .title {
31
33
  display: flex;
32
34
  align-items: center;
33
35
  justify-content: @titleJustifyContent;
@@ -50,7 +52,7 @@
50
52
  }
51
53
  }
52
54
 
53
- .icon {
55
+ > .icon {
54
56
  display: flex;
55
57
  width: @iconWidth;
56
58
  height: @iconHeight;
@@ -75,7 +77,7 @@
75
77
  }
76
78
  }
77
79
 
78
- .active.title {
80
+ > .title.active {
79
81
  border-bottom: @activeTitleBorderBottom;
80
82
  background-color: @activeTitleBackground;
81
83
  color: @activeTitleColor;
@@ -94,9 +96,9 @@
94
96
  &.filter-listing {
95
97
  .title {
96
98
  .icon {
99
+ margin-left: @filterListingIconMarginLeft !important;
97
100
  font-size: @filterListingIconFontSize;
98
101
  line-height: @filterListingIconLineHeight;
99
- margin-left: @filterListingIconMarginLeft !important;
100
102
  }
101
103
  }
102
104
  }
@@ -129,11 +131,7 @@
129
131
  Tabs as accordion (Volto)
130
132
  --------------------------------*/
131
133
 
132
- .ui.menu.RRT__accordion {
133
- .ui.item {
134
- background-color: transparent;
135
- }
136
-
134
+ .ui.accordion.RRT__accordion {
137
135
  .ui.item .icon {
138
136
  font-size: @iconFontSize;
139
137
 
@@ -146,42 +144,56 @@
146
144
  /*--------------
147
145
  Variations
148
146
  ---------------*/
149
- .ui.accordion[class*='ary'] .active.title,
150
- .ui.accordion[class*='ary'] .filter {
147
+ .ui.accordion[class*='ary'] > .active.title,
148
+ .ui.accordion[class*='ary'].inverted > .title,
149
+ .ui.accordion[class*='ary'].inverted > .icon,
150
+ .ui.accordion[class*='ary'] > .filter {
151
151
  --text-color-hover: white;
152
152
  --text-color: white;
153
153
  }
154
154
 
155
155
  /* Primary */
156
- .ui.accordion.primary .active.title,
157
- .ui.accordion.primary .filter {
156
+ .ui.accordion.primary > .active.title,
157
+ .ui.accordion.primary.inverted > .title,
158
+ .ui.accordion.primary > .filter,
159
+ .ui.accordion.secondary.primary > .active.title,
160
+ .ui.accordion.secondary.primary.inverted > .title,
161
+ .ui.accordion.secondary.primary > .filter {
158
162
  --bg-color: @primaryColorCSSVar;
159
163
  }
160
164
 
161
- .ui.accordion.primary .title:not(.active, .filter):hover,
162
- .ui.accordion.primary .title:not(.active, .filter):focus-visible {
165
+ .ui.accordion.primary:not(.inverted) > .title:not(.active, .filter):hover,
166
+ .ui.accordion.primary:not(.inverted),
167
+ > .title:not(.active, .filter):focus-visible {
163
168
  --text-color-hover: @primaryColorCSSVar;
164
169
  }
165
170
 
166
171
  /* Secondary */
167
- .ui.accordion.secondary .active.title,
168
- .ui.accordion.secondary .filter {
172
+ .ui.accordion.secondary > .active.title,
173
+ .ui.accordion.secondary.inverted > .title,
174
+ .ui.accordion.secondary > .filter {
169
175
  --bg-color: @secondaryColorCSSVar;
170
176
  }
171
177
 
172
- .ui.accordion.secondary .title:not(.active, .filter):hover,
173
- .ui.accordion.secondary .title:not(.active, .filter):focus-visible {
178
+ .ui.accordion.secondary:not(.inverted) > .title:not(.active, .filter):hover,
179
+ .ui.accordion.secondary:not(.inverted),
180
+ > .title:not(.active, .filter):focus-visible {
174
181
  --text-color-hover: @secondaryColorCSSVar;
175
182
  }
176
183
 
177
184
  /* Tertiary */
178
- .ui.accordion.tertiary .active.title,
179
- .ui.accordion.tertiary .filter {
185
+ .ui.accordion.tertiary > .active.title,
186
+ .ui.accordion.tertiary.inverted > .title,
187
+ .ui.accordion.tertiary > .filter,
188
+ .ui.accordion.secondary.tertiary > .active.title,
189
+ .ui.accordion.secondary.tertiary.inverted > .title,
190
+ .ui.accordion.secondary.tertiary > .filter {
180
191
  --bg-color: @tertiaryColorCSSVar;
181
192
  }
182
193
 
183
- .ui.accordion.tertiary .title:not(.active, .filter):hover,
184
- .ui.accordion.tertiary .title:not(.active, .filter):focus-visible {
194
+ .ui.accordion.tertiary:not(.inverted) > .title:not(.active, .filter):hover,
195
+ .ui.accordion.tertiary:not(.inverted),
196
+ > .title:not(.active, .filter):focus-visible {
185
197
  --text-color-hover: @tertiaryColorCSSVar;
186
198
  }
187
199
 
@@ -13,7 +13,7 @@
13
13
  @titleColor: @textColorCSSVar;
14
14
  @titleBorderBottom: @1px solid @silverGray;
15
15
  @titleColorHover:var(--text-color-hover, @grey-5);
16
- @titleJustifyContent: space-between;
16
+ @titleJustifyContent: var(--accordion-title-justify, space-between);
17
17
 
18
18
  /* Icon */
19
19
  @iconColor: var(--text-color, @oldSilver);
@@ -33,7 +33,7 @@
33
33
  @iconVerticalAlign: baseline;
34
34
  @iconTransform: none;
35
35
  @iconColorHover: @titleColorHover;
36
- @iconOrder: 1; // Icon after text of the title
36
+ @iconOrder: var(--accordion-title-icon-order, 1); // Icon after text of the title
37
37
  @filterIconWidth: 3rem;
38
38
  @filterIconFontSize: 2rem;
39
39
  @filterIconMargin: 0 10px;
@@ -51,7 +51,7 @@
51
51
  @contentMargin: 0;
52
52
  @contentPaddingBottom: 1.563rem;
53
53
  @contentPadding: @squareMedium;
54
- @contentBackground: @grey-1;
54
+ @contentBackground: var(--bg-color, @grey-1);
55
55
  @contentColor: @tertiaryColor;
56
56
 
57
57
  /*-------------------
@@ -117,5 +117,5 @@
117
117
  @styledActiveChildTitleColor: @styledActiveTitleColor;
118
118
 
119
119
  /* Inverted */
120
- @invertedTitleColor: @invertedTextColor;
120
+ @invertedTitleColor: @activeTitleColor;
121
121
 
@@ -9,8 +9,8 @@
9
9
  }
10
10
 
11
11
  // To display focus state
12
- .ui.checkbox input[type="checkbox"],
13
- .ui.checkbox input[type="radio"] {
12
+ .ui.checkbox input[type='checkbox'],
13
+ .ui.checkbox input[type='radio'] {
14
14
  opacity: 1 !important;
15
15
  }
16
16
 
@@ -7,8 +7,8 @@
7
7
  }
8
8
 
9
9
  .ui.modal .ui.button.close {
10
- background: @closeButtonBackground;
11
10
  padding: @closeButtonPadding;
11
+ background: @closeButtonBackground;
12
12
 
13
13
  i {
14
14
  color: @closeColor;
@@ -17,4 +17,4 @@
17
17
 
18
18
  .ui.modal .ui.button.close:focus-visible {
19
19
  outline: @focusVisibleOutline;
20
- }
20
+ }
@@ -1,3 +1,7 @@
1
1
  /*******************************
2
2
  Theme Overrides
3
3
  *******************************/
4
+
5
+ .react-select__value-container{
6
+ padding: 8px !important;
7
+ }
@@ -2,18 +2,11 @@
2
2
  Tab Overrides
3
3
  *******************************/
4
4
 
5
- .ui.pointing.secondary.menu {
5
+ .ui.menu.vertical,
6
+ .ui.menu[class*='ary'] {
6
7
  .item {
7
8
  font-size: @headerSize;
8
9
  }
9
-
10
- .item:hover {
11
- color: @tabActiveItemHoverColor;
12
- }
13
- }
14
-
15
- .tabs-block {
16
- color: @tabsBlockColor;
17
10
  }
18
11
 
19
12
  // Contain images inside vertical tab content
@@ -21,18 +14,19 @@
21
14
  max-width: @verticalTabPaneImageMaxWidth;
22
15
  }
23
16
 
24
- .ui.pointing.secondary.menu::-webkit-scrollbar {
17
+ .ui.menu[class*='ary']::-webkit-scrollbar {
25
18
  height: @mobileTabScrollbarHeight;
26
19
  }
27
20
 
28
21
  @media only screen and (min-width: @tabletBreakpoint) {
29
- .ui.pointing.secondary.menu::-webkit-scrollbar {
22
+ .ui.menu[class*='ary']::-webkit-scrollbar {
30
23
  height: @tabletTabScrollbarHeight;
31
24
  }
32
25
  }
33
26
 
34
27
  @media only screen and (max-width: @largestMobileScreen) {
35
- .ui.pointing.secondary.vertical.menu {
28
+ .ui.menu.vertical,
29
+ .ui.menu.vertical.secondary {
36
30
  .item {
37
31
  padding: @mobileItemPadding;
38
32
  font-size: @mobileItemFontSize;
@@ -2,7 +2,7 @@
2
2
  Tab
3
3
  *******************************/
4
4
  @tabsBlockColor: @textColor;
5
- @tabActiveItemHoverColor: @secondaryColor;
5
+ @tabActiveItemHoverColor: @secondaryColorCSSVar;
6
6
 
7
7
  @mobileItemFontSize: 1rem;
8
8
  @mobileItemPadding: 1rem 0.25rem;
@@ -10,6 +10,7 @@
10
10
  @headerSize: @h4;
11
11
  @headerSizeResponsive: @fontSize;
12
12
  @contentSize: @fontSize;
13
+ @tabsColorHover: #fefefe;
13
14
 
14
15
  /* Loading */
15
16
  @loadingMinHeight: 250px;
@@ -40,8 +40,8 @@
40
40
 
41
41
  @blue-0: #A0D7FF;
42
42
  @blue-1: #47B3FF;
43
- @blue-2: #0A99FF;
44
- @blue-3: #0083E0;
43
+ @blue-2: #008FF5;
44
+ @blue-3: #0079CF;
45
45
  @blue-4: #006BB8;
46
46
  @blue-5: #004B7F;
47
47
  @blue-6: #003052;