@esportsplus/ui 0.0.1

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 (127) hide show
  1. package/.editorconfig +9 -0
  2. package/.gitattributes +2 -0
  3. package/components/accordion/scss/accordion.scss +16 -0
  4. package/components/accordion/scss/variables.scss +4 -0
  5. package/components/alert/scss/alert.scss +104 -0
  6. package/components/alert/scss/variables.scss +25 -0
  7. package/components/anchor/scss/anchor.scss +41 -0
  8. package/components/anchor/scss/anchors.scss +9 -0
  9. package/components/anchor/scss/variables.scss +5 -0
  10. package/components/banner/scss/banner.scss +13 -0
  11. package/components/border/scss/border.scss +10 -0
  12. package/components/border/scss/variables.scss +6 -0
  13. package/components/bubble/scss/bubble.scss +30 -0
  14. package/components/bubble/scss/variables.scss +19 -0
  15. package/components/button/scss/button.scss +93 -0
  16. package/components/button/scss/variables.scss +70 -0
  17. package/components/card/scss/card.scss +36 -0
  18. package/components/card/scss/variables.scss +42 -0
  19. package/components/container/scss/container.scss +10 -0
  20. package/components/container/scss/variables.scss +5 -0
  21. package/components/ellipsis/scss/ellipsis.scss +72 -0
  22. package/components/ellipsis/scss/variables.scss +3 -0
  23. package/components/field/scss/_check.scss +225 -0
  24. package/components/field/scss/_normalize.scss +36 -0
  25. package/components/field/scss/_text.scss +103 -0
  26. package/components/field/scss/field.scss +132 -0
  27. package/components/field/scss/variables.scss +133 -0
  28. package/components/group/scss/group.scss +41 -0
  29. package/components/group/scss/variables.scss +25 -0
  30. package/components/icon/scss/icon.scss +18 -0
  31. package/components/icon/scss/variables.scss +8 -0
  32. package/components/link/scss/link.scss +29 -0
  33. package/components/link/scss/variables.scss +48 -0
  34. package/components/loading/scss/loading.scss +24 -0
  35. package/components/loading/scss/variables.scss +31 -0
  36. package/components/page/scss/page.scss +22 -0
  37. package/components/page/scss/variables.scss +19 -0
  38. package/components/processing/scss/processing.scss +47 -0
  39. package/components/processing/scss/variables.scss +11 -0
  40. package/components/root/scss/root.scss +93 -0
  41. package/components/root/scss/variables.scss +54 -0
  42. package/components/row/scss/row.scss +8 -0
  43. package/components/row/scss/variables.scss +3 -0
  44. package/components/scrollbar/scss/scrollbar.scss +51 -0
  45. package/components/scrollbar/scss/variables.scss +8 -0
  46. package/components/sidebar/scss/sidebar.scss +50 -0
  47. package/components/sidebar/scss/sidebars.scss +13 -0
  48. package/components/sidebar/scss/variables.scss +25 -0
  49. package/components/site/scss/site.scss +3 -0
  50. package/components/text/scss/text.scss +12 -0
  51. package/components/text/scss/variables.scss +9 -0
  52. package/components/thumbnail/scss/thumbnail.scss +7 -0
  53. package/components/thumbnail/scss/variables.scss +7 -0
  54. package/components/tooltip/scss/_center.scss +13 -0
  55. package/components/tooltip/scss/_east.scss +34 -0
  56. package/components/tooltip/scss/_north.scss +34 -0
  57. package/components/tooltip/scss/_south.scss +35 -0
  58. package/components/tooltip/scss/_west.scss +34 -0
  59. package/components/tooltip/scss/tooltip.scss +107 -0
  60. package/components/tooltip/scss/variables.scss +25 -0
  61. package/css-utilities/[margin,padding]/scss/styles.scss +41 -0
  62. package/css-utilities/[margin,padding]/scss/variables.scss +52 -0
  63. package/css-utilities/[max,min]/scss/styles.scss +11 -0
  64. package/css-utilities/[max,min]/scss/variables.scss +23 -0
  65. package/css-utilities/absolute/scss/absolute.scss +59 -0
  66. package/css-utilities/background/scss/variables.scss +28 -0
  67. package/css-utilities/border/scss/border.scss +21 -0
  68. package/css-utilities/border/scss/variables.scss +66 -0
  69. package/css-utilities/color/scss/variables.scss +32 -0
  70. package/css-utilities/disabled/scss/disabled.scss +17 -0
  71. package/css-utilities/disabled/scss/variables.scss +4 -0
  72. package/css-utilities/flex/scss/flex.scss +67 -0
  73. package/css-utilities/hidden/scss/hidden.scss +28 -0
  74. package/css-utilities/index.scss +14 -0
  75. package/css-utilities/inline/scss/inline.scss +7 -0
  76. package/css-utilities/line-height/scss/variables.scss +10 -0
  77. package/css-utilities/not-allowed/scss/not-allowed.scss +14 -0
  78. package/css-utilities/overflow/scss/overflow.scss +5 -0
  79. package/css-utilities/pointer/scss/pointer.scss +5 -0
  80. package/css-utilities/size/scss/variables.scss +12 -0
  81. package/css-utilities/slide/scss/slide.scss +20 -0
  82. package/css-utilities/slide/scss/variables.scss +6 -0
  83. package/css-utilities/text/scss/text.scss +93 -0
  84. package/css-utilities/text/scss/variables.scss +31 -0
  85. package/css-utilities/width/scss/variables.scss +12 -0
  86. package/css-utilities/width/scss/width.scss +3 -0
  87. package/index.scss +1 -0
  88. package/lib/index.scss +7 -0
  89. package/lib/scss/breakpoint.scss +41 -0
  90. package/lib/scss/color.scss +8 -0
  91. package/lib/scss/css-variables.scss +13 -0
  92. package/lib/scss/list.scss +112 -0
  93. package/lib/scss/map.scss +8 -0
  94. package/lib/scss/position.scss +84 -0
  95. package/lib/scss/string.scss +54 -0
  96. package/package.json +22 -0
  97. package/storage/fonts/Montserrat/fonts/Montserrat-Bold.woff +0 -0
  98. package/storage/fonts/Montserrat/fonts/Montserrat-Bold.woff2 +0 -0
  99. package/storage/fonts/Montserrat/fonts/Montserrat-BoldItalic.woff +0 -0
  100. package/storage/fonts/Montserrat/fonts/Montserrat-BoldItalic.woff2 +0 -0
  101. package/storage/fonts/Montserrat/fonts/Montserrat-Italic.woff +0 -0
  102. package/storage/fonts/Montserrat/fonts/Montserrat-Italic.woff2 +0 -0
  103. package/storage/fonts/Montserrat/fonts/Montserrat-Medium.woff +0 -0
  104. package/storage/fonts/Montserrat/fonts/Montserrat-Medium.woff2 +0 -0
  105. package/storage/fonts/Montserrat/fonts/Montserrat-MediumItalic.woff +0 -0
  106. package/storage/fonts/Montserrat/fonts/Montserrat-MediumItalic.woff2 +0 -0
  107. package/storage/fonts/Montserrat/fonts/Montserrat-Regular.woff +0 -0
  108. package/storage/fonts/Montserrat/fonts/Montserrat-Regular.woff2 +0 -0
  109. package/storage/fonts/Montserrat/fonts/Montserrat-SemiBold.woff +0 -0
  110. package/storage/fonts/Montserrat/fonts/Montserrat-SemiBold.woff2 +0 -0
  111. package/storage/fonts/Montserrat/fonts/Montserrat-SemiBoldItalic.woff +0 -0
  112. package/storage/fonts/Montserrat/fonts/Montserrat-SemiBoldItalic.woff2 +0 -0
  113. package/storage/fonts/Montserrat/montserrat.css +79 -0
  114. package/storage/psd/Color Palette.psd +0 -0
  115. package/tokens/index.scss +11 -0
  116. package/tokens/scss/border-radius.scss +12 -0
  117. package/tokens/scss/border-width.scss +6 -0
  118. package/tokens/scss/box-shadow.scss +13 -0
  119. package/tokens/scss/breakpoints.scss +13 -0
  120. package/tokens/scss/color.scss +71 -0
  121. package/tokens/scss/font-size.scss +12 -0
  122. package/tokens/scss/font-weight.scss +6 -0
  123. package/tokens/scss/line-height.scss +6 -0
  124. package/tokens/scss/size.scss +13 -0
  125. package/tokens/scss/state.scss +93 -0
  126. package/tokens/scss/transition-duration.scss +5 -0
  127. package/webpack.sass.config.js +59 -0
package/.editorconfig ADDED
@@ -0,0 +1,9 @@
1
+ root = true
2
+
3
+ [*]
4
+ indent_style = space
5
+ indent_size = 4
6
+ charset = utf-8
7
+ trim_trailing_whitespace = true
8
+ insert_final_newline = true
9
+ end_of_line = lf
package/.gitattributes ADDED
@@ -0,0 +1,2 @@
1
+ # Auto detect text files and perform LF normalization
2
+ * text=auto
@@ -0,0 +1,16 @@
1
+ @use 'ui/tokens';
2
+
3
+ .accordion {
4
+ max-height: var(--max-height);
5
+ opacity: 0;
6
+ pointer-events: none;
7
+ transition:
8
+ max-height var(--transition-duration) ease-in-out,
9
+ opacity var(--transition-duration) ease-in-out;
10
+
11
+
12
+ @include tokens.state(active) {
13
+ opacity: 1;
14
+ pointer-events: auto;
15
+ }
16
+ }
@@ -0,0 +1,4 @@
1
+ .accordion {
2
+ --max-height: 0;
3
+ --transition-duration: var(--transition-duration-400);
4
+ }
@@ -0,0 +1,104 @@
1
+ /**
2
+ *------------------------------------------------------------------------------
3
+ *
4
+ * Alert Notifications
5
+ *
6
+ * Anchors Module Provides Positioning
7
+ *
8
+ */
9
+
10
+ @use 'ui/lib';
11
+ @use 'ui/tokens';
12
+
13
+ .alert {
14
+ max-width: calc(100% - (var(--margin-horizontal) * 2));
15
+ width: var(--width);
16
+
17
+
18
+ &--deactivating {
19
+ opacity: 0;
20
+ transform: translateY(-50%);
21
+ }
22
+
23
+ &--activating {
24
+ @include tokens.state(inactive) {
25
+ transform: translateY(50%);
26
+ }
27
+ }
28
+
29
+
30
+ &-message,
31
+ &-processing {
32
+ opacity: 0;
33
+ transition:
34
+ opacity var(--transition-duration) ease-in-out,
35
+ transform var(--transition-duration) ease-in-out;
36
+
37
+ @include tokens.state(inactive) {
38
+ pointer-events: none;
39
+ position: absolute;
40
+ transform: translateX(calc(25% * #{var(--multiplier)}));
41
+ left: 0;
42
+ top: 0;
43
+ }
44
+
45
+ @include tokens.state(active) {
46
+ opacity: 1;
47
+ }
48
+ }
49
+
50
+ &-close {
51
+ @include lib.position(absolute, 0 100% 0 null);
52
+ animation: alert-close var(--transition-duration) ease-in-out;
53
+ transition: transform var(--transition-duration) ease-in-out;
54
+ z-index: 0;
55
+ }
56
+
57
+ &-message {
58
+ --multiplier: -1;
59
+ }
60
+
61
+ &-processing {
62
+ --multiplier: 1;
63
+ }
64
+
65
+ &-timer {
66
+ height: var(--height);
67
+ transition: opacity var(--transition-duration) ease-in-out;
68
+ width: var(--width);
69
+
70
+ &-bg,
71
+ &-meter {
72
+ fill: none;
73
+ stroke-width: var(--border-width);
74
+ stroke: var(--border-color);
75
+ }
76
+
77
+ &-meter {
78
+ stroke-linecap: round;
79
+ stroke-dasharray: 360;
80
+ stroke-dashoffset: 0;
81
+ animation: alert-timer var(--animation-duration) ease-in-out;
82
+ transform: rotate(-90deg);
83
+ transform-origin: 50% 50%;
84
+ }
85
+ }
86
+ }
87
+
88
+ @keyframes alert-close {
89
+ from {
90
+ transform: translateX(150%);
91
+ }
92
+ to {
93
+ transform: translateX(0);
94
+ }
95
+ }
96
+
97
+ @keyframes alert-timer {
98
+ from {
99
+ stroke-dashoffset: 360;
100
+ }
101
+ to {
102
+ stroke-dashoffset: 0;
103
+ }
104
+ }
@@ -0,0 +1,25 @@
1
+ .alert {
2
+ --width: 480px;
3
+
4
+ &-close,
5
+ &-message,
6
+ &-processing {
7
+ --transition-duration: var(--transition-duration-400);
8
+ }
9
+
10
+ &-timer {
11
+ --animation-duration: 5s;
12
+ --background: var(--color-black-400);
13
+ --border-width: var(--border-width-700);
14
+ --height: var(--size-600);
15
+ --width: var(--size-600);
16
+
17
+ &-bg {
18
+ --border-color: var(--color-grey-500);
19
+ }
20
+
21
+ &-meter {
22
+ --border-color: var(--color-black-300);
23
+ }
24
+ }
25
+ }
@@ -0,0 +1,41 @@
1
+ @use 'ui/lib';
2
+ @use 'ui/tokens';
3
+
4
+ .anchor {
5
+ max-height: calc(100% - (var(--margin-vertical) * 2));
6
+ max-width: calc(100% - (var(--margin-horizontal) * 2));
7
+ pointer-events: auto;
8
+ position: absolute;
9
+ transition:
10
+ opacity var(--transition-duration) ease-in-out,
11
+ transform var(--transition-duration) ease-in-out;
12
+
13
+ @include tokens.state(inactive) {
14
+ opacity: 0;
15
+
16
+ &, * {
17
+ pointer-events: none;
18
+ }
19
+ }
20
+
21
+
22
+ &--ne,
23
+ &--nw {
24
+ top: var(--margin-vertical);
25
+ }
26
+
27
+ &--se,
28
+ &--sw {
29
+ bottom: var(--margin-vertical);
30
+ }
31
+
32
+ &--ne,
33
+ &--se {
34
+ right: var(--margin-horizontal);
35
+ }
36
+
37
+ &--nw,
38
+ &--sw {
39
+ left: var(--margin-horizontal);
40
+ }
41
+ }
@@ -0,0 +1,9 @@
1
+ @use 'ui/lib';
2
+
3
+ .anchors {
4
+ @include lib.position(fixed, full);
5
+ height: 100vh;
6
+ pointer-events: none;
7
+ width: 100vw;
8
+ z-index: 9;
9
+ }
@@ -0,0 +1,5 @@
1
+ .anchor {
2
+ --margin-horizontal: var(--size-400);
3
+ --margin-vertical: var(--size-400);
4
+ --transition-duration: var(--transition-duration-400);
5
+ }
@@ -0,0 +1,13 @@
1
+ @use 'ui/lib';
2
+
3
+ .banner {
4
+ @include lib.position(absolute, full);
5
+ background-position: center;
6
+ background-size: cover;
7
+ z-index: -1;
8
+
9
+
10
+ &--fixed {
11
+ position: fixed;
12
+ }
13
+ }
@@ -0,0 +1,10 @@
1
+ .border {
2
+ border-top: var(--border-width) var(--border-style) var(--border-color);
3
+ position: relative;
4
+ width: 100%;
5
+
6
+
7
+ & + & {
8
+ display: none;
9
+ }
10
+ }
@@ -0,0 +1,6 @@
1
+ .border {
2
+ --border-color: var(--border-color-default);
3
+ --border-color-default: var(--color-border-400);
4
+ --border-style: solid;
5
+ --border-width: var(--border-width-400);
6
+ }
@@ -0,0 +1,30 @@
1
+ .bubble {
2
+ background: var(--background);
3
+ border-radius: var(--border-radius);
4
+ height: var(--height);
5
+ width: var(--width);
6
+
7
+
8
+ &--bottom,
9
+ &--top {
10
+ &-left,
11
+ &-right {
12
+ position: absolute;
13
+ }
14
+
15
+ @each $direction in 'left' 'right' {
16
+ &-#{$direction} {
17
+ #{$direction}: var(--position-horizontal);
18
+ }
19
+ }
20
+ }
21
+
22
+ @each $direction in 'bottom' 'top' {
23
+ &--#{$direction} {
24
+ &-left,
25
+ &-right {
26
+ #{$direction}: var(--position-vertical);
27
+ }
28
+ }
29
+ }
30
+ }
@@ -0,0 +1,19 @@
1
+ .bubble {
2
+ --background: var(--background-default);
3
+ --background-default: var(--color-border-400);
4
+ --border-radius: var(--border-radius-circle);
5
+ --height: var(--size);
6
+ --margin-horizontal: var(--size-100);
7
+ --width: var(--size);
8
+ --size: 6px;
9
+
10
+
11
+ &--bottom,
12
+ &--top {
13
+ &-left,
14
+ &-right {
15
+ --position-horizontal: calc(var(--size) / -2);
16
+ --position-vertical: calc(var(--size) / -2);
17
+ }
18
+ }
19
+ }
@@ -0,0 +1,93 @@
1
+ @use 'ui/lib';
2
+ @use 'ui/tokens';
3
+
4
+ .button {
5
+ align-content: center;
6
+ align-items: center;
7
+ background: var(--background);
8
+ border-radius: var(--border-radius);
9
+ color: var(--color);
10
+ cursor: pointer;
11
+ display: flex;
12
+ flex-wrap: wrap;
13
+ font-size: var(--font-size);
14
+ font-weight: var(--font-weight);
15
+ justify-content: center;
16
+ line-height: var(--line-height);
17
+ min-width: var(--min-width);
18
+ padding: calc(var(--padding-vertical) - var(--border-width)) calc(var(--padding-horizontal) - var(--border-width));
19
+ position: relative;
20
+ transition: all var(--transition-duration) ease-in-out;
21
+ width: var(--width);
22
+
23
+
24
+ // Pseudo Element Box Shadow
25
+ &::after {
26
+ @include lib.position(absolute, full);
27
+ border-radius: inherit;
28
+ box-shadow: var(--box-shadow);
29
+ content: '';
30
+ pointer-events: none;
31
+ transition:
32
+ box-shadow var(--transition-duration) ease-in-out,
33
+ opacity var(--transition-duration) ease-in-out;
34
+ z-index: 0;
35
+ }
36
+
37
+
38
+ &--flat {
39
+ &::after {
40
+ display: none;
41
+ }
42
+ }
43
+
44
+ &--processing {
45
+ color: transparent;
46
+ pointer-events: none;
47
+
48
+ &::before {
49
+ @include lib.position(absolute, center);
50
+ animation: button--processing var(--animation-duration) infinite linear;
51
+ border: var(--border-width) solid var(--border-color);
52
+ border-radius: 100%;
53
+ border-right-color: transparent;
54
+ border-top-color: transparent;
55
+ content: '';
56
+ height: var(--size);
57
+ width: var(--size);
58
+ }
59
+
60
+ * {
61
+ opacity: 0;
62
+ }
63
+
64
+ @keyframes button--processing {
65
+ 0% {
66
+ transform: translate(50%, 50%) rotate(0deg);
67
+ }
68
+ 100% {
69
+ transform: translate(50%, 50%) rotate(359deg);
70
+ }
71
+ }
72
+ }
73
+
74
+ &--top {
75
+ &-left,
76
+ &-right {
77
+ position: absolute;
78
+ top: calc((#{var(--padding-vertical)} + #{var(--line-height) / 2}) * -1);
79
+ }
80
+
81
+ @each $direction in 'left' 'right' {
82
+ &-#{$direction} {
83
+ #{$direction}: calc((#{var(--padding-horizontal)} + #{var(--line-height) / 2}) * -1);
84
+ }
85
+ }
86
+ }
87
+
88
+ &--underline {
89
+ @include tokens.state(active hover) {
90
+ text-decoration: underline;
91
+ }
92
+ }
93
+ }
@@ -0,0 +1,70 @@
1
+ @use 'ui/lib';
2
+ @use 'ui/tokens';
3
+
4
+ .button {
5
+ --background: var(--background-default);
6
+ --background-active: var(--background-default);
7
+ --background-default: transparent;
8
+ --background-hover: var(--background-default);
9
+ --background-pressed: var(--background-default);
10
+ --border-color: var(--border-color-default);
11
+ --border-color-active: var(--border-color-default);
12
+ --border-color-default: var(--background);
13
+ --border-color-hover: var(--border-color-default);
14
+ --border-color-pressed: var(--border-color-default);
15
+ --border-radius: var(--border-radius-400);
16
+ --border-width: 0px;
17
+ --box-shadow: var(--box-shadow-default);
18
+ --box-shadow-active: var(--box-shadow-300);
19
+ --box-shadow-default: none;
20
+ --box-shadow-hover: var(--box-shadow-400);
21
+ --box-shadow-pressed: none;
22
+ --color: var(--color-default);
23
+ --color-active: var(--color-default);
24
+ --color-default: var(--color-text-400);
25
+ --color-hover: var(--color-default);
26
+ --color-pressed: var(--color-default);
27
+ --font-size: var(--font-size-400);
28
+ --font-weight: var(--font-weight-400);
29
+ --line-height: var(--line-height-400);
30
+ --min-width: auto;
31
+ --padding-horizontal: var(--size-400);
32
+ --padding-vertical: var(--size-400);
33
+ --transition-duration: var(--transition-duration-400);
34
+ --width: auto;
35
+
36
+ @include tokens.state(active) {
37
+ --background: var(--background-active);
38
+ --border-color: var(--border-color-active);
39
+ --box-shadow: var(--box-shadow-active);
40
+ --color: var(--color-active);
41
+ }
42
+
43
+ @include tokens.state(hover) {
44
+ --background: var(--background-hover);
45
+ --border-color: var(--border-color-hover);
46
+ --box-shadow: var(--box-shadow-hover);
47
+ --color: var(--color-hover);
48
+ }
49
+
50
+ @include tokens.state(pressed) {
51
+ --background: var(--background-pressed);
52
+ --border-color: var(--border-color-pressed);
53
+ --box-shadow: var(--box-shadow-pressed);
54
+ --color: var(--color-pressed);
55
+ }
56
+
57
+
58
+ &--processing {
59
+ --animation-duration: 0.64s;
60
+ --border-color: var(--color);
61
+ --border-width: var(--border-width-400);
62
+ --size: var(--size-400);
63
+
64
+ @each $key in lib.map-keys(tokens.$border-width) {
65
+ &-#{$key} {
66
+ --border-width: var(--border-width-#{$key});
67
+ }
68
+ }
69
+ }
70
+ }
@@ -0,0 +1,36 @@
1
+ @use 'ui/lib';
2
+ @use 'ui/tokens';
3
+
4
+ .card {
5
+ background: var(--background);
6
+ border-radius: var(--border-radius);
7
+ padding: var(--padding-vertical) var(--padding-horizontal);
8
+ position: relative;
9
+ transition:
10
+ background var(--transition-duration) ease-in-out,
11
+ border-color var(--transition-duration) ease-in-out,
12
+ box-shadow var(--transition-duration) ease-in-out,
13
+ max-height var(--transition-duration) ease-in-out;
14
+ width: var(--width);
15
+
16
+
17
+ // Pseudo Element Box Shadow
18
+ &::after {
19
+ @include lib.position(absolute, full);
20
+ border-radius: inherit;
21
+ box-shadow: var(--box-shadow);
22
+ content: '';
23
+ pointer-events: none;
24
+ transition:
25
+ box-shadow var(--transition-duration) ease-in-out,
26
+ opacity var(--transition-duration) ease-in-out;
27
+ z-index: 0;
28
+ }
29
+
30
+
31
+ &--flat {
32
+ &::after {
33
+ display: none;
34
+ }
35
+ }
36
+ }
@@ -0,0 +1,42 @@
1
+ @use 'ui/tokens';
2
+
3
+ .card {
4
+ --background: var(--background-default);
5
+ --background-active: var(--background-default);
6
+ --background-default: transparent;
7
+ --background-hover: var(--background-default);
8
+ --background-pressed: var(--background-default);
9
+ --border-color: var(--border-color-default);
10
+ --border-color-active: var(--border-color-default);
11
+ --border-color-default: var(--background);
12
+ --border-color-hover: var(--border-color-default);
13
+ --border-color-pressed: var(--border-color-default);
14
+ --border-radius: var(--border-radius-400);
15
+ --box-shadow: var(--box-shadow-default);
16
+ --box-shadow-active: var(--box-shadow-300);
17
+ --box-shadow-default: none;
18
+ --box-shadow-hover: var(--box-shadow-300);
19
+ --box-shadow-pressed: none;
20
+ --padding-horizontal: 0px;
21
+ --padding-vertical: 0px;
22
+ --transition-duration: var(--transition-duration-400);
23
+ --width: auto;
24
+
25
+ @include tokens.state(active) {
26
+ --background: var(--background-active);
27
+ --border-color: var(--border-color-active);
28
+ --box-shadow: var(--box-shadow-active);
29
+ }
30
+
31
+ @include tokens.state(hover) {
32
+ --background: var(--background-hover);
33
+ --border-color: var(--border-color-hover);
34
+ --box-shadow: var(--box-shadow-hover);
35
+ }
36
+
37
+ @include tokens.state(pressed) {
38
+ --background: var(--background-pressed);
39
+ --border-color: var(--border-color-pressed);
40
+ --box-shadow: var(--box-shadow-pressed);
41
+ }
42
+ }
@@ -0,0 +1,10 @@
1
+ .container {
2
+ display: flex;
3
+ flex-wrap: wrap;
4
+ justify-content: flex-start;
5
+ margin: 0 auto;
6
+ max-width: var(--max-width);
7
+ padding: var(--padding-vertical) var(--padding-horizontal);
8
+ position: relative;
9
+ width: 100%;
10
+ }
@@ -0,0 +1,5 @@
1
+ .container {
2
+ --max-width: 1400px;
3
+ --padding-horizontal: var(--size-600);
4
+ --padding-vertical: 0px;
5
+ }
@@ -0,0 +1,72 @@
1
+ .ellipsis {
2
+ &-dot {
3
+ &:nth-child(1) {
4
+ animation: ellipsis-dot-one var(--animation-duration) linear infinite;
5
+ }
6
+
7
+ &:nth-child(2) {
8
+ animation: ellipsis-dot-two var(--animation-duration) linear infinite;
9
+ }
10
+
11
+ &:nth-child(3) {
12
+ animation: ellipsis-dot-three var(--animation-duration) linear infinite;
13
+ }
14
+ }
15
+ }
16
+
17
+ @keyframes ellipsis-dot-one {
18
+ 0% {
19
+ opacity: 1;
20
+ }
21
+ 65% {
22
+ opacity: 1;
23
+ }
24
+ 66% {
25
+ opacity: 0;
26
+ }
27
+ 100% {
28
+ opacity: 0;
29
+ }
30
+ }
31
+
32
+ @keyframes ellipsis-dot-two {
33
+ 0% {
34
+ opacity: 0;
35
+ }
36
+ 21% {
37
+ opacity: 0;
38
+ }
39
+ 22% {
40
+ opacity: 1;
41
+ }
42
+ 65% {
43
+ opacity: 1;
44
+ }
45
+ 66% {
46
+ opacity: 0;
47
+ }
48
+ 100% {
49
+ opacity: 0;
50
+ }
51
+ }
52
+
53
+ @keyframes ellipsis-dot-three {
54
+ 0% {
55
+ opacity: 0;
56
+ }
57
+ 43% {
58
+ opacity: 0;
59
+ }
60
+ 44% {
61
+ opacity: 1;
62
+ }
63
+ 65% {
64
+ opacity: 1;
65
+ }
66
+ 66% {
67
+ opacity: 0;
68
+ }
69
+ 100% {
70
+ opacity: 0;
71
+ }
72
+ }
@@ -0,0 +1,3 @@
1
+ .ellipsis {
2
+ --animation-duration: 2s;
3
+ }