@pallamart/pm-design-system 1.0.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.
- package/README.md +21 -0
- package/dist/color.d.ts +19 -0
- package/dist/color.js +20 -0
- package/dist/external/index.d.ts +3 -0
- package/dist/external/index.js +3 -0
- package/dist/external/tailwind-preset.d.ts +1 -0
- package/dist/external/tailwind-preset.js +1 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +3 -0
- package/dist/internal/index.d.ts +2 -0
- package/dist/internal/index.js +2 -0
- package/dist/internal/tailwind-preset.d.ts +2 -0
- package/dist/internal/tailwind-preset.js +86 -0
- package/dist/shared-tailwind-theme.d.ts +131 -0
- package/dist/shared-tailwind-theme.js +95 -0
- package/dist/styles/components/auth/auth.css +25 -0
- package/dist/styles/components/auth/index.css +1 -0
- package/dist/styles/components/buttons/accent-link.css +15 -0
- package/dist/styles/components/buttons/index.css +4 -0
- package/dist/styles/components/buttons/link.css +31 -0
- package/dist/styles/components/buttons/primary-button.css +25 -0
- package/dist/styles/components/buttons/secondary-button.css +25 -0
- package/dist/styles/components/containers/card.css +12 -0
- package/dist/styles/components/containers/index.css +1 -0
- package/dist/styles/components/form/checkbox.css +26 -0
- package/dist/styles/components/form/form-input.css +40 -0
- package/dist/styles/components/form/index.css +2 -0
- package/dist/styles/components/index.css +5 -0
- package/dist/styles/components/loaders/dot-loader-dark.css +103 -0
- package/dist/styles/components/loaders/dot-loader.css +103 -0
- package/dist/styles/components/loaders/index.css +2 -0
- package/dist/styles/external/components/auth/auth.css +25 -0
- package/dist/styles/external/components/auth/index.css +1 -0
- package/dist/styles/external/components/buttons/accent-link.css +15 -0
- package/dist/styles/external/components/buttons/index.css +4 -0
- package/dist/styles/external/components/buttons/link.css +31 -0
- package/dist/styles/external/components/buttons/primary-button.css +25 -0
- package/dist/styles/external/components/buttons/secondary-button.css +25 -0
- package/dist/styles/external/components/containers/card.css +12 -0
- package/dist/styles/external/components/containers/index.css +1 -0
- package/dist/styles/external/components/form/checkbox.css +25 -0
- package/dist/styles/external/components/form/form-input.css +40 -0
- package/dist/styles/external/components/form/index.css +2 -0
- package/dist/styles/external/components/index.css +6 -0
- package/dist/styles/external/components/loaders/dot-loader-dark.css +103 -0
- package/dist/styles/external/components/loaders/dot-loader.css +103 -0
- package/dist/styles/external/components/loaders/index.css +2 -0
- package/dist/styles/external/components/products/index.css +1 -0
- package/dist/styles/external/components/products/product-studio.css +213 -0
- package/dist/styles/external/fonts/index.css +2 -0
- package/dist/styles/external/fonts/poppins.css +4 -0
- package/dist/styles/external/fonts/raleway.css +4 -0
- package/dist/styles/external/index/z-index.ts +8 -0
- package/dist/styles/external.css +39 -0
- package/dist/styles/fonts/index.css +2 -0
- package/dist/styles/fonts/poppins.css +4 -0
- package/dist/styles/fonts/raleway.css +4 -0
- package/dist/styles/index/z-index.ts +8 -0
- package/dist/styles/index.css +40 -0
- package/dist/styles/internal.css +159 -0
- package/dist/tailwind-preset.d.ts +2 -0
- package/dist/tailwind-preset.js +50 -0
- package/dist/z-index.d.ts +9 -0
- package/dist/z-index.js +10 -0
- package/package.json +103 -0
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
.dot-elastic-dark {
|
|
2
|
+
position: relative;
|
|
3
|
+
width: 10px;
|
|
4
|
+
height: 10px;
|
|
5
|
+
border-radius: 5px;
|
|
6
|
+
background-color: #9346f2;
|
|
7
|
+
color: #9346f2;
|
|
8
|
+
animation: dot-elastic 1s infinite linear;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.dot-elastic-dark::before,
|
|
12
|
+
.dot-elastic-dark::after {
|
|
13
|
+
content: '';
|
|
14
|
+
display: inline-block;
|
|
15
|
+
position: absolute;
|
|
16
|
+
top: 0;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.dot-elastic-dark::before {
|
|
20
|
+
left: -15px;
|
|
21
|
+
width: 10px;
|
|
22
|
+
height: 10px;
|
|
23
|
+
border-radius: 5px;
|
|
24
|
+
background-color: #9346f2;
|
|
25
|
+
color: #9346f2;
|
|
26
|
+
animation: dot-elastic-before 1s infinite linear;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.dot-elastic-dark::after {
|
|
30
|
+
left: 15px;
|
|
31
|
+
width: 10px;
|
|
32
|
+
height: 10px;
|
|
33
|
+
border-radius: 5px;
|
|
34
|
+
background-color: #9346f2;
|
|
35
|
+
color: #9346f2;
|
|
36
|
+
animation: dot-elastic-after 1s infinite linear;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
@keyframes dot-elastic-before {
|
|
40
|
+
0% {
|
|
41
|
+
transform: scale(1, 1);
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
25% {
|
|
45
|
+
transform: scale(1, 1.5);
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
50% {
|
|
49
|
+
transform: scale(1, 0.67);
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
75% {
|
|
53
|
+
transform: scale(1, 1);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
100% {
|
|
57
|
+
transform: scale(1, 1);
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
@keyframes dot-elastic {
|
|
62
|
+
0% {
|
|
63
|
+
transform: scale(1, 1);
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
25% {
|
|
67
|
+
transform: scale(1, 1);
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
50% {
|
|
71
|
+
transform: scale(1, 1.5);
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
75% {
|
|
75
|
+
transform: scale(1, 1);
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
100% {
|
|
79
|
+
transform: scale(1, 1);
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
@keyframes dot-elastic-after {
|
|
84
|
+
0% {
|
|
85
|
+
transform: scale(1, 1);
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
25% {
|
|
89
|
+
transform: scale(1, 1);
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
50% {
|
|
93
|
+
transform: scale(1, 0.67);
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
75% {
|
|
97
|
+
transform: scale(1, 1.5);
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
100% {
|
|
101
|
+
transform: scale(1, 1);
|
|
102
|
+
}
|
|
103
|
+
}
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
.dot-elastic {
|
|
2
|
+
position: relative;
|
|
3
|
+
width: 10px;
|
|
4
|
+
height: 10px;
|
|
5
|
+
border-radius: 5px;
|
|
6
|
+
background-color: #fff;
|
|
7
|
+
color: #fff;
|
|
8
|
+
animation: dot-elastic 1s infinite linear;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.dot-elastic::before,
|
|
12
|
+
.dot-elastic::after {
|
|
13
|
+
content: '';
|
|
14
|
+
display: inline-block;
|
|
15
|
+
position: absolute;
|
|
16
|
+
top: 0;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.dot-elastic::before {
|
|
20
|
+
left: -15px;
|
|
21
|
+
width: 10px;
|
|
22
|
+
height: 10px;
|
|
23
|
+
border-radius: 5px;
|
|
24
|
+
background-color: #fff;
|
|
25
|
+
color: #fff;
|
|
26
|
+
animation: dot-elastic-before 1s infinite linear;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.dot-elastic::after {
|
|
30
|
+
left: 15px;
|
|
31
|
+
width: 10px;
|
|
32
|
+
height: 10px;
|
|
33
|
+
border-radius: 5px;
|
|
34
|
+
background-color: #fff;
|
|
35
|
+
color: #fff;
|
|
36
|
+
animation: dot-elastic-after 1s infinite linear;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
@keyframes dot-elastic-before {
|
|
40
|
+
0% {
|
|
41
|
+
transform: scale(1, 1);
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
25% {
|
|
45
|
+
transform: scale(1, 1.5);
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
50% {
|
|
49
|
+
transform: scale(1, 0.67);
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
75% {
|
|
53
|
+
transform: scale(1, 1);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
100% {
|
|
57
|
+
transform: scale(1, 1);
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
@keyframes dot-elastic {
|
|
62
|
+
0% {
|
|
63
|
+
transform: scale(1, 1);
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
25% {
|
|
67
|
+
transform: scale(1, 1);
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
50% {
|
|
71
|
+
transform: scale(1, 1.5);
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
75% {
|
|
75
|
+
transform: scale(1, 1);
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
100% {
|
|
79
|
+
transform: scale(1, 1);
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
@keyframes dot-elastic-after {
|
|
84
|
+
0% {
|
|
85
|
+
transform: scale(1, 1);
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
25% {
|
|
89
|
+
transform: scale(1, 1);
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
50% {
|
|
93
|
+
transform: scale(1, 0.67);
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
75% {
|
|
97
|
+
transform: scale(1, 1.5);
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
100% {
|
|
101
|
+
transform: scale(1, 1);
|
|
102
|
+
}
|
|
103
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/* Base */
|
|
2
|
+
.pallamart-btn-auth-microsoft,
|
|
3
|
+
a.pallamart-btn-auth-microsoft {
|
|
4
|
+
@apply flex w-full items-center justify-center gap-4 rounded-xl border border-grey/20 bg-white px-5 py-4 text-body-2 text-black transition-colors;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.pallamart-btn-auth-microsoft:enabled,
|
|
8
|
+
a.pallamart-btn-auth-microsoft:not([aria-disabled='true']) {
|
|
9
|
+
@apply text-black bg-white border-grey/20;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.pallamart-btn-auth-microsoft:enabled:hover,
|
|
13
|
+
a.pallamart-btn-auth-microsoft:not([aria-disabled='true']):hover {
|
|
14
|
+
@apply bg-white border-grey/20;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.pallamart-btn-auth-microsoft:enabled:active,
|
|
18
|
+
a.pallamart-btn-auth-microsoft:not([aria-disabled='true']):active {
|
|
19
|
+
@apply bg-grey-light border-grey/20;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.pallamart-btn-auth-microsoft:disabled,
|
|
23
|
+
a.pallamart-btn-auth-microsoft[aria-disabled='true'] {
|
|
24
|
+
@apply text-grey-dark bg-grey-light border-grey/20;
|
|
25
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@import url('auth.css');
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/* Base */
|
|
2
|
+
.pallamart-link-accent,
|
|
3
|
+
a.pallamart-link-accent {
|
|
4
|
+
@apply px-3 py-2 rounded-full bg-primary tracking-wide shadow-lg transition-all;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.pallamart-link-accent:hover:not(:disabled),
|
|
8
|
+
a.pallamart-link-accent:not([aria-disabled='true']):hover {
|
|
9
|
+
@apply hover:bg-opacity-90;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.pallamart-link-accent:disabled,
|
|
13
|
+
a.pallamart-link-accent[aria-disabled='true'] {
|
|
14
|
+
@apply bg-grey text-black border-grey;
|
|
15
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/* Base */
|
|
2
|
+
.pallamart-link,
|
|
3
|
+
a.pallamart-link {
|
|
4
|
+
@apply text-primary;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.pallamart-link:disabled,
|
|
8
|
+
a.pallamart-link[aria-disabled='true'] {
|
|
9
|
+
@apply text-grey;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.pallamart-link:hover:not(:disabled),
|
|
13
|
+
a.pallamart-link:not([aria-disabled='true']):hover {
|
|
14
|
+
@apply underline;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
/* Danger */
|
|
18
|
+
.pallamart-link-danger,
|
|
19
|
+
a.pallamart-link-danger {
|
|
20
|
+
@apply text-error-contrast;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.pallamart-link-danger:disabled,
|
|
24
|
+
a.pallamart-link-danger[aria-disabled='true'] {
|
|
25
|
+
@apply text-grey;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.pallamart-link-danger:hover:not(:disabled),
|
|
29
|
+
a.pallamart-link-danger:not([aria-disabled='true']):hover {
|
|
30
|
+
@apply underline;
|
|
31
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/* Base */
|
|
2
|
+
.pallamart-btn-primary,
|
|
3
|
+
a.pallamart-btn-primary {
|
|
4
|
+
@apply inline-flex min-h-12 w-full items-center justify-center rounded-full border px-6 py-3 text-body-2 tracking-normal shadow-sm transition-all duration-200 sm:w-auto;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.pallamart-btn-primary:enabled,
|
|
8
|
+
a.pallamart-btn-primary:not([aria-disabled='true']) {
|
|
9
|
+
@apply border-primary bg-primary text-white;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.pallamart-btn-primary:enabled:hover,
|
|
13
|
+
a.pallamart-btn-primary:not([aria-disabled='true']):hover {
|
|
14
|
+
@apply border-primary-hover bg-primary-hover;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.pallamart-btn-primary:enabled:active,
|
|
18
|
+
a.pallamart-btn-primary:not([aria-disabled='true']):active {
|
|
19
|
+
@apply border-primary-hover bg-primary-hover text-white;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.pallamart-btn-primary:disabled,
|
|
23
|
+
a.pallamart-btn-primary[aria-disabled='true'] {
|
|
24
|
+
@apply border-grey bg-grey text-black shadow-none;
|
|
25
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/* Base */
|
|
2
|
+
.pallamart-btn-secondary,
|
|
3
|
+
a.pallamart-btn-secondary {
|
|
4
|
+
@apply inline-flex min-h-12 w-full items-center justify-center rounded-full border px-6 py-3 text-body-2 tracking-normal shadow-sm transition-all duration-200 sm:w-auto;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.pallamart-btn-secondary:enabled,
|
|
8
|
+
a.pallamart-btn-secondary:not([aria-disabled='true']) {
|
|
9
|
+
@apply border-black bg-black text-white;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.pallamart-btn-secondary:enabled:hover,
|
|
13
|
+
a.pallamart-btn-secondary:not([aria-disabled='true']):hover {
|
|
14
|
+
@apply border-grey-dark bg-grey-dark;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.pallamart-btn-secondary:enabled:active,
|
|
18
|
+
a.pallamart-btn-secondary:not([aria-disabled='true']):active {
|
|
19
|
+
@apply border-black bg-black text-white;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.pallamart-btn-secondary:disabled,
|
|
23
|
+
a.pallamart-btn-secondary[aria-disabled='true'] {
|
|
24
|
+
@apply border-grey bg-grey text-black shadow-none;
|
|
25
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/* Base */
|
|
2
|
+
.pallamart-card {
|
|
3
|
+
@apply p-6 bg-white rounded-lg transition-all border border-grey/20;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
.pallamart-card:hover {
|
|
7
|
+
@apply shadow-lg border-primary cursor-pointer;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.pallamart-static-card {
|
|
11
|
+
@apply p-6 bg-white rounded-lg transition-all border border-grey/20;
|
|
12
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@import url('card.css');
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/* Base */
|
|
2
|
+
.pallamart-checkbox {
|
|
3
|
+
@apply h-5 w-5 shrink-0 appearance-none rounded border-2 border-grey bg-white align-middle transition-all cursor-pointer;
|
|
4
|
+
background-position: center;
|
|
5
|
+
background-repeat: no-repeat;
|
|
6
|
+
background-size: 0.75rem 0.75rem;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.pallamart-checkbox:checked {
|
|
10
|
+
@apply border-primary bg-primary;
|
|
11
|
+
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M3.5 8.5L6.5 11.5L12.5 4.5' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.pallamart-checkbox:focus {
|
|
15
|
+
@apply border-primary outline-none ring-2 ring-primary/15 ring-offset-2;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.pallamart-checkbox:disabled,
|
|
19
|
+
.pallamart-checkbox[aria-disabled='true'] {
|
|
20
|
+
@apply bg-grey-light cursor-not-allowed;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.pallamart-checkbox[aria-invalid='true'] {
|
|
24
|
+
@apply border-error-contrast;
|
|
25
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/* Base */
|
|
2
|
+
.pallamart-input {
|
|
3
|
+
@apply flex flex-col space-y-2 w-full;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
.pallamart-input label {
|
|
7
|
+
@apply text-header-4 tracking-wide;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.pallamart-input input:not([type='checkbox'], [type='range']),
|
|
11
|
+
.pallamart-input textarea,
|
|
12
|
+
.pallamart-input select {
|
|
13
|
+
@apply text-body-2 px-4 py-2 border-2 border-grey rounded-lg transition-all w-full bg-white;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.pallamart-input select {
|
|
17
|
+
@apply appearance-none cursor-pointer;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.pallamart-input input:focus,
|
|
21
|
+
.pallamart-input textarea:focus,
|
|
22
|
+
.pallamart-input select:focus {
|
|
23
|
+
@apply border-primary outline-none;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.pallamart-input input:not([type='checkbox'], [type='range']):disabled,
|
|
27
|
+
.pallamart-input textarea:disabled,
|
|
28
|
+
.pallamart-input select:disabled {
|
|
29
|
+
@apply bg-grey-light cursor-not-allowed;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.pallamart-input input:not([type='checkbox'], [type='range'])[aria-invalid='true'],
|
|
33
|
+
.pallamart-input textarea[aria-invalid='true'],
|
|
34
|
+
.pallamart-input select[aria-invalid='true'] {
|
|
35
|
+
@apply border-error-contrast;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.pallamart-input p {
|
|
39
|
+
@apply text-body-3 text-error-contrast;
|
|
40
|
+
}
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
.dot-elastic-dark {
|
|
2
|
+
position: relative;
|
|
3
|
+
width: 10px;
|
|
4
|
+
height: 10px;
|
|
5
|
+
border-radius: 5px;
|
|
6
|
+
background-color: #9346f2;
|
|
7
|
+
color: #9346f2;
|
|
8
|
+
animation: dot-elastic 1s infinite linear;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.dot-elastic-dark::before,
|
|
12
|
+
.dot-elastic-dark::after {
|
|
13
|
+
content: '';
|
|
14
|
+
display: inline-block;
|
|
15
|
+
position: absolute;
|
|
16
|
+
top: 0;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.dot-elastic-dark::before {
|
|
20
|
+
left: -15px;
|
|
21
|
+
width: 10px;
|
|
22
|
+
height: 10px;
|
|
23
|
+
border-radius: 5px;
|
|
24
|
+
background-color: #9346f2;
|
|
25
|
+
color: #9346f2;
|
|
26
|
+
animation: dot-elastic-before 1s infinite linear;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.dot-elastic-dark::after {
|
|
30
|
+
left: 15px;
|
|
31
|
+
width: 10px;
|
|
32
|
+
height: 10px;
|
|
33
|
+
border-radius: 5px;
|
|
34
|
+
background-color: #9346f2;
|
|
35
|
+
color: #9346f2;
|
|
36
|
+
animation: dot-elastic-after 1s infinite linear;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
@keyframes dot-elastic-before {
|
|
40
|
+
0% {
|
|
41
|
+
transform: scale(1, 1);
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
25% {
|
|
45
|
+
transform: scale(1, 1.5);
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
50% {
|
|
49
|
+
transform: scale(1, 0.67);
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
75% {
|
|
53
|
+
transform: scale(1, 1);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
100% {
|
|
57
|
+
transform: scale(1, 1);
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
@keyframes dot-elastic {
|
|
62
|
+
0% {
|
|
63
|
+
transform: scale(1, 1);
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
25% {
|
|
67
|
+
transform: scale(1, 1);
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
50% {
|
|
71
|
+
transform: scale(1, 1.5);
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
75% {
|
|
75
|
+
transform: scale(1, 1);
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
100% {
|
|
79
|
+
transform: scale(1, 1);
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
@keyframes dot-elastic-after {
|
|
84
|
+
0% {
|
|
85
|
+
transform: scale(1, 1);
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
25% {
|
|
89
|
+
transform: scale(1, 1);
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
50% {
|
|
93
|
+
transform: scale(1, 0.67);
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
75% {
|
|
97
|
+
transform: scale(1, 1.5);
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
100% {
|
|
101
|
+
transform: scale(1, 1);
|
|
102
|
+
}
|
|
103
|
+
}
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
.dot-elastic {
|
|
2
|
+
position: relative;
|
|
3
|
+
width: 10px;
|
|
4
|
+
height: 10px;
|
|
5
|
+
border-radius: 5px;
|
|
6
|
+
background-color: #fff;
|
|
7
|
+
color: #fff;
|
|
8
|
+
animation: dot-elastic 1s infinite linear;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.dot-elastic::before,
|
|
12
|
+
.dot-elastic::after {
|
|
13
|
+
content: '';
|
|
14
|
+
display: inline-block;
|
|
15
|
+
position: absolute;
|
|
16
|
+
top: 0;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.dot-elastic::before {
|
|
20
|
+
left: -15px;
|
|
21
|
+
width: 10px;
|
|
22
|
+
height: 10px;
|
|
23
|
+
border-radius: 5px;
|
|
24
|
+
background-color: #fff;
|
|
25
|
+
color: #fff;
|
|
26
|
+
animation: dot-elastic-before 1s infinite linear;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.dot-elastic::after {
|
|
30
|
+
left: 15px;
|
|
31
|
+
width: 10px;
|
|
32
|
+
height: 10px;
|
|
33
|
+
border-radius: 5px;
|
|
34
|
+
background-color: #fff;
|
|
35
|
+
color: #fff;
|
|
36
|
+
animation: dot-elastic-after 1s infinite linear;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
@keyframes dot-elastic-before {
|
|
40
|
+
0% {
|
|
41
|
+
transform: scale(1, 1);
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
25% {
|
|
45
|
+
transform: scale(1, 1.5);
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
50% {
|
|
49
|
+
transform: scale(1, 0.67);
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
75% {
|
|
53
|
+
transform: scale(1, 1);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
100% {
|
|
57
|
+
transform: scale(1, 1);
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
@keyframes dot-elastic {
|
|
62
|
+
0% {
|
|
63
|
+
transform: scale(1, 1);
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
25% {
|
|
67
|
+
transform: scale(1, 1);
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
50% {
|
|
71
|
+
transform: scale(1, 1.5);
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
75% {
|
|
75
|
+
transform: scale(1, 1);
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
100% {
|
|
79
|
+
transform: scale(1, 1);
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
@keyframes dot-elastic-after {
|
|
84
|
+
0% {
|
|
85
|
+
transform: scale(1, 1);
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
25% {
|
|
89
|
+
transform: scale(1, 1);
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
50% {
|
|
93
|
+
transform: scale(1, 0.67);
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
75% {
|
|
97
|
+
transform: scale(1, 1.5);
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
100% {
|
|
101
|
+
transform: scale(1, 1);
|
|
102
|
+
}
|
|
103
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@import url('product-studio');
|