feats: ordenar tabela produtos clicando no cabeçalho | fundo red para quantidade menor de 20 na tabela produto

This commit is contained in:
2025-07-19 13:29:55 -03:00
parent a20fa6d583
commit f191b6a14b
5 changed files with 331 additions and 108 deletions

View File

@@ -50,6 +50,40 @@
background-color: rgba(0, 0, 0, 0.6);
}
th {
background-color: #170e4f;
cursor: pointer;
position: relative;
}
th.sorted-asc::after {
content: " ▲";
font-size: 0.8em;
vertical-align: super;
}
th.sorted-desc::after {
content: " ▼";
font-size: 0.8em;
vertical-align: super;
}
#product-list {
width: 100%;
border-collapse: collapse;
}
#product-list th,
#product-list td {
padding: 8px;
text-align: left;
}
#product-list th {
position: sticky;
top: 60px;
z-index: 10;
/* cursor: pointer; */
}
@media (max-width: 768px) {
.hide-on-mobile {