|
1 | | -.guide-overlay { |
2 | | - position: fixed; |
3 | | - inset: 0; |
4 | | - z-index: 9999; |
5 | | - pointer-events: auto; |
6 | | -} |
7 | | - |
8 | | -.guide-backdrop { |
9 | | - position: absolute; |
10 | | - inset: 0; |
11 | | - background: rgb(0 0 0 / 10%); |
12 | | - transition: all 0.3s ease; |
13 | | -} |
14 | | - |
15 | | -.guide-overlay.advancedAnimation .guide-backdrop { |
16 | | - animation: fade-in 0.3s ease; |
17 | | -} |
18 | | - |
19 | | -.guide-spotlight { |
20 | | - position: absolute; |
21 | | - border: 2px solid var(--color-accent); |
22 | | - border-radius: var(--radius-md); |
23 | | - box-shadow: |
24 | | - 0 0 0 9999px rgb(0 0 0 / 10%), |
25 | | - 0 0 20px rgb(255 255 255 / 30%), |
26 | | - inset 0 0 20px rgb(255 255 255 / 10%); |
27 | | - transition: all 0.3s ease; |
28 | | - pointer-events: none; |
29 | | - z-index: 10000; |
30 | | -} |
31 | | - |
32 | | -.guide-card { |
33 | | - position: absolute; |
34 | | - background: var(--color-background-tertiary); |
35 | | - border: 1px solid var(--color-border); |
36 | | - border-radius: var(--radius-lg); |
37 | | - box-shadow: 0 10px 40px rgb(0 0 0 / 25%); |
38 | | - width: 420px; |
39 | | - max-width: 90vw; |
40 | | - max-height: 80vh; |
41 | | - overflow: auto; |
42 | | - z-index: 10001; |
43 | | - transition: all 0.3s ease; |
44 | | -} |
45 | | - |
46 | | -.guide-overlay.advancedAnimation .guide-card { |
47 | | - animation: slide-up var(--transition-bounce-slow); |
48 | | -} |
49 | | - |
50 | | -.guide-header { |
51 | | - display: flex; |
52 | | - align-items: center; |
53 | | - justify-content: space-between; |
54 | | - padding: 12px 18px; |
55 | | - border-bottom: 1px solid var(--color-border); |
56 | | -} |
57 | | - |
58 | | -.guide-header-left { |
59 | | - display: flex; |
60 | | - flex-direction: column; |
61 | | - gap: 2px; |
62 | | -} |
63 | | - |
64 | | -.guide-title { |
65 | | - font-size: 15px; |
66 | | - font-weight: 600; |
67 | | - color: var(--color-text-primary); |
68 | | - margin: 0; |
69 | | -} |
70 | | - |
71 | | -.guide-step-indicator { |
72 | | - font-size: 11px; |
73 | | - color: var(--color-text-tertiary); |
74 | | -} |
75 | | - |
76 | | -.guide-close { |
77 | | - background: transparent; |
78 | | - border: none; |
79 | | - color: var(--color-text-secondary); |
80 | | - cursor: pointer; |
81 | | - padding: 4px; |
82 | | - border-radius: var(--radius-sm); |
83 | | - display: flex; |
84 | | - align-items: center; |
85 | | - justify-content: center; |
86 | | - transition: all 0.2s; |
87 | | -} |
88 | | - |
89 | | -.guide-close:hover { |
90 | | - background: var(--color-accent-hover); |
91 | | - color: var(--color-text-primary); |
92 | | -} |
93 | | - |
94 | | -.guide-content { |
95 | | - padding: 14px 18px; |
96 | | - display: flex; |
97 | | - gap: 14px; |
98 | | - align-items: flex-start; |
99 | | -} |
100 | | - |
101 | | -.guide-icon { |
102 | | - width: 40px; |
103 | | - height: 40px; |
104 | | - flex-shrink: 0; |
105 | | - border-radius: var(--radius-lg); |
106 | | - background: var(--color-accent); |
107 | | - display: flex; |
108 | | - align-items: center; |
109 | | - justify-content: center; |
110 | | - color: white; |
111 | | -} |
112 | | - |
113 | | -.guide-text { |
114 | | - flex: 1; |
115 | | - min-width: 0; |
116 | | -} |
117 | | - |
118 | | -.guide-content-title { |
119 | | - font-size: 14px; |
120 | | - font-weight: 600; |
121 | | - color: var(--color-text-primary); |
122 | | - margin: 0 0 4px; |
123 | | -} |
124 | | - |
125 | | -.guide-content-description { |
126 | | - font-size: 13px; |
127 | | - color: var(--color-text-secondary); |
128 | | - line-height: 1.5; |
129 | | - margin: 0; |
130 | | -} |
131 | | - |
132 | | -.guide-additional-info { |
133 | | - background: var(--color-background-tertiary); |
134 | | - border-radius: var(--radius-sm); |
135 | | - padding: 10px 12px; |
136 | | - margin-top: 10px; |
137 | | -} |
138 | | - |
139 | | -.guide-additional-info p { |
140 | | - font-size: 12px; |
141 | | - color: var(--color-text-secondary); |
142 | | - line-height: 1.4; |
143 | | - margin: 6px 0; |
144 | | -} |
145 | | - |
146 | | -.guide-additional-info p:first-child { |
147 | | - margin-top: 0; |
148 | | -} |
149 | | - |
150 | | -.guide-additional-info p:last-child { |
151 | | - margin-bottom: 0; |
152 | | -} |
153 | | - |
154 | | -.guide-footer { |
155 | | - padding: 10px 18px 12px; |
156 | | - border-top: 1px solid var(--color-border); |
157 | | -} |
158 | | - |
159 | | -.guide-progress { |
160 | | - display: flex; |
161 | | - justify-content: center; |
162 | | - gap: 6px; |
163 | | - margin-bottom: 10px; |
164 | | -} |
165 | | - |
166 | | -.progress-dot { |
167 | | - width: 6px; |
168 | | - height: 6px; |
169 | | - border-radius: var(--radius-round); |
170 | | - background: var(--color-border); |
171 | | - transition: all 0.3s; |
172 | | -} |
173 | | - |
174 | | -.progress-dot.active { |
175 | | - background: var(--color-accent); |
176 | | - width: 20px; |
177 | | - border-radius: 3px; |
178 | | -} |
179 | | - |
180 | | -.progress-dot.completed { |
181 | | - background: var(--color-success); |
182 | | -} |
183 | | - |
184 | | -.guide-actions { |
185 | | - display: flex; |
186 | | - gap: 6px; |
187 | | - justify-content: flex-end; |
188 | | -} |
| 1 | +@import "tailwindcss" reference; |
| 2 | +@import "../../assets/css/theme.css" reference; |
| 3 | +@import "../../assets/css/utilities.css" reference; |
189 | 4 |
|
190 | 5 | .guide-btn { |
191 | | - padding: 6px 12px; |
192 | | - border-radius: var(--radius-sm); |
193 | | - font-size: 13px; |
194 | | - font-weight: 500; |
195 | | - cursor: pointer; |
196 | | - border: none; |
197 | | - display: flex; |
198 | | - align-items: center; |
199 | | - gap: 4px; |
200 | | - transition: all 0.2s; |
201 | | -} |
202 | | - |
203 | | -.guide-btn.primary { |
204 | | - background: var(--color-accent); |
205 | | - color: white; |
206 | | -} |
207 | | - |
208 | | -.guide-btn.primary:hover { |
209 | | - background: var(--color-accent-hover); |
210 | | - transform: translateY(-1px); |
211 | | -} |
212 | | - |
213 | | -.guide-btn.secondary { |
214 | | - background: var(--color-background-tertiary); |
215 | | - color: var(--color-text-primary); |
216 | | -} |
217 | | - |
218 | | -.guide-btn.secondary:hover { |
219 | | - background: var(--color-accent-hover); |
220 | | -} |
221 | | - |
222 | | -.guide-btn.outline { |
223 | | - background: transparent; |
224 | | - color: var(--color-text-primary); |
225 | | - border: 1px solid var(--color-border); |
226 | | -} |
227 | | - |
228 | | -.guide-btn.outline:hover { |
229 | | - background: var(--color-accent); |
230 | | - color: var(--color-text-primary); |
231 | | -} |
232 | | - |
233 | | -.guide-btn.success { |
234 | | - background: var(--color-success); |
235 | | - color: white; |
236 | | -} |
237 | | - |
238 | | -.guide-btn.success:hover { |
239 | | - background: var(--color-success); |
240 | | - transform: translateY(-1px); |
241 | | -} |
242 | | - |
243 | | -@keyframes fade-in { |
244 | | - from { |
245 | | - opacity: 0; |
246 | | - } |
247 | | - |
248 | | - to { |
249 | | - opacity: 1; |
250 | | - } |
251 | | -} |
252 | | - |
253 | | -@keyframes slide-up { |
254 | | - from { |
255 | | - opacity: 0; |
256 | | - transform: translate(-50%, -40%) scale(0.95); |
257 | | - } |
258 | | - |
259 | | - to { |
260 | | - opacity: 1; |
261 | | - transform: translate(-50%, -50%) scale(1); |
262 | | - } |
263 | | -} |
264 | | - |
265 | | -/* Responsive */ |
266 | | -@media (width <= 640px) { |
267 | | - .guide-card { |
268 | | - width: calc(100vw - 32px); |
269 | | - } |
270 | | - |
271 | | - .guide-actions { |
272 | | - flex-wrap: wrap; |
273 | | - } |
274 | | - |
275 | | - .guide-btn { |
276 | | - flex: 1; |
277 | | - min-width: calc(50% - 4px); |
278 | | - justify-content: center; |
279 | | - } |
| 6 | + @apply px-3 py-1.5 rounded-sm text-sm font-medium cursor-pointer border-none flex items-center gap-1 transition-all duration-200 ease-apple; |
| 7 | + @apply [.primary]:bg-accent [.primary]:text-white; |
| 8 | + @apply hover:[.primary]:bg-accent-hover hover:[.primary]:transform-[-translateY(1px)]; |
| 9 | + @apply [.secondary]:bg-bg-tertiary [.secondary]:text-main; |
| 10 | + @apply hover:[.secondary]:bg-accent-hover; |
| 11 | + @apply [.outline]:bg-transparent [.outline]:text-main [.outline]:border-border; |
| 12 | + @apply hover:[.outline]:bg-accent hover:[.outline]:text-main; |
| 13 | + @apply [.success]:bg-success [.success]:text-white; |
| 14 | + @apply hover:[.success]:bg-success hover:[.success]:-translate-y-px; |
| 15 | + @apply max-md:flex-1 max-md:justify-center max-md:min-w-[calc(50%-4px)] |
280 | 16 | } |
0 commit comments