Spaces:
Runtime error
Runtime error
Update static/style.css
Browse files- static/style.css +81 -27
static/style.css
CHANGED
@@ -1,10 +1,12 @@
|
|
1 |
:root {
|
2 |
-
--primary: #
|
3 |
-
--secondary: #
|
4 |
-
--success: #
|
5 |
-
--danger: #
|
|
|
6 |
--card-bg: #ffffff;
|
7 |
-
--bg: #
|
|
|
8 |
}
|
9 |
|
10 |
body {
|
@@ -12,43 +14,95 @@ body {
|
|
12 |
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
|
13 |
margin: 0;
|
14 |
padding: 20px;
|
|
|
15 |
}
|
16 |
|
17 |
-
|
18 |
-
|
19 |
-
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
|
20 |
-
gap: 20px;
|
21 |
}
|
22 |
|
23 |
-
.
|
24 |
background: var(--card-bg);
|
25 |
border-radius: 10px;
|
26 |
padding: 20px;
|
27 |
-
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
.card:hover {
|
32 |
-
transform: translateY(-5px);
|
33 |
-
}
|
34 |
-
|
35 |
-
.card h3 {
|
36 |
-
color: var(--primary);
|
37 |
-
border-bottom: 1px solid #e2e8f0;
|
38 |
-
padding-bottom: 10px;
|
39 |
}
|
40 |
|
41 |
button {
|
42 |
background: var(--primary);
|
43 |
color: white;
|
44 |
border: none;
|
45 |
-
padding:
|
46 |
-
border-radius:
|
47 |
cursor: pointer;
|
48 |
-
font-weight:
|
49 |
-
transition:
|
|
|
50 |
}
|
51 |
|
52 |
button:hover {
|
53 |
-
background:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
54 |
}
|
|
|
1 |
:root {
|
2 |
+
--primary: #4f46e5;
|
3 |
+
--secondary: #6366f1;
|
4 |
+
--success: #10b981;
|
5 |
+
--danger: #ef4444;
|
6 |
+
--warning: #f59e0b;
|
7 |
--card-bg: #ffffff;
|
8 |
+
--bg: #f8fafc;
|
9 |
+
--text: #1e293b;
|
10 |
}
|
11 |
|
12 |
body {
|
|
|
14 |
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
|
15 |
margin: 0;
|
16 |
padding: 20px;
|
17 |
+
color: var(--text);
|
18 |
}
|
19 |
|
20 |
+
h1, h2, h3 {
|
21 |
+
color: var(--primary);
|
|
|
|
|
22 |
}
|
23 |
|
24 |
+
.tab {
|
25 |
background: var(--card-bg);
|
26 |
border-radius: 10px;
|
27 |
padding: 20px;
|
28 |
+
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
|
29 |
+
margin-bottom: 20px;
|
30 |
+
border: 1px solid #e2e8f0;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
31 |
}
|
32 |
|
33 |
button {
|
34 |
background: var(--primary);
|
35 |
color: white;
|
36 |
border: none;
|
37 |
+
padding: 12px 24px;
|
38 |
+
border-radius: 8px;
|
39 |
cursor: pointer;
|
40 |
+
font-weight: 600;
|
41 |
+
transition: all 0.3s;
|
42 |
+
margin: 5px 0;
|
43 |
}
|
44 |
|
45 |
button:hover {
|
46 |
+
background: var(--secondary);
|
47 |
+
transform: translateY(-2px);
|
48 |
+
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
|
49 |
+
}
|
50 |
+
|
51 |
+
button.primary {
|
52 |
+
background: var(--success);
|
53 |
+
}
|
54 |
+
|
55 |
+
button.danger {
|
56 |
+
background: var(--danger);
|
57 |
+
}
|
58 |
+
|
59 |
+
textarea, input, .json-container, .code-container {
|
60 |
+
background: #f1f5f9;
|
61 |
+
border: 1px solid #cbd5e1;
|
62 |
+
border-radius: 8px;
|
63 |
+
padding: 15px;
|
64 |
+
margin: 10px 0;
|
65 |
+
width: 100%;
|
66 |
+
}
|
67 |
+
|
68 |
+
.code-container {
|
69 |
+
font-family: 'Fira Code', monospace;
|
70 |
+
white-space: pre-wrap;
|
71 |
+
}
|
72 |
+
|
73 |
+
.tabs {
|
74 |
+
display: flex;
|
75 |
+
margin-bottom: 20px;
|
76 |
+
border-bottom: 2px solid #e2e8f0;
|
77 |
+
}
|
78 |
+
|
79 |
+
.tab-button {
|
80 |
+
background: none;
|
81 |
+
color: var(--text);
|
82 |
+
border: none;
|
83 |
+
padding: 12px 20px;
|
84 |
+
border-radius: 0;
|
85 |
+
margin: 0;
|
86 |
+
}
|
87 |
+
|
88 |
+
.tab-button.active {
|
89 |
+
border-bottom: 3px solid var(--primary);
|
90 |
+
color: var(--primary);
|
91 |
+
font-weight: bold;
|
92 |
+
}
|
93 |
+
|
94 |
+
.row {
|
95 |
+
display: flex;
|
96 |
+
gap: 20px;
|
97 |
+
margin-bottom: 20px;
|
98 |
+
}
|
99 |
+
|
100 |
+
.column {
|
101 |
+
flex: 1;
|
102 |
+
}
|
103 |
+
|
104 |
+
@media (max-width: 768px) {
|
105 |
+
.row {
|
106 |
+
flex-direction: column;
|
107 |
+
}
|
108 |
}
|