@eeacms/volto-eea-design-system 1.19.0 → 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 (34) hide show
  1. package/CHANGELOG.md +61 -0
  2. package/package.json +3 -3
  3. package/src/ui/Card/Card.stories.jsx +104 -50
  4. package/src/ui/Card/Card.stories.test.jsx +196 -0
  5. package/src/ui/Header/Header.stories.js +14 -10
  6. package/src/ui/Tab/Tab.stories.js +21 -5
  7. package/src/ui/Tab/Tab.stories.test.js +10 -0
  8. package/theme/themes/eea/collections/breadcrumb.overrides +4 -3
  9. package/theme/themes/eea/collections/menu.overrides +201 -15
  10. package/theme/themes/eea/collections/menu.variables +43 -28
  11. package/theme/themes/eea/collections/message.overrides +1 -1
  12. package/theme/themes/eea/collections/table.overrides +9 -15
  13. package/theme/themes/eea/elements/button.overrides +2 -2
  14. package/theme/themes/eea/elements/container.overrides +39 -34
  15. package/theme/themes/eea/elements/divider.overrides +13 -9
  16. package/theme/themes/eea/elements/image.overrides +5 -6
  17. package/theme/themes/eea/elements/label.overrides +16 -16
  18. package/theme/themes/eea/elements/list.overrides +3 -1
  19. package/theme/themes/eea/elements/segment.overrides +4 -4
  20. package/theme/themes/eea/extras/custom.overrides +43 -22
  21. package/theme/themes/eea/globals/site.overrides +63 -35
  22. package/theme/themes/eea/globals/site.variables +2 -5
  23. package/theme/themes/eea/modules/accordion.overrides +36 -24
  24. package/theme/themes/eea/modules/accordion.variables +4 -4
  25. package/theme/themes/eea/modules/checkbox.overrides +2 -2
  26. package/theme/themes/eea/modules/modal.overrides +2 -2
  27. package/theme/themes/eea/modules/search.overrides +4 -0
  28. package/theme/themes/eea/modules/tab.overrides +6 -12
  29. package/theme/themes/eea/modules/tab.variables +2 -1
  30. package/theme/themes/eea/tokens/colors.less +2 -2
  31. package/theme/themes/eea/views/card.overrides +49 -35
  32. package/theme/themes/eea/views/card.variables +5 -0
  33. package/theme/themes/eea/views/item.overrides +11 -9
  34. package/theme/themes/eea/views/statistic.overrides +13 -3
@@ -45,18 +45,19 @@ body {
45
45
  width: auto !important;
46
46
  max-width: @containerWidth !important;
47
47
  }
48
- #page-add .container,
49
- #page-edit .container {
50
- max-width: unset !important;
51
- }
52
48
 
53
- [class*="block-editor"] {
54
- padding-left: @editContainerGutter;
49
+ #page-add .container,
50
+ #page-edit .container {
51
+ max-width: unset !important;
52
+ }
53
+
54
+ [class*='block-editor'] {
55
55
  padding-right: @editContainerGutter;
56
+ padding-left: @editContainerGutter;
56
57
 
57
- [class*="block-editor"] {
58
- padding-left: 0;
58
+ [class*='block-editor'] {
59
59
  padding-right: 0;
60
+ padding-left: 0;
60
61
  }
61
62
  }
62
63
  }
@@ -66,8 +67,8 @@ body {
66
67
  // top of the edit page selector
67
68
  .container > .blocks-form > .invisible > div > * {
68
69
  max-width: var(--layout-max-width, @containerWidth);
69
- margin-left: auto !important;
70
70
  margin-right: auto !important;
71
+ margin-left: auto !important;
71
72
  }
72
73
 
73
74
  .contentWidth(@offset) {
@@ -110,6 +111,7 @@ body {
110
111
  [class*='or lower hidden']:not(.computer):not(.tablet):not(.mobile) {
111
112
  display: none !important;
112
113
  }
114
+
113
115
  #page-document {
114
116
  width: unset !important;
115
117
  max-width: unset !important;
@@ -134,8 +136,8 @@ body {
134
136
  }
135
137
 
136
138
  /* Hack for escape the blocks container in blocks full width */
137
- [class~="view-defaultview"] [id="page-document"] > .full-width,
138
- [class~="view-viewview"] [id="page-document"] > .full-width {
139
+ [class~='view-defaultview'] [id='page-document'] > .full-width,
140
+ [class~='view-viewview'] [id='page-document'] > .full-width {
139
141
  max-width: initial !important;
140
142
  }
141
143
 
@@ -145,58 +147,61 @@ body {
145
147
  @sidebarWidthCSS: var(--sidebar-width, 0px);
146
148
  @scrollbarWidthCSS: var(--scrollbar-width, @scrollbarWidth);
147
149
  position: relative;
148
- width: calc(100vw - @toolbarWidthCSS - @sidebarWidthCSS - @scrollbarWidthCSS) !important;
149
150
  right: 50%;
150
151
  left: 50%;
152
+ width: calc(
153
+ 100vw - @toolbarWidthCSS - @sidebarWidthCSS - @scrollbarWidthCSS
154
+ ) !important;
151
155
  max-width: initial !important;
152
- margin-left: calc(-50vw + (@toolbarWidthCSS + @sidebarWidthCSS + @scrollbarWidthCSS) / 2) !important;
153
- margin-right: calc(-50vw + (@toolbarWidthCSS + @sidebarWidthCSS + @scrollbarWidthCSS) / 2) !important;
156
+ margin-right: calc(
157
+ -50vw + (@toolbarWidthCSS + @sidebarWidthCSS + @scrollbarWidthCSS) / 2
158
+ ) !important;
159
+ margin-left: calc(
160
+ -50vw + (@toolbarWidthCSS + @sidebarWidthCSS + @scrollbarWidthCSS) / 2
161
+ ) !important;
162
+ }
163
+
164
+ #page-add [class*='block-editor-'].has--size--full,
165
+ #page-edit [class*='block-editor-'].has--size--full {
166
+ position: initial;
154
167
  }
155
168
 
156
169
  .has--size--full:not(.block-editor-columnsBlock) .ui.grid {
157
- margin-left: 0;
158
170
  margin-right: 0;
171
+ margin-left: 0;
159
172
  }
160
- .has--size--full:not(.block-editor-columnsBlock) .ui.grid .column-blocks-wrapper {
161
- padding-left: 0;
173
+
174
+ .has--size--full:not(.block-editor-columnsBlock)
175
+ .ui.grid
176
+ .column-blocks-wrapper {
162
177
  padding-right: 0;
178
+ padding-left: 0;
163
179
  }
164
180
 
165
181
  // tweak size of full to take into account toolbar open or collapsed
166
182
  @media screen and (min-width: 768px) and (hover: hover) {
167
- .has-toolbar .has--size--full:not(.block-editor-columnsBlock) {
168
- width: calc(100vw - 96px) !important;
169
- }
170
-
171
- #page-add [class*="block-editor-"].has--size--full .block.inner,
172
- #page-edit [class*="block-editor-"].has--size--full .column-grid {
173
- width: calc(100vw - 471px) !important;
174
- left: calc(50% + 240px);
183
+ #page-add [class*='block-editor-'].has--size--full .block.inner,
184
+ #page-edit [class*='block-editor-'].has--size--full .column-grid {
175
185
  position: relative;
176
186
  right: 50%;
187
+ left: calc(50% + 240px);
188
+ width: calc(100vw - 471px) !important;
177
189
  max-width: initial !important;
178
190
  margin-right: -50vw !important;
179
191
  margin-left: -50vw !important;
180
-
181
- }
182
-
183
- .has-toolbar-collapsed .has--size--full:not(.block-editor-columnsBlock) {
184
- width: calc(100vw - 37px) !important;
185
192
  }
186
-
187
193
  }
188
194
 
189
195
  // when we have no hover we have touch where there is no always visible
190
196
  // scrollbar
191
197
  @media screen and (min-width: 768px) and (hover: none) {
192
198
  .has-toolbar .has--size--full:not(.block-editor-columnsBlock) {
193
- width: calc(100vw - 80px) !important;
194
199
  left: calc(50% + 40px);
200
+ width: calc(100vw - 80px) !important;
195
201
  }
196
202
 
197
203
  .has-toolbar-collapsed .has--size--full:not(.block-editor-columnsBlock) {
198
- width: calc(100vw - 20px) !important;
199
204
  left: calc(50% + 12px);
205
+ width: calc(100vw - 20px) !important;
200
206
  }
201
-
202
207
  }
@@ -7,7 +7,9 @@
7
7
  background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAABaAAAAACCAYAAACuTHuKAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyFpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNS1jMDE0IDc5LjE1MTQ4MSwgMjAxMy8wMy8xMy0xMjowOToxNSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIChXaW5kb3dzKSIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDo1OThBRDY4OUNDMTYxMUU0OUE3NUVGOEJDMzMzMjE2NyIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDo1OThBRDY4QUNDMTYxMUU0OUE3NUVGOEJDMzMzMjE2NyI+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOjU5OEFENjg3Q0MxNjExRTQ5QTc1RUY4QkMzMzMyMTY3IiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOjU5OEFENjg4Q0MxNjExRTQ5QTc1RUY4QkMzMzMyMTY3Ii8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+VU513gAAADVJREFUeNrs0DENACAQBDBIWLGBJQby/mUcJn5sJXQmOQMAAAAAAJqt+2prAAAAAACg2xdgANk6BEVuJgyMAAAAAElFTkSuQmCC');
8
8
  }
9
9
 
10
- .ui.horizontal.divider.primary,.ui.horizontal.divider.secondary,.ui.horizontal.divider.tertiary {
10
+ .ui.horizontal.divider.primary,
11
+ .ui.horizontal.divider.secondary,
12
+ .ui.horizontal.divider.tertiary {
11
13
  & > * {
12
14
  padding: 0 @space-4;
13
15
  }
@@ -15,23 +17,23 @@
15
17
 
16
18
  .ui.horizontal.divider.primary:before,
17
19
  .ui.horizontal.divider.primary:after {
20
+ border-top: 1px solid @dividerPrimary;
18
21
  background-image: none;
19
- border-top:1px solid @dividerPrimary;
20
- transform:translateY(50%);
22
+ transform: translateY(50%);
21
23
  }
22
24
 
23
25
  .ui.horizontal.divider.secondary:before,
24
26
  .ui.horizontal.divider.secondary:after {
27
+ border-top: 1px solid @dividerSecondary;
25
28
  background-image: none;
26
- border-top:1px solid @dividerSecondary;
27
- transform:translateY(50%);
29
+ transform: translateY(50%);
28
30
  }
29
31
 
30
32
  .ui.horizontal.divider.tertiary:before,
31
33
  .ui.horizontal.divider.tertiary:after {
34
+ border-top: 1px solid @dividerTertiary;
32
35
  background-image: none;
33
- border-top:1px solid @dividerTertiary;
34
- transform:translateY(50%);
36
+ transform: translateY(50%);
35
37
  }
36
38
 
37
39
  @media only screen and (max-width: (@tabletBreakpoint - 1px)) {
@@ -43,7 +45,6 @@
43
45
  }
44
46
  }
45
47
 
46
-
47
48
  .ui.divider.short {
48
49
  width: @shortWidth;
49
50
  margin-inline: @shortMarginInline;
@@ -54,6 +55,7 @@
54
55
  border-top-color: @dividerPrimary;
55
56
  color: @dividerPrimary;
56
57
  }
58
+
57
59
  .ui.vertical.divider.primary:before,
58
60
  .ui.vertical.divider.primary:after {
59
61
  border-left-color: @dividerPrimary;
@@ -64,6 +66,7 @@
64
66
  border-top-color: @dividerSecondary;
65
67
  color: @dividerSecondary;
66
68
  }
69
+
67
70
  .ui.vertical.divider.secondary:before,
68
71
  .ui.vertical.divider.secondary:after {
69
72
  border-left-color: @dividerSecondary;
@@ -74,7 +77,8 @@
74
77
  border-top-color: @dividerTertiary;
75
78
  color: @dividerTertiary;
76
79
  }
80
+
77
81
  .ui.vertical.divider.tertiary:before,
78
82
  .ui.vertical.divider.tertiary:after {
79
83
  border-left-color: @dividerTertiary;
80
- }
84
+ }
@@ -48,7 +48,6 @@
48
48
  width: @massiveWidth;
49
49
  }
50
50
 
51
-
52
51
  /*--------------
53
52
  Image block float changes
54
53
  ---------------*/
@@ -67,18 +66,19 @@
67
66
  .block.image.align.left {
68
67
  img {
69
68
  max-width: 100% !important;
70
- float: none !important;
71
69
  margin: 0 !important;
70
+ float: none !important;
72
71
  }
73
72
  }
74
73
 
75
74
  /* edit page fixes for float issues */
76
- #page-edit .image {
75
+ #page-edit .image {
77
76
  max-width: 100%;
78
77
  min-height: @imageMinHeight;
79
78
  }
80
- #page-edit .image.left,
81
- #page-edit .image.right,
79
+
80
+ #page-edit .image.left,
81
+ #page-edit .image.right,
82
82
  #page-document > .image.left,
83
83
  #page-document > .image.right {
84
84
  float: none;
@@ -123,4 +123,3 @@
123
123
  .image.align:not(.full, .center) .image-block-container.small {
124
124
  max-width: @imageAlignSmallMaxWidth;
125
125
  }
126
-
@@ -9,51 +9,51 @@
9
9
 
10
10
  .ui.low.labels .label,
11
11
  .ui.low.label {
12
- background-color: @lowImportanceBackground;
13
12
  border-color: @lowImportanceBackground;
13
+ background-color: @lowImportanceBackground;
14
14
  }
15
15
 
16
16
  .ui.medium.labels .label,
17
17
  .ui.medium.label {
18
- background-color: @mediumImportanceBackground;
19
18
  border-color: @mediumImportanceBackground;
19
+ background-color: @mediumImportanceBackground;
20
20
  }
21
21
 
22
22
  .ui.high.labels .label,
23
23
  .ui.high.label {
24
- background-color: @highImportanceBackground;
25
24
  border-color: @highImportanceBackground;
25
+ background-color: @highImportanceBackground;
26
26
  }
27
27
 
28
28
  .ui.highlight.labels .label,
29
29
  .ui.highlight.label {
30
- background-color: @highlightImportanceBackground;
31
30
  border-color: @highlightImportanceBackground;
31
+ background-color: @highlightImportanceBackground;
32
32
  }
33
33
 
34
34
  /* Link */
35
35
  .ui.low.labels .label:hover,
36
36
  .ui.low.label:hover {
37
- background-color: @lowImportanceHoverBackground;
38
37
  border-color: @lowImportanceHoverBackground;
38
+ background-color: @lowImportanceHoverBackground;
39
39
  }
40
40
 
41
41
  .ui.medium.labels .label:hover,
42
42
  .ui.medium.label:hover {
43
- background-color: @mediumImportanceHoverBackground;
44
43
  border-color: @mediumImportanceHoverBackground;
44
+ background-color: @mediumImportanceHoverBackground;
45
45
  }
46
46
 
47
47
  .ui.high.labels .label:hover,
48
48
  .ui.high.label:hover {
49
- background-color: @highImportanceHoverBackground;
50
49
  border-color: @highImportanceHoverBackground;
50
+ background-color: @highImportanceHoverBackground;
51
51
  }
52
52
 
53
53
  .ui.highlight.labels .label:hover,
54
54
  .ui.highlight.label:hover {
55
- background-color: @highlightImportanceHoverBackground;
56
55
  border-color: @highlightImportanceHoverBackground;
56
+ background-color: @highlightImportanceHoverBackground;
57
57
  }
58
58
 
59
59
  /* Ribbon */
@@ -79,55 +79,55 @@
79
79
 
80
80
  /* Basic */
81
81
  .ui.basic.low.label {
82
+ border-color: @lowImportanceBackground;
82
83
  background: @white;
83
84
  color: @lowImportanceBasicTextColor;
84
- border-color: @lowImportanceBackground;
85
85
  }
86
86
 
87
87
  .ui.basic.low.labels a.label:hover,
88
88
  .ui.basic.low.label:hover {
89
+ border-color: @lowImportanceHoverBackground;
89
90
  background-color: @white;
90
91
  color: @lowImportanceHoverBackground;
91
- border-color: @lowImportanceHoverBackground;
92
92
  }
93
93
 
94
94
  .ui.basic.medium.label {
95
+ border-color: @mediumImportanceBackground;
95
96
  background: @white;
96
97
  color: @mediumImportanceBasicTextColor;
97
- border-color: @mediumImportanceBackground;
98
98
  }
99
99
 
100
100
  .ui.basic.medium.labels a.label:hover,
101
101
  .ui.basic.medium.label:hover {
102
+ border-color: @mediumImportanceHoverBackground;
102
103
  background-color: @white;
103
104
  color: @mediumImportanceHoverBackground;
104
- border-color: @mediumImportanceHoverBackground;
105
105
  }
106
106
 
107
107
  .ui.basic.high.label {
108
+ border-color: @highImportanceBackground;
108
109
  background: @white;
109
110
  color: @highImportanceBasicTextColor;
110
- border-color: @highImportanceBackground;
111
111
  }
112
112
 
113
113
  .ui.basic.high.labels a.label:hover,
114
114
  .ui.basic.high.label:hover {
115
+ border-color: @highImportanceHoverBackground;
115
116
  background-color: @white;
116
117
  color: @highImportanceHoverBackground;
117
- border-color: @highImportanceHoverBackground;
118
118
  }
119
119
 
120
120
  .ui.basic.highlight.label {
121
+ border-color: @highlightImportanceBackground;
121
122
  background: @white;
122
123
  color: @highlightImportanceBasicTextColor;
123
- border-color: @highlightImportanceBackground;
124
124
  }
125
125
 
126
126
  .ui.basic.highlight.labels a.label:hover,
127
127
  .ui.basic.highlight.label:hover {
128
+ border-color: @highlightImportanceHoverBackground;
128
129
  background-color: @white;
129
130
  color: @highlightImportanceHoverBackground;
130
- border-color: @highlightImportanceHoverBackground;
131
131
  }
132
132
 
133
133
  // Custom variations and combinations in slate
@@ -21,10 +21,12 @@ dl dd {
21
21
  /* Unordered list */
22
22
 
23
23
  // use padding instead
24
- ul.ui.list, .ui.bulleted.list {
24
+ ul.ui.list,
25
+ .ui.bulleted.list {
25
26
  padding-left: @bulletDistance;
26
27
  margin-left: 0;
27
28
  }
29
+
28
30
  .ui.bulleted.list .list > .item:before,
29
31
  .ui.bulleted.list .list > a.item:before,
30
32
  .ui.bulleted.list > .item:before,
@@ -10,8 +10,8 @@
10
10
 
11
11
  @media print {
12
12
  .ui.basic.segment.content-area {
13
- margin-top: 0;
14
13
  padding-top: 0;
14
+ margin-top: 0;
15
15
  }
16
16
  }
17
17
 
@@ -33,9 +33,9 @@
33
33
  // eea add .form class for inline form with booleans, the segment doesn't have form class
34
34
  .form .segment,
35
35
  .ui.form.segment {
36
- // // commented to restore padding to a list of toggle inputs within field-wrapper-hideContentType
37
- // padding: 0;
38
- //
36
+ // // commented to restore padding to a list of toggle inputs within field-wrapper-hideContentType
37
+ // padding: 0;
38
+ //
39
39
  .ui.grid > .row {
40
40
  padding-top: 0;
41
41
  padding-bottom: 0;
@@ -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 {