Spaces:
Running
Running
Update style.css
Browse files
style.css
CHANGED
@@ -1,3 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
body {
|
2 |
font-family: sans-serif;
|
3 |
background: #f5f5f5;
|
@@ -6,7 +44,6 @@ body {
|
|
6 |
display: flex;
|
7 |
justify-content: center;
|
8 |
}
|
9 |
-
|
10 |
.container {
|
11 |
width: 100%;
|
12 |
max-width: 600px;
|
@@ -15,44 +52,27 @@ body {
|
|
15 |
border-radius: 0.5rem;
|
16 |
box-shadow: 0 4px 12px rgba(0,0,0,0.1);
|
17 |
}
|
18 |
-
|
19 |
-
h1 {
|
20 |
-
margin-top: 0;
|
21 |
-
font-size: 1.5rem;
|
22 |
-
text-align: center;
|
23 |
-
}
|
24 |
-
|
25 |
textarea {
|
26 |
-
width: 100%;
|
27 |
-
|
28 |
-
font-size: 1rem;
|
29 |
-
border: 1px solid #ccc;
|
30 |
-
border-radius: 0.25rem;
|
31 |
-
resize: vertical;
|
32 |
}
|
33 |
-
|
34 |
button {
|
35 |
-
margin-top: 1rem;
|
36 |
-
|
37 |
-
|
38 |
-
font-size: 1rem;
|
39 |
-
border: none;
|
40 |
-
border-radius: 0.25rem;
|
41 |
-
background: #4CAF50;
|
42 |
-
color: white;
|
43 |
-
cursor: pointer;
|
44 |
}
|
45 |
-
|
46 |
button:disabled {
|
47 |
-
background: #aaa;
|
48 |
-
cursor: not-allowed;
|
49 |
}
|
50 |
-
|
51 |
-
pre {
|
52 |
margin-top: 1rem;
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
|
|
|
|
|
|
58 |
}
|
|
|
1 |
+
/* Modal overlay */
|
2 |
+
.modal {
|
3 |
+
position: fixed;
|
4 |
+
top: 0;
|
5 |
+
left: 0;
|
6 |
+
width: 100%;
|
7 |
+
height: 100%;
|
8 |
+
background: rgba(0,0,0,0.6);
|
9 |
+
display: flex;
|
10 |
+
align-items: center;
|
11 |
+
justify-content: center;
|
12 |
+
z-index: 10;
|
13 |
+
}
|
14 |
+
.modal.hidden { display: none; }
|
15 |
+
.modal-content {
|
16 |
+
background: white;
|
17 |
+
padding: 2rem;
|
18 |
+
border-radius: 0.5rem;
|
19 |
+
text-align: center;
|
20 |
+
width: 80%;
|
21 |
+
max-width: 400px;
|
22 |
+
}
|
23 |
+
.progress-bar {
|
24 |
+
width: 100%;
|
25 |
+
height: 1rem;
|
26 |
+
background: #eee;
|
27 |
+
border-radius: 0.5rem;
|
28 |
+
overflow: hidden;
|
29 |
+
margin-top: 0.5rem;
|
30 |
+
}
|
31 |
+
.progress-fill {
|
32 |
+
width: 0%;
|
33 |
+
height: 100%;
|
34 |
+
background: #4CAF50;
|
35 |
+
transition: width 0.1s ease;
|
36 |
+
}
|
37 |
+
|
38 |
+
/* Main UI */
|
39 |
body {
|
40 |
font-family: sans-serif;
|
41 |
background: #f5f5f5;
|
|
|
44 |
display: flex;
|
45 |
justify-content: center;
|
46 |
}
|
|
|
47 |
.container {
|
48 |
width: 100%;
|
49 |
max-width: 600px;
|
|
|
52 |
border-radius: 0.5rem;
|
53 |
box-shadow: 0 4px 12px rgba(0,0,0,0.1);
|
54 |
}
|
55 |
+
h1 { margin-top: 0; text-align: center; }
|
|
|
|
|
|
|
|
|
|
|
|
|
56 |
textarea {
|
57 |
+
width: 100%; padding: 0.75rem; font-size: 1rem;
|
58 |
+
border: 1px solid #ccc; border-radius: 0.25rem; resize: vertical;
|
|
|
|
|
|
|
|
|
59 |
}
|
|
|
60 |
button {
|
61 |
+
margin-top: 1rem; width: 100%; padding: 0.75rem; font-size: 1rem;
|
62 |
+
border: none; border-radius: 0.25rem; background: #4CAF50;
|
63 |
+
color: white; cursor: pointer;
|
|
|
|
|
|
|
|
|
|
|
|
|
64 |
}
|
|
|
65 |
button:disabled {
|
66 |
+
background: #aaa; cursor: not-allowed;
|
|
|
67 |
}
|
68 |
+
.loading-text {
|
|
|
69 |
margin-top: 1rem;
|
70 |
+
font-style: italic;
|
71 |
+
min-height: 1.2em;
|
72 |
+
}
|
73 |
+
.hidden { display: none; }
|
74 |
+
pre {
|
75 |
+
margin-top: 1rem; padding: 1rem;
|
76 |
+
background: #fafafa; border: 1px solid #ddd;
|
77 |
+
border-radius: 0.25rem; white-space: pre-wrap;
|
78 |
}
|