@festo-ui/web-essentials 7.3.0-dev.461 → 7.3.0-dev.464

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 (135) hide show
  1. package/README.md +83 -83
  2. package/dist/css/festo-web-essentials.css +81 -58
  3. package/dist/css/festo-web-essentials.css.map +1 -1
  4. package/dist/css/festo-web-essentials.min.css +34 -2
  5. package/dist/css/festo-web-essentials.min.css.map +1 -1
  6. package/dist/css/organisms/festo-web-essentials-organisms.css +5 -0
  7. package/dist/css/organisms/festo-web-essentials-organisms.css.map +1 -1
  8. package/dist/css/organisms/festo-web-essentials-organisms.min.css +5 -1
  9. package/dist/css/organisms/festo-web-essentials-organisms.min.css.map +1 -1
  10. package/dist/css/themes/flatpickr/festo.css +1 -1
  11. package/dist/css/themes/flatpickr/festo.css.map +1 -1
  12. package/dist/css/themes/flatpickr/festo.min.css +1 -1
  13. package/dist/scss/_accordion.scss +26 -24
  14. package/dist/scss/_badge.scss +11 -9
  15. package/dist/scss/_border.scss +9 -5
  16. package/dist/scss/_bottom-navigation.scss +8 -6
  17. package/dist/scss/_bottom-sheet.scss +19 -16
  18. package/dist/scss/_breadcrumb.scss +7 -5
  19. package/dist/scss/_button.scss +25 -22
  20. package/dist/scss/_cards.scss +13 -11
  21. package/dist/scss/_checkbox.scss +18 -16
  22. package/dist/scss/_chips.scss +25 -22
  23. package/dist/scss/_colors.scss +3 -1
  24. package/dist/scss/_display.scss +9 -5
  25. package/dist/scss/_flex.scss +10 -5
  26. package/dist/scss/_fonts.scss +13 -11
  27. package/dist/scss/_grid.scss +11 -7
  28. package/dist/scss/_icons.scss +9 -7
  29. package/dist/scss/_layout.scss +10 -7
  30. package/dist/scss/_list.scss +20 -18
  31. package/dist/scss/_loading-indicator.scss +6 -4
  32. package/dist/scss/_mixins.scss +4 -2
  33. package/dist/scss/_mobile-flyout.scss +17 -15
  34. package/dist/scss/_modal.scss +36 -33
  35. package/dist/scss/_navbar-menu.scss +118 -116
  36. package/dist/scss/_navbar.scss +30 -48
  37. package/dist/scss/_normalize.scss +16 -13
  38. package/dist/scss/_pagination.scss +23 -21
  39. package/dist/scss/_popover.scss +21 -19
  40. package/dist/scss/_progressbar.scss +14 -12
  41. package/dist/scss/_radio.scss +20 -18
  42. package/dist/scss/_rfs.scss +5 -4
  43. package/dist/scss/_root.scss +5 -3
  44. package/dist/scss/_scroll.scss +6 -3
  45. package/dist/scss/_search-input.scss +15 -13
  46. package/dist/scss/_segment.scss +30 -27
  47. package/dist/scss/_select.scss +20 -18
  48. package/dist/scss/_sidebar-overlay.scss +7 -5
  49. package/dist/scss/_slider.scss +26 -23
  50. package/dist/scss/_snackbar.scss +48 -45
  51. package/dist/scss/_spacing.scss +9 -5
  52. package/dist/scss/_stepper-horizontal.scss +22 -20
  53. package/dist/scss/_stepper-vertical.scss +18 -16
  54. package/dist/scss/_switch.scss +12 -10
  55. package/dist/scss/_table.scss +11 -9
  56. package/dist/scss/_text-input.scss +24 -22
  57. package/dist/scss/_text-link.scss +7 -5
  58. package/dist/scss/_timepicker.scss +10 -8
  59. package/dist/scss/_toolbar.scss +8 -6
  60. package/dist/scss/_tree.scss +67 -68
  61. package/dist/scss/_type.scss +10 -8
  62. package/dist/scss/_utils.scss +2 -1
  63. package/dist/scss/_variables.scss +3 -2
  64. package/dist/scss/festo-web-essentials.scss +53 -53
  65. package/dist/scss/organisms/_footer.scss +13 -11
  66. package/dist/scss/organisms/_header-modul.scss +14 -12
  67. package/dist/scss/organisms/_header-slider.scss +10 -8
  68. package/dist/scss/organisms/_image-gallery.scss +19 -17
  69. package/dist/scss/organisms/_login.scss +14 -12
  70. package/dist/scss/organisms/_side-menu.scss +8 -5
  71. package/dist/scss/organisms/_teaser.scss +7 -5
  72. package/dist/scss/organisms/festo-web-essentials-organisms.scss +9 -9
  73. package/dist/scss/themes/flatpickr/festo.scss +2 -2
  74. package/package.json +3 -3
  75. package/scss/_accordion.scss +26 -24
  76. package/scss/_badge.scss +11 -9
  77. package/scss/_border.scss +9 -5
  78. package/scss/_bottom-navigation.scss +8 -6
  79. package/scss/_bottom-sheet.scss +19 -16
  80. package/scss/_breadcrumb.scss +7 -5
  81. package/scss/_button.scss +25 -22
  82. package/scss/_cards.scss +13 -11
  83. package/scss/_checkbox.scss +18 -16
  84. package/scss/_chips.scss +25 -22
  85. package/scss/_colors.scss +3 -1
  86. package/scss/_display.scss +9 -5
  87. package/scss/_flex.scss +10 -5
  88. package/scss/_fonts.scss +13 -11
  89. package/scss/_grid.scss +11 -7
  90. package/scss/_icons.scss +9 -7
  91. package/scss/_layout.scss +10 -7
  92. package/scss/_list.scss +20 -18
  93. package/scss/_loading-indicator.scss +6 -4
  94. package/scss/_mixins.scss +4 -2
  95. package/scss/_mobile-flyout.scss +17 -15
  96. package/scss/_modal.scss +36 -33
  97. package/scss/_navbar-menu.scss +118 -116
  98. package/scss/_navbar.scss +30 -48
  99. package/scss/_normalize.scss +16 -13
  100. package/scss/_pagination.scss +23 -21
  101. package/scss/_popover.scss +21 -19
  102. package/scss/_progressbar.scss +14 -12
  103. package/scss/_radio.scss +20 -18
  104. package/scss/_rfs.scss +5 -4
  105. package/scss/_root.scss +5 -3
  106. package/scss/_scroll.scss +6 -3
  107. package/scss/_search-input.scss +15 -13
  108. package/scss/_segment.scss +30 -27
  109. package/scss/_select.scss +20 -18
  110. package/scss/_sidebar-overlay.scss +7 -5
  111. package/scss/_slider.scss +26 -23
  112. package/scss/_snackbar.scss +48 -45
  113. package/scss/_spacing.scss +9 -5
  114. package/scss/_stepper-horizontal.scss +22 -20
  115. package/scss/_stepper-vertical.scss +18 -16
  116. package/scss/_switch.scss +12 -10
  117. package/scss/_table.scss +11 -9
  118. package/scss/_text-input.scss +24 -22
  119. package/scss/_text-link.scss +7 -5
  120. package/scss/_timepicker.scss +10 -8
  121. package/scss/_toolbar.scss +8 -6
  122. package/scss/_tree.scss +67 -68
  123. package/scss/_type.scss +10 -8
  124. package/scss/_utils.scss +2 -1
  125. package/scss/_variables.scss +3 -2
  126. package/scss/festo-web-essentials.scss +52 -52
  127. package/scss/organisms/_footer.scss +13 -11
  128. package/scss/organisms/_header-modul.scss +14 -12
  129. package/scss/organisms/_header-slider.scss +10 -8
  130. package/scss/organisms/_image-gallery.scss +19 -17
  131. package/scss/organisms/_login.scss +14 -12
  132. package/scss/organisms/_side-menu.scss +8 -5
  133. package/scss/organisms/_teaser.scss +7 -5
  134. package/scss/organisms/festo-web-essentials-organisms.scss +9 -9
  135. package/scss/themes/flatpickr/festo.scss +1 -1
@@ -1,29 +1,31 @@
1
+ @use "variables";
2
+
1
3
  .fwe-accordion {
2
- background-color: $white;
4
+ background-color: variables.$white;
3
5
 
4
6
  &-header {
5
7
  display: flex;
6
8
  align-items: center;
7
- height: $spacer-xl;
8
- padding: 0 $spacer-s 0 $spacer-m;
9
- font-size: $font-size-md;
10
- font-weight: $font-weight-bold;
11
- color: $text;
12
- border-bottom: 1px solid $gray-100;
9
+ height: variables.$spacer-xl;
10
+ padding: 0 variables.$spacer-s 0 variables.$spacer-m;
11
+ font-size: variables.$font-size-md;
12
+ font-weight: variables.$font-weight-bold;
13
+ color: variables.$text;
14
+ border-bottom: 1px solid variables.$gray-100;
13
15
  }
14
16
 
15
17
  &-item {
16
18
  position: relative;
17
- padding: 0 $spacer-s 0 $spacer-m;
18
- border-top: 1px solid $gray-100;
19
- border-bottom: 1px solid $gray-100;
19
+ padding: 0 variables.$spacer-s 0 variables.$spacer-m;
20
+ border-top: 1px solid variables.$gray-100;
21
+ border-bottom: 1px solid variables.$gray-100;
20
22
 
21
23
  &-header {
22
24
  outline: none;
23
25
  display: flex;
24
26
  align-items: center;
25
- padding: $spacer-m $spacer-xxl $spacer-m 0;
26
- min-height: $spacer-xl;
27
+ padding: variables.$spacer-m variables.$spacer-xxl variables.$spacer-m 0;
28
+ min-height: variables.$spacer-xl;
27
29
  cursor: pointer;
28
30
  }
29
31
 
@@ -37,28 +39,28 @@
37
39
  left: 0;
38
40
  display: block;
39
41
  content: "";
40
- width: $spacer-xxxs;
42
+ width: variables.$spacer-xxxs;
41
43
  height: 0px;
42
- background-color: $caerul;
44
+ background-color: variables.$caerul;
43
45
  }
44
46
 
45
47
  &::after {
46
48
  position: absolute;
47
49
  top: 21px;
48
- right: $spacer-s;
50
+ right: variables.$spacer-s;
49
51
  display: block;
50
- font-family: $font-family-icons-32;
51
- font-size: $font-size-xxl;
52
+ font-family: variables.$font-family-icons-32;
53
+ font-size: variables.$font-size-xxl;
52
54
  content: "\e900";
53
- height: $spacer-l;
54
- line-height: $spacer-l;
55
+ height: variables.$spacer-l;
56
+ line-height: variables.$spacer-l;
55
57
  transition: transform 0.2s ease;
56
58
  pointer-events: none;
57
59
  }
58
60
 
59
61
  &[open] {
60
62
  .fwe-accordion-item-header {
61
- font-weight: $font-weight-bold;
63
+ font-weight: variables.$font-weight-bold;
62
64
  }
63
65
 
64
66
  &::after {
@@ -71,13 +73,13 @@
71
73
  }
72
74
 
73
75
  &:not([open]) .fwe-accordion-item-header {
74
- font-weight: $font-weight-normal;
76
+ font-weight: variables.$font-weight-normal;
75
77
  }
76
78
 
77
79
  &-body {
78
80
  overflow: hidden;
79
81
  margin-right: 0;
80
- margin-bottom: $spacer-m;
82
+ margin-bottom: variables.$spacer-m;
81
83
 
82
84
  > :first-child {
83
85
  margin-top: 0 !important;
@@ -96,11 +98,11 @@
96
98
  }
97
99
  }
98
100
 
99
- @media (min-width: $grid-breakpoint-xs) {
101
+ @media (min-width: variables.$grid-breakpoint-xs) {
100
102
  .fwe-accordion {
101
103
  &-item {
102
104
  &-body {
103
- margin-right: $spacer-xxl;
105
+ margin-right: variables.$spacer-xxl;
104
106
  }
105
107
  }
106
108
  }
@@ -1,46 +1,48 @@
1
+ @use "variables";
2
+
1
3
  .fwe-badge {
2
4
  display: inline-block;
3
5
  border-radius: 2px;
4
- font-size: $font-size-md;
6
+ font-size: variables.$font-size-md;
5
7
  padding-left: 6px;
6
8
  padding-right: 6px;
7
- color: $white;
9
+ color: variables.$white;
8
10
  max-height: 19px;
9
11
  height: 19px;
10
12
  line-height: 17px;
11
- background-color: $hero;
12
- font-weight: $font-weight-bold;
13
+ background-color: variables.$hero;
14
+ font-weight: variables.$font-weight-bold;
13
15
 
14
16
  &.fwe-badge-sm {
15
- font-size: $font-size-small;
17
+ font-size: variables.$font-size-small;
16
18
  max-height: 17px;
17
19
  height: 17px;
18
20
  line-height: 16px;
19
21
  }
20
22
 
21
23
  &.fwe-badge-md {
22
- font-size: $font-size-base;
24
+ font-size: variables.$font-size-base;
23
25
  max-height: 22px;
24
26
  height: 22px;
25
27
  line-height: 20px;
26
28
  }
27
29
 
28
30
  &.fwe-badge-lg {
29
- font-size: $font-size-xl;
31
+ font-size: variables.$font-size-xl;
30
32
  max-height: 32px;
31
33
  height: 32px;
32
34
  line-height: 30px;
33
35
  }
34
36
 
35
37
  &.fwe-badge-xl {
36
- font-size: $font-size-xxl;
38
+ font-size: variables.$font-size-xxl;
37
39
  max-height: 44px;
38
40
  height: 44px;
39
41
  line-height: 42px;
40
42
  }
41
43
  }
42
44
 
43
- @each $key, $value in $badge-colors {
45
+ @each $key, $value in variables.$badge-colors {
44
46
  .fwe-badge-#{$key} {
45
47
  background-color: $value !important;
46
48
  }
@@ -1,3 +1,7 @@
1
+ @use "sass:map";
2
+ @use "utils";
3
+ @use "variables";
4
+
1
5
  @function border-name($borderKey) {
2
6
  @return if($borderKey != 0, "-#{$borderKey}", null);
3
7
  }
@@ -68,15 +72,15 @@
68
72
  }
69
73
  }
70
74
 
71
- @each $breakpoint in map-keys($grid-breakpoints) {
72
- $infix: breakpoint-infix($breakpoint, $grid-breakpoints);
73
- $size: map-get($grid-breakpoints, $breakpoint);
75
+ @each $breakpoint in map.keys(variables.$grid-breakpoints) {
76
+ $infix: utils.breakpoint-infix($breakpoint, variables.$grid-breakpoints);
77
+ $size: map.get(variables.$grid-breakpoints, $breakpoint);
74
78
 
75
79
  @if $size == 0 {
76
- @include borders($borders);
80
+ @include borders(variables.$borders);
77
81
  } @else {
78
82
  @media (min-width: $size) {
79
- @include borders($borders, $infix);
83
+ @include borders(variables.$borders, $infix);
80
84
  }
81
85
  }
82
86
  }
@@ -1,10 +1,12 @@
1
+ @use "variables";
2
+
1
3
  .fwe-bottom-navigation {
2
4
  width: 100%;
3
5
  display: flex;
4
- background: $white;
6
+ background: variables.$white;
5
7
  align-items: flex-start;
6
8
  justify-content: space-around;
7
- border-top: 1px solid $border;
9
+ border-top: 1px solid variables.$border;
8
10
  height: 84px;
9
11
  padding: 22px 16px;
10
12
  .fwe-bottom-navigation-button {
@@ -18,7 +20,7 @@
18
20
  background: none;
19
21
  border: none;
20
22
  outline: none;
21
- color: $hero-gray;
23
+ color: variables.$hero-gray;
22
24
  position: relative;
23
25
  :after {
24
26
  content: "";
@@ -27,18 +29,18 @@
27
29
  left: 0px;
28
30
  right: 0px;
29
31
  height: 0px;
30
- background: $hero;
32
+ background: variables.$hero;
31
33
  transition: height 0.3s ease;
32
34
  }
33
35
  &.fwe-selected {
34
- color: $hero;
36
+ color: variables.$hero;
35
37
  cursor: default;
36
38
  :after {
37
39
  height: 4px;
38
40
  }
39
41
  }
40
42
  &:active {
41
- color: $hero-active;
43
+ color: variables.$hero-active;
42
44
  }
43
45
  }
44
46
  }
@@ -1,3 +1,6 @@
1
+ @use "mixins";
2
+ @use "variables";
3
+
1
4
  .fwe-bottom-sheet {
2
5
  &-header {
3
6
  position: relative;
@@ -16,31 +19,31 @@
16
19
  }
17
20
 
18
21
  &-drag-handle {
19
- width: $spacer-l;
20
- height: $spacer-xxxs;
21
- background-color: $hero-gray;
22
+ width: variables.$spacer-l;
23
+ height: variables.$spacer-xxxs;
24
+ background-color: variables.$hero-gray;
22
25
  border-radius: 3px;
23
- margin: $spacer 0;
26
+ margin: variables.$spacer 0;
24
27
  }
25
28
 
26
29
  &-toggle-btn {
27
30
  position: absolute;
28
31
  top: 50%;
29
32
  transform: translateY(-50%);
30
- left: $spacer-s;
33
+ left: variables.$spacer-s;
31
34
  }
32
35
 
33
36
  &-close-btn {
34
- width: $spacer-m;
35
- height: $spacer-m;
37
+ width: variables.$spacer-m;
38
+ height: variables.$spacer-m;
36
39
  position: absolute;
37
40
  right: 20px;
38
41
  top: 20px;
39
42
  padding: 0;
40
43
  border: none;
41
- min-width: $spacer-m;
44
+ min-width: variables.$spacer-m;
42
45
  cursor: pointer;
43
- background: $text;
46
+ background: variables.$text;
44
47
  mask-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij48ZyB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMjExIC0xODMpIj48cGF0aCBkPSJNMCwwSDI0VjI0SDBaIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgyMTEgMTgzKSIgZmlsbD0ibm9uZSIvPjxnIHRyYW5zZm9ybT0idHJhbnNsYXRlKDIxNSAxODcpIj48cmVjdCB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIGZpbGw9Im5vbmUiLz48cGF0aCBkPSJNMTIuOTUsNC40NjQsMTEuNTM2LDMuMDUsOCw2LjU4Niw0LjQ2NCwzLjA1LDMuMDUsNC40NjQsNi41ODYsOCwzLjA1LDExLjUzNiw0LjQ2NCwxMi45NSw4LDkuNDE0bDMuNTM2LDMuNTM2LDEuNDE0LTEuNDE0TDkuNDE0LDhaIiBmaWxsPSIjMzMzIi8+PC9nPjxnIHRyYW5zZm9ybT0idHJhbnNsYXRlKDIxNSAxODcpIj48cmVjdCB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIGZpbGw9Im5vbmUiLz48cGF0aCBkPSJNMTIuOTUsNC40NjQsMTEuNTM2LDMuMDUsOCw2LjU4Niw0LjQ2NCwzLjA1LDMuMDUsNC40NjQsNi41ODYsOCwzLjA1LDExLjUzNiw0LjQ2NCwxMi45NSw4LDkuNDE0bDMuNTM2LDMuNTM2LDEuNDE0LTEuNDE0TDkuNDE0LDhaIiBmaWxsPSIjMzMzIi8+PC9nPjwvZz48L3N2Zz4=");
45
48
  }
46
49
 
@@ -50,7 +53,7 @@
50
53
  left: 0;
51
54
 
52
55
  background: rgba(0, 0, 0, 0.5);
53
- z-index: $zindex-modal-backdrop;
56
+ z-index: variables.$zindex-modal-backdrop;
54
57
  opacity: 0;
55
58
  transition: opacity 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
56
59
 
@@ -66,10 +69,10 @@
66
69
  bottom: 0;
67
70
  left: 50%;
68
71
  right: 50%;
69
- background: $white;
72
+ background: variables.$white;
70
73
  box-shadow: 0px 1px 8px #33333333;
71
- z-index: $zindex-modal;
72
- border-radius: $spacer-xs $spacer-xs 0 0;
74
+ z-index: variables.$zindex-modal;
75
+ border-radius: variables.$spacer-xs variables.$spacer-xs 0 0;
73
76
  overflow: hidden;
74
77
  opacity: 0;
75
78
  max-width: 768px;
@@ -105,9 +108,9 @@
105
108
  }
106
109
 
107
110
  &-content {
108
- padding: $spacer $spacer-l;
109
- height: calc(100% - $spacer-l);
111
+ padding: variables.$spacer variables.$spacer-l;
112
+ height: calc(100% - variables.$spacer-l);
110
113
  overflow-y: auto;
111
- @include custom-scrollbar;
114
+ @include mixins.custom-scrollbar;
112
115
  }
113
116
  }
@@ -1,3 +1,5 @@
1
+ @use "variables";
2
+
1
3
  .fwe-breadcrumb {
2
4
  display: flex;
3
5
  flex-wrap: wrap;
@@ -8,20 +10,20 @@
8
10
  display: flex;
9
11
  align-items: center;
10
12
  min-height: 24px;
11
- color: $text;
13
+ color: variables.$text;
12
14
  text-decoration: none;
13
15
  user-select: none;
14
- font-size: $font-size-md;
15
- line-height: calc(#{$font-size-md} + 2px);
16
+ font-size: variables.$font-size-md;
17
+ line-height: calc(#{variables.$font-size-md} + 2px);
16
18
  &:focus {
17
19
  outline: none;
18
20
  }
19
21
  &:not(:last-child) {
20
22
  &:hover {
21
- color: $hero;
23
+ color: variables.$hero;
22
24
  }
23
25
  &:active {
24
- color: $hero-active;
26
+ color: variables.$hero-active;
25
27
  }
26
28
  cursor: pointer;
27
29
  &::after {
@@ -1,3 +1,6 @@
1
+ @use "variables";
2
+ @use "icons";
3
+
1
4
  a.fwe-btn,
2
5
  button.fwe-btn {
3
6
  line-height: normal;
@@ -6,13 +9,13 @@ button.fwe-btn {
6
9
  align-items: center;
7
10
  text-align: center;
8
11
  justify-content: center;
9
- font-family: $font-family-base;
10
- font-size: $font-size-base;
12
+ font-family: variables.$font-family-base;
13
+ font-size: variables.$font-size-base;
11
14
  padding: 4px 16px;
12
15
  min-height: 32px;
13
- color: $text;
14
- background: $control;
15
- border-radius: $control-border-radius;
16
+ color: variables.$text;
17
+ background: variables.$control;
18
+ border-radius: variables.$control-border-radius;
16
19
  cursor: pointer;
17
20
  border: none;
18
21
 
@@ -23,12 +26,12 @@ button.fwe-btn {
23
26
  }
24
27
 
25
28
  &:hover {
26
- color: $text;
27
- background: $control-hover;
29
+ color: variables.$text;
30
+ background: variables.$control-hover;
28
31
  }
29
32
 
30
33
  &:active {
31
- background: $control-active;
34
+ background: variables.$control-active;
32
35
  }
33
36
 
34
37
  &:focus {
@@ -38,27 +41,27 @@ button.fwe-btn {
38
41
  &:disabled,
39
42
  &.fwe-disabled {
40
43
  cursor: default;
41
- background: $control-disabled;
42
- color: $text-disabled;
44
+ background: variables.$control-disabled;
45
+ color: variables.$text-disabled;
43
46
  }
44
47
 
45
48
  &.fwe-btn-hero {
46
- color: $white;
47
- background: $hero;
49
+ color: variables.$white;
50
+ background: variables.$hero;
48
51
 
49
52
  &:hover {
50
- color: $white;
51
- background: $hero-hover;
53
+ color: variables.$white;
54
+ background: variables.$hero-hover;
52
55
  }
53
56
 
54
57
  &:active {
55
- background: $hero-active;
58
+ background: variables.$hero-active;
56
59
  }
57
60
 
58
61
  &:disabled,
59
62
  &.fwe-disabled {
60
- background: $control-disabled;
61
- color: $text-disabled;
63
+ background: variables.$control-disabled;
64
+ color: variables.$text-disabled;
62
65
  }
63
66
  }
64
67
 
@@ -68,7 +71,7 @@ button.fwe-btn {
68
71
 
69
72
  &.fwe-btn-link {
70
73
  background: none;
71
- color: $hero;
74
+ color: variables.$hero;
72
75
  padding: 0;
73
76
 
74
77
  i[class^="fwe-icon-"],
@@ -78,22 +81,22 @@ button.fwe-btn {
78
81
  }
79
82
 
80
83
  &.fwe-dark {
81
- color: $text;
84
+ color: variables.$text;
82
85
  }
83
86
 
84
87
  &:hover {
85
88
  background: none;
86
- color: $hero-hover;
89
+ color: variables.$hero-hover;
87
90
  }
88
91
 
89
92
  &:active {
90
93
  background: none;
91
- color: $hero-hover;
94
+ color: variables.$hero-hover;
92
95
  }
93
96
 
94
97
  &:disabled,
95
98
  &.fwe-disabled {
96
- color: $text-disabled;
99
+ color: variables.$text-disabled;
97
100
  }
98
101
  }
99
102
 
@@ -1,9 +1,11 @@
1
+ @use "variables";
2
+
1
3
  .fwe-card {
2
4
  display: flex;
3
5
  flex-direction: column;
4
- border: 1px solid $border;
5
- background-color: $white;
6
- border-radius: $border-radius-m;
6
+ border: 1px solid variables.$border;
7
+ background-color: variables.$white;
8
+ border-radius: variables.$border-radius-m;
7
9
 
8
10
  .fwe-card-img {
9
11
  width: 100%;
@@ -36,8 +38,8 @@
36
38
 
37
39
  .fwe-card-title {
38
40
  h5 {
39
- line-height: $font-size-xl;
40
- font-size: $font-size-xl;
41
+ line-height: variables.$font-size-xl;
42
+ font-size: variables.$font-size-xl;
41
43
  margin: 0;
42
44
  padding: 0;
43
45
  }
@@ -45,8 +47,8 @@
45
47
  p {
46
48
  padding: 0;
47
49
  margin: 0;
48
- color: $text-light;
49
- font-size: $font-size-md;
50
+ color: variables.$text-light;
51
+ font-size: variables.$font-size-md;
50
52
  }
51
53
  }
52
54
  }
@@ -81,9 +83,9 @@
81
83
  padding-left: 16px;
82
84
 
83
85
  h6 {
84
- line-height: $font-size-base;
85
- font-size: $font-size-base;
86
- font-weight: $font-weight-bold;
86
+ line-height: variables.$font-size-base;
87
+ font-size: variables.$font-size-base;
88
+ font-weight: variables.$font-weight-bold;
87
89
  margin: 0;
88
90
  padding: 0;
89
91
  }
@@ -91,7 +93,7 @@
91
93
  p {
92
94
  padding: 0;
93
95
  margin: 0;
94
- color: $text;
96
+ color: variables.$text;
95
97
  }
96
98
  }
97
99
  }
@@ -1,3 +1,5 @@
1
+ @use "variables";
2
+
1
3
  $defaultHeight: 16px;
2
4
  $defaultWidth: 16px;
3
5
  $lgHeight: 24px;
@@ -26,7 +28,7 @@ $lgWidth: 24px;
26
28
  min-height: $lgHeight;
27
29
  width: $lgWidth;
28
30
  min-width: $lgWidth;
29
- border-radius: $border-radius-s;
31
+ border-radius: variables.$border-radius-s;
30
32
  &:before {
31
33
  height: 18px;
32
34
  width: 18px;
@@ -77,7 +79,7 @@ label.fwe-checkbox {
77
79
  width: $defaultWidth;
78
80
  min-width: $defaultWidth;
79
81
  border-radius: 2px;
80
- border: 1px solid $control-border;
82
+ border: 1px solid variables.$control-border;
81
83
  background-color: white;
82
84
  &::before {
83
85
  content: "";
@@ -114,11 +116,11 @@ label.fwe-checkbox {
114
116
  cursor: pointer;
115
117
 
116
118
  &:hover ~ .fwe-checkbox-checkmark {
117
- background-color: $control;
119
+ background-color: variables.$control;
118
120
  }
119
121
 
120
122
  &:active ~ .fwe-checkbox-checkmark {
121
- background-color: $control-hover;
123
+ background-color: variables.$control-hover;
122
124
  }
123
125
 
124
126
  &:indeterminate ~ .fwe-checkbox-checkmark {
@@ -129,20 +131,20 @@ label.fwe-checkbox {
129
131
 
130
132
  &:checked ~ .fwe-checkbox-checkmark,
131
133
  &:indeterminate ~ .fwe-checkbox-checkmark {
132
- background-color: $hero;
133
- border-color: $hero;
134
+ background-color: variables.$hero;
135
+ border-color: variables.$hero;
134
136
  }
135
137
 
136
138
  &:hover:checked:not(:disabled) ~ .fwe-checkbox-checkmark,
137
139
  &:hover:indeterminate:not(:disabled) ~ .fwe-checkbox-checkmark {
138
- background-color: $hero-hover;
139
- border-color: $hero-hover;
140
+ background-color: variables.$hero-hover;
141
+ border-color: variables.$hero-hover;
140
142
  }
141
143
 
142
144
  &:active:checked:not(:disabled) ~ .fwe-checkbox-checkmark,
143
145
  &:active:indeterminate:not(:disabled) ~ .fwe-checkbox-checkmark {
144
- background-color: $hero-active;
145
- border-color: $hero-active;
146
+ background-color: variables.$hero-active;
147
+ border-color: variables.$hero-active;
146
148
  }
147
149
 
148
150
  &:checked ~ .fwe-checkbox-checkmark:before,
@@ -151,15 +153,15 @@ label.fwe-checkbox {
151
153
  }
152
154
 
153
155
  &:disabled ~ .fwe-checkbox-checkmark {
154
- background-color: $white;
155
- border-color: $control-disabled;
156
+ background-color: variables.$white;
157
+ border-color: variables.$control-disabled;
156
158
  cursor: not-allowed;
157
159
  }
158
160
 
159
161
  &:disabled:checked ~ .fwe-checkbox-checkmark,
160
162
  &:disabled:indeterminate ~ .fwe-checkbox-checkmark {
161
- background-color: $control-disabled;
162
- border-color: $control-disabled;
163
+ background-color: variables.$control-disabled;
164
+ border-color: variables.$control-disabled;
163
165
  }
164
166
 
165
167
  &:disabled {
@@ -167,12 +169,12 @@ label.fwe-checkbox {
167
169
  }
168
170
 
169
171
  &:disabled ~ .fwe-checkbox-label-content {
170
- color: $text-disabled;
172
+ color: variables.$text-disabled;
171
173
  cursor: not-allowed;
172
174
  }
173
175
 
174
176
  &:invalid ~ .fwe-checkbox-checkmark {
175
- border-color: $red;
177
+ border-color: variables.$red;
176
178
  }
177
179
  }
178
180
  }