Spaces:
Running
Running
Update style.css
Browse files
style.css
CHANGED
@@ -4,19 +4,16 @@ body {
|
|
4 |
color: #333;
|
5 |
margin: 0;
|
6 |
padding: 20px;
|
7 |
-
display: flex;
|
8 |
-
justify-content: center;
|
9 |
-
align-items: center;
|
10 |
-
min-height: 100vh;
|
11 |
}
|
12 |
|
13 |
.container {
|
14 |
width: 100%;
|
15 |
-
max-width:
|
16 |
background-color: #fff;
|
17 |
padding: 30px;
|
18 |
border-radius: 10px;
|
19 |
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
|
|
|
20 |
}
|
21 |
|
22 |
header {
|
@@ -31,12 +28,28 @@ header h1 {
|
|
31 |
margin: 0;
|
32 |
}
|
33 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
34 |
h2 {
|
35 |
color: #0056b3;
|
36 |
margin-top: 0;
|
|
|
37 |
}
|
38 |
|
39 |
-
.input-section, .output-section, .history-section {
|
40 |
margin-bottom: 30px;
|
41 |
}
|
42 |
|
@@ -47,6 +60,7 @@ textarea {
|
|
47 |
border: 1px solid #ccc;
|
48 |
border-radius: 5px;
|
49 |
font-size: 16px;
|
|
|
50 |
resize: vertical;
|
51 |
}
|
52 |
|
@@ -68,7 +82,20 @@ button:hover {
|
|
68 |
background-color: #0056b3;
|
69 |
}
|
70 |
|
71 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
72 |
background-color: #f8f9fa;
|
73 |
border: 1px solid #e0e0e0;
|
74 |
border-radius: 5px;
|
@@ -76,17 +103,41 @@ button:hover {
|
|
76 |
min-height: 100px;
|
77 |
}
|
78 |
|
79 |
-
.history-entry {
|
80 |
border-bottom: 1px solid #eee;
|
81 |
-
padding:
|
82 |
}
|
83 |
|
84 |
-
.history-entry:last-child {
|
85 |
border-bottom: none;
|
86 |
}
|
87 |
|
88 |
-
.
|
89 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
90 |
}
|
91 |
|
92 |
footer {
|
|
|
4 |
color: #333;
|
5 |
margin: 0;
|
6 |
padding: 20px;
|
|
|
|
|
|
|
|
|
7 |
}
|
8 |
|
9 |
.container {
|
10 |
width: 100%;
|
11 |
+
max-width: 1200px;
|
12 |
background-color: #fff;
|
13 |
padding: 30px;
|
14 |
border-radius: 10px;
|
15 |
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
|
16 |
+
margin: 20px auto;
|
17 |
}
|
18 |
|
19 |
header {
|
|
|
28 |
margin: 0;
|
29 |
}
|
30 |
|
31 |
+
.main-content {
|
32 |
+
display: flex;
|
33 |
+
gap: 30px;
|
34 |
+
}
|
35 |
+
|
36 |
+
.chat-column {
|
37 |
+
flex: 2; /* Takes up 2/3 of the space */
|
38 |
+
}
|
39 |
+
|
40 |
+
.docs-column {
|
41 |
+
flex: 1; /* Takes up 1/3 of the space */
|
42 |
+
border-left: 1px solid #e0e0e0;
|
43 |
+
padding-left: 30px;
|
44 |
+
}
|
45 |
+
|
46 |
h2 {
|
47 |
color: #0056b3;
|
48 |
margin-top: 0;
|
49 |
+
margin-bottom: 15px;
|
50 |
}
|
51 |
|
52 |
+
.input-section, .output-section, .history-section, .upload-section, .reports-section {
|
53 |
margin-bottom: 30px;
|
54 |
}
|
55 |
|
|
|
60 |
border: 1px solid #ccc;
|
61 |
border-radius: 5px;
|
62 |
font-size: 16px;
|
63 |
+
box-sizing: border-box;
|
64 |
resize: vertical;
|
65 |
}
|
66 |
|
|
|
82 |
background-color: #0056b3;
|
83 |
}
|
84 |
|
85 |
+
button:disabled {
|
86 |
+
background-color: #a0c3e6;
|
87 |
+
cursor: not-allowed;
|
88 |
+
}
|
89 |
+
|
90 |
+
#uploadForm input[type="file"] {
|
91 |
+
width: 100%;
|
92 |
+
padding: 10px;
|
93 |
+
border: 1px solid #ccc;
|
94 |
+
border-radius: 5px;
|
95 |
+
box-sizing: border-box;
|
96 |
+
}
|
97 |
+
|
98 |
+
.result-container, .history-container, .reports-container {
|
99 |
background-color: #f8f9fa;
|
100 |
border: 1px solid #e0e0e0;
|
101 |
border-radius: 5px;
|
|
|
103 |
min-height: 100px;
|
104 |
}
|
105 |
|
106 |
+
.history-entry, .report-entry {
|
107 |
border-bottom: 1px solid #eee;
|
108 |
+
padding: 10px 0;
|
109 |
}
|
110 |
|
111 |
+
.history-entry:last-child, .report-entry:last-child {
|
112 |
border-bottom: none;
|
113 |
}
|
114 |
|
115 |
+
.report-entry {
|
116 |
+
display: flex;
|
117 |
+
justify-content: space-between;
|
118 |
+
align-items: center;
|
119 |
+
}
|
120 |
+
|
121 |
+
.report-entry .status {
|
122 |
+
padding: 3px 8px;
|
123 |
+
border-radius: 12px;
|
124 |
+
font-size: 12px;
|
125 |
+
font-weight: bold;
|
126 |
+
}
|
127 |
+
|
128 |
+
.status.processed {
|
129 |
+
background-color: #d4edda;
|
130 |
+
color: #155724;
|
131 |
+
}
|
132 |
+
|
133 |
+
.status.pending {
|
134 |
+
background-color: #fff3cd;
|
135 |
+
color: #856404;
|
136 |
+
}
|
137 |
+
|
138 |
+
#uploadStatus {
|
139 |
+
margin-top: 15px;
|
140 |
+
font-size: 14px;
|
141 |
}
|
142 |
|
143 |
footer {
|