@eeacms/volto-eea-design-system 0.8.1 → 0.9.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.
@@ -24,7 +24,6 @@
24
24
  .top.bar {
25
25
  display: flex;
26
26
  align-items: center;
27
- height: @mobileTopSectionHeight;
28
27
  background: @topSectionBackground;
29
28
 
30
29
  .ui.container {
@@ -52,23 +51,35 @@
52
51
  height: auto !important;
53
52
  border-radius: @defaultBorderRadius;
54
53
  color: @topSectionItemColor;
54
+ padding: @mobileDropdownPadding;
55
+ max-width: @dropdownMaxWidth;
56
+ }
57
+
58
+ .top.bar .ui.active.visible.dropdown {
59
+ background: @grey-0;
60
+ box-shadow: @shadow-topbar-dropdown;
61
+
62
+ i.icon {
63
+ transform: rotate(180deg);
64
+ }
55
65
  }
56
66
 
57
67
  .top.bar .divider.text {
58
68
  color: @dropdownColor;
59
- font-size: @dropdownFontSize;
69
+ font-size: @mobileDropdownFontSize;
60
70
  font-weight: @dropdownFontWeight;
61
71
  }
62
72
 
63
73
  .top.bar .ui.dropdown .menu {
64
- margin-top: @mobileDropdownMenuMarginTop;
65
74
  left: @dropdownMenuLeft;
66
75
  right: @dropdownMenuRight;
76
+ box-shadow: @shadow-4-no-top;
77
+ border: none;
67
78
  }
68
79
 
69
80
  .top.bar .ui.dropdown .menu,
70
81
  .top.bar .ui.dropdown .menu .item {
71
- font-size: @mobileDropdownMenuFontSize;
82
+ font-size: @dropdownMenuFontSize;
72
83
  color: @dropdownColor;
73
84
  }
74
85
 
@@ -98,7 +109,9 @@
98
109
  position: absolute;
99
110
  font-size: @topSectionIconFontSize;
100
111
  margin-left: @topSectionIconMarginLeft;
101
- top: 0;
112
+ top: @mobileTopSectionIconTop;
113
+ line-height: @topSectionIconLineHeight;
114
+ transition: .2s;
102
115
  }
103
116
 
104
117
  /* Official union dropdown */
@@ -108,9 +121,14 @@
108
121
 
109
122
  img {
110
123
  width: @mobileOfficialUnionImageWidth;
124
+ position: absolute;
125
+ z-index: @z-index-1;
126
+ padding-left: @rem-space-2;
111
127
  }
112
128
 
113
129
  .ui.dropdown {
130
+ padding: @mobileOfficialUnionPadding;
131
+
114
132
  .menu {
115
133
  padding: @officialUnionPadding;
116
134
  left: @mobileOfficialUnionMenuLeft;
@@ -124,7 +142,6 @@
124
142
  a {
125
143
  font-weight: @officialUnionLinkFontWeight;
126
144
  white-space: @dropdownMenuContentWhiteSpace;
127
- color: @officialUnionLinkColor;
128
145
  }
129
146
  }
130
147
  }
@@ -154,9 +171,12 @@
154
171
 
155
172
  /* Language dropdown */
156
173
  #language-switcher {
174
+ padding: @mobileLanguageMenuPadding;
175
+ flex-direction: row-reverse;
176
+
157
177
  img {
158
- width: @mobileOfficialUnionImageWidth;
159
- margin-left: @topSectionIconMarginLeft;
178
+ width: @mobileLanguageImageWidth;
179
+ margin-right: @topSectionIconMarginRight;
160
180
  }
161
181
  .menu {
162
182
  .wrapper {
@@ -164,6 +184,10 @@
164
184
  justify-content: flex-end;
165
185
  font-weight: @languageMenuItemFontWeight;
166
186
 
187
+ span {
188
+ font-size: @mobileLanguageFontSize;
189
+ }
190
+
167
191
  span.country-code {
168
192
  margin-left: @mobileLanguageCountryCodeMarginLeft;
169
193
  font-weight: @mobileLanguageCountryCodeFontWeight;
@@ -199,16 +223,21 @@
199
223
  height: @mobileMainSectionHeight;
200
224
 
201
225
  .ui.grid {
202
- /* All margins and paddings removed for main header */
226
+ // All margins and paddings removed for main header
203
227
  width: 100%;
204
228
  margin: 0;
205
229
 
230
+ // Override grid specific paddings for header
206
231
  div:first-child {
207
232
  padding-left: 0;
233
+ padding-top: 0;
234
+ padding-bottom: 0;
208
235
  }
209
236
 
210
237
  div:last-child {
211
238
  padding-right: 0;
239
+ padding-top: 0;
240
+ padding-bottom: 0;
212
241
  }
213
242
  }
214
243
  }
@@ -342,7 +371,7 @@
342
371
  .search-action,
343
372
  .burger-action.mobile {
344
373
  img {
345
- width: 60%;
374
+ width: 75%;
346
375
  }
347
376
  // icon to be used
348
377
  i.icon {
@@ -380,21 +409,12 @@
380
409
  HEADER TOP BAR TABLET
381
410
  ----------------------------------------------------------------------------*/
382
411
 
383
- .top.bar {
384
- height: @tabletTopSectionHeight;
385
- }
386
-
387
412
  .homepage .block-editor-hero {
388
413
  margin-top: @tabletTopSectionHeight;
389
414
  }
390
415
 
391
- .top.bar .ui.dropdown .menu {
392
- margin-top: @tabletDropdownMenuMarginTop;
393
- }
394
-
395
- .top.bar .ui.dropdown .menu,
396
- .top.bar .ui.dropdown .menu .item {
397
- font-size: @tabletDropdownMenuFontSize;
416
+ .top.bar .divider.text {
417
+ font-size: @tabletDropdownFontSize;
398
418
  }
399
419
 
400
420
  /* Official union dropdown */
@@ -404,7 +424,10 @@
404
424
  img {
405
425
  width: @tabletOfficialUnionImageWidth;
406
426
  }
407
- .ui.dropdown {
427
+
428
+ .ui.dropdown {
429
+ padding: @tabletOfficialUnionPadding;
430
+
408
431
  .menu {
409
432
  left: @tabletOfficialUnionMenuLeft;
410
433
 
@@ -415,14 +438,22 @@
415
438
  }
416
439
  }
417
440
 
441
+ /* Theme sites dropdown */
442
+ #theme-sites.ui.dropdown .menu {
443
+ .wrapper {
444
+ width: @tabletThemeSitesMenuWidth;
445
+ }
446
+ }
447
+
418
448
  /* Language dropdown */
419
449
  #language-switcher {
420
- img {
421
- width: 19px;
450
+ .divider.text {
451
+ font-size: @font-size-1;
452
+ line-height: @font-lineheight-00;
422
453
  }
423
454
 
424
- .menu {
425
- top: @tabletLanguageMenuTop;
455
+ img {
456
+ width: @tabletLanguageImageWidth;
426
457
  }
427
458
  }
428
459
 
@@ -432,7 +463,7 @@
432
463
 
433
464
  .main.bar {
434
465
  .ui.container {
435
- height: 117px;
466
+ height: @tabletMainSectionHeight;
436
467
  }
437
468
  }
438
469
 
@@ -465,15 +496,43 @@
465
496
  HEADER TOP BAR DESKTOP
466
497
  ----------------------------------------------------------------------------*/
467
498
 
468
- .top.bar {
469
- height: @computerTopSectionHeight;
470
- }
471
499
  .homepage .block-editor-hero {
472
500
  margin-top: @computerTopSectionHeight;
473
501
  }
474
502
 
475
- .top.bar .ui.dropdown .menu {
476
- margin-top: @computerDropdownMenuMarginTop;
503
+ .top.bar .ui.dropdown {
504
+ padding: @computerDropdownPadding;
505
+ }
506
+
507
+ .top.bar .ui.dropdown i.chevron.down.icon {
508
+ top: @computerTopSectionIconTop;
509
+ }
510
+
511
+ .top.bar .official-union {
512
+ .ui.dropdown {
513
+ padding: @computerOfficialUnionPadding;
514
+
515
+ .menu {
516
+ .content {
517
+ max-width: @computerOfficialUnionMaxWidth;
518
+ }
519
+ }
520
+ }
521
+ }
522
+
523
+ /* Theme sites dropdown */
524
+ #theme-sites.ui.dropdown .menu {
525
+ .wrapper {
526
+ width: @computerThemeSitesMenuWidth;
527
+ }
528
+ }
529
+
530
+ #language-switcher {
531
+ padding: @computerLanguageMenuPadding;
532
+
533
+ .menu .wrapper .item span {
534
+ font-size: @computerLanguageFontSize;
535
+ }
477
536
  }
478
537
 
479
538
  /*----------------------------------------------------------------------------
@@ -482,7 +541,7 @@
482
541
 
483
542
  .main.bar {
484
543
  .ui.container {
485
- height: 160px;
544
+ height: @computerMainSectionHeight;
486
545
 
487
546
  .ui.text.menu {
488
547
  flex-wrap: wrap;
@@ -675,10 +734,24 @@
675
734
  display: none;
676
735
  }
677
736
 
678
- @media all and (max-width: @tabletBreakpoint - 1) {
737
+ @media all and (max-width: @largestMobileScreen) {
738
+ .top.bar .official-union .ui.dropdown .menu {
739
+ left: -20px;
740
+ min-width: calc(100vw - 20px);
741
+
742
+ .content {
743
+ max-width: 100%;
744
+ }
745
+ }
746
+
679
747
  #theme-sites.ui.dropdown .menu {
680
748
  left: @mobileThemeSitesMenuLeft;
681
749
  }
750
+
751
+ // Languages on mobile only go full right
752
+ #language-switcher .menu {
753
+ right: -20px;
754
+ }
682
755
  }
683
756
 
684
757
  @media all and (min-width: @tabletBreakpoint) {
@@ -3,11 +3,11 @@
3
3
  --------------------*/
4
4
 
5
5
  /* Heights */
6
- @mobileTopSectionHeight : 22px;
7
- @tabletTopSectionHeight : 30px;
8
- @computerTopSectionHeight : 33px;
6
+ @mobileTopSectionHeight : 42px; //delete
7
+ @tabletTopSectionHeight : 42px;
8
+ @computerTopSectionHeight : 34px;
9
9
 
10
- @mobileMainSectionHeight : 56px;
10
+ @mobileMainSectionHeight : 69px;
11
11
  @tabletMainSectionHeight : 117px;
12
12
  @computerMainSectionHeight : 160px;
13
13
 
@@ -34,18 +34,23 @@
34
34
  @mobileTopSectionItemFontSize : @font-size-00;
35
35
  @tabletTopSectionItemFontSize : @font-size-00;
36
36
  @topSectionZindex : @z-index-1;
37
- @topSectionIconMarginLeft : 1px;
38
- @topSectionIconFontSize : 0.8rem;
39
-
40
- /* Dropdown */
41
- @mobileDropdownMenuMarginTop : 0;
42
- @tabletDropdownMenuMarginTop : 0.4rem;
43
- @computerDropdownMenuMarginTop : 0.438rem;
44
37
  @dropdownColor : @blue-grey-6;
45
- @dropdownFontSize : @font-size-00;
38
+ @mobileDropdownFontSize : @font-size-00;
39
+ @tabletDropdownFontSize : @font-size-00;
46
40
  @dropdownFontWeight : @bold;
47
41
 
42
+ /* Icon */
43
+ @topSectionIconMarginLeft : @rem-space-1;
44
+ @topSectionIconMarginRight : @rem-space-1;
45
+ @topSectionIconFontSize : @font-size-0;
46
+ @topSectionIconLineHeight : @font-lineheight-00;
47
+ @mobileTopSectionIconTop : 14px;
48
+ @computerTopSectionIconTop : 10px;
49
+
48
50
  /* Dropdown Menu */
51
+ @mobileDropdownPadding : @rem-space-3 @rem-space-6 @rem-space-3 @rem-space-2;
52
+ @computerDropdownPadding : @rem-space-2 @rem-space-6 @rem-space-2 @rem-space-2;
53
+ @dropdownMaxWidth : 410px;
49
54
  @dropdownMenuLeft : auto;
50
55
  @dropdownMenuRight : 0;
51
56
  @dropdownMenuWrapperGap : @rem-space-1;
@@ -57,34 +62,42 @@
57
62
  @dropdownMenuItemColorHover : @white;
58
63
  @dropdownMenuItemBackgroundColorHover : @blue-grey-6;
59
64
  @dropdownMenuItemPadding : @rem-space-050 @rem-space-5;
60
- @mobileDropdownMenuFontSize : @font-size-00;
61
- @tabletDropdownMenuFontSize : @font-size-0;
65
+ @dropdownMenuFontSize : @font-size-00;
62
66
 
63
67
  // Official Union
64
68
  @mobileOfficialUnionGap : 0;
65
- @tabletOfficialUnionGap : @rem-space-2;
69
+ @tabletOfficialUnionGap : 0;
66
70
  @officialUnionLinkFontWeight : @bold;
67
- @officialUnionLinkColor : @blue-grey-6;
68
71
  @officialUnionPadding : @rem-space-3;
69
72
  @mobileOfficialUnionMaxWidth : 108px;
70
- @tabletOfficialUnionMaxWidth : 388px;
71
- @mobileOfficialUnionImageWidth : 17px;
72
- @tabletOfficialUnionImageWidth : 36px;
73
- @mobileOfficialUnionMenuLeft : -30px;
74
- @tabletOfficialUnionMenuLeft : -54px;
73
+ @tabletOfficialUnionMaxWidth : 272px;
74
+ @computerOfficialUnionMaxWidth : 380px;
75
+ @mobileOfficialUnionImageWidth : 25px;
76
+ @tabletOfficialUnionImageWidth : 44px;
77
+ @mobileOfficialUnionMenuLeft : 0;
78
+ @tabletOfficialUnionMenuLeft : 0;
79
+ @mobileOfficialUnionPadding : @rem-space-3 @rem-space-6;
80
+ @tabletOfficialUnionPadding : @rem-space-3 @rem-space-6 @rem-space-3 @rem-space-12;
81
+ @computerOfficialUnionPadding : @rem-space-2 @rem-space-6 @rem-space-2 @rem-space-12;
75
82
 
76
83
  // Theme Sites
77
- @mobileThemeSitesMenuWidth : 200px;
84
+ @mobileThemeSitesMenuWidth : 168px;
85
+ @tabletThemeSitesMenuWidth : 168px;
86
+ @computerThemeSitesMenuWidth : 225px;
78
87
  @themeSitesMenuSiteLinkColor : @blue-grey-6;
79
88
  @themeSitesMenuSiteLinkFontWeight : @normal;
80
89
  @mobileThemeSitesMenuLeft : 0px;
81
90
 
82
91
  // Language
83
- @tabletLanguageMenuTop : 18px;
84
- @languageMenuPadding : @rem-space-050 @rem-space-5;
92
+ @mobileLanguageMenuPadding : @rem-space-3 @rem-space-2;
93
+ @computerLanguageMenuPadding : @rem-space-2;
85
94
  @languageMenuItemFontWeight : @normal;
86
95
  @mobileLanguageCountryCodeMarginLeft : 3px;
87
96
  @mobileLanguageCountryCodeFontWeight : @bold;
97
+ @mobileLanguageFontSize : @font-size-0;
98
+ @computerLanguageFontSize : @font-size-1;
99
+ @mobileLanguageImageWidth : 17px;
100
+ @tabletLanguageImageWidth : 18px;
88
101
 
89
102
  /*-----------------------
90
103
  HEADER MAIN SECTION
@@ -96,7 +109,7 @@
96
109
 
97
110
  /* Logo */
98
111
  @logoWidth : 100%;
99
- @mobileLogoMaxWidth : 122px;
112
+ @mobileLogoMaxWidth : 142px;
100
113
  @tabletLogoMaxWidth : 252px;
101
114
  @computerLogoMaxWidth : 347px; //348 rendered fuzzy :(
102
115
  @mobileLogoMarginTop : @rem-space-2;
@@ -120,7 +133,7 @@
120
133
  ------------------*/
121
134
 
122
135
  /* Actions (Mega menu & Search) */
123
- @mobileActionsBoxWidth: 30px;
136
+ @mobileActionsBoxWidth: 44px;
124
137
  @tabletActionsBoxWidth: 66px;
125
138
  @computerActionsBoxWidth: 72px;
126
139
  @burgerActionBackgroundColor: @darkMidnightBlue;
@@ -180,4 +193,14 @@
180
193
 
181
194
  /* Search box */
182
195
  @searchBoxBackgroundGradient : linear-gradient(340.97deg, @darkCerulean 9.19%, #009591 77.47%);
183
- @searchBoxWrapperGap : 75px;
196
+ @searchBoxWrapperGap : 75px;
197
+
198
+ /* Custom shadows for dropdowns */
199
+ @shadow-topbar-dropdown: 2px 0 2px -5px hsla(@shadow-color, calc(@shadow-strength + 6%));
200
+ @shadow-4-no-top:
201
+ 0 0 0 0 hsla(@shadow-color, calc(@shadow-strength + 2%)),
202
+ 0 1px 1px -2px hsla(@shadow-color, calc(@shadow-strength + 3%)),
203
+ 0 2px 2px -2px hsla(@shadow-color, calc(@shadow-strength + 3%)),
204
+ 0 5px 5px -2px hsla(@shadow-color, calc(@shadow-strength + 4%)),
205
+ 0 9px 9px -2px hsla(@shadow-color, calc(@shadow-strength + 5%)),
206
+ 0 16px 16px -2px hsla(@shadow-color, calc(@shadow-strength + 6%));
@@ -32,6 +32,15 @@ h2, h3, h4, h5, h6 {
32
32
  h4 { font-size: @mobileH4; }
33
33
  }
34
34
 
35
+ a {
36
+ &:visited {
37
+ color: @linkVisitedColor;
38
+ }
39
+ &:active {
40
+ color: @linkActiveColor;
41
+ }
42
+ }
43
+
35
44
  [class^='ri-'],
36
45
  [class*=' ri-'] {
37
46
  fill: currentColor;
@@ -40,3 +49,9 @@ h2, h3, h4, h5, h6 {
40
49
  .homepage {
41
50
  color: @tertiaryColor;
42
51
  }
52
+
53
+ /* Add background and color for scroll-to-text fragments */
54
+ ::target-text {
55
+ background: @lightLavender;
56
+ color: @black;
57
+ }
@@ -194,9 +194,11 @@
194
194
  Links
195
195
  --------------------*/
196
196
 
197
- @linkColor : @primaryColor;
197
+ @linkColor : @blue-4;
198
+ @linkHoverColor : @blue-5;
199
+ @linkVisitedColor : @purple-5;
200
+ @linkActiveColor : @blue-6;
198
201
  @linkUnderline : none;
199
- @linkHoverColor : darken(saturate(@linkColor, 20), 15, relative);
200
202
  @linkHoverUnderline : @linkUnderline;
201
203
 
202
204
  /*-------------------
@@ -222,7 +224,6 @@
222
224
  @thumbHoverBackground: rgba(128, 135, 139, 0.8);
223
225
 
224
226
  /* Inverted */
225
- @statisticInvertedBackground: @bottleGreen;
226
227
  @trackInvertedBackground: rgba(255, 255, 255, 0.1);
227
228
  @thumbInvertedBackground: rgba(255, 255, 255, 0.25);
228
229
  @thumbInvertedInactiveBackground: rgba(255, 255, 255, 0.15);
@@ -373,6 +374,7 @@
373
374
  @lightBlue : #75C9DB;
374
375
  @lightViolet : #BFC0FF;
375
376
  @lightPurple : #DE99FF;
377
+ @lightLavender : #E8D2FD;
376
378
  @lightPink : #FFBFF1;
377
379
  @lightBrown : #D9C2AD;
378
380
  @lightGrey : #E6E7E8;
@@ -14,8 +14,8 @@
14
14
  height: 100%;
15
15
  }
16
16
 
17
- .ui.cards > .card > .image,
18
- .ui.card > .image {
17
+ .ui.cards > .card:not(.rounded) > .image,
18
+ .ui.card:not(.rounded) > .image {
19
19
  overflow: @cardImageOverflow;
20
20
  height: @cardImageHeight;
21
21
 
@@ -28,9 +28,9 @@
28
28
  }
29
29
 
30
30
  .ui.cards > .card > i.icon,
31
- .ui.cards > .card > a > i.icon,
31
+ .ui.cards > .card > a:not(.ui) > i.icon,
32
32
  .ui.card > i.icon,
33
- .ui.card > a > i.icon {
33
+ .ui.card > a:not(.ui) > i.icon {
34
34
  color: @iconColor;
35
35
  }
36
36
 
@@ -42,6 +42,7 @@
42
42
  .ui.card .meta {
43
43
  display: flex;
44
44
  justify-content: space-between;
45
+ width: 100%;
45
46
  }
46
47
 
47
48
 
@@ -55,7 +56,7 @@
55
56
  margin-bottom: @rem-space-4;
56
57
  }
57
58
 
58
- .ui.card .extra.content a {
59
+ .ui.card .extra.content a:not(.ui) {
59
60
  font-weight: @contentLinkFontWeight;
60
61
 
61
62
  &:hover {
@@ -89,9 +90,9 @@
89
90
  }
90
91
 
91
92
  .ui.card.primary > i.icon,
92
- .ui.card.primary > a > i.icon,
93
- .ui.card.primary > .content a,
94
- .ui.card.primary > .content a:hover,
93
+ .ui.card.primary > a:not(.ui) > i.icon,
94
+ .ui.card.primary > .content a:not(.ui),
95
+ .ui.card.primary > .content a:not(.ui):hover,
95
96
  .ui.card.primary > .content > .description {
96
97
  color: @primaryDescriptionColor;
97
98
  }
@@ -105,7 +106,7 @@
105
106
  }
106
107
 
107
108
  .ui.card.primary > .content > .meta,
108
- .ui.card.primary > .content > .meta a {
109
+ .ui.card.primary > .content > .meta a:not(.ui) {
109
110
  color: @primaryMetaColor;
110
111
  }
111
112
 
@@ -115,8 +116,8 @@
115
116
  color: @invertedPrimaryContentColor;
116
117
  }
117
118
 
118
- .ui.card.primary.inverted > a > i.icon,
119
- .ui.card.primary.inverted > .content a,
119
+ .ui.card.primary.inverted > a:not(.ui) > i.icon,
120
+ .ui.card.primary.inverted > .content a:not(.ui),
120
121
  .ui.card.primary.inverted > .extra.content a:not(.ui) {
121
122
  color: @invertedPrimaryContentColor;
122
123
 
@@ -135,9 +136,9 @@
135
136
  }
136
137
 
137
138
  .ui.card.secondary > i.icon,
138
- .ui.card.secondary > a > i.icon,
139
- .ui.card.secondary > .content a,
140
- .ui.card.secondary > .content a:hover,
139
+ .ui.card.secondary > a:not(.ui) > i.icon,
140
+ .ui.card.secondary > .content a:not(.ui),
141
+ .ui.card.secondary > .content a:not(.ui):hover,
141
142
  .ui.card.secondary > .content > .header {
142
143
  color: @secondaryHeaderColor;
143
144
  }
@@ -155,7 +156,7 @@
155
156
  }
156
157
 
157
158
  .ui.card.secondary > .content > .meta,
158
- .ui.card.secondary > .content > .meta a {
159
+ .ui.card.secondary > .content > .meta a:not(.ui) {
159
160
  color: @secondaryMetaColor;
160
161
  }
161
162
 
@@ -165,8 +166,8 @@
165
166
  color: @invertedSecondaryContentColor;
166
167
  }
167
168
 
168
- .ui.card.secondary.inverted > a > i.icon,
169
- .ui.card.secondary.inverted > .content a,
169
+ .ui.card.secondary.inverted > a:not(.ui) > i.icon,
170
+ .ui.card.secondary.inverted > .content a:not(.ui),
170
171
  .ui.card.secondary.inverted > .extra.content a:not(.ui) {
171
172
  color: @invertedSecondaryContentColor;
172
173
 
@@ -185,9 +186,9 @@
185
186
  }
186
187
 
187
188
  .ui.card.tertiary > i.icon,
188
- .ui.card.tertiary > a > i.icon,
189
- .ui.card.tertiary > .content a,
190
- .ui.card.tertiary > .content a:hover,
189
+ .ui.card.tertiary > a:not(.ui) > i.icon,
190
+ .ui.card.tertiary > .content a:not(.ui),
191
+ .ui.card.tertiary > .content a:not(.ui):hover,
191
192
  .ui.card.tertiary > .content > .header {
192
193
  color: @tertiaryHeaderColor;
193
194
  }
@@ -205,7 +206,7 @@
205
206
  }
206
207
 
207
208
  .ui.card.tertiary > .content > .meta,
208
- .ui.card.tertiary > .content > .meta a {
209
+ .ui.card.tertiary > .content > .meta a:not(.ui) {
209
210
  color: @tertiaryMetaColor;
210
211
  }
211
212
 
@@ -215,8 +216,8 @@
215
216
  color: @invertedTertiaryContentColor;
216
217
  }
217
218
 
218
- .ui.card.tertiary.inverted > a > i.icon,
219
- .ui.card.tertiary.inverted > .content a,
219
+ .ui.card.tertiary.inverted > a:not(.ui) > i.icon,
220
+ .ui.card.tertiary.inverted > .content a:not(.ui),
220
221
  .ui.card.tertiary.inverted > .extra.content a:not(.ui) {
221
222
  color: @invertedTertiaryContentColor;
222
223
 
@@ -234,34 +235,35 @@
234
235
  height: auto;
235
236
  }
236
237
 
238
+ .ui.cards .ui.card.rounded,
237
239
  .ui.card.rounded {
238
240
  padding-top: @iconCardPaddingTop;
239
241
  border: none;
240
242
 
241
243
  .image {
242
244
  display: flex;
243
- justify-content: center;
245
+ justify-content: @roundedImageJustifyContent;
244
246
 
245
- img {
246
- width: @roundedImageWidth;
247
- height: @roundedImageHeight;
248
- border-radius: @roundedImageBorderRadius;
249
- }
247
+ }
248
+
249
+ img {
250
+ width: @roundedImageWidth;
251
+ height: @roundedImageHeight;
252
+ border-radius: @roundedImageBorderRadius;
250
253
  }
251
254
 
252
255
  .content {
253
- justify-content: center;
254
256
  border-top: none;
255
257
 
256
258
  .header {
257
259
  margin-bottom: @roundedContentTitleMarginBottom;
258
260
  font-size: @roundedContentTitleFontSize;
259
261
  font-weight: @roundedContentTitleFontWeight;
260
- text-align: center;
262
+ text-align: @roundedContentTitleTextAlign;
261
263
  }
262
264
 
263
265
  .description {
264
- text-align: center;
266
+ text-align: @roundedContentTitleTextAlign;
265
267
  font-size: @roundedMetadataFontSize;
266
268
  font-weight: @roundedMetadataFontWeight;
267
269
  }
@@ -288,7 +290,7 @@
288
290
  background-color: @publicationCardDescriptionColor;
289
291
 
290
292
  .meta,
291
- .meta a {
293
+ .meta a:not(.ui) {
292
294
  color: @publicationCardtextColor;
293
295
  font-size: @cardMetaFontSize;
294
296
  font-weight: @cardMetaTagFontWeight;
@@ -408,6 +410,7 @@
408
410
  cursor: pointer;
409
411
  outline: none;
410
412
  transform: translate(0, -50%);
413
+ z-index: 1; // make arrows clickable even on events page with right column
411
414
  }
412
415
 
413
416
  .cards-carousel .prev-arrow {
@@ -421,6 +424,10 @@
421
424
  }
422
425
 
423
426
  /* Custom carousel pagination bullets */
427
+ // avoid dots going over content that follows sliders
428
+ .slick-dots {
429
+ bottom: 0;
430
+ }
424
431
  .cards-carousel .slick-dots li button:before {
425
432
  background-color: @carouselDotsBackgroundColor;
426
433
  color: transparent;
@@ -274,8 +274,10 @@
274
274
  /* Global */
275
275
  @roundedImageBorderRadius : @circularRadius;
276
276
  @roundedContentTitleMarginBottom : @rem-space-2;
277
+ @roundedContentTitleTextAlign : left;
277
278
  @roundedContentTitleFontWeight : @bold;
278
279
  @roundedContentTitleFontSize : @font-size-3;
280
+ @roundedImageJustifyContent : center;
279
281
  @roundedImageHeight : 173px;
280
282
  @roundedImageWidth : 173px;
281
283
  @roundedMetadataFontSize : @font-size-1;