Spaces:
Sleeping
Sleeping
Update frontend/style.css
Browse files- frontend/style.css +74 -26
frontend/style.css
CHANGED
@@ -1,26 +1,74 @@
|
|
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 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap");
|
2 |
+
|
3 |
+
body {
|
4 |
+
font-family: "Poppins", Arial, sans-serif;
|
5 |
+
margin: 0;
|
6 |
+
padding: 0;
|
7 |
+
}
|
8 |
+
|
9 |
+
.tab-button.active {
|
10 |
+
color: #7c3aed;
|
11 |
+
border-bottom: 2px solid #7c3aed;
|
12 |
+
}
|
13 |
+
|
14 |
+
.tab-button:not(.active) {
|
15 |
+
border-bottom: 2px solid transparent;
|
16 |
+
}
|
17 |
+
|
18 |
+
#output {
|
19 |
+
font-family: monospace;
|
20 |
+
}
|
21 |
+
|
22 |
+
/* Custom scrollbar */
|
23 |
+
::-webkit-scrollbar {
|
24 |
+
width: 8px;
|
25 |
+
height: 8px;
|
26 |
+
}
|
27 |
+
|
28 |
+
::-webkit-scrollbar-track {
|
29 |
+
background: #f1f1f1;
|
30 |
+
border-radius: 10px;
|
31 |
+
}
|
32 |
+
|
33 |
+
::-webkit-scrollbar-thumb {
|
34 |
+
background: #c4b5fd;
|
35 |
+
border-radius: 10px;
|
36 |
+
}
|
37 |
+
|
38 |
+
::-webkit-scrollbar-thumb:hover {
|
39 |
+
background: #a78bfa;
|
40 |
+
}
|
41 |
+
|
42 |
+
/* Animation for notifications */
|
43 |
+
@keyframes fadeIn {
|
44 |
+
from {
|
45 |
+
opacity: 0;
|
46 |
+
transform: translateY(-10px);
|
47 |
+
}
|
48 |
+
to {
|
49 |
+
opacity: 1;
|
50 |
+
transform: translateY(0);
|
51 |
+
}
|
52 |
+
}
|
53 |
+
|
54 |
+
.notification {
|
55 |
+
animation: fadeIn 0.3s ease-out forwards;
|
56 |
+
}
|
57 |
+
|
58 |
+
/* Language selection styles */
|
59 |
+
#translationOptions {
|
60 |
+
transition: all 0.3s ease;
|
61 |
+
}
|
62 |
+
|
63 |
+
#translationOptions.hidden {
|
64 |
+
display: none;
|
65 |
+
}
|
66 |
+
|
67 |
+
select {
|
68 |
+
appearance: none;
|
69 |
+
background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
|
70 |
+
background-repeat: no-repeat;
|
71 |
+
background-position: right 0.7rem center;
|
72 |
+
background-size: 1em;
|
73 |
+
padding-right: 2.5rem;
|
74 |
+
}
|