|
22 | 22 | } |
23 | 23 |
|
24 | 24 | .setupCard { |
25 | | - margin-bottom: 20px; |
26 | | - margin-top: 20px; |
| 25 | + margin-bottom: 28px; |
| 26 | + margin-top: 24px; |
27 | 27 | overflow: hidden; |
28 | 28 | position: relative; |
29 | | - padding-top: 16px; |
| 29 | + padding: 32px 28px; |
| 30 | + background: linear-gradient(to right, rgba(249, 250, 251, 0.6), rgba(243, 244, 246, 0.6)); |
| 31 | + border: 1px solid #f0f0f0; |
| 32 | + box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04); |
30 | 33 | } |
31 | 34 |
|
32 | 35 | .dismissButton { |
33 | 36 | position: absolute; |
34 | | - top: 12px; |
35 | | - right: 12px; |
36 | | - width: 28px; |
37 | | - height: 28px; |
38 | | - border-radius: 50%; |
| 37 | + top: 16px; |
| 38 | + right: 16px; |
| 39 | + width: 36px; |
| 40 | + height: 36px; |
| 41 | + border-radius: 12px; |
39 | 42 | display: flex; |
40 | 43 | align-items: center; |
41 | 44 | justify-content: center; |
42 | 45 | cursor: pointer; |
43 | 46 | z-index: 10; |
44 | | - color: #757575; |
45 | | - transition: background-color 0.2s; |
| 47 | + color: #9e9e9e; |
| 48 | + background-color: rgba(255, 255, 255, 0.7); |
| 49 | + backdrop-filter: blur(6px); |
| 50 | + transition: all 0.2s ease; |
46 | 51 |
|
47 | 52 | &:hover { |
48 | | - background-color: rgba(0, 0, 0, 0.05); |
49 | | - color: #303030; |
| 53 | + background-color: rgba(255, 255, 255, 0.9); |
| 54 | + color: #555; |
| 55 | + transform: scale(1.05); |
50 | 56 | } |
51 | 57 | } |
52 | 58 |
|
53 | 59 | .setupCardContent { |
54 | 60 | display: flex; |
| 61 | + flex-direction: column; |
55 | 62 | position: relative; |
56 | | - padding-right: 280px; // Make room for the rocket |
57 | 63 | } |
58 | 64 |
|
59 | 65 | .checklistContainer { |
60 | | - flex: 1; |
61 | | - padding-right: 20px; |
| 66 | + width: 100%; |
62 | 67 |
|
63 | 68 | h2 { |
64 | | - font-size: 1.5rem; |
65 | | - margin-bottom: 0.5rem; |
| 69 | + font-size: 1.8rem; |
| 70 | + margin-bottom: 1rem; |
66 | 71 | margin-top: 0; |
67 | | - color: #303030; |
| 72 | + color: #444; |
| 73 | + font-weight: 700; |
| 74 | + letter-spacing: -0.02em; |
68 | 75 | } |
69 | 76 |
|
70 | 77 | .setupDescription { |
71 | | - margin-bottom: 1.5rem; |
| 78 | + margin-bottom: 2.25rem; |
72 | 79 | color: #666; |
| 80 | + font-size: 1.05rem; |
| 81 | + line-height: 1.5; |
| 82 | + max-width: 80%; |
73 | 83 | } |
74 | 84 | } |
75 | 85 |
|
76 | 86 | .checklistItems { |
77 | 87 | display: flex; |
78 | | - flex-direction: column; |
79 | | - gap: 1.5rem; |
80 | | - margin-bottom: 1rem; |
| 88 | + flex-wrap: wrap; |
| 89 | + margin: 0 -12px; |
81 | 90 | } |
82 | 91 |
|
83 | 92 | .checklistItem { |
84 | | - display: flex; |
85 | | - align-items: flex-start; |
86 | | - gap: 1rem; |
| 93 | + width: calc(50% - 24px); |
| 94 | + margin: 0 12px 24px; |
| 95 | + padding: 24px; |
| 96 | + background: rgba(255, 255, 255, 0.85); |
| 97 | + backdrop-filter: blur(10px); |
| 98 | + border-radius: 16px; |
| 99 | + border: 1px solid rgba(230, 230, 230, 0.8); |
| 100 | + box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03), 0 1px 3px rgba(0, 0, 0, 0.02); |
| 101 | + transition: all 0.3s ease; |
| 102 | + |
| 103 | + &:hover { |
| 104 | + transform: translateY(-2px); |
| 105 | + box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06), 0 2px 4px rgba(0, 0, 0, 0.03); |
| 106 | + border-color: rgba(210, 210, 210, 0.9); |
| 107 | + } |
87 | 108 |
|
88 | 109 | h3 { |
89 | | - font-size: 1.1rem; |
90 | | - margin: 0 0 0.25rem 0; |
91 | | - color: #303030; |
| 110 | + font-size: 1.15rem; |
| 111 | + margin: 0 0 0.8rem 0; |
| 112 | + color: #333; |
| 113 | + font-weight: 600; |
| 114 | + display: flex; |
| 115 | + align-items: center; |
92 | 116 | } |
93 | 117 |
|
94 | 118 | p { |
95 | | - margin: 0; |
| 119 | + margin: 0 0 1.2rem 0; |
96 | 120 | color: #666; |
97 | | - font-size: 0.9rem; |
| 121 | + font-size: 0.95rem; |
| 122 | + line-height: 1.5; |
98 | 123 | } |
99 | 124 | } |
100 | 125 |
|
101 | 126 | .checkboxContainer { |
102 | | - margin-top: 3px; |
| 127 | + margin-right: 14px; |
103 | 128 | } |
104 | 129 |
|
105 | 130 | .checkbox { |
106 | | - width: 22px; |
107 | | - height: 22px; |
108 | | - border-radius: 50%; |
109 | | - border: 2px solid var(--tk-primary); |
| 131 | + width: 26px; |
| 132 | + height: 26px; |
| 133 | + border-radius: var(--tk-radius-sm); |
| 134 | + border: 2px solid #ddd; |
110 | 135 | display: flex; |
111 | 136 | align-items: center; |
112 | 137 | justify-content: center; |
113 | | - transition: background-color 0.2s ease; |
| 138 | + background-color: rgba(255, 255, 255, 0.6); |
| 139 | + transition: all 0.2s ease; |
| 140 | + box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04); |
| 141 | + |
| 142 | + svg { |
| 143 | + transition: all 0.2s ease; |
| 144 | + transform: scale(0.85); |
| 145 | + } |
114 | 146 | } |
115 | 147 |
|
116 | 148 | .checklistItemContent { |
117 | 149 | flex: 1; |
118 | 150 | } |
119 | 151 |
|
120 | | -.rocketImageContainer { |
121 | | - position: absolute; |
122 | | - right: 50px; |
123 | | - top: 75%; |
124 | | - transform: translateY(-50%); |
125 | | - width: 220px; |
126 | | - height: 220px; |
127 | | - display: flex; |
128 | | - align-items: center; |
129 | | - justify-content: center; |
130 | | -} |
| 152 | +// Tablet and smaller desktop styles |
| 153 | +@media (max-width: 1200px) { |
| 154 | + .setupCard { |
| 155 | + padding: 28px 24px; |
| 156 | + } |
131 | 157 |
|
132 | | -.rocketImage { |
133 | | - width: 100%; |
134 | | - height: auto; |
135 | | - object-fit: contain; |
136 | | - opacity: 0.9; |
137 | | - filter: hue-rotate(350deg); |
| 158 | + .checklistContainer { |
| 159 | + .setupDescription { |
| 160 | + max-width: 100%; |
| 161 | + } |
| 162 | + } |
138 | 163 | } |
139 | 164 |
|
140 | | -// Media query for tablets |
141 | | -@media (max-width: 1024px) { |
142 | | - .setupCardContent { |
143 | | - padding-right: 180px; |
| 165 | +// Small tablet styles |
| 166 | +@media (max-width: 992px) { |
| 167 | + .checklistItem { |
| 168 | + width: 100%; |
| 169 | + margin-bottom: 16px; |
| 170 | + } |
| 171 | + |
| 172 | + .setupCard { |
| 173 | + padding: 24px 20px; |
144 | 174 | } |
145 | 175 |
|
146 | | - .rocketImageContainer { |
147 | | - width: 160px; |
148 | | - height: 160px; |
| 176 | + .checklistContainer h2 { |
| 177 | + font-size: 1.6rem; |
149 | 178 | } |
150 | 179 | } |
151 | 180 |
|
152 | | -// Media query for mobile |
| 181 | +// Mobile styles |
153 | 182 | @media (max-width: 768px) { |
154 | | - .setupCardContent { |
155 | | - flex-direction: column; |
156 | | - padding-right: 0; |
| 183 | + .setupCard { |
| 184 | + padding: 24px 16px; |
| 185 | + margin-bottom: 24px; |
157 | 186 | } |
158 | 187 |
|
159 | 188 | .checklistContainer { |
160 | | - width: 100%; |
161 | | - padding-right: 0; |
| 189 | + h2 { |
| 190 | + font-size: 1.4rem; |
| 191 | + } |
| 192 | + |
| 193 | + .setupDescription { |
| 194 | + font-size: 1rem; |
| 195 | + margin-bottom: 1.5rem; |
| 196 | + } |
| 197 | + } |
| 198 | + |
| 199 | + .checklistItem { |
| 200 | + padding: 20px 16px; |
162 | 201 | } |
163 | 202 |
|
164 | | - .rocketImageContainer { |
165 | | - display: none; // Hide the rocket on mobile |
| 203 | + .dismissButton { |
| 204 | + top: 12px; |
| 205 | + right: 12px; |
| 206 | + width: 32px; |
| 207 | + height: 32px; |
166 | 208 | } |
167 | 209 | } |
0 commit comments