@festo-ui/web-essentials 8.2.0-dev.630 → 8.2.0-dev.637

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 (78) hide show
  1. package/README.md +83 -83
  2. package/dist/css/festo-web-essentials.css +9 -12
  3. package/dist/css/festo-web-essentials.css.map +1 -1
  4. package/dist/css/festo-web-essentials.min.css +12 -12
  5. package/dist/css/festo-web-essentials.min.css.map +1 -1
  6. package/dist/css/light/festo-web-essentials-light.css +0 -3
  7. package/dist/css/light/festo-web-essentials-light.css.map +1 -1
  8. package/dist/css/themes/flatpickr/festo.css +1 -1
  9. package/dist/css/themes/flatpickr/festo.min.css +1 -1
  10. package/dist/scss/_badge.scss +49 -49
  11. package/dist/scss/_border.scss +86 -86
  12. package/dist/scss/_bottom-navigation.scss +47 -47
  13. package/dist/scss/_bottom-sheet.scss +116 -116
  14. package/dist/scss/_colors.scss +11 -11
  15. package/dist/scss/_display.scss +63 -63
  16. package/dist/scss/_flex.scss +269 -269
  17. package/dist/scss/_grid.scss +44 -44
  18. package/dist/scss/_layout.scss +64 -64
  19. package/dist/scss/_list.scss +211 -211
  20. package/dist/scss/_misc.scss +51 -51
  21. package/dist/scss/_mixins.scss +51 -51
  22. package/dist/scss/_modal.scss +233 -233
  23. package/dist/scss/_normalize.scss +369 -369
  24. package/dist/scss/_pagination.scss +124 -124
  25. package/dist/scss/_rfs.scss +177 -177
  26. package/dist/scss/_segment.scss +146 -146
  27. package/dist/scss/_sidebar-overlay.scss +51 -51
  28. package/dist/scss/_slider.scss +150 -150
  29. package/dist/scss/_snackbar.scss +159 -159
  30. package/dist/scss/_spacing.scss +51 -51
  31. package/dist/scss/_switch.scss +145 -145
  32. package/dist/scss/_text-input.scss +191 -191
  33. package/dist/scss/_text-link.scss +52 -52
  34. package/dist/scss/_toolbar.scss +83 -83
  35. package/dist/scss/_type.scss +50 -50
  36. package/dist/scss/_utils.scss +9 -9
  37. package/dist/scss/festo-web-essentials.scss +1 -1
  38. package/dist/scss/light/_border-light.scss +75 -75
  39. package/dist/scss/light/_flex-light.scss +258 -258
  40. package/dist/scss/light/_spacing-light.scss +52 -52
  41. package/dist/scss/light/festo-web-essentials-light.scss +59 -59
  42. package/dist/scss/organisms/_header-modul.scss +111 -111
  43. package/dist/scss/organisms/_teaser.scss +96 -96
  44. package/dist/scss/themes/flatpickr/festo.scss +1 -1
  45. package/package.json +10 -16
  46. package/scss/_badge.scss +49 -49
  47. package/scss/_border.scss +86 -86
  48. package/scss/_bottom-navigation.scss +47 -47
  49. package/scss/_bottom-sheet.scss +116 -116
  50. package/scss/_colors.scss +11 -11
  51. package/scss/_display.scss +63 -63
  52. package/scss/_flex.scss +269 -269
  53. package/scss/_grid.scss +44 -44
  54. package/scss/_layout.scss +64 -64
  55. package/scss/_list.scss +211 -211
  56. package/scss/_misc.scss +51 -51
  57. package/scss/_mixins.scss +51 -51
  58. package/scss/_modal.scss +233 -233
  59. package/scss/_normalize.scss +369 -369
  60. package/scss/_pagination.scss +124 -124
  61. package/scss/_rfs.scss +177 -177
  62. package/scss/_segment.scss +146 -146
  63. package/scss/_sidebar-overlay.scss +51 -51
  64. package/scss/_slider.scss +150 -150
  65. package/scss/_snackbar.scss +159 -159
  66. package/scss/_spacing.scss +51 -51
  67. package/scss/_switch.scss +145 -145
  68. package/scss/_text-input.scss +191 -191
  69. package/scss/_text-link.scss +52 -52
  70. package/scss/_toolbar.scss +83 -83
  71. package/scss/_type.scss +50 -50
  72. package/scss/_utils.scss +9 -9
  73. package/scss/light/_border-light.scss +75 -75
  74. package/scss/light/_flex-light.scss +258 -258
  75. package/scss/light/_spacing-light.scss +52 -52
  76. package/scss/light/festo-web-essentials-light.scss +59 -59
  77. package/scss/organisms/_header-modul.scss +111 -111
  78. package/scss/organisms/_teaser.scss +96 -96
package/scss/_badge.scss CHANGED
@@ -1,49 +1,49 @@
1
- @use "variables";
2
-
3
- .fwe-badge {
4
- display: inline-block;
5
- border-radius: 2px;
6
- font-size: variables.$font-size-md;
7
- padding-left: 6px;
8
- padding-right: 6px;
9
- color: variables.$white;
10
- max-height: 19px;
11
- height: 19px;
12
- line-height: 17px;
13
- background-color: variables.$hero;
14
- font-weight: variables.$font-weight-bold;
15
-
16
- &.fwe-badge-sm {
17
- font-size: variables.$font-size-small;
18
- max-height: 17px;
19
- height: 17px;
20
- line-height: 16px;
21
- }
22
-
23
- &.fwe-badge-md {
24
- font-size: variables.$font-size-base;
25
- max-height: 22px;
26
- height: 22px;
27
- line-height: 20px;
28
- }
29
-
30
- &.fwe-badge-lg {
31
- font-size: variables.$font-size-xl;
32
- max-height: 32px;
33
- height: 32px;
34
- line-height: 30px;
35
- }
36
-
37
- &.fwe-badge-xl {
38
- font-size: variables.$font-size-xxl;
39
- max-height: 44px;
40
- height: 44px;
41
- line-height: 42px;
42
- }
43
- }
44
-
45
- @each $key, $value in variables.$badge-colors {
46
- .fwe-badge-#{$key} {
47
- background-color: $value !important;
48
- }
49
- }
1
+ @use "variables";
2
+
3
+ .fwe-badge {
4
+ display: inline-block;
5
+ border-radius: 2px;
6
+ font-size: variables.$font-size-md;
7
+ padding-left: 6px;
8
+ padding-right: 6px;
9
+ color: variables.$white;
10
+ max-height: 19px;
11
+ height: 19px;
12
+ line-height: 17px;
13
+ background-color: variables.$hero;
14
+ font-weight: variables.$font-weight-bold;
15
+
16
+ &.fwe-badge-sm {
17
+ font-size: variables.$font-size-small;
18
+ max-height: 17px;
19
+ height: 17px;
20
+ line-height: 16px;
21
+ }
22
+
23
+ &.fwe-badge-md {
24
+ font-size: variables.$font-size-base;
25
+ max-height: 22px;
26
+ height: 22px;
27
+ line-height: 20px;
28
+ }
29
+
30
+ &.fwe-badge-lg {
31
+ font-size: variables.$font-size-xl;
32
+ max-height: 32px;
33
+ height: 32px;
34
+ line-height: 30px;
35
+ }
36
+
37
+ &.fwe-badge-xl {
38
+ font-size: variables.$font-size-xxl;
39
+ max-height: 44px;
40
+ height: 44px;
41
+ line-height: 42px;
42
+ }
43
+ }
44
+
45
+ @each $key, $value in variables.$badge-colors {
46
+ .fwe-badge-#{$key} {
47
+ background-color: $value !important;
48
+ }
49
+ }
package/scss/_border.scss CHANGED
@@ -1,86 +1,86 @@
1
- @use "sass:map";
2
- @use "utils";
3
- @use "variables";
4
-
5
- @function border-name($borderKey) {
6
- @return if($borderKey != 0, "-#{$borderKey}", null);
7
- }
8
-
9
- @mixin borders($borders, $infix: "") {
10
- @each $borderKey, $borderColor in $borders {
11
- $borderColorName: border-name($borderKey);
12
-
13
- .fwe-b#{$infix}#{$borderColorName} {
14
- border: 1px solid $borderColor !important;
15
- }
16
-
17
- .fwe-bt#{$infix}#{$borderColorName} {
18
- border-top: 1px solid $borderColor !important;
19
- }
20
-
21
- .fwe-bb#{$infix}#{$borderColorName} {
22
- border-bottom: 1px solid $borderColor !important;
23
- }
24
-
25
- .fwe-bl#{$infix}#{$borderColorName} {
26
- border-left: 1px solid $borderColor !important;
27
- }
28
-
29
- .fwe-br#{$infix}#{$borderColorName} {
30
- border-right: 1px solid $borderColor !important;
31
- }
32
-
33
- .fwe-bx#{$infix}#{$borderColorName} {
34
- border-left: 1px solid $borderColor !important;
35
- border-right: 1px solid $borderColor !important;
36
- }
37
-
38
- .fwe-by#{$infix}#{$borderColorName} {
39
- border-top: 1px solid $borderColor !important;
40
- border-bottom: 1px solid $borderColor !important;
41
- }
42
-
43
- .fwe-b#{$infix}-none {
44
- border: none !important;
45
- }
46
-
47
- .fwe-bt#{$infix}-none {
48
- border-top: none !important;
49
- }
50
-
51
- .fwe-bb#{$infix}-none {
52
- border-bottom: none !important;
53
- }
54
-
55
- .fwe-bl#{$infix}-none {
56
- border-left: none !important;
57
- }
58
-
59
- .fwe-br#{$infix}-none {
60
- border-right: none !important;
61
- }
62
-
63
- .fwe-bx#{$infix}-none {
64
- border-left: none !important;
65
- border-right: none !important;
66
- }
67
-
68
- .fwe-by#{$infix}-none {
69
- border-top: none !important;
70
- border-bottom: none !important;
71
- }
72
- }
73
- }
74
-
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);
78
-
79
- @if $size == 0 {
80
- @include borders(variables.$borders);
81
- } @else {
82
- @media (min-width: $size) {
83
- @include borders(variables.$borders, $infix);
84
- }
85
- }
86
- }
1
+ @use "sass:map";
2
+ @use "utils";
3
+ @use "variables";
4
+
5
+ @function border-name($borderKey) {
6
+ @return if($borderKey != 0, "-#{$borderKey}", null);
7
+ }
8
+
9
+ @mixin borders($borders, $infix: "") {
10
+ @each $borderKey, $borderColor in $borders {
11
+ $borderColorName: border-name($borderKey);
12
+
13
+ .fwe-b#{$infix}#{$borderColorName} {
14
+ border: 1px solid $borderColor !important;
15
+ }
16
+
17
+ .fwe-bt#{$infix}#{$borderColorName} {
18
+ border-top: 1px solid $borderColor !important;
19
+ }
20
+
21
+ .fwe-bb#{$infix}#{$borderColorName} {
22
+ border-bottom: 1px solid $borderColor !important;
23
+ }
24
+
25
+ .fwe-bl#{$infix}#{$borderColorName} {
26
+ border-left: 1px solid $borderColor !important;
27
+ }
28
+
29
+ .fwe-br#{$infix}#{$borderColorName} {
30
+ border-right: 1px solid $borderColor !important;
31
+ }
32
+
33
+ .fwe-bx#{$infix}#{$borderColorName} {
34
+ border-left: 1px solid $borderColor !important;
35
+ border-right: 1px solid $borderColor !important;
36
+ }
37
+
38
+ .fwe-by#{$infix}#{$borderColorName} {
39
+ border-top: 1px solid $borderColor !important;
40
+ border-bottom: 1px solid $borderColor !important;
41
+ }
42
+
43
+ .fwe-b#{$infix}-none {
44
+ border: none !important;
45
+ }
46
+
47
+ .fwe-bt#{$infix}-none {
48
+ border-top: none !important;
49
+ }
50
+
51
+ .fwe-bb#{$infix}-none {
52
+ border-bottom: none !important;
53
+ }
54
+
55
+ .fwe-bl#{$infix}-none {
56
+ border-left: none !important;
57
+ }
58
+
59
+ .fwe-br#{$infix}-none {
60
+ border-right: none !important;
61
+ }
62
+
63
+ .fwe-bx#{$infix}-none {
64
+ border-left: none !important;
65
+ border-right: none !important;
66
+ }
67
+
68
+ .fwe-by#{$infix}-none {
69
+ border-top: none !important;
70
+ border-bottom: none !important;
71
+ }
72
+ }
73
+ }
74
+
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);
78
+
79
+ @if $size == 0 {
80
+ @include borders(variables.$borders);
81
+ } @else {
82
+ @media (min-width: $size) {
83
+ @include borders(variables.$borders, $infix);
84
+ }
85
+ }
86
+ }
@@ -1,47 +1,47 @@
1
- @use "variables";
2
-
3
- .fwe-bottom-navigation {
4
- width: 100%;
5
- display: flex;
6
- background: variables.$white;
7
- align-items: flex-start;
8
- justify-content: space-around;
9
- border-top: 1px solid variables.$border;
10
- height: 84px;
11
- padding: 22px 16px;
12
- .fwe-bottom-navigation-button {
13
- cursor: pointer;
14
- -webkit-user-select: none;
15
- user-select: none;
16
- .fwe-icon {
17
- line-height: 0px;
18
- }
19
- display: flex;
20
- align-items: center;
21
- background: none;
22
- border: none;
23
- outline: none;
24
- color: variables.$hero-gray;
25
- position: relative;
26
- :after {
27
- content: "";
28
- position: absolute;
29
- top: -23px;
30
- left: 0px;
31
- right: 0px;
32
- height: 0px;
33
- background: variables.$hero;
34
- transition: height 0.3s ease;
35
- }
36
- &.fwe-selected {
37
- color: variables.$hero;
38
- cursor: default;
39
- :after {
40
- height: 4px;
41
- }
42
- }
43
- &:active {
44
- color: variables.$hero-active;
45
- }
46
- }
47
- }
1
+ @use "variables";
2
+
3
+ .fwe-bottom-navigation {
4
+ width: 100%;
5
+ display: flex;
6
+ background: variables.$white;
7
+ align-items: flex-start;
8
+ justify-content: space-around;
9
+ border-top: 1px solid variables.$border;
10
+ height: 84px;
11
+ padding: 22px 16px;
12
+ .fwe-bottom-navigation-button {
13
+ cursor: pointer;
14
+ -webkit-user-select: none;
15
+ user-select: none;
16
+ .fwe-icon {
17
+ line-height: 0px;
18
+ }
19
+ display: flex;
20
+ align-items: center;
21
+ background: none;
22
+ border: none;
23
+ outline: none;
24
+ color: variables.$hero-gray;
25
+ position: relative;
26
+ :after {
27
+ content: "";
28
+ position: absolute;
29
+ top: -23px;
30
+ left: 0px;
31
+ right: 0px;
32
+ height: 0px;
33
+ background: variables.$hero;
34
+ transition: height 0.3s ease;
35
+ }
36
+ &.fwe-selected {
37
+ color: variables.$hero;
38
+ cursor: default;
39
+ :after {
40
+ height: 4px;
41
+ }
42
+ }
43
+ &:active {
44
+ color: variables.$hero-active;
45
+ }
46
+ }
47
+ }
@@ -1,116 +1,116 @@
1
- @use "mixins";
2
- @use "variables";
3
-
4
- .fwe-bottom-sheet {
5
- &-header {
6
- position: relative;
7
- display: flex;
8
- justify-content: center;
9
- align-items: center;
10
- }
11
-
12
- &-drag-handle-container {
13
- width: 100%;
14
- height: 36px;
15
- display: flex;
16
- justify-content: center;
17
- align-items: center;
18
- cursor: pointer;
19
- }
20
-
21
- &-drag-handle {
22
- width: variables.$spacer-l;
23
- height: variables.$spacer-xxxs;
24
- background-color: variables.$hero-gray;
25
- border-radius: 3px;
26
- margin: variables.$spacer 0;
27
- }
28
-
29
- &-toggle-btn {
30
- position: absolute;
31
- top: 50%;
32
- transform: translateY(-50%);
33
- left: variables.$spacer-s;
34
- }
35
-
36
- &-close-btn {
37
- width: variables.$spacer-m;
38
- height: variables.$spacer-m;
39
- position: absolute;
40
- right: 20px;
41
- top: 20px;
42
- padding: 0;
43
- border: none;
44
- min-width: variables.$spacer-m;
45
- cursor: pointer;
46
- background: variables.$text;
47
- mask-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij48ZyB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMjExIC0xODMpIj48cGF0aCBkPSJNMCwwSDI0VjI0SDBaIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgyMTEgMTgzKSIgZmlsbD0ibm9uZSIvPjxnIHRyYW5zZm9ybT0idHJhbnNsYXRlKDIxNSAxODcpIj48cmVjdCB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIGZpbGw9Im5vbmUiLz48cGF0aCBkPSJNMTIuOTUsNC40NjQsMTEuNTM2LDMuMDUsOCw2LjU4Niw0LjQ2NCwzLjA1LDMuMDUsNC40NjQsNi41ODYsOCwzLjA1LDExLjUzNiw0LjQ2NCwxMi45NSw4LDkuNDE0bDMuNTM2LDMuNTM2LDEuNDE0LTEuNDE0TDkuNDE0LDhaIiBmaWxsPSIjMzMzIi8+PC9nPjxnIHRyYW5zZm9ybT0idHJhbnNsYXRlKDIxNSAxODcpIj48cmVjdCB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIGZpbGw9Im5vbmUiLz48cGF0aCBkPSJNMTIuOTUsNC40NjQsMTEuNTM2LDMuMDUsOCw2LjU4Niw0LjQ2NCwzLjA1LDMuMDUsNC40NjQsNi41ODYsOCwzLjA1LDExLjUzNiw0LjQ2NCwxMi45NSw4LDkuNDE0bDMuNTM2LDMuNTM2LDEuNDE0LTEuNDE0TDkuNDE0LDhaIiBmaWxsPSIjMzMzIi8+PC9nPjwvZz48L3N2Zz4=");
48
- }
49
-
50
- &-backdrop {
51
- position: fixed;
52
- top: 0;
53
- left: 0;
54
-
55
- background: rgba(0, 0, 0, 0.5);
56
- z-index: variables.$zindex-modal-backdrop;
57
- opacity: 0;
58
- transition: opacity 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
59
-
60
- &--visible {
61
- opacity: 1;
62
- right: 0;
63
- bottom: 0;
64
- }
65
- }
66
-
67
- &-container {
68
- position: fixed;
69
- bottom: 0;
70
- left: 50%;
71
- right: 50%;
72
- background: variables.$white;
73
- box-shadow: 0px 1px 8px #33333333;
74
- z-index: variables.$zindex-modal;
75
- border-radius: variables.$spacer-xs variables.$spacer-xs 0 0;
76
- overflow: hidden;
77
- opacity: 0;
78
- max-width: 768px;
79
- width: 100%;
80
- transform: translateX(-50%) translateY(100%);
81
- transition: height 0.3s ease-in-out, transform 0.4s cubic-bezier(0.83, 0, 0.17, 1);
82
-
83
- &--open {
84
- height: 12.5vh;
85
- opacity: 1;
86
- transform: translateX(-50%) translateY(0);
87
-
88
- &.fwe-bottom-sheet-container--expand-from-center {
89
- height: 55vh;
90
-
91
- &.fwe-bottom-sheet-container--expanded {
92
- height: calc(100vh - 64px);
93
- }
94
- }
95
-
96
- &.fwe-bottom-sheet-container--closing {
97
- transform: translateX(-50%) translateY(100%);
98
- }
99
- }
100
-
101
- &--expanded {
102
- height: calc(100vh - 64px);
103
- }
104
-
105
- &--with-backdrop {
106
- box-shadow: none;
107
- }
108
- }
109
-
110
- &-content {
111
- padding: variables.$spacer variables.$spacer-l;
112
- height: calc(100% - variables.$spacer-l);
113
- overflow-y: auto;
114
- @include mixins.custom-scrollbar;
115
- }
116
- }
1
+ @use "mixins";
2
+ @use "variables";
3
+
4
+ .fwe-bottom-sheet {
5
+ &-header {
6
+ position: relative;
7
+ display: flex;
8
+ justify-content: center;
9
+ align-items: center;
10
+ }
11
+
12
+ &-drag-handle-container {
13
+ width: 100%;
14
+ height: 36px;
15
+ display: flex;
16
+ justify-content: center;
17
+ align-items: center;
18
+ cursor: pointer;
19
+ }
20
+
21
+ &-drag-handle {
22
+ width: variables.$spacer-l;
23
+ height: variables.$spacer-xxxs;
24
+ background-color: variables.$hero-gray;
25
+ border-radius: 3px;
26
+ margin: variables.$spacer 0;
27
+ }
28
+
29
+ &-toggle-btn {
30
+ position: absolute;
31
+ top: 50%;
32
+ transform: translateY(-50%);
33
+ left: variables.$spacer-s;
34
+ }
35
+
36
+ &-close-btn {
37
+ width: variables.$spacer-m;
38
+ height: variables.$spacer-m;
39
+ position: absolute;
40
+ right: 20px;
41
+ top: 20px;
42
+ padding: 0;
43
+ border: none;
44
+ min-width: variables.$spacer-m;
45
+ cursor: pointer;
46
+ background: variables.$text;
47
+ mask-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij48ZyB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMjExIC0xODMpIj48cGF0aCBkPSJNMCwwSDI0VjI0SDBaIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgyMTEgMTgzKSIgZmlsbD0ibm9uZSIvPjxnIHRyYW5zZm9ybT0idHJhbnNsYXRlKDIxNSAxODcpIj48cmVjdCB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIGZpbGw9Im5vbmUiLz48cGF0aCBkPSJNMTIuOTUsNC40NjQsMTEuNTM2LDMuMDUsOCw2LjU4Niw0LjQ2NCwzLjA1LDMuMDUsNC40NjQsNi41ODYsOCwzLjA1LDExLjUzNiw0LjQ2NCwxMi45NSw4LDkuNDE0bDMuNTM2LDMuNTM2LDEuNDE0LTEuNDE0TDkuNDE0LDhaIiBmaWxsPSIjMzMzIi8+PC9nPjxnIHRyYW5zZm9ybT0idHJhbnNsYXRlKDIxNSAxODcpIj48cmVjdCB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIGZpbGw9Im5vbmUiLz48cGF0aCBkPSJNMTIuOTUsNC40NjQsMTEuNTM2LDMuMDUsOCw2LjU4Niw0LjQ2NCwzLjA1LDMuMDUsNC40NjQsNi41ODYsOCwzLjA1LDExLjUzNiw0LjQ2NCwxMi45NSw4LDkuNDE0bDMuNTM2LDMuNTM2LDEuNDE0LTEuNDE0TDkuNDE0LDhaIiBmaWxsPSIjMzMzIi8+PC9nPjwvZz48L3N2Zz4=");
48
+ }
49
+
50
+ &-backdrop {
51
+ position: fixed;
52
+ top: 0;
53
+ left: 0;
54
+
55
+ background: rgba(0, 0, 0, 0.5);
56
+ z-index: variables.$zindex-modal-backdrop;
57
+ opacity: 0;
58
+ transition: opacity 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
59
+
60
+ &--visible {
61
+ opacity: 1;
62
+ right: 0;
63
+ bottom: 0;
64
+ }
65
+ }
66
+
67
+ &-container {
68
+ position: fixed;
69
+ bottom: 0;
70
+ left: 50%;
71
+ right: 50%;
72
+ background: variables.$white;
73
+ box-shadow: 0px 1px 8px #33333333;
74
+ z-index: variables.$zindex-modal;
75
+ border-radius: variables.$spacer-xs variables.$spacer-xs 0 0;
76
+ overflow: hidden;
77
+ opacity: 0;
78
+ max-width: 768px;
79
+ width: 100%;
80
+ transform: translateX(-50%) translateY(100%);
81
+ transition: height 0.3s ease-in-out, transform 0.4s cubic-bezier(0.83, 0, 0.17, 1);
82
+
83
+ &--open {
84
+ height: 12.5vh;
85
+ opacity: 1;
86
+ transform: translateX(-50%) translateY(0);
87
+
88
+ &.fwe-bottom-sheet-container--expand-from-center {
89
+ height: 55vh;
90
+
91
+ &.fwe-bottom-sheet-container--expanded {
92
+ height: calc(100vh - 64px);
93
+ }
94
+ }
95
+
96
+ &.fwe-bottom-sheet-container--closing {
97
+ transform: translateX(-50%) translateY(100%);
98
+ }
99
+ }
100
+
101
+ &--expanded {
102
+ height: calc(100vh - 64px);
103
+ }
104
+
105
+ &--with-backdrop {
106
+ box-shadow: none;
107
+ }
108
+ }
109
+
110
+ &-content {
111
+ padding: variables.$spacer variables.$spacer-l;
112
+ height: calc(100% - variables.$spacer-l);
113
+ overflow-y: auto;
114
+ @include mixins.custom-scrollbar;
115
+ }
116
+ }
package/scss/_colors.scss CHANGED
@@ -1,11 +1,11 @@
1
- @use "variables";
2
-
3
- @each $key, $value in variables.$colors {
4
- .fwe-color-#{$key} {
5
- color: $value !important;
6
- }
7
-
8
- .fwe-bg-#{$key} {
9
- background-color: $value !important;
10
- }
11
- }
1
+ @use "variables";
2
+
3
+ @each $key, $value in variables.$colors {
4
+ .fwe-color-#{$key} {
5
+ color: $value !important;
6
+ }
7
+
8
+ .fwe-bg-#{$key} {
9
+ background-color: $value !important;
10
+ }
11
+ }