-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathclient_styles.css
More file actions
175 lines (149 loc) · 3.25 KB
/
client_styles.css
File metadata and controls
175 lines (149 loc) · 3.25 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
/* --- CLIENT OVERRIDES & REFINEMENTS --- */
/* 1. LAYOUT CONTAINER (Mobile Focused) */
.app-container {
width: 100%;
max-width: 600px; /* Narrower for mobile/client focus */
margin: 0 auto;
padding: 15px;
box-sizing: border-box;
display: flex;
flex-direction: column;
gap: 20px;
min-height: 100vh;
}
/* 2. CARD STYLING (Glassmorphism) */
.upload-card, .files-section {
background: var(--card-bg);
backdrop-filter: blur(16px);
-webkit-backdrop-filter: blur(16px);
border: 1px solid rgba(255, 255, 255, 0.1);
border-radius: 24px;
box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2);
display: flex;
flex-direction: column;
overflow: hidden;
transition: transform 0.2s ease;
}
/* 3. UPLOAD CARD (Touch Friendly) */
.upload-card {
padding: 30px 20px;
text-align: center;
border: 2px dashed rgba(255, 255, 255, 0.2);
background: rgba(255, 255, 255, 0.03);
align-items: center;
justify-content: center;
}
.upload-card:active {
background: rgba(255, 255, 255, 0.08);
transform: scale(0.98);
}
.upload-icon {
font-size: 56px;
margin-bottom: 15px;
filter: drop-shadow(0 4px 6px rgba(0,0,0,0.1));
}
.upload-card h3 {
margin: 0 0 8px 0;
font-size: 20px;
}
.upload-card p {
color: var(--text-sub);
margin-bottom: 20px;
font-size: 14px;
}
/* 4. FILES SECTION */
.files-section {
flex: 1; /* Take remaining height */
/* min-height: 400px; */
padding: 0;
}
.card-header {
padding: 15px 20px;
background: rgba(255, 255, 255, 0.05);
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.card-header h2 {
margin: 0;
font-size: 18px;
display: flex;
align-items: center;
gap: 8px;
}
.search-bar-wrapper {
padding: 15px 20px;
}
/* Make search bar larger for touch */
input[type="text"] {
padding: 12px 15px;
font-size: 16px;
}
/* 5. FILE LIST (Mobile Optimized) */
.file-list {
padding: 0 20px 20px 20px;
overflow-y: auto;
}
.file-item {
padding: 15px 0; /* Larger touch targets */
}
.f-icon {
font-size: 28px;
}
.f-name-link {
font-size: 15px;
padding: 5px 0;
}
.dl-btn {
width: 42px;
height: 42px;
font-size: 18px;
background: rgba(255, 255, 255, 0.1);
}
/* 6. NAVBAR & STATUS */
.navbar {
padding: 10px 5px;
}
.status-bar {
margin-bottom: 5px;
}
.status-pill {
padding: 8px 20px;
width: 100%;
box-sizing: border-box;
justify-content: center;
background: rgba(16, 185, 129, 0.1);
border-color: var(--accent-green);
color: var(--text-main);
}
.status-dot {
background: var(--accent-green);
box-shadow: 0 0 10px var(--accent-green);
}
.icon-emoji img {
width: 1.5em;
height: 1.5em;
vertical-align: middle;
}
/* responsive view for desktop */
@media (min-width: 768px) {
.app-container {
max-width: 800px;
padding: 25px;
display: grid;
grid-template-columns: 1fr 1fr;
grid-template-rows: auto auto 1fr;
gap: 25px;
grid-template-areas:
"head head"
"stat stat"
"up files";
align-items: stretch;
height: 90vh;
;
}
.upload-card {
padding: 40px 30px;
}
.file-list {
padding: 0 30px 30px 30px;
}
}