-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinput.css
More file actions
238 lines (207 loc) · 4.65 KB
/
Copy pathinput.css
File metadata and controls
238 lines (207 loc) · 4.65 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
@import "tailwindcss";
@theme {
/* Premium Primary Color (Vibrant Blue) */
--color-primary: #0052ff;
--color-primary-hover: #0040cc;
--color-primary-50: #f0f5ff;
--color-primary-100: #e0ebff;
/* Premium Soft Shadows */
--shadow-soft: 0 10px 40px -10px rgba(0, 0, 0, 0.06);
--shadow-softer: 0 4px 20px -5px rgba(0, 0, 0, 0.04);
--shadow-glow: 0 0 24px -4px rgba(0, 82, 255, 0.3);
--shadow-inner-soft: inset 0 2px 4px 0 rgba(0, 0, 0, 0.02);
/* Typography */
--font-sans: "Inter", "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
/* Animation definitions */
--animate-modal-in: modalIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
--animate-modal-overlay: modalOverlay 0.3s ease-out forwards;
--animate-toast-in: toastIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
--animate-toast-out: toastOut 0.4s ease-in forwards;
--animate-glow-pulse: glowPulse 3s ease-in-out infinite;
--animate-fade-in: fadeIn 0.4s ease-out forwards;
--animate-slide-up: slideUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
--animate-block-enter: blockEnter 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
--animate-float: float 8s ease-in-out infinite;
--animate-success-flash: successFlash 0.8s ease-out;
--animate-ripple: ripple 0.8s ease-out;
}
/* 1. Explicitly specify target files for class name extraction */
@source "./index.html";
@source "../footer.js";
/* --- Custom Keyframe Definitions --- */
/* Modal entrance animation */
@keyframes modalIn {
0% {
opacity: 0;
transform: translateY(16px) scale(0.97);
}
100% {
opacity: 1;
transform: translateY(0) scale(1);
}
}
/* Modal overlay fade-in */
@keyframes modalOverlay {
0% {
opacity: 0;
}
100% {
opacity: 1;
}
}
/* Toast notification slide-in */
@keyframes toastIn {
0% {
opacity: 0;
transform: translate(-50%, -12px) scale(0.95);
}
100% {
opacity: 1;
transform: translate(-50%, 0) scale(1);
}
}
/* Toast notification fade-out */
@keyframes toastOut {
0% {
opacity: 1;
transform: translate(-50%, 0) scale(1);
}
100% {
opacity: 0;
transform: translate(-50%, -12px) scale(0.95);
}
}
/* Entrance animation for added blocks */
@keyframes blockEnter {
0% {
opacity: 0;
transform: translateY(20px);
}
100% {
opacity: 1;
transform: translateY(0);
}
}
/* Glow pulse effect */
@keyframes glowPulse {
0%,
100% {
box-shadow: 0 0 0 0 rgba(0, 82, 255, 0);
}
50% {
box-shadow: 0 0 24px 8px rgba(0, 82, 255, 0.15);
}
}
/* Fade-in animation */
@keyframes fadeIn {
0% {
opacity: 0;
}
100% {
opacity: 1;
}
}
/* Slide-up animation */
@keyframes slideUp {
0% {
opacity: 0;
transform: translateY(12px);
}
100% {
opacity: 1;
transform: translateY(0);
}
}
/* Floating animation (for empty state icons) */
@keyframes float {
0%,
100% {
transform: translateY(0);
}
50% {
transform: translateY(-10px);
}
}
/* Success flash (on input completion) */
@keyframes successFlash {
0% {
background-color: rgba(16, 185, 129, 0.15);
}
100% {
background-color: transparent;
}
}
/* Ripple effect */
@keyframes ripple {
0% {
transform: scale(0);
opacity: 0.5;
}
100% {
transform: scale(2.5);
opacity: 0;
}
}
/* Toast progress bar */
@keyframes toastProgress {
0% {
width: 100%;
}
100% {
width: 0%;
}
}
/* --- Utility Layer Extensions --- */
@utility scrollbar-hide {
-ms-overflow-style: none;
scrollbar-width: none;
&::-webkit-scrollbar {
display: none;
}
}
/* --- Custom Styles --- */
/* Utilities for modal animations */
@utility animate-modal-in {
animation: var(--animate-modal-in);
}
@utility animate-modal-overlay {
animation: var(--animate-modal-overlay);
}
@utility animate-toast-in {
animation: var(--animate-toast-in);
}
@utility animate-toast-out {
animation: var(--animate-toast-out);
}
@utility animate-block-enter {
animation: var(--animate-block-enter);
}
@utility animate-float {
animation: var(--animate-float);
}
@utility animate-fade-in {
animation: var(--animate-fade-in);
}
@utility animate-glow-pulse {
animation: var(--animate-glow-pulse);
}
@layer base {
/* Restore button cursor: pointer removed in Tailwind v4 */
button, [role="button"] {
cursor: pointer;
}
button:disabled, [role="button"]:disabled {
cursor: not-allowed;
}
/* Unified focus ring style */
:focus-visible {
outline: 2px solid var(--color-primary);
outline-offset: 2px;
border-radius: 4px;
}
/* Hide delete button for "last row" in detail modal */
#detail-phones > div:only-child > button,
#detail-emails > div:only-child > button {
display: none;
}
}