-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.css
More file actions
174 lines (151 loc) · 3.77 KB
/
index.css
File metadata and controls
174 lines (151 loc) · 3.77 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
@tailwind base;
@tailwind components;
@tailwind utilities;
/* Force cache refresh marker - hybrid system v2.1 */
:root {
--background: hsl(0, 0%, 100%);
--foreground: hsl(20, 14.3%, 4.1%);
--muted: hsl(60, 4.8%, 95.9%);
--muted-foreground: hsl(25, 5.3%, 44.7%);
--popover: hsl(0, 0%, 100%);
--popover-foreground: hsl(20, 14.3%, 4.1%);
--card: hsl(0, 0%, 100%);
--card-foreground: hsl(20, 14.3%, 4.1%);
--border: hsl(20, 5.9%, 90%);
--input: hsl(20, 5.9%, 90%);
--primary: hsl(207, 90%, 54%);
--primary-foreground: hsl(211, 100%, 99%);
--secondary: hsl(60, 4.8%, 95.9%);
--secondary-foreground: hsl(24, 9.8%, 10%);
--accent: hsl(60, 4.8%, 95.9%);
--accent-foreground: hsl(24, 9.8%, 10%);
--destructive: hsl(0, 84.2%, 60.2%);
--destructive-foreground: hsl(60, 9.1%, 97.8%);
--ring: hsl(20, 14.3%, 4.1%);
--radius: 0.5rem;
--success: hsl(142, 71%, 45%);
--warning: hsl(38, 92%, 50%);
--error: hsl(0, 84%, 60%);
}
.dark {
--background: hsl(240, 10%, 3.9%);
--foreground: hsl(0, 0%, 98%);
--muted: hsl(240, 3.7%, 15.9%);
--muted-foreground: hsl(240, 5%, 64.9%);
--popover: hsl(240, 10%, 3.9%);
--popover-foreground: hsl(0, 0%, 98%);
--card: hsl(240, 10%, 3.9%);
--card-foreground: hsl(0, 0%, 98%);
--border: hsl(240, 3.7%, 15.9%);
--input: hsl(240, 3.7%, 15.9%);
--primary: hsl(207, 90%, 54%);
--primary-foreground: hsl(211, 100%, 99%);
--secondary: hsl(240, 3.7%, 15.9%);
--secondary-foreground: hsl(0, 0%, 98%);
--accent: hsl(240, 3.7%, 15.9%);
--accent-foreground: hsl(0, 0%, 98%);
--destructive: hsl(0, 62.8%, 30.6%);
--destructive-foreground: hsl(0, 0%, 98%);
--ring: hsl(240, 4.9%, 83.9%);
--radius: 0.5rem;
--success: hsl(142, 71%, 45%);
--warning: hsl(38, 92%, 50%);
--error: hsl(0, 84%, 60%);
}
@layer base {
* {
@apply border-border;
}
body {
@apply font-sans antialiased bg-background text-foreground;
font-family: 'Inter', system-ui, sans-serif;
}
}
@layer utilities {
.text-success {
color: hsl(var(--success));
}
.text-warning {
color: hsl(var(--warning));
}
.text-error {
color: hsl(var(--error));
}
.bg-success {
background-color: hsl(var(--success));
}
.bg-warning {
background-color: hsl(var(--warning));
}
.bg-error {
background-color: hsl(var(--error));
}
.border-success {
border-color: hsl(var(--success));
}
.border-warning {
border-color: hsl(var(--warning));
}
.border-error {
border-color: hsl(var(--error));
}
}
/* Mobile Optimizations for iPhone Safari, Chrome, Firefox */
@media screen and (max-width: 768px) {
/* Touch-friendly interactions */
.touch-manipulation {
touch-action: manipulation;
}
/* Prevent zooming on input focus for iOS */
input[type="file"],
button,
.touch-target {
font-size: 16px !important;
}
/* Improve tap targets */
button,
[role="button"],
.cursor-pointer {
min-height: 44px;
min-width: 44px;
}
/* Prevent horizontal overflow */
body {
overflow-x: hidden;
}
/* Smooth scrolling for iOS */
* {
-webkit-overflow-scrolling: touch;
}
/* Fix webkit appearance for iOS */
input[type="file"] {
-webkit-appearance: none;
appearance: none;
}
/* Better focus states for accessibility */
button:focus,
[role="button"]:focus {
outline: 2px solid hsl(var(--primary));
outline-offset: 2px;
}
}
/* iPhone specific optimizations */
@supports (-webkit-touch-callout: none) {
/* iOS Safari specific fixes */
input[type="file"] {
width: 100%;
height: 44px;
opacity: 0;
cursor: pointer;
}
/* Prevent zoom on iOS */
select,
textarea,
input[type="text"],
input[type="email"],
input[type="number"],
input[type="tel"],
input[type="url"] {
font-size: 16px;
}
}