|
1 | 1 | .newsletter-cta {
|
2 |
| - display: flex; |
3 |
| - flex-direction: column; |
4 |
| - align-items: center; |
5 |
| - padding: var(--space-16x) var(--space-8x); |
6 |
| - background-image: url(/images/newsletter_bg.svg); |
7 |
| - background-position: center; |
8 |
| - background-size: cover; |
9 |
| -} |
10 |
| - |
11 |
| -.newsletter-cta .hiddenLabel { |
12 |
| - overflow: hidden; |
13 |
| - display: none; |
14 |
| - width: var(--space-0x); |
15 |
| - height: var(--space-0x); |
16 |
| - text-indent: 100%; |
17 |
| - white-space: nowrap; |
| 2 | + @apply flex flex-col items-center py-16 px-8 bg-center bg-cover bg-[url('/images/newsletter_bg.svg')]; |
18 | 3 | }
|
19 | 4 |
|
20 | 5 | .newsletter-cta :is(h2) {
|
21 |
| - margin-bottom: var(--space-12x); |
| 6 | + @apply mb-12; |
22 | 7 | }
|
23 | 8 |
|
24 | 9 | .newsletter-cta .w-inline-block {
|
25 |
| - max-width: 100%; |
26 |
| - display: inline-block; |
| 10 | + @apply max-w-full inline-block; |
27 | 11 | }
|
28 | 12 |
|
29 | 13 | .form-subscribe {
|
30 |
| - max-width: 550px; |
31 |
| - width: 100%; |
| 14 | + @apply max-w-[550px] w-full; |
32 | 15 | }
|
33 | 16 |
|
34 | 17 | .form-subscribe-field-wrapper {
|
35 |
| - display: flex; |
36 |
| - gap: var(--space-2x); |
37 |
| - flex-direction: column; |
| 18 | + @apply flex gap-2 flex-col; |
38 | 19 | }
|
39 | 20 |
|
40 | 21 | @media (min-width: 50em) {
|
41 | 22 | .form-subscribe-field-wrapper {
|
42 |
| - flex-direction: row; |
43 |
| - |
44 |
| - gap: var(--space-4x); |
| 23 | + @apply flex-row gap-4; |
45 | 24 | }
|
46 | 25 | }
|
47 | 26 | .newsletter-cta .cta-subscribe-input {
|
48 |
| - width: 100%; |
49 |
| - height: 56px; |
50 |
| - max-height: 56px; |
51 |
| - padding-right: 24px; |
52 |
| - padding-left: 24px; |
53 |
| - border-style: solid; |
54 |
| - border-width: var(--border-width-secondary); |
55 |
| - border-color: var(--gray-300); |
56 |
| - border-radius: var(--border-radius-primary); |
57 |
| - box-shadow: 0 12px 32px -12px rgb(12 22 44 / 32%); |
| 27 | + @apply w-full h-[56px] max-h-[56px] px-6 border-solid border-2 border-gray-300 rounded-primary shadow-[0_12px_32px_-12px_rgba(12,22,44,0.32)]; |
58 | 28 | }
|
59 | 29 | .newsletter-cta .cta-subscribe-input::placeholder {
|
60 |
| - font-style: italic; |
| 30 | + @apply italic; |
61 | 31 | }
|
62 | 32 |
|
63 | 33 | /* #subscribe-button {
|
64 | 34 | width: 100%;
|
65 | 35 | } */
|
66 | 36 | .subscribe-form-success-social {
|
67 |
| - margin-right: 4px; |
68 |
| - margin-left: 4px; |
| 37 | + @apply mx-1; |
69 | 38 | transition: transform 300ms cubic-bezier(0.19, 1, 0.22, 1);
|
70 | 39 | }
|
71 | 40 | .subscribe-success-social {
|
72 |
| - margin-top: var(--space-2x); |
73 |
| - display: flex; |
74 |
| - justify-content: center; |
| 41 | + @apply mt-2 flex justify-center; |
75 | 42 | }
|
76 | 43 |
|
77 | 44 | .subscribe-form-success-social:hover {
|
78 | 45 | transform: translate(0px, -4px);
|
79 | 46 | }
|
80 | 47 |
|
81 | 48 | .newsletter-cta .form-subscribe-checkbox {
|
82 |
| - display: block; |
83 |
| - margin-top: var(--space-4x); |
84 |
| - cursor: pointer; |
| 49 | + @apply block mt-4 cursor-pointer; |
85 | 50 | }
|
0 commit comments