-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
211 lines (186 loc) · 4.12 KB
/
style.css
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
/* Global Reset */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
:root {
/* Color Palette */
--primary-gradient: linear-gradient(45deg, #ff9a9e, #fad0c4);
--secondary-gradient: linear-gradient(45deg, #a18cd1, #fbc2eb);
--success-gradient: linear-gradient(45deg, #43e97b, #38f9d7);
--error-gradient: linear-gradient(45deg, #ff5858, #f09819);
--warning-gradient: linear-gradient(45deg, #f6d365, #fda085);
--background-gradient: linear-gradient(to right, #dce35b, #45b649);
--card-bg: #ffffff;
--text-color: #444;
--light-text: #666;
--border-radius: 15px;
--transition-speed: 0.3s;
--box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}
body {
font-family: 'Poppins', sans-serif;
background: var(--background-gradient);
color: var(--text-color);
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
padding: 20px;
animation: gradientFade var(--transition-speed) ease-out;
}
.container {
background: var(--card-bg);
max-width: 900px;
width: 100%;
padding: 30px;
border-radius: var(--border-radius);
box-shadow: var(--box-shadow);
animation: fadeIn var(--transition-speed) ease-out;
}
h1 {
font-size: 2.5rem;
font-weight: bold;
text-align: center;
color: #333;
margin-bottom: 25px;
position: relative;
text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}
h1::after {
content: '';
position: absolute;
bottom: -10px;
left: 50%;
transform: translateX(-50%);
width: 100px;
height: 4px;
background: var(--primary-gradient);
border-radius: 4px;
}
.options,
.controls {
display: flex;
flex-wrap: wrap;
gap: 15px;
margin-bottom: 20px;
justify-content: space-between;
}
label {
font-size: 1rem;
font-weight: 500;
color: var(--light-text);
display: block;
margin-bottom: 5px;
}
select,
textarea {
padding: 12px;
font-size: 1rem;
border-radius: var(--border-radius);
border: 1px solid #ddd;
background: rgba(255, 255, 255, 0.9);
transition: all var(--transition-speed);
width: 100%;
}
select:focus,
textarea:focus {
border-color: #333;
outline: none;
box-shadow: 0 0 10px rgba(67, 233, 123, 0.5);
}
textarea {
height: 200px;
line-height: 1.6;
resize: none;
}
button {
background-color: #a18cd1;
padding: 12px 25px;
font-size: 1rem;
border-radius: var(--border-radius);
border: none;
font-weight: bold;
cursor: pointer;
color: #4569b6;
transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}
button:hover {
color: #38f9d7;
transform: translateY(-3px);
box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}
button:disabled {
background: #ddd;
color: #aaa;
cursor: not-allowed;
transform: none;
box-shadow: none;
}
/* Gradient Buttons */
.permission-btn {
background: var(--warning-gradient);
}
.start-btn {
background: var(--success-gradient);
}
.stop-btn {
background: var(--error-gradient);
}
.download-btn {
background: var(--secondary-gradient);
}
/* Status Box */
#status {
font-size: 1.1rem;
text-align: center;
margin-top: 20px;
padding: 15px;
border-radius: var(--border-radius);
animation: fadeIn var(--transition-speed) ease-out;
font-weight: bold;
box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.1);
}
#status.success {
color: #28a745;
background: rgba(67, 233, 123, 0.1);
}
#status.error {
color: #e55353;
background: rgba(255, 88, 88, 0.1);
}
#status.recording {
color: #ffc107;
background: rgba(246, 211, 101, 0.1);
}
/* Animations */
@keyframes fadeIn {
from {
opacity: 0;
transform: scale(0.9);
}
to {
opacity: 1;
transform: scale(1);
}
}
@keyframes gradientFade {
from {
background: linear-gradient(to right, #d4fc79, #96e6a1);
}
to {
background: var(--background-gradient);
}
}
/* Responsive Design */
@media (max-width: 768px) {
.options,
.controls {
flex-direction: column;
gap: 10px;
}
button {
width: 100%;
}
}