@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
@@ -10,6 +10,16 @@ export default {
10
10
  },
11
11
  },
12
12
  argTypes: {
13
+ variant: {
14
+ name: 'Variation',
15
+ defaultValue: 'secondary',
16
+ options: ['primary', 'secondary', 'tertiary'],
17
+ control: { type: 'select' },
18
+ table: {
19
+ defaultValue: { summary: 'secondary' },
20
+ type: { summary: 'string' },
21
+ },
22
+ },
13
23
  panes: {
14
24
  description: 'tab names and content array',
15
25
  table: {
@@ -26,11 +36,11 @@ export default {
26
36
 
27
37
  function TabContent({
28
38
  panes,
39
+ variant,
29
40
  renderActive,
30
- text,
31
- attached,
32
- borderless,
41
+ inverted,
33
42
  vertical,
43
+ pointing,
34
44
  fluid,
35
45
  grid,
36
46
  }) {
@@ -39,10 +49,11 @@ function TabContent({
39
49
  panes={panes}
40
50
  renderActiveOnly={renderActive}
41
51
  menu={{
42
- secondary: true,
43
- pointing: true,
44
52
  vertical: vertical,
53
+ inverted: inverted,
54
+ pointing: pointing,
45
55
  fluid: fluid,
56
+ className: variant,
46
57
  tabIndex: 0,
47
58
  }}
48
59
  grid={grid}
@@ -59,6 +70,7 @@ const Template = (args) => (
59
70
  export const Default = Template.bind({});
60
71
  Default.args = {
61
72
  renderActive: false,
73
+ inverted: false,
62
74
  panes: [
63
75
  {
64
76
  menuItem: 'Tab 1',
@@ -81,8 +93,10 @@ Default.args = {
81
93
 
82
94
  export const Vertical = Template.bind({});
83
95
  Vertical.args = {
96
+ variant: 'secondary',
84
97
  renderActive: true,
85
98
  vertical: true,
99
+ pointing: false,
86
100
  fluid: true,
87
101
  grid: { paneWidth: 7, tabWidth: 5 },
88
102
  panes: [
@@ -165,6 +179,8 @@ Vertical.args = {
165
179
  };
166
180
 
167
181
  Vertical.argTypes = {
182
+ variant: 'secondary',
183
+ inverted: false,
168
184
  vertical: {
169
185
  description: 'vertical tab',
170
186
  table: {
@@ -0,0 +1,10 @@
1
+ import React from 'react';
2
+ import { render } from '@testing-library/react';
3
+ import { Default } from './Tab.stories';
4
+ import '@testing-library/jest-dom/extend-expect';
5
+
6
+ describe('It renderes corectly', () => {
7
+ it('renders corectly', () => {
8
+ render(<Default {...Default.args} />);
9
+ });
10
+ });
@@ -12,10 +12,11 @@
12
12
  }
13
13
 
14
14
  .ui.breadcrumb ol {
15
- list-style: none;
15
+ padding-top: @space-025;
16
16
  padding-left: 0;
17
17
  margin: 0;
18
- padding-top: @space-025;
18
+ list-style: none;
19
+
19
20
  li {
20
21
  display: inline-block;
21
22
  }
@@ -28,10 +29,10 @@
28
29
  .ui.breadcrumb {
29
30
  .section {
30
31
  overflow: hidden;
32
+ max-width: @breadcrumbItemMaxWidth;
31
33
 
32
34
  /* Max breadcrumb length */
33
35
  min-height: @breadcrumbItemMinHeight;
34
- max-width: @breadcrumbItemMaxWidth;
35
36
  padding: @mobileBreadcrumbPadding;
36
37
  text-overflow: ellipsis;
37
38
  white-space: nowrap;
@@ -203,7 +203,6 @@
203
203
  }
204
204
  }
205
205
 
206
-
207
206
  /*************/
208
207
  /* EEA Theme */
209
208
  /*************/
@@ -280,33 +279,220 @@
280
279
  Tabs
281
280
  ***********/
282
281
 
282
+ .vertical.border-left {
283
+ --vertical-menu-border: @verticalMenuBorderOnLeftSide;
284
+ --vertical-item-border: @verticalItemBorderOnLeftSide;
285
+ --vertical-item-border-style: @verticalItemBorderStyleOnLeft;
286
+ --vertical-item-margin: @verticalItemMarginOnLeft;
287
+ }
288
+
289
+ .ui.menu.vertical {
290
+ border-width: @verticalMenuBorderWidth !important;
291
+ border-style: @verticalItemBorderStyle !important;
292
+ border-color: @verticalMenuBorderColor !important;
293
+ margin: 0;
294
+ box-shadow: none;
295
+ }
296
+
297
+ .ui.secondary.vertical.menu > .item,
298
+ .ui.vertical.menu .item {
299
+ padding: @verticalItemPadding;
300
+ border-width: @verticalItemBorder;
301
+ border-style: @verticalItemBorderStyle;
302
+ border-color: transparent;
303
+ margin: @verticalItemMargin;
304
+ word-break: break-word;
305
+ }
306
+
307
+ .ui.vertical.menu .item.active {
308
+ border-right: @verticalItemActiveBorder;
309
+ }
310
+
283
311
  /* Tab active item custom border design */
284
- .ui.secondary.pointing.menu:not(.vertical):not(.pagination) .active.item,
285
- .ui.secondary.pointing.menu:not(.vertical):not(.pagination) .item:active {
286
- padding: (@secondaryPointingItemVerticalPadding - @1px)
287
- @secondaryPointingItemHorizontalPadding;
288
- border-bottom: @secondaryPointingActiveBorderWidth solid @secondaryColor;
289
- margin-bottom: -@secondaryPointingctiveItemMarginBottom;
312
+ .ui.menu[class*='ary']:not(.vertical, .inverted):not(.pagination) .item.active,
313
+ .ui.menu[class*='ary']:not(.vertical, .inverted):not(.pagination) .item:active {
314
+ border-bottom: @secondaryPointingActiveBorderWidth solid
315
+ var(--text-color, transparent);
316
+ margin-bottom: -@secondaryPointingActiveItemMarginBottom;
317
+ }
318
+
319
+ .block-editor-tabs_block .ui.menu a.active.item,
320
+ .block-editor-tabs_block .ui.menu a.item:hover {
321
+ background-color: transparent !important;
322
+ }
323
+
324
+ .block-editor-tabs_block .ui.inverted.menu .item:not(a):hover {
325
+ background-color: @strongTransparentBlack;
326
+ }
327
+
328
+ .tabs-block .ui.pointing.menu .item::after {
329
+ display: none;
330
+ }
331
+
332
+ .ui.menu[class*='ary']:not(.inverted) .ui.item:active {
290
333
  color: var(--text-color, @secondaryPointingActiveTextColor);
291
334
  }
292
335
 
293
336
  /* Menu items custom border for responsive issues */
294
- .ui.secondary.pointing.menu:not(.vertical) {
337
+ .ui.menu[class*='ary']:not(.vertical) {
295
338
  position: relative;
296
- overflow: auto; // Horizontal scolling of links
339
+ overflow: auto; // Horizontal scrolling of links
297
340
  height: auto; // height ensures that scrollable region has keyboard access
298
341
  padding-bottom: @2px; // Leave room for the active border item
299
342
  border-bottom: none; // Border comes from before pseudo-element
300
- margin-right: 0em;
301
- margin-left: 0em;
343
+ margin-right: 0;
344
+ margin-left: 0;
302
345
 
303
- a.item {
346
+ .item {
304
347
  max-width: @secondaryPointingItemMaxWidth;
348
+ padding: @secondaryItemVerticalPadding @secondaryItemHorizontalPadding;
305
349
  border-bottom: @secondaryPointingItemBorderBottom;
350
+ margin: @secondaryPointingItemMargin;
306
351
  }
307
352
  }
308
353
 
309
- .ui.pointing.secondary.menu:not(.vertical):before {
354
+ .ui.menu:not(.inverted) .active.item:hover {
355
+ background-color: transparent;
356
+ }
357
+
358
+ .ui.menu .item:hover {
359
+ cursor: pointer;
360
+ }
361
+
362
+ .ui.menu[class*='ary']:not(.inverted, .vertical) {
363
+ border: none;
364
+ box-shadow: none;
365
+ }
366
+
367
+ .ui.menu.vertical .item:before,
368
+ .ui.menu[class*='ary'] .item:before {
369
+ display: none;
370
+ }
371
+
372
+ .primary.menu {
373
+ --text-color: @primaryColorCSSVar;
374
+ }
375
+
376
+ .primary.secondary.menu {
377
+ --text-color-secondary: @primaryColorCSSVar;
378
+ }
379
+
380
+ .primary.inverted.menu {
381
+ --bg-color: @primaryColorCSSVar;
382
+ }
383
+
384
+ .secondary.menu {
385
+ --text-color: @secondaryColorCSSVar;
386
+ }
387
+
388
+ // color options from semantic tabs
389
+ .red.inverted.menu {
390
+ --bg-color: @red;
391
+ --text-color: @red;
392
+ }
393
+
394
+ .orange.inverted.menu {
395
+ --bg-color: @orange;
396
+ --text-color: @orange;
397
+ }
398
+
399
+ .yellow.inverted.menu {
400
+ --bg-color: @yellow;
401
+ --text-color: @yellow;
402
+ }
403
+
404
+ .olive.inverted.menu {
405
+ --bg-color: @olive;
406
+ --text-color: @olive;
407
+ }
408
+
409
+ .green.inverted.menu {
410
+ --bg-color: @green;
411
+ --text-color: @green;
412
+ }
413
+
414
+ .teal.inverted.menu {
415
+ --bg-color: @teal;
416
+ --text-color: @teal;
417
+ }
418
+
419
+ .blue.inverted.menu {
420
+ --bg-color: @blue;
421
+ --text-color: @blue;
422
+ }
423
+
424
+ .violet.inverted.menu {
425
+ --bg-color: @violet;
426
+ --text-color: @violet;
427
+ }
428
+
429
+ .purple.inverted.menu {
430
+ --bg-color: @purple;
431
+ --text-color: @purple;
432
+ }
433
+
434
+ .pink.inverted.menu {
435
+ --bg-color: @pink;
436
+ --text-color: @pink;
437
+ }
438
+
439
+ .grey.inverted.menu {
440
+ --bg-color: @grey;
441
+ --text-color: @grey;
442
+ }
443
+
444
+ .brown.inverted.menu {
445
+ --bg-color: @brown;
446
+ --text-color: @brown;
447
+ }
448
+
449
+ .black.menu,
450
+ .black.inverted.menu {
451
+ --bg-color: @black;
452
+ --text-color: @black;
453
+ }
454
+
455
+ .ui.inverted.menu {
456
+ --tab-inverted-text-color: @invertedItemTextColor;
457
+ --tab-inverted-active-text-color: @white;
458
+ --tab-inverted-hover-text-color: @white;
459
+ --tab-inverted-bg-color: var(--bg-color, @secondaryColorCSSVar);
460
+ --tab-inverted-secondary-active-border-color: @secondaryPointingInvertedBorderColor;
461
+ }
462
+
463
+ .ui.secondary.pointing.menu {
464
+ background-color: var(--tab-inverted-bg-color);
465
+ }
466
+
467
+ .tertiary.menu {
468
+ --text-color: @tertiaryColorCSSVar;
469
+ }
470
+
471
+ .tertiary.secondary.menu {
472
+ --text-color-secondary: @tertiaryColorCSSVar;
473
+ }
474
+
475
+ .menu.inverted {
476
+ --text-active-color: @white;
477
+ }
478
+
479
+ .menu.inverted input {
480
+ --text-color: @white;
481
+ }
482
+
483
+ .tertiary.inverted.menu {
484
+ --bg-color: @tertiaryColorCSSVar;
485
+ }
486
+
487
+ .ui.pointing.menu.inverted .active.title {
488
+ background-color: @invertedColoredActiveBackground;
489
+ }
490
+
491
+ .ui.inverted.menu .ui.item.active:hover {
492
+ background-color: @invertedActiveBackground;
493
+ }
494
+
495
+ .ui.menu[class*='ary']:not(.vertical):before {
310
496
  position: absolute;
311
497
  z-index: 0;
312
498
  right: 0;
@@ -318,7 +504,7 @@
318
504
  }
319
505
 
320
506
  // edit page, normalize font size of tab headers from the sidebar
321
- .section-edit .ui.pointing.secondary.menu .item,
322
- .tabs-wrapper .ui.pointing.secondary.menu .item {
507
+ .section-edit .menu[class*='ary'] .item,
508
+ .tabs-wrapper .menu[class*='ary'] .item {
323
509
  font-size: 1.25rem;
324
510
  }
@@ -30,7 +30,7 @@
30
30
  color @defaultDuration @defaultEasing
31
31
  ;
32
32
  @itemFontWeight: @normal;
33
- @itemTextColor: var(--text-color, @deepBlue);
33
+ @itemTextColor: @textColor;
34
34
 
35
35
  /* Divider */
36
36
  @dividerSize: 1px;
@@ -159,7 +159,7 @@
159
159
 
160
160
  /* Hovered Item */
161
161
  @hoverItemBackground: none;
162
- @hoverItemTextColor: @selectedTextColor;
162
+ @hoverItemTextColor: @activeItemTextColor;
163
163
 
164
164
  /* Pressed Item */
165
165
  @pressedItemBackground: none;
@@ -168,14 +168,14 @@
168
168
 
169
169
  /* Active Item */
170
170
  @activeItemBackground: none;
171
- @activeItemTextColor: @selectedTextColor;
171
+ @activeItemTextColor: var(--text-color, @textColor);
172
172
  @activeItemFontWeight: @normal;
173
173
  @activeIconOpacity: 1;
174
174
  @activeItemBoxShadow: none;
175
175
 
176
176
  /* Active Hovered Item */
177
177
  @activeHoverItemBackground: @transparentBlack;
178
- @activeHoverItemColor: @selectedTextColor;
178
+ @activeHoverItemColor: @activeItemTextColor;
179
179
 
180
180
  /* Selected Dropdown */
181
181
  @dropdownSelectedItemBackground: @transparentBlack;
@@ -200,8 +200,22 @@
200
200
  @verticalBoxShadow: @boxShadow;
201
201
  @verticalPointerWidth: 2px;
202
202
  @verticalBackground: #FFFFFF;
203
- @verticalItemBackground: none;
204
203
  @verticalDividerBackground: @dividerBackground;
204
+ @verticalBorderWidth: @1px;
205
+ @verticalMenuBorder: @1px solid @grey-3;
206
+ @verticalMenuBorderWidth: var(--vertical-menu-border, 0 @verticalBorderWidth 0 0) !important;
207
+ @verticalMenuBorderOnLeftSide: 0 0 0 @verticalBorderWidth;
208
+ @verticalMenuBorderColor: @grey-3;
209
+ @verticalItemBackground: none;
210
+ @verticalItemBorderWidth: @3px;
211
+ @verticalItemBorder: var(--vertical-item-border, 0 @verticalItemBorderWidth 0 0) !important;
212
+ @verticalItemBorderStyle: var(--vertical-item-border-style, none solid none none);
213
+ @verticalItemBorderStyleOnLeft: none none none solid;
214
+ @verticalItemBorderOnLeftSide: 0 0 0 @verticalItemBorderWidth;
215
+ @verticalItemMargin: @secondaryVerticalPointingItemMargin;
216
+ @verticalItemMarginOnLeft: 0 0 0 -@secondaryPointingBorderWidth;
217
+ @verticalItemPadding: @secondaryPointingItemVerticalPadding @secondaryPointingItemHorizontalPadding;
218
+ @verticalItemActiveBorder: @3px solid @activeItemTextColor;
205
219
 
206
220
  @verticalActiveBoxShadow: none;
207
221
 
@@ -219,13 +233,13 @@
219
233
  @secondaryItemTransition: none;
220
234
  @secondaryItemColor: @unselectedTextColor;
221
235
 
222
- @secondaryHoverItemBackground: @transparentBlack;
223
- @secondaryHoverItemColor: @selectedTextColor;
236
+ @secondaryHoverItemBackground: transparent;
237
+ @secondaryHoverItemColor: @activeItemTextColor;
224
238
 
225
- @secondaryActiveItemBackground: @transparentBlack;
226
- @secondaryActiveItemColor: @selectedTextColor;
227
- @secondaryActiveHoverItemBackground: @transparentBlack;
228
- @secondaryActiveHoverItemColor: @selectedTextColor;
239
+ @secondaryActiveItemBackground: var(--bg-color, @white);
240
+ @secondaryActiveItemColor: @activeItemTextColor;
241
+ @secondaryActiveHoverItemBackground: @secondaryActiveItemBackground;
242
+ @secondaryActiveHoverItemColor: @secondaryActiveItemColor;
229
243
 
230
244
  @secondaryActiveHoveredItemBackground: @transparentBlack;
231
245
  @secondaryActiveHoveredItemColor: @selectedTextColor;
@@ -234,7 +248,7 @@
234
248
  @secondaryHeaderBorder: none;
235
249
 
236
250
  @secondaryItemVerticalSpacing: @secondaryItemSpacing;
237
- @secondaryVerticalItemMargin: 0em 0em @secondaryItemVerticalSpacing;
251
+ @secondaryVerticalItemMargin: @secondaryVerticalPointingItemMargin;
238
252
  @secondaryVerticalItemBorderRadius: @defaultBorderRadius;
239
253
 
240
254
  @secondaryMenuSubMenuMargin: 0em -@secondaryItemHorizontalPadding;
@@ -245,7 +259,7 @@
245
259
  /* Pointing */
246
260
  @secondaryPointingBorderWidth: @1px;
247
261
  @secondaryPointingActiveBorderWidth: @3px;
248
- @secondaryPointingBorderColor: @midGray;
262
+ @secondaryPointingBorderColor: transparent;
249
263
  @secondaryPointingItemMargin: 0 1.25rem;
250
264
  @secondaryPointingItemVerticalPadding: @tinyGap;
251
265
  @secondaryPointingItemActiveVerticalPadding: unit((@relativeTiny - @3px), rem);
@@ -256,8 +270,8 @@
256
270
 
257
271
  @secondaryPointingHoverTextColor: var(--text-color-hover, @textColor);
258
272
 
259
- @secondaryPointingActiveBorderColor: @secondaryColor;
260
- @secondaryPointingActiveTextColor: @secondaryColor;
273
+ @secondaryPointingActiveBorderColor: var(--text-color, @secondaryColor);
274
+ @secondaryPointingActiveTextColor: var(--text-color, @secondaryColor);
261
275
  @secondaryPointingActiveFontWeight: @normal;
262
276
 
263
277
  @secondaryPointingActiveDropdownBorderColor: transparent;
@@ -266,19 +280,20 @@
266
280
  @secondaryPointingActiveHoverTextColor: @secondaryPointingActiveTextColor;
267
281
 
268
282
  @secondaryPointingHeaderColor: @darkTextColor;
269
- @secondaryVerticalPointingItemMargin: 0em -@secondaryPointingBorderWidth 0em 0em;
283
+ @secondaryVerticalPointingItemMargin: var(--vertical-item-margin, 0em -@secondaryPointingBorderWidth 0em 0em);
270
284
 
271
285
 
272
- @secondaryPointingItemBorderBottom: @1px solid @midGray;
273
- @secondaryPointingItemMaxWidth: 15.625rem;
286
+ @secondaryPointingItemBorderBottom: @3px solid transparent;
287
+ @secondaryPointingItemMargin: 0 0 -@1px 0;
288
+ @secondaryPointingItemMaxWidth: 15.625rem;
274
289
 
275
290
  /* Inverted Secondary */
276
- @secondaryInvertedColor: @invertedLightTextColor;
291
+ @secondaryInvertedColor: @invertedTextColor;
277
292
 
278
- @secondaryInvertedHoverBackground: @transparentWhite;
293
+ @secondaryInvertedHoverBackground: @strongTransparentBlack;
279
294
  @secondaryInvertedHoverColor: @invertedSelectedTextColor;
280
295
 
281
- @secondaryInvertedActiveBackground: @strongTransparentWhite;
296
+ @secondaryInvertedActiveBackground: @invertedActiveBackground;
282
297
  @secondaryInvertedActiveColor: @invertedSelectedTextColor;
283
298
 
284
299
  /* Inverted Pointing */
@@ -286,7 +301,7 @@
286
301
  @secondaryPointingInvertedItemTextColor: @invertedTextColor;
287
302
  @secondaryPointingInvertedItemHeaderColor: @white;
288
303
  @secondaryPointingInvertedItemHoverTextColor: @selectedTextColor;
289
- @secondaryPointingInvertedActiveBorderColor: @white;
304
+ @secondaryPointingInvertedActiveBorderColor: @strongTransparentBlack;
290
305
  @secondaryPointingInvertedActiveColor: @invertedSelectedTextColor;
291
306
 
292
307
 
@@ -369,7 +384,7 @@
369
384
 
370
385
  @textMenuActiveItemFontWeight: @normal;
371
386
  @textMenuActiveItemColor: @selectedTextColor;
372
- @secondaryPointingctiveItemMarginBottom: @2px;
387
+ @secondaryPointingActiveItemMarginBottom: @1px;
373
388
 
374
389
  @textMenuHeaderSize: @relativeSmall;
375
390
  @textMenuHeaderColor: @darkTextColor;
@@ -389,7 +404,7 @@
389
404
  ---------------*/
390
405
 
391
406
  /* Inverted */
392
- @invertedBackground: @black;
407
+ @invertedBackground: var(--bg-color, @textColor);
393
408
  @invertedBoxShadow: none;
394
409
  @invertedBorder: 0px solid transparent;
395
410
  @invertedHeaderBackground: transparent;
@@ -402,23 +417,23 @@
402
417
  @invertedSubMenuColor: @invertedUnselectedTextColor;
403
418
 
404
419
  /* Inverted Hover */
405
- @invertedHoverBackground: @transparentWhite;
420
+ @invertedHoverBackground: @strongTransparentBlack;
406
421
  @invertedHoverColor: @invertedSelectedTextColor;
407
422
 
408
423
  @invertedSubMenuHoverBackground: transparent;
409
424
  @invertedSubMenuHoverColor: @invertedSelectedTextColor;
410
425
 
411
426
  /* Pressed */
412
- @invertedMenuPressedBackground: @transparentWhite;
427
+ @invertedMenuPressedBackground: transparent;
413
428
  @invertedMenuPressedColor: @invertedSelectedTextColor;
414
429
 
415
430
  /* Inverted Active */
416
- @invertedActiveBackground: @strongTransparentWhite;
431
+ @invertedActiveBackground: @strongTransparentBlack;
417
432
  @invertedActiveColor: @invertedSelectedTextColor;
418
433
  @invertedArrowActiveColor: #3D3E3F;
419
434
 
420
435
  /* Inverted Active Hover */
421
- @invertedActiveHoverBackground: @invertedActiveBackground;
436
+ @invertedActiveHoverBackground: @strongTransparentBlack;
422
437
  @invertedActiveHoverColor: @white;
423
438
  @invertedArrowActiveHoverColor: @invertedArrowActiveColor;
424
439
 
@@ -30,4 +30,4 @@
30
30
  .field-wrapper .ui.negative.message {
31
31
  background: transparent;
32
32
  box-shadow: none;
33
- }
33
+ }
@@ -27,7 +27,6 @@
27
27
  text-transform: @headerTextTransform;
28
28
  vertical-align: @headerVerticalAlign;
29
29
  }
30
-
31
30
  }
32
31
 
33
32
  // fix hiding of table header on mobile resolutions, by default whitespace is no wrap from table.less
@@ -36,30 +35,29 @@
36
35
  }
37
36
 
38
37
  @media only screen and (max-width: @tabletBreakpoint) {
39
-
40
38
  .ui.table.responsive {
41
-
42
39
  &:not(.unstackable) td:first-child {
43
40
  font-weight: @responsiveMobileCellHeaderFontWeight;
44
41
  }
45
42
 
46
43
  thead {
47
- border: none;
48
- clip: @responsiveMobileCellHeaderClip;
49
- height: @responsiveMobileHeaderHeight;
50
- margin: @responsiveMobileHeaderMargin;
51
- overflow: hidden;
52
- padding: @responsiveMobileHeaderPadding;
53
44
  position: absolute;
45
+ overflow: hidden;
54
46
  width: @responsiveMobileHeaderWidth;
47
+ height: @responsiveMobileHeaderHeight;
48
+ padding: @responsiveMobileHeaderPadding;
49
+ border: none;
50
+ margin: @responsiveMobileHeaderMargin;
51
+ clip: @responsiveMobileCellHeaderClip;
55
52
  }
56
53
 
57
54
  td {
58
55
  display: block;
59
- text-align: @responsiveMobileCellTextAlign;
60
56
  clear: both;
61
-
57
+ text-align: @responsiveMobileCellTextAlign;
58
+
62
59
  &::before {
60
+ max-width: @responsiveMobileCellDataLabelMaxSize;
63
61
  /*
64
62
  * aria-label has no advantage, it won't be read inside a table
65
63
  content: attr(aria-label);
@@ -68,11 +66,7 @@
68
66
  float: @responsiveMobileCellDataLabelFloat;
69
67
  font-weight: @responsiveMobileCellDataLabelFontWeigth;
70
68
  text-align: @responsiveMobileCellDataLabelTextAlign;
71
- max-width: @responsiveMobileCellDataLabelMaxSize;
72
69
  }
73
-
74
70
  }
75
-
76
71
  }
77
-
78
72
  }
@@ -116,10 +116,10 @@ button.ui.button.text,
116
116
  button.ui.buttons.text,
117
117
  a.ui.button.text,
118
118
  p.ui.button {
119
+ padding: @textButtonPadding;
119
120
  background-color: @textButtonBackground;
120
121
  color: @primaryColor;
121
122
  text-decoration: underline;
122
- padding: @textButtonPadding;
123
123
 
124
124
  &:hover,
125
125
  &:active,
@@ -320,4 +320,4 @@ p.ui.button {
320
320
  .ui.tertiary.buttons .button:active,
321
321
  .ui.tertiary.button:active {
322
322
  background-color: @tertiaryColorDown;
323
- }
323
+ }