@eeacms/volto-eea-design-system 0.2.2 → 0.3.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 (45) hide show
  1. package/.github/workflows/auto-comment.yml +20 -0
  2. package/CHANGELOG.md +85 -0
  3. package/package.json +1 -1
  4. package/src/semantic.less +2 -2
  5. package/src/ui/Banner/Banner.jsx +1 -1
  6. package/src/ui/Breadcrumbs/Breadcrumb.stories.jsx +3 -0
  7. package/src/ui/Breadcrumbs/Breadcrumbs.jsx +1 -0
  8. package/src/ui/CallToAction/CallToAction.stories.jsx +239 -0
  9. package/src/ui/Callout/Callout.jsx +12 -0
  10. package/src/ui/Callout/Callout.stories.jsx +42 -0
  11. package/src/ui/{Button → Form/Button}/Button.stories.jsx +43 -27
  12. package/src/ui/{Pullquote/Pullquote.jsx → Quote/Quote.jsx} +9 -9
  13. package/src/ui/{Pullquote/Pullquote.stories.jsx → Quote/Quote.stories.jsx} +18 -18
  14. package/src/ui/{Testimonial → Quote/Testimonial}/Testimonial.jsx +10 -11
  15. package/src/ui/{Testimonial → Quote/Testimonial}/Testimonial.stories.jsx +17 -8
  16. package/src/ui/index.js +3 -3
  17. package/theme/theme.config +1 -1
  18. package/theme/themes/eea/collections/breadcrumb.overrides +0 -16
  19. package/theme/themes/eea/collections/form.overrides +1 -1
  20. package/theme/themes/eea/collections/table.overrides +48 -0
  21. package/theme/themes/eea/collections/table.variables +16 -0
  22. package/theme/themes/eea/elements/button.overrides +79 -0
  23. package/theme/themes/eea/elements/container.overrides +4 -19
  24. package/theme/themes/eea/elements/container.variables +5 -4
  25. package/theme/themes/eea/elements/segment.overrides +77 -0
  26. package/theme/themes/eea/extras/avatar.variables +28 -0
  27. package/theme/themes/eea/extras/callout.less +43 -0
  28. package/theme/themes/eea/extras/callout.variables +19 -0
  29. package/theme/themes/eea/extras/header.less +1 -1
  30. package/theme/themes/eea/extras/{pullquote.less → quote.less} +20 -20
  31. package/theme/themes/eea/extras/quote.variables +34 -0
  32. package/theme/themes/eea/extras/testimonial.less +46 -6
  33. package/theme/themes/eea/extras/testimonial.variables +14 -6
  34. package/theme/themes/eea/globals/site.variables +11 -5
  35. package/theme/themes/eea/modules/accordion.variables +2 -2
  36. package/theme/themes/eea/modules/tab.overrides +20 -4
  37. package/theme/themes/eea/modules/tab.variables +12 -3
  38. package/theme/themes/eea/tokens/fonts.less +38 -0
  39. package/theme/themes/eea/tokens/sizes.less +17 -0
  40. package/theme/themes/eea/tokens/tokens.less +2 -0
  41. package/src/ui/Blockquote/Blockquote.jsx +0 -16
  42. package/src/ui/Blockquote/Blockquote.stories.jsx +0 -48
  43. package/theme/themes/eea/extras/blockquote.less +0 -92
  44. package/theme/themes/eea/extras/blockquote.variables +0 -35
  45. package/theme/themes/eea/extras/pullquote.variables +0 -34
@@ -1,15 +1,15 @@
1
1
  @type: 'extra';
2
- @element: 'pullquote';
2
+ @element: 'quote';
3
3
 
4
4
  @import (multiple) '../../theme.config';
5
5
 
6
6
  /*******************************
7
- Pullquote
7
+ Quote
8
8
  *******************************/
9
9
 
10
- .eea.pullquote {
11
- padding: @pullquotePadding;
12
- margin: @pullquoteMargin;
10
+ .eea.quote {
11
+ padding: @quotePadding;
12
+ margin: @quoteMargin;
13
13
  word-break: @contentWordBreak;
14
14
  hyphens: @contentWordBreakHyphens;
15
15
 
@@ -36,23 +36,23 @@
36
36
  }
37
37
  }
38
38
 
39
- .author {
40
- color: @authorTextColor;
41
- text-align: @authorTextAlign;
42
- font-weight: @authorFontWeight;
43
- font-size: @authorFontSize;
44
- margin: @authorMargin;
39
+ .source {
40
+ color: @sourceTextColor;
41
+ text-align: @sourceTextAlign;
42
+ font-weight: @sourceFontWeight;
43
+ font-size: @sourceFontSize;
44
+ margin: @sourceMargin;
45
45
  }
46
46
 
47
- .meta {
48
- text-align: @metaTextAlign;
49
- font-weight: @metaFontWeight;
50
- font-size: @metaFontSize;
47
+ .info {
48
+ text-align: @sourceInfoTextAlign;
49
+ font-weight: @sourceInfoFontWeight;
50
+ font-size: @sourceInfoFontSize;
51
51
  }
52
52
  }
53
53
 
54
54
  @media only screen and (min-width: @tabletBreakpoint) {
55
- .eea.pullquote {
55
+ .eea.quote {
56
56
  .quotes.wrapper {
57
57
  .quote {
58
58
  padding: @tabletQuotePadding;
@@ -63,14 +63,14 @@
63
63
  }
64
64
  }
65
65
  }
66
- .eea.pullquote.left {
66
+ .eea.quote.left {
67
67
  width: @maxWidthOnFloat;
68
- padding: @pullquoteFloatLeftPadding;
68
+ padding: @quoteFloatLeftPadding;
69
69
  float: left;
70
70
  }
71
- .eea.pullquote.right {
71
+ .eea.quote.right {
72
72
  width: @maxWidthOnFloat;
73
- padding: @pullquoteFloatRightPadding;
73
+ padding: @quoteFloatRightPadding;
74
74
  float: right;
75
75
  }
76
76
  }
@@ -0,0 +1,34 @@
1
+ /*******************************
2
+ Quote
3
+ *******************************/
4
+
5
+ /* Body */
6
+ @quotePadding : @largeGap 0;
7
+ @quoteFloatLeftPadding : @largeGap @hugeGap @largeGap 0;
8
+ @quoteFloatRightPadding : @largeGap 0 @largeGap @hugeGap;
9
+ @quoteMargin : 0;
10
+ @maxWidthOnFloat : 50%;
11
+ @contentWordBreak : break-word;
12
+ @contentWordBreakHyphens : manual;
13
+
14
+ /* Quote paragraph */
15
+ @mobileQuotePadding : 0;
16
+ @tabletQuotePadding : 0.5rem 0 1rem;
17
+
18
+ /* Source */
19
+ @sourceTextColor : @secondaryColor;
20
+ @sourceTextAlign : right;
21
+ @sourceFontWeight : @bold;
22
+ @sourceFontSize : 1.25rem;
23
+ @sourceMargin : 0;
24
+
25
+ /* Source Info */
26
+ @sourceInfoTextAlign : right;
27
+ @sourceInfoFontWeight : @normal;
28
+ @sourceInfoFontSize : 1rem;
29
+
30
+ /* Icon */
31
+ @mobileQuoteIconSize : 2rem;
32
+ @tabletQuoteIconSize : 3rem;
33
+ @quoteIconColor : @secondaryColor;
34
+ @quoteDownIconFloat : right;
@@ -8,8 +8,15 @@
8
8
  --------------------*/
9
9
 
10
10
  .eea.testimonial {
11
+ display: flex;
12
+ flex-direction: column;
13
+ gap: @testimonialGap;
11
14
  width: @testimonialWidth;
12
15
 
16
+ .eea.pullquote {
17
+ padding: 1.25rem 0 0;
18
+ }
19
+
13
20
  .avatar-wrapper {
14
21
  display: flex;
15
22
  justify-content: center;
@@ -17,12 +24,45 @@
17
24
  height: @testimonialAvatarWrapperHeight;
18
25
  }
19
26
 
20
- .content .title {
27
+ .ui.card.rounded {
28
+ flex-direction: row-reverse;
29
+ align-items: center;
30
+ }
31
+ }
32
+
33
+ .eea.testimonial .content h3.title {
34
+ margin: @testimonialContentTitleMarginVertical
35
+ @mobileTestimonialContentTitleMarginHorizontal;
36
+ font-weight: @testimonialContentTitleFontWeight;
37
+ color: @testimonialContentTitleColor;
38
+ }
39
+
40
+ .eea.testimonial .ui.grid div:first-child {
41
+ order: 1;
42
+ }
43
+
44
+
45
+ @media only screen and (min-width: @tabletBreakpoint) {
46
+
47
+ .eea.testimonial .ui.card.rounded {
48
+ flex-direction: column;
49
+ }
50
+
51
+ .eea.testimonial .content h3.title {
21
52
  margin: @testimonialContentTitleMarginVertical
22
- @testimonialContentTitleMarginHorizontal;
23
- font-weight: @testimonialContentTitleFontWeight;
24
- font-size: @testimonialContentTitleFontSize;
25
- letter-spacing: @testimonialContentTitleLetterSpacing;
26
- color: @testimonialContentTitleColor;
53
+ @tabletTestimonialContentTitleMarginHorizontal;
54
+ }
55
+
56
+ .eea.testimonial .ui.grid div:first-child {
57
+ order: 0;
27
58
  }
28
59
  }
60
+
61
+ // Override image default size for mobile
62
+ @media only screen and (max-width: @largestMobileScreen) {
63
+ .eea.testimonial .ui.card.rounded img {
64
+ width: @mobileCardImageWidth;
65
+ height: @mobileCardImageHeight;
66
+ }
67
+ }
68
+
@@ -4,10 +4,18 @@
4
4
 
5
5
 
6
6
  @testimonialWidth : 100%;
7
+ @testimonialGap : @largeGap;
7
8
  @testimonialAvatarWrapperHeight : 100%;
8
- @testimonialContentTitleMarginVertical : 0;
9
- @testimonialContentTitleMarginHorizontal : 2rem;
10
- @testimonialContentTitleFontWeight : 500;
11
- @testimonialContentTitleFontSize : 36px;
12
- @testimonialContentTitleLetterSpacing : -0.015em;
13
- @testimonialContentTitleColor : @deepBlue;
9
+
10
+ /* Pullquote */
11
+
12
+ /* Title */
13
+ @testimonialContentTitleMarginVertical : 0;
14
+ @mobileTestimonialContentTitleMarginHorizontal : 0;
15
+ @tabletTestimonialContentTitleMarginHorizontal : 3.125rem;
16
+ @testimonialContentTitleFontWeight : 500;
17
+ @testimonialContentTitleColor : @deepBlue;
18
+
19
+ /* Image */
20
+ @mobileCardImageWidth : 100px;
21
+ @mobileCardImageHeight : 100px;
@@ -2,6 +2,8 @@
2
2
  Site Settings
3
3
  *******************************/
4
4
 
5
+ @import '@eeacms/volto-eea-design-system/../theme/themes/eea/tokens/tokens';
6
+
5
7
  /*-------------------
6
8
  Fonts
7
9
  --------------------*/
@@ -284,10 +286,15 @@
284
286
  --------------------*/
285
287
 
286
288
  @mobileBreakpoint : 320px;
287
- @tabletBreakpoint : 480px;
288
- @computerBreakpoint : 835px;
289
- @largeMonitorBreakpoint : 1025px;
290
- @widescreenMonitorBreakpoint : 1200px;
289
+ @mobileLandscapeBreakpoint : 480px; // introduced for the design system
290
+ @tabletBreakpoint : 768px;
291
+ @contentBreakpoint : 835px; // introduced for the design system
292
+ @computerBreakpoint : 992px;
293
+ @smallMonitorBreakpoint : 1024px; // introduced for the design system
294
+ @largeMonitorBreakpoint : 1200px;
295
+ @laptopMonitorBreakpoint : 1280px; // introduced for the design system
296
+ @siteBreakpoint : 1400px; // introduced for the design system
297
+ @widescreenMonitorBreakpoint : 1920px;
291
298
 
292
299
  /* Paddings for breakpoints */
293
300
  @mobilePadding : 1.875rem;
@@ -664,7 +671,6 @@
664
671
  @largestTabletScreen : (@computerBreakpoint - @1px);
665
672
  @largestSmallMonitor : (@largeMonitorBreakpoint - @1px);
666
673
  @largestLargeMonitor : (@widescreenMonitorBreakpoint - @1px);
667
- @mobileWidth: 1279px;
668
674
 
669
675
 
670
676
  /*-------------------
@@ -99,8 +99,8 @@
99
99
 
100
100
  /* Styled Title States */
101
101
  @styledTitleHoverBackground: transparent;
102
- @styledTitleHoverColor: @teal;
103
- @styledActiveTitleBackground: @teal;
102
+ @styledTitleHoverColor: @activeTitleBackground;
103
+ @styledActiveTitleBackground: @activeTitleBackground;
104
104
  @styledActiveTitleColor: @white;
105
105
 
106
106
  /* Styled Child Title States */
@@ -4,7 +4,7 @@
4
4
 
5
5
  .ui.pointing.secondary.menu {
6
6
  a.item {
7
- font-size: @mobileHeaderSize;
7
+ font-size: @headerSize;
8
8
  }
9
9
 
10
10
  a.item:hover {
@@ -12,10 +12,26 @@
12
12
  }
13
13
  }
14
14
 
15
+ // Contain images inside vertical tab content
16
+ .stretched.wide.column > .tab img {
17
+ max-width: @verticalTabPaneImageMaxWidth;
18
+ }
19
+
20
+ .ui.pointing.secondary.menu::-webkit-scrollbar {
21
+ height: @mobileTabScrollbarHeight;
22
+ }
23
+
15
24
  @media only screen and (min-width: @tabletBreakpoint) {
16
- .ui.pointing.secondary.menu {
17
- a.item {
18
- font-size: @tabletHeaderSize;
25
+ .ui.pointing.secondary.menu::-webkit-scrollbar {
26
+ height: @tabletTabScrollbarHeight;
27
+ }
28
+ }
29
+
30
+ @media only screen and (max-width: @largestMobileScreen) {
31
+ .ui.pointing.secondary.vertical.menu {
32
+ .item {
33
+ padding: @mobileItemPadding;
34
+ font-size: @mobileItemFontSize;
19
35
  }
20
36
  }
21
37
  }
@@ -4,8 +4,10 @@
4
4
 
5
5
  @tabActiveItemHoverColor: @secondaryColor;
6
6
 
7
- @mobileHeaderSize: 1.125rem;
8
- @tabletHeaderSize: @h4;
7
+ @mobileItemFontSize: 1rem;
8
+ @mobileItemPadding: 1rem 0.25rem;
9
+
10
+ @headerSize: @h4;
9
11
  @headerSizeResponsive: @fontSize;
10
12
  @contentSize: @fontSize;
11
13
 
@@ -15,4 +17,11 @@
15
17
  @loadingContentOffset: -10000px;
16
18
 
17
19
  @loaderDistanceFromTop: 100px;
18
- @loaderSize: 2.5em;
20
+ @loaderSize: 2.5em;
21
+
22
+ /* Scrollbar */
23
+ @mobileTabScrollbarHeight: 0;
24
+ @tabletTabScrollbarHeight: 0.3rem;
25
+
26
+ /* Images */
27
+ @verticalTabPaneImageMaxWidth: 100%;
@@ -0,0 +1,38 @@
1
+ @font-weight-1: 100;
2
+ @font-weight-2: 200;
3
+ @font-weight-3: 300;
4
+ @font-weight-4: 400;
5
+ @font-weight-5: 500;
6
+ @font-weight-6: 600;
7
+ @font-weight-7: 700;
8
+ @font-weight-8: 800;
9
+ @font-weight-9: 900;
10
+ @font-lineheight-00: .95;
11
+ @font-lineheight-0: 1.1;
12
+ @font-lineheight-1: 1.25;
13
+ @font-lineheight-2: 1.375;
14
+ @font-lineheight-3: 1.5;
15
+ @font-lineheight-4: 1.75;
16
+ @font-lineheight-5: 2;
17
+ @font-letterspacing-0: -.05em;
18
+ @font-letterspacing-1: .025em;
19
+ @font-letterspacing-2: .050em;
20
+ @font-letterspacing-3: .075em;
21
+ @font-letterspacing-4: .150em;
22
+ @font-letterspacing-5: .500em;
23
+ @font-letterspacing-6: .750em;
24
+ @font-letterspacing-7: 1em;
25
+ @font-size-00: .5rem;
26
+ @font-size-0: .75rem;
27
+ @font-size-1: 1rem;
28
+ @font-size-2: 1.1rem;
29
+ @font-size-3: 1.25rem;
30
+ @font-size-4: 1.5rem;
31
+ @font-size-5: 2rem;
32
+ @font-size-6: 2.5rem;
33
+ @font-size-7: 3rem;
34
+ @font-size-8: 3.5rem;
35
+ @font-size-fluid-0: clamp(.75rem, 2vw, 1rem);
36
+ @font-size-fluid-1: clamp(1rem, 4vw, 1.5rem);
37
+ @font-size-fluid-2: clamp(1.5rem, 6vw, 2.5rem);
38
+ @font-size-fluid-3: clamp(2rem, 9vw, 3.5rem);
@@ -0,0 +1,17 @@
1
+ @size-000: -.5rem;
2
+ @size-00: -.25rem;
3
+ @size-1: .25rem;
4
+ @size-2: .5rem;
5
+ @size-3: 1rem;
6
+ @size-4: 1.25rem;
7
+ @size-5: 1.5rem;
8
+ @size-6: 1.75rem;
9
+ @size-7: 2rem;
10
+ @size-8: 3rem;
11
+ @size-9: 4rem;
12
+ @size-10: 5rem;
13
+ @size-11: 7.5rem;
14
+ @size-12: 10rem;
15
+ @size-13: 15rem;
16
+ @size-14: 20rem;
17
+ @size-15: 30rem;
@@ -0,0 +1,2 @@
1
+ @import 'fonts';
2
+ @import 'sizes';
@@ -1,16 +0,0 @@
1
- import React from 'react';
2
-
3
- function Blockquote({ children, className, ...rest }) {
4
- return (
5
- <div className="eea blockquote" {...rest}>
6
- <blockquote className="quote">{children}</blockquote>
7
- </div>
8
- );
9
- }
10
-
11
- Blockquote.Content = ({ children, as: As, ...rest }) =>
12
- As ? <As {...rest}>{children}</As> : children;
13
-
14
- Blockquote.Meta = ({ children }) => <div className="meta">{children}</div>;
15
-
16
- export default Blockquote;
@@ -1,48 +0,0 @@
1
- import React from 'react';
2
- import Blockquote from './Blockquote';
3
-
4
- const CITATION =
5
- 'An interconnected grid will help deliver the ultimate goal of the Energy Union, to make sure affordable, secure and sustainable energy, and also growth across the EU.';
6
- const AUTHOR = 'President Juncker';
7
-
8
- export default {
9
- title: 'Components/Blockquote',
10
- component: Blockquote,
11
- argTypes: {
12
- content: {
13
- name: 'citation',
14
- description: 'Blockquote content',
15
- type: { name: 'string', required: true },
16
- },
17
- meta: {
18
- name: 'meta',
19
- description: 'Author of the content',
20
- type: { name: 'string', required: true },
21
- },
22
- },
23
- };
24
-
25
- export const Default = (args) => (
26
- <Blockquote>
27
- <Blockquote.Content>{args.content}</Blockquote.Content>
28
- <Blockquote.Meta>{args.meta}</Blockquote.Meta>
29
- </Blockquote>
30
- );
31
-
32
- Default.args = {
33
- content: CITATION,
34
- meta: AUTHOR,
35
- };
36
-
37
- export const Reversed = (args) => (
38
- <Blockquote>
39
- <Blockquote.Meta>{args.meta}</Blockquote.Meta>
40
- <Blockquote.Content>{args.content}</Blockquote.Content>
41
- </Blockquote>
42
- );
43
-
44
- Reversed.args = {
45
- content:
46
- 'The Ministry of Environment & Energy is responsible for environmental policy, the preparation of plans and programmes, and overseeing their implementation. The Ministry is also in charge of the transposition of EU environmental Directives into national law.',
47
- meta: '22 December 1989',
48
- };
@@ -1,92 +0,0 @@
1
- @type: 'extra';
2
- @element: 'blockquote';
3
-
4
- @import (multiple) '../../theme.config';
5
-
6
- /*******************************
7
- Blockquote
8
- *******************************/
9
-
10
- blockquote.callout,
11
- p.callout {
12
- border: @calloutBorder;
13
- box-shadow: @calloutBoxShadow;
14
- border-radius: @calloutBorderRadius;
15
- padding-top: @calloutPadding;
16
- padding-bottom: @calloutPadding;
17
- border-left: @mobileBlockquoteBorderLeft;
18
- color: @quoteColor;
19
- font-size: @mobileQuoteFontSize;
20
- }
21
-
22
- .eea.blockquote {
23
- border-left: @mobileBlockquoteBorderLeft;
24
-
25
- .quote {
26
- display: flex;
27
- flex-direction: column;
28
- margin: @mobileQuoteMargin;
29
- gap: @quoteGap;
30
- color: @quoteColor;
31
- font-size: @mobileQuoteFontSize;
32
- font-weight: @quoteFontWeight;
33
-
34
- .meta {
35
- margin: @metaMargin;
36
- font-size: @mobileMetaFontSize;
37
- font-weight: @metaWeight;
38
- align-self: @metaAlignSelf;
39
- }
40
- }
41
- }
42
-
43
- .eea.slate.blockquote {
44
- .quote {
45
- display: block;
46
- flex-direction: unset;
47
- gap: unset;
48
- font-weight: @slateQuoteFontWeight;
49
-
50
- br {
51
- content: '';
52
- display: flex;
53
- margin: @slateQuoteGap 0;
54
- }
55
- }
56
- }
57
-
58
- @media only screen and (min-width: @tabletBreakpoint) {
59
- blockquote.callout,
60
- p.callout {
61
- border-left: @tabletBlockquoteBorderLeft;
62
- font-size: @tabletQuoteFontSize;
63
- }
64
-
65
- .eea.blockquote {
66
- border-left: @tabletBlockquoteBorderLeft;
67
- .quote {
68
- margin: @tabletQuoteMargin;
69
- font-size: @tabletQuoteFontSize;
70
- .meta {
71
- font-size: @tabletMetaFontSize;
72
- }
73
- }
74
- }
75
- }
76
-
77
- @media only screen and (min-width: @computerBreakpoint) {
78
- blockquote.callout,
79
- p.callout {
80
- font-size: @computerQuoteFontSize;
81
- }
82
-
83
- .eea.blockquote .quote {
84
- margin: @computerQuoteMargin;
85
- font-size: @computerQuoteFontSize;
86
- .meta {
87
- font-size: @computerMetaFontSize;
88
- }
89
- }
90
- }
91
-
92
- .loadUIOverrides();
@@ -1,35 +0,0 @@
1
- /*******************************
2
- Blockquote
3
- *******************************/
4
- /* Body */
5
- @mobileBlockquoteBorderLeft : @5px solid @secondaryColor;
6
- @tabletBlockquoteBorderLeft : @10px solid @secondaryColor;
7
- @childrenBorderLeft : none;
8
-
9
- /* Quote */
10
- @quoteColor : @secondaryColor;
11
- @mobileQuoteMargin : 0.75rem 0.625rem;
12
- @tabletQuoteMargin : 0.75rem 1rem;
13
- @computerQuoteMargin : 0.75rem 1.25rem;
14
- @quoteGap : 0.75rem;
15
- @slateQuoteGap : 0.75rem / 2;
16
- @quoteColor : @japaneseIndigo;
17
- @mobileQuoteFontSize : 0.688rem;
18
- @tabletQuoteFontSize : @h6;
19
- @computerQuoteFontSize : @h5;
20
- @quoteFontWeight : 700;
21
- @slateQuoteFontWeight : 400;
22
-
23
- /* Meta */
24
- @metaMargin : 0;
25
- @metaWeight : 400;
26
- @mobileMetaFontSize : 0.688rem;
27
- @tabletMetaFontSize : @h6;
28
- @computerMetaFontSize : @h5;
29
- @metaAlignSelf : start;
30
-
31
- /* Callout */
32
- @calloutBorder : none;
33
- @calloutBoxShadow : none;
34
- @calloutBorderRadius : 0;
35
- @calloutPadding : 0;
@@ -1,34 +0,0 @@
1
- /*******************************
2
- Pullquote
3
- *******************************/
4
-
5
- /* Body */
6
- @pullquotePadding : @largeGap 0;
7
- @pullquoteFloatLeftPadding : @largeGap @largeGap @largeGap 0;
8
- @pullquoteFloatRightPadding : @largeGap 0 @largeGap @largeGap;
9
- @pullquoteMargin : 0;
10
- @maxWidthOnFloat : 50%;
11
- @contentWordBreak : break-word;
12
- @contentWordBreakHyphens : manual;
13
-
14
- /* Quote paragraph */
15
- @mobileQuotePadding : 0;
16
- @tabletQuotePadding : 0.5rem 0 1rem;
17
-
18
- /* Author */
19
- @authorTextColor : @darkCyan;
20
- @authorTextAlign : right;
21
- @authorFontWeight : @bold;
22
- @authorFontSize : 1.25rem;
23
- @authorMargin : 0;
24
-
25
- /* Metadata */
26
- @metaTextAlign : right;
27
- @metaFontWeight : @normal;
28
- @metaFontSize : 1rem;
29
-
30
- /* Icon */
31
- @mobileQuoteIconSize : 2rem;
32
- @tabletQuoteIconSize : 3rem;
33
- @quoteIconColor : @secondaryColor;
34
- @quoteDownIconFloat : right;