Add 2 files
Browse files- index.html +72 -10
- prompts.txt +3 -1
index.html
CHANGED
@@ -10,7 +10,7 @@
|
|
10 |
<style>
|
11 |
body {
|
12 |
background-color: #1a202c;
|
13 |
-
color: #
|
14 |
min-height: 100vh;
|
15 |
}
|
16 |
|
@@ -23,7 +23,7 @@
|
|
23 |
|
24 |
.status-em-elaboracao {
|
25 |
background-color: #4b5563;
|
26 |
-
color: #
|
27 |
}
|
28 |
|
29 |
.status-aguardando-aprovacao {
|
@@ -58,6 +58,9 @@
|
|
58 |
|
59 |
.offcanvas {
|
60 |
transition: transform 0.3s ease-in-out;
|
|
|
|
|
|
|
61 |
}
|
62 |
|
63 |
.offcanvas-end {
|
@@ -84,7 +87,8 @@
|
|
84 |
}
|
85 |
|
86 |
.table {
|
87 |
-
color: #
|
|
|
88 |
}
|
89 |
|
90 |
.table thead th {
|
@@ -94,32 +98,37 @@
|
|
94 |
font-weight: 500;
|
95 |
text-transform: uppercase;
|
96 |
letter-spacing: 0.05em;
|
|
|
97 |
}
|
98 |
|
99 |
.table tbody tr {
|
100 |
-
background-color:
|
|
|
101 |
}
|
102 |
|
103 |
.table tbody tr:hover {
|
104 |
-
background-color: rgba(45, 55, 72, 0.
|
105 |
}
|
106 |
|
107 |
.table tbody tr td {
|
108 |
vertical-align: middle;
|
109 |
white-space: nowrap;
|
110 |
border-top: 1px solid #4a5568;
|
|
|
111 |
}
|
112 |
|
113 |
.table tfoot td {
|
114 |
background-color: #2d3748;
|
115 |
font-weight: 500;
|
116 |
border-top: 1px solid #4a5568;
|
|
|
117 |
}
|
118 |
|
119 |
.btn-action {
|
120 |
padding: 0.25rem;
|
121 |
background: transparent;
|
122 |
border: none;
|
|
|
123 |
}
|
124 |
|
125 |
.btn-action:hover {
|
@@ -189,18 +198,19 @@
|
|
189 |
.card {
|
190 |
background-color: #2d3748;
|
191 |
border: 1px solid #4a5568;
|
|
|
192 |
}
|
193 |
|
194 |
.form-control, .form-select {
|
195 |
background-color: #2d3748;
|
196 |
border: 1px solid #4a5568;
|
197 |
-
color: #
|
198 |
}
|
199 |
|
200 |
.form-control:focus, .form-select:focus {
|
201 |
background-color: #2d3748;
|
202 |
border-color: #4299e1;
|
203 |
-
color: #
|
204 |
box-shadow: 0 0 0 0.25rem rgba(66, 153, 225, 0.25);
|
205 |
}
|
206 |
|
@@ -227,6 +237,7 @@
|
|
227 |
|
228 |
.history-content p {
|
229 |
margin-bottom: 0;
|
|
|
230 |
}
|
231 |
|
232 |
.history-date {
|
@@ -236,12 +247,13 @@
|
|
236 |
|
237 |
.modal-content {
|
238 |
background-color: #2d3748;
|
239 |
-
color: #
|
240 |
border: 1px solid #4a5568;
|
241 |
}
|
242 |
|
243 |
.modal-header {
|
244 |
border-bottom: 1px solid #4a5568;
|
|
|
245 |
}
|
246 |
|
247 |
.modal-footer {
|
@@ -260,10 +272,60 @@
|
|
260 |
display: block;
|
261 |
}
|
262 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
263 |
@media (max-width: 768px) {
|
264 |
.offcanvas {
|
265 |
width: 100% !important;
|
266 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
267 |
}
|
268 |
</style>
|
269 |
</head>
|
@@ -272,7 +334,7 @@
|
|
272 |
<!-- Header -->
|
273 |
<div class="d-flex flex-column flex-md-row justify-content-between align-items-md-center mb-5 gap-3">
|
274 |
<h1 class="text-primary mb-0">Pedidos de Compra</h1>
|
275 |
-
<div class="d-flex flex-column flex-sm-row gap-3
|
276 |
<button id="newOrderBtn" class="btn btn-blue d-flex align-items-center gap-2">
|
277 |
<i class="fas fa-plus"></i> Novo Pedido de Compra
|
278 |
</button>
|
@@ -780,7 +842,7 @@
|
|
780 |
<!-- New Order Offcanvas -->
|
781 |
<div id="backdrop" class="backdrop fixed-top start-0 w-100 h-100 bg-black bg-opacity-50 z-40"></div>
|
782 |
|
783 |
-
<div id="newOrderOffcanvas" class="offcanvas offcanvas-end
|
784 |
<div class="offcanvas-header">
|
785 |
<h2 class="offcanvas-title text-primary">Novo Pedido de Compra</h2>
|
786 |
<button type="button" class="btn-close text-reset" onclick="closeOffcanvas()"></button>
|
|
|
10 |
<style>
|
11 |
body {
|
12 |
background-color: #1a202c;
|
13 |
+
color: #ffffff;
|
14 |
min-height: 100vh;
|
15 |
}
|
16 |
|
|
|
23 |
|
24 |
.status-em-elaboracao {
|
25 |
background-color: #4b5563;
|
26 |
+
color: #ffffff;
|
27 |
}
|
28 |
|
29 |
.status-aguardando-aprovacao {
|
|
|
58 |
|
59 |
.offcanvas {
|
60 |
transition: transform 0.3s ease-in-out;
|
61 |
+
background-color: #1a202c !important;
|
62 |
+
color: #ffffff !important;
|
63 |
+
width: 50% !important;
|
64 |
}
|
65 |
|
66 |
.offcanvas-end {
|
|
|
87 |
}
|
88 |
|
89 |
.table {
|
90 |
+
color: #ffffff;
|
91 |
+
background-color: transparent;
|
92 |
}
|
93 |
|
94 |
.table thead th {
|
|
|
98 |
font-weight: 500;
|
99 |
text-transform: uppercase;
|
100 |
letter-spacing: 0.05em;
|
101 |
+
color: #ffffff;
|
102 |
}
|
103 |
|
104 |
.table tbody tr {
|
105 |
+
background-color: transparent;
|
106 |
+
color: #ffffff;
|
107 |
}
|
108 |
|
109 |
.table tbody tr:hover {
|
110 |
+
background-color: rgba(45, 55, 72, 0.3);
|
111 |
}
|
112 |
|
113 |
.table tbody tr td {
|
114 |
vertical-align: middle;
|
115 |
white-space: nowrap;
|
116 |
border-top: 1px solid #4a5568;
|
117 |
+
color: #ffffff;
|
118 |
}
|
119 |
|
120 |
.table tfoot td {
|
121 |
background-color: #2d3748;
|
122 |
font-weight: 500;
|
123 |
border-top: 1px solid #4a5568;
|
124 |
+
color: #ffffff;
|
125 |
}
|
126 |
|
127 |
.btn-action {
|
128 |
padding: 0.25rem;
|
129 |
background: transparent;
|
130 |
border: none;
|
131 |
+
color: #ffffff;
|
132 |
}
|
133 |
|
134 |
.btn-action:hover {
|
|
|
198 |
.card {
|
199 |
background-color: #2d3748;
|
200 |
border: 1px solid #4a5568;
|
201 |
+
color: #ffffff;
|
202 |
}
|
203 |
|
204 |
.form-control, .form-select {
|
205 |
background-color: #2d3748;
|
206 |
border: 1px solid #4a5568;
|
207 |
+
color: #ffffff;
|
208 |
}
|
209 |
|
210 |
.form-control:focus, .form-select:focus {
|
211 |
background-color: #2d3748;
|
212 |
border-color: #4299e1;
|
213 |
+
color: #ffffff;
|
214 |
box-shadow: 0 0 0 0.25rem rgba(66, 153, 225, 0.25);
|
215 |
}
|
216 |
|
|
|
237 |
|
238 |
.history-content p {
|
239 |
margin-bottom: 0;
|
240 |
+
color: #ffffff;
|
241 |
}
|
242 |
|
243 |
.history-date {
|
|
|
247 |
|
248 |
.modal-content {
|
249 |
background-color: #2d3748;
|
250 |
+
color: #ffffff;
|
251 |
border: 1px solid #4a5568;
|
252 |
}
|
253 |
|
254 |
.modal-header {
|
255 |
border-bottom: 1px solid #4a5568;
|
256 |
+
color: #ffffff;
|
257 |
}
|
258 |
|
259 |
.modal-footer {
|
|
|
272 |
display: block;
|
273 |
}
|
274 |
|
275 |
+
.form-label {
|
276 |
+
color: #ffffff;
|
277 |
+
}
|
278 |
+
|
279 |
+
.text-muted {
|
280 |
+
color: #a0aec0 !important;
|
281 |
+
}
|
282 |
+
|
283 |
+
.text-primary {
|
284 |
+
color: #3b82f6 !important;
|
285 |
+
}
|
286 |
+
|
287 |
+
.text-warning {
|
288 |
+
color: #f59e0b !important;
|
289 |
+
}
|
290 |
+
|
291 |
+
.text-success {
|
292 |
+
color: #10b981 !important;
|
293 |
+
}
|
294 |
+
|
295 |
+
.text-danger {
|
296 |
+
color: #ef4444 !important;
|
297 |
+
}
|
298 |
+
|
299 |
+
.text-purple {
|
300 |
+
color: #8b5cf6 !important;
|
301 |
+
}
|
302 |
+
|
303 |
+
.offcanvas-title {
|
304 |
+
color: #3b82f6 !important;
|
305 |
+
}
|
306 |
+
|
307 |
+
.card-title {
|
308 |
+
color: #3b82f6 !important;
|
309 |
+
}
|
310 |
+
|
311 |
+
.btn-link {
|
312 |
+
color: #3b82f6 !important;
|
313 |
+
}
|
314 |
+
|
315 |
@media (max-width: 768px) {
|
316 |
.offcanvas {
|
317 |
width: 100% !important;
|
318 |
}
|
319 |
+
|
320 |
+
.header-buttons {
|
321 |
+
width: 100% !important;
|
322 |
+
}
|
323 |
+
}
|
324 |
+
|
325 |
+
@media (max-width: 992px) {
|
326 |
+
.offcanvas {
|
327 |
+
width: 75% !important;
|
328 |
+
}
|
329 |
}
|
330 |
</style>
|
331 |
</head>
|
|
|
334 |
<!-- Header -->
|
335 |
<div class="d-flex flex-column flex-md-row justify-content-between align-items-md-center mb-5 gap-3">
|
336 |
<h1 class="text-primary mb-0">Pedidos de Compra</h1>
|
337 |
+
<div class="d-flex flex-column flex-sm-row gap-3 header-buttons w-md-auto justify-content-end">
|
338 |
<button id="newOrderBtn" class="btn btn-blue d-flex align-items-center gap-2">
|
339 |
<i class="fas fa-plus"></i> Novo Pedido de Compra
|
340 |
</button>
|
|
|
842 |
<!-- New Order Offcanvas -->
|
843 |
<div id="backdrop" class="backdrop fixed-top start-0 w-100 h-100 bg-black bg-opacity-50 z-40"></div>
|
844 |
|
845 |
+
<div id="newOrderOffcanvas" class="offcanvas offcanvas-end" tabindex="-1">
|
846 |
<div class="offcanvas-header">
|
847 |
<h2 class="offcanvas-title text-primary">Novo Pedido de Compra</h2>
|
848 |
<button type="button" class="btn-close text-reset" onclick="closeOffcanvas()"></button>
|
prompts.txt
CHANGED
@@ -1 +1,3 @@
|
|
1 |
-
- Ao invés de usar `tailwindcss`, por favor, utilize o `Bootstrap 5.3.2`.
|
|
|
|
|
|
1 |
+
- Ao invés de usar `tailwindcss`, por favor, utilize o `Bootstrap 5.3.2`.
|
2 |
+
Está quase perfeito, mas em muitas telas a fonte ficou preta quando deveria ficar branca!
|
3 |
+
- O background das tabelas tem de ser transparentes ou da cor do fundo do filtro, pois a fonte "branca" precisa aparecer. O botão `+ Novo Pedido de Compra` tem de estar alinhado à direita. O OffCanvas chamado para "Novo Pedido de Compra" precisa ocupar 1/3 ou 1/2 da largura da tela de conteúdo. E o tema tem de ser dark, pois tem muita cor branca no background do offcanvas.
|