@eeacms/volto-eea-design-system 0.2.1 → 0.2.2

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 (62) hide show
  1. package/CHANGELOG.md +119 -1
  2. package/package.json +1 -1
  3. package/src/semantic.less +1 -5
  4. package/src/ui/Button/Button.stories.jsx +56 -36
  5. package/src/ui/{AvatarGrid → Card/AvatarGrid}/AvatarGrid.jsx +14 -14
  6. package/src/ui/{AvatarGrid → Card/AvatarGrid}/AvatarGrid.stories.jsx +24 -21
  7. package/src/ui/Card/Card.stories.jsx +249 -0
  8. package/src/ui/Card/PublicationCard.stories.jsx +46 -0
  9. package/src/ui/Card/RelatedContent/RelatedContent.jsx +76 -0
  10. package/src/ui/Card/RelatedContent/RelatedContent.stories.jsx +313 -0
  11. package/src/ui/Card/RoundedCard.stories.jsx +96 -0
  12. package/src/ui/KeyContent/KeyContent.jsx +9 -3
  13. package/src/ui/KeyContent/KeyContent.stories.jsx +1 -22
  14. package/src/ui/Loader/Loader.stories.jsx +21 -3
  15. package/src/ui/Testimonial/Testimonial.jsx +9 -8
  16. package/src/ui/Testimonial/Testimonial.stories.jsx +14 -11
  17. package/src/ui/Timeline/Timeline.jsx +1 -1
  18. package/src/ui/Timeline/Timeline.stories.jsx +12 -12
  19. package/src/ui/index.js +2 -4
  20. package/theme/theme.config +2 -4
  21. package/theme/themes/eea/collections/breadcrumb.overrides +27 -19
  22. package/theme/themes/eea/collections/breadcrumb.variables +3 -3
  23. package/theme/themes/eea/collections/form.overrides +116 -0
  24. package/theme/themes/eea/elements/button.overrides +100 -120
  25. package/theme/themes/eea/elements/button.variables +20 -6
  26. package/theme/themes/eea/elements/label.overrides +12 -3
  27. package/theme/themes/eea/elements/label.variables +1 -1
  28. package/theme/themes/eea/elements/list.overrides +10 -0
  29. package/theme/themes/eea/elements/list.variables +3 -1
  30. package/theme/themes/eea/elements/loader.overrides +197 -0
  31. package/theme/themes/eea/elements/loader.variables +12 -1
  32. package/theme/themes/eea/elements/segment.variables +2 -2
  33. package/theme/themes/eea/extras/avatarGrid.less +22 -24
  34. package/theme/themes/eea/extras/avatarGrid.variables +4 -8
  35. package/theme/themes/eea/extras/banner.less +32 -41
  36. package/theme/themes/eea/extras/blockquote.less +6 -3
  37. package/theme/themes/eea/extras/footer.less +239 -241
  38. package/theme/themes/eea/extras/keyContent.less +18 -16
  39. package/theme/themes/eea/extras/keyContent.variables +13 -7
  40. package/theme/themes/eea/extras/main.overrides +9 -0
  41. package/theme/themes/eea/extras/main.variables +3 -0
  42. package/theme/themes/eea/extras/pullquote.less +3 -3
  43. package/theme/themes/eea/extras/relatedContent.less +27 -0
  44. package/theme/themes/eea/extras/relatedContent.variables +3 -0
  45. package/theme/themes/eea/extras/tagList.less +0 -1
  46. package/theme/themes/eea/globals/site.variables +7 -7
  47. package/theme/themes/eea/modules/modal.overrides +4 -0
  48. package/theme/themes/eea/modules/progress.variables +1 -1
  49. package/theme/themes/eea/modules/tab.overrides +9 -1
  50. package/theme/themes/eea/modules/tab.variables +2 -1
  51. package/theme/themes/eea/views/card.overrides +242 -25
  52. package/theme/themes/eea/views/card.variables +92 -8
  53. package/src/ui/Avatar/Avatar.jsx +0 -32
  54. package/src/ui/Avatar/Avatar.stories.jsx +0 -61
  55. package/src/ui/PublicationCard/PublicationCard.jsx +0 -27
  56. package/src/ui/PublicationCard/PublicationCard.stories.jsx +0 -69
  57. package/src/ui/RelatedContent/RelatedContent.jsx +0 -90
  58. package/src/ui/RelatedContent/RelatedContent.stories.jsx +0 -80
  59. package/theme/themes/eea/extras/avatar.less +0 -97
  60. package/theme/themes/eea/extras/avatar.variables +0 -34
  61. package/theme/themes/eea/extras/publicationCard.less +0 -62
  62. package/theme/themes/eea/extras/publicationCard.variables +0 -24
@@ -0,0 +1,96 @@
1
+ import React from 'react';
2
+ import { Card, Image, Container } from 'semantic-ui-react';
3
+ import imgUrl from '@eeacms/volto-eea-design-system/../theme/themes/eea/assets/images/avatar.png';
4
+
5
+ export default {
6
+ title: 'Components/Card/Rounded Card',
7
+ component: Card,
8
+ parameters: {
9
+ actions: {
10
+ handles: ['click'],
11
+ },
12
+ },
13
+ argTypes: {
14
+ hasImage: {
15
+ description: 'true if card contains image',
16
+ table: {
17
+ type: {
18
+ summary: 'boolean',
19
+ },
20
+ defaultValue: { summary: true },
21
+ },
22
+ },
23
+ title: {
24
+ description: 'card header',
25
+ table: {
26
+ type: {
27
+ summary: 'string',
28
+ },
29
+ defaultValue: { summary: ' "" ' },
30
+ },
31
+ },
32
+ description: {
33
+ description: 'card main content',
34
+ table: {
35
+ type: {
36
+ summary: 'string',
37
+ },
38
+ defaultValue: { summary: ' "" ' },
39
+ },
40
+ },
41
+ fluid: {
42
+ description: 'take up the width of its container',
43
+ table: {
44
+ type: {
45
+ summary: 'boolean',
46
+ },
47
+ defaultValue: { summary: false },
48
+ },
49
+ },
50
+ avatarVariant: {
51
+ options: ['big', 'small'],
52
+ control: { type: 'inline-radio' },
53
+ defaultValue: 'big',
54
+ description: 'rounded card size class',
55
+ table: {
56
+ type: {
57
+ summary: 'string',
58
+ },
59
+ defaultValue: { summary: ' "" ' },
60
+ },
61
+ },
62
+ src: {
63
+ description: 'rounded card image url',
64
+ table: {
65
+ type: {
66
+ summary: 'string',
67
+ },
68
+ defaultValue: { summary: ' "" ' },
69
+ },
70
+ },
71
+ },
72
+ };
73
+
74
+ const AvatarTemplate = (args) => (
75
+ <Container>
76
+ <Card className={`rounded ${args.avatarVariant}`} fluid={args.fluid}>
77
+ {args.hasImage && (
78
+ <Image src={args.src} wrapped ui={false} alt="card image" />
79
+ )}
80
+ <Card.Content>
81
+ <Card.Header>{args.title}</Card.Header>
82
+ <Card.Description>{args.description}</Card.Description>
83
+ </Card.Content>
84
+ </Card>
85
+ </Container>
86
+ );
87
+
88
+ export const Default = AvatarTemplate.bind({});
89
+ Default.args = {
90
+ avatarVariant: 'big',
91
+ src: imgUrl,
92
+ title: 'Lorem Ipsum',
93
+ description: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit.',
94
+ hasImage: true,
95
+ fluid: false,
96
+ };
@@ -8,15 +8,21 @@ KeyContent.propTypes = {
8
8
 
9
9
  function KeyContent({ children, ...rest }) {
10
10
  return (
11
- <div className={`eea key-content ${rest.variant}`} {...rest}>
11
+ <div className="eea key-content" {...rest}>
12
12
  {children}
13
13
  </div>
14
14
  );
15
15
  }
16
16
 
17
- KeyContent.Title = ({ children }) => <p className="title">{children}</p>;
17
+ KeyContent.Title = ({ children }) => <h2 className="title">{children}</h2>;
18
18
  KeyContent.List = ({ children, ...rest }) => (
19
- <List bulleted horizontal={false} items={rest.items}></List>
19
+ <List as="ul" bulleted horizontal={false}>
20
+ {rest.items.map((item, index) => (
21
+ <List.Item as="li" className="item" key={index}>
22
+ {item}
23
+ </List.Item>
24
+ ))}
25
+ </List>
20
26
  );
21
27
 
22
28
  export default KeyContent;
@@ -24,7 +24,7 @@ export default {
24
24
  };
25
25
 
26
26
  const DefaultTemplate = (args) => (
27
- <KeyContent variant="colored" {...args}>
27
+ <KeyContent {...args}>
28
28
  <KeyContent.Title>{args.title}</KeyContent.Title>
29
29
  <KeyContent.List {...args}></KeyContent.List>
30
30
  </KeyContent>
@@ -39,24 +39,3 @@ Default.args = {
39
39
  'Felis malesuada in elementum turpis. Enim, eu adipiscing sit fames ornare amet, suscipit. Neque, faucibus facilisi egestas vitae viverra tristique cum viverra elit. Nunc fermentum bibendum fames ultricies turpis habitant. ',
40
40
  ],
41
41
  };
42
-
43
- const SecondaryTemplate = (args) => (
44
- <KeyContent {...args}>
45
- <KeyContent.Title>{args.title}</KeyContent.Title>
46
- <KeyContent.List {...args}></KeyContent.List>
47
- </KeyContent>
48
- );
49
-
50
- export const Secondary = SecondaryTemplate.bind({});
51
- Secondary.args = {
52
- title: 'Lorem ipsum',
53
- items: [
54
- 'Sed pulvinar nisi, convallis sed non non eu, erat.',
55
- 'Consectetur adipiscing elit ut aliquam, purus sit amet luctus venenatis',
56
- 'Lorem ipsum dolor sit amet, consectetur',
57
- 'Purus sit amet luctus venenatis, lectus',
58
- 'Sed placerat sit erat sed massa in leo sit in ac vivamus tincidunt tincidunt tristique mi molestie dictum faucibus mauris',
59
- 'Luctus malesuada non in adipiscing convallis consectetur egestas sed',
60
- 'Vulputate gravida amet amet convallis quis',
61
- ],
62
- };
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { Loader } from 'semantic-ui-react';
2
+ import { Dimmer, Loader, Image, Segment } from 'semantic-ui-react';
3
3
 
4
4
  export default {
5
5
  title: 'Components/Loader',
@@ -19,9 +19,22 @@ export default {
19
19
  },
20
20
  };
21
21
 
22
- const Template = (args) => <Loader {...args} inline="centered" />;
22
+ const DefaultTemplate = (args) => <Loader {...args} inline="centered" />;
23
23
 
24
- export const Default = Template.bind({});
24
+ const FullPageTemplate = (args) => (
25
+ <Segment>
26
+ <Dimmer active>
27
+ <Loader {...args} className="eea-loader" />
28
+ </Dimmer>
29
+
30
+ <Image
31
+ src="https://react.semantic-ui.com/images/wireframe/short-paragraph.png"
32
+ alt="paragraph"
33
+ />
34
+ </Segment>
35
+ );
36
+
37
+ export const Default = DefaultTemplate.bind({});
25
38
  Default.args = {
26
39
  active: true,
27
40
  content: '',
@@ -43,3 +56,8 @@ Default.argTypes = {
43
56
  control: { type: 'select' },
44
57
  },
45
58
  };
59
+
60
+ export const FullPageLoader = FullPageTemplate.bind({});
61
+ FullPageLoader.args = {
62
+ content: 'Loading...',
63
+ };
@@ -1,9 +1,9 @@
1
1
  import React from 'react';
2
2
  import PropTypes from 'prop-types';
3
3
  import Divider from '../Divider/Divider';
4
- import Avatar from '../Avatar/Avatar';
4
+
5
5
  import Pullquote from '../Pullquote/Pullquote';
6
- import { Grid } from 'semantic-ui-react';
6
+ import { Grid, Card, Image } from 'semantic-ui-react';
7
7
 
8
8
  Testimonial.propTypes = {
9
9
  title: PropTypes.string,
@@ -24,12 +24,13 @@ Testimonial.Avatar = ({ children, ...rest }) => {
24
24
  return (
25
25
  <Grid.Column mobile={12} tablet={2} computer={2}>
26
26
  <div className="avatar-wrapper">
27
- <Avatar {...rest} image_url={rest.image_url} avatarSize="small">
28
- <Avatar.Content>
29
- <Avatar.Title>{rest.title}</Avatar.Title>
30
- <Avatar.Metadata>{rest.metadata}</Avatar.Metadata>
31
- </Avatar.Content>
32
- </Avatar>
27
+ <Card className={`eea avatar small`} fluid={rest.fluid}>
28
+ <Image src={rest.src} wrapped ui={false} alt="card image" />
29
+ <Card.Content>
30
+ <Card.Header>{rest.title}</Card.Header>
31
+ <Card.Description>{rest.description}</Card.Description>
32
+ </Card.Content>
33
+ </Card>
33
34
  </div>
34
35
  </Grid.Column>
35
36
  );
@@ -2,6 +2,7 @@ import React from 'react';
2
2
  // eslint-disable-next-line import/no-unresolved
3
3
  import imgUrl from '@eeacms/volto-eea-design-system/../theme/themes/eea/assets/images/avatar.png';
4
4
  import Testimonial from './Testimonial';
5
+ import { Container } from 'semantic-ui-react';
5
6
 
6
7
  export default {
7
8
  title: 'Components/Testimonial',
@@ -28,17 +29,19 @@ export default {
28
29
  };
29
30
 
30
31
  const InlineTemplate = (args) => (
31
- <Testimonial {...args}>
32
- <Testimonial.Avatar
33
- image_url={imgUrl}
34
- title={args.avatarTitle}
35
- metadata={args.avatarInfo}
36
- ></Testimonial.Avatar>
37
- <Testimonial.Content>
38
- <Testimonial.Title>{args.title}</Testimonial.Title>
39
- <Testimonial.Pullquote>{args.quote}</Testimonial.Pullquote>
40
- </Testimonial.Content>
41
- </Testimonial>
32
+ <Container>
33
+ <Testimonial {...args}>
34
+ <Testimonial.Avatar
35
+ src={imgUrl}
36
+ title={args.avatarTitle}
37
+ description={args.avatarInfo}
38
+ ></Testimonial.Avatar>
39
+ <Testimonial.Content>
40
+ <Testimonial.Title>{args.title}</Testimonial.Title>
41
+ <Testimonial.Pullquote>{args.quote}</Testimonial.Pullquote>
42
+ </Testimonial.Content>
43
+ </Testimonial>
44
+ </Container>
42
45
  );
43
46
 
44
47
  export const Inline = InlineTemplate.bind({});
@@ -37,7 +37,7 @@ Timeline.Content = (args) => (
37
37
 
38
38
  Timeline.Icon = (args) => (
39
39
  <Grid.Column width={2} className="line">
40
- <Icon name={args.icon} color={args.color} inverted circular />
40
+ <Icon className={args.icon} color={args.color} inverted circular />
41
41
  </Grid.Column>
42
42
  );
43
43
 
@@ -73,7 +73,7 @@ const TemplateReversed = (args) => (
73
73
 
74
74
  export const Default = Template.bind({});
75
75
  Default.args = {
76
- icon: 'user',
76
+ icon: 'ri-user-3-fill',
77
77
  time: 'Date and time',
78
78
  title: 'Title',
79
79
  description: 'description',
@@ -83,7 +83,7 @@ Default.args = {
83
83
 
84
84
  Default.argTypes = {
85
85
  icon: {
86
- description: 'timeline item icon',
86
+ description: 'timeline item icon class',
87
87
  table: {
88
88
  type: {
89
89
  summary: 'string',
@@ -152,7 +152,7 @@ Default.argTypes = {
152
152
 
153
153
  export const DefaultReversed = TemplateReversed.bind({});
154
154
  DefaultReversed.args = {
155
- icon: 'user',
155
+ icon: 'ri-user-3-fill',
156
156
  time: 'Date and time',
157
157
  title: 'Title',
158
158
  description: 'description',
@@ -162,7 +162,7 @@ DefaultReversed.args = {
162
162
 
163
163
  DefaultReversed.argTypes = {
164
164
  icon: {
165
- description: 'timeline item icon',
165
+ description: 'timeline item icon class',
166
166
  table: {
167
167
  type: {
168
168
  summary: 'string',
@@ -234,7 +234,7 @@ export const Multiple = (args) => <TimelineEEA {...args}></TimelineEEA>;
234
234
  Multiple.args = {
235
235
  items: [
236
236
  {
237
- icon: 'time',
237
+ icon: 'ri-time-line',
238
238
  time: 'Date and time',
239
239
  title: 'Title 1',
240
240
  description: 'description 1',
@@ -242,7 +242,7 @@ Multiple.args = {
242
242
  tags: [],
243
243
  },
244
244
  {
245
- icon: 'check circle',
245
+ icon: 'ri-checkbox-circle-line',
246
246
  time: 'Date and time',
247
247
  title: 'Title 2',
248
248
  description: 'description 2',
@@ -250,11 +250,11 @@ Multiple.args = {
250
250
  tags: [],
251
251
  },
252
252
  {
253
- icon: 'minus circle',
253
+ icon: 'ri-indeterminate-circle-line',
254
254
  time: 'Date and time',
255
255
  title: 'Title 3',
256
256
  description: 'description 3',
257
- color: 'teal',
257
+ color: 'violet',
258
258
  tags: [],
259
259
  },
260
260
  ],
@@ -281,7 +281,7 @@ export const MultipleReversed = (args) => (
281
281
  MultipleReversed.args = {
282
282
  items: [
283
283
  {
284
- icon: 'time',
284
+ icon: 'ri-time-line',
285
285
  time: 'Date and time',
286
286
  title: 'Title 1',
287
287
  description: 'description 1',
@@ -289,7 +289,7 @@ MultipleReversed.args = {
289
289
  tags: [],
290
290
  },
291
291
  {
292
- icon: 'check circle',
292
+ icon: 'ri-checkbox-circle-line',
293
293
  time: 'Date and time',
294
294
  title: 'Title 2',
295
295
  description: 'description 2',
@@ -297,11 +297,11 @@ MultipleReversed.args = {
297
297
  tags: [],
298
298
  },
299
299
  {
300
- icon: 'minus circle',
300
+ icon: 'ri-indeterminate-circle-line',
301
301
  time: 'Date and time',
302
302
  title: 'Title 3',
303
303
  description: 'description 3',
304
- color: 'teal',
304
+ color: 'violet',
305
305
  tags: [],
306
306
  },
307
307
  ],
package/src/ui/index.js CHANGED
@@ -20,12 +20,10 @@ export Pullquote from './Pullquote/Pullquote';
20
20
 
21
21
  export Timeline from './Timeline/Timeline';
22
22
 
23
- export Avatar from './Avatar/Avatar';
24
-
25
23
  export Testimonial from './Testimonial/Testimonial';
26
24
 
27
- export AvatarGrid from './AvatarGrid/AvatarGrid';
25
+ export AvatarGrid from './Card/AvatarGrid/AvatarGrid';
28
26
 
29
27
  export KeyContent from './KeyContent/KeyContent';
30
28
 
31
- export PublicationCard from './PublicationCard/PublicationCard';
29
+ export RelatedContent from './Card/RelatedContent/RelatedContent';
@@ -83,16 +83,14 @@
83
83
  @timeline : 'eea';
84
84
  @footer : 'eea';
85
85
  @header : 'eea';
86
- @tag : 'eea';
87
- @tagList : 'eea';
88
- @content : 'eea';
86
+ @tag : 'eea';
89
87
  @inpageNavigation : 'eea';
90
- @avatar : 'eea';
91
88
  @divider : 'eea';
92
89
  @testimonial : 'eea';
93
90
  @avatarGrid : 'eea';
94
91
  @keyContent : 'eea';
95
92
  @publicationCard : 'eea';
93
+ @relatedContent : 'eea';
96
94
 
97
95
  /*******************************
98
96
  Folders
@@ -1,3 +1,30 @@
1
+ /*******************************
2
+ Pastanaga Theme Overrides
3
+ *******************************/
4
+
5
+ .ui.breadcrumb {
6
+ display: flex;
7
+ align-items: center;
8
+ padding-right: 1rem;
9
+ padding-left: 1rem;
10
+
11
+ //a.section {
12
+ // color: #0074a3;
13
+ //}
14
+ //
15
+ //.section.active {
16
+ // color: #4e7372;
17
+ //}
18
+
19
+ .home.icon {
20
+ margin-right: 0;
21
+ }
22
+
23
+ @media only screen and (min-width: @tabletBreakpoint) {
24
+ padding-right: 0;
25
+ padding-left: 0;
26
+ }
27
+ }
1
28
  /*******************************
2
29
  Theme Overrides
3
30
  *******************************/
@@ -21,24 +48,5 @@
21
48
  width: @breadcrumbIconWidth;
22
49
  font-size: @breadcrumbIconFontSize;
23
50
  }
24
-
25
- a:first-child {
26
- padding: @breadcrumbFirstChildPadding;
27
- }
28
51
  }
29
52
 
30
- @media only screen and (min-width: @tabletBreakpoint) {
31
- .ui.breadcrumb {
32
- .section {
33
- padding: @tabletBreadcrumbPadding;
34
- }
35
- }
36
- }
37
-
38
- @media only screen and (min-width: @computerBreakpoint) {
39
- .ui.breadcrumb {
40
- .section {
41
- padding: @computerBreadcrumbPadding;
42
- }
43
- }
44
- }
@@ -7,7 +7,7 @@
7
7
  --------------------*/
8
8
 
9
9
  @verticalMargin: 0em;
10
- @display: inline-block;
10
+ @display: flex;
11
11
  @verticalAlign: middle;
12
12
 
13
13
  @mobileBreadcrumbPadding: 0;
@@ -28,10 +28,10 @@
28
28
  @dividerColor: @deepBlue;
29
29
 
30
30
  @dividerSize: @relativeSmall;
31
- @dividerVerticalAlign: sub;
31
+ @dividerVerticalAlign: baseline;
32
32
 
33
33
  @iconDividerSize: 0.75rem;
34
- @iconDividerVerticalAlign: sub;
34
+ @iconDividerVerticalAlign: baseline;
35
35
 
36
36
  @sectionMargin: 0em;
37
37
  @sectionPadding: 0em;
@@ -1,3 +1,119 @@
1
+ /*******************************
2
+ Pastanaga Theme Overrides
3
+ *******************************/
4
+
5
+ .ui.form .inline.field {
6
+ margin: 0;
7
+ }
8
+
9
+ .ui.form .inline.field.help .wrapper {
10
+ border-bottom: none;
11
+ }
12
+
13
+ .ui.form .inline.field.help {
14
+ padding-bottom: @15px;
15
+ }
16
+
17
+ .ui.form .inline.field .help {
18
+ padding-top: @10px;
19
+ padding-bottom: @10px;
20
+ border-bottom: 1px solid @lightGreyBorderColor;
21
+ }
22
+
23
+ .ui.form p.help {
24
+ color: #878f93;
25
+ font-size: @13px;
26
+ font-weight: 300;
27
+ line-height: initial;
28
+ }
29
+
30
+ .ui.form .ui.input input:not([type]),
31
+ .ui.form .ui.input input[type='date'],
32
+ .ui.form .ui.input input[type='datetime-local'],
33
+ .ui.form .ui.input input[type='email'],
34
+ .ui.form .ui.input input[type='number'],
35
+ .ui.form .ui.input input[type='password'],
36
+ .ui.form .ui.input input[type='search'],
37
+ .ui.form .ui.input input[type='tel'],
38
+ .ui.form .ui.input input[type='time'],
39
+ .ui.form .ui.input input[type='text'],
40
+ .ui.form .ui.input input[type='file'],
41
+ .ui.form .ui.input input[type='url'],
42
+ .ui.form textarea {
43
+ height: 60px;
44
+ border-width: 0 0 @1px 0;
45
+ border-radius: 0;
46
+ padding: @inputVerticalPadding 0;
47
+
48
+ &:focus {
49
+ border-radius: 0;
50
+ }
51
+ }
52
+
53
+ .ui.form .field > .selection.dropdown {
54
+ height: 60px;
55
+ }
56
+
57
+ .ui.form .DraftEditor-root {
58
+ border-bottom: @inputBorder;
59
+ }
60
+
61
+ // From the original, due to the wrapper around label
62
+ .ui.form .field .wrapper > label {
63
+ display: block;
64
+ margin: @labelMargin;
65
+ color: @labelColor;
66
+ font-size: @labelFontSize;
67
+ font-weight: @labelFontWeight;
68
+ hyphens: auto;
69
+ text-transform: @labelTextTransform;
70
+ }
71
+
72
+ .ui.form .toolbar {
73
+ position: absolute;
74
+ z-index: 1;
75
+ top: 0;
76
+ right: 0;
77
+ display: flex;
78
+ height: 60px;
79
+ align-items: center;
80
+ margin-right: 1rem;
81
+
82
+ .item {
83
+ cursor: pointer;
84
+ }
85
+ }
86
+
87
+ .ui.form .field .ui.basic.button.delete-button {
88
+ padding: 0;
89
+ border: none;
90
+ margin-left: 10px;
91
+ -webkit-box-shadow: none;
92
+ box-shadow: none;
93
+
94
+ &:hover,
95
+ &:focus {
96
+ -webkit-box-shadow: none;
97
+ box-shadow: none;
98
+ color: #e40166 !important;
99
+ }
100
+ }
101
+
102
+ .ui.form .inline.field .link-form-container {
103
+ .wrapper {
104
+ display: flex;
105
+ border-bottom: 1px solid @lightGreyBorderColor;
106
+
107
+ .ui.input.input-anchorlink-theme {
108
+ vertical-align: unset;
109
+
110
+ input {
111
+ height: unset;
112
+ }
113
+ }
114
+ }
115
+ }
116
+
1
117
  /*******************************
2
118
  Theme Overrides
3
119
  *******************************/