mirror of
https://github.com/welton89/RRBEC.git
synced 2026-04-05 05:25:40 +00:00
style: page orders
This commit is contained in:
4
execu.bat
Normal file
4
execu.bat
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
@echo off
|
||||||
|
cd C:\Users\%USERPROFILE%\Documents\RRBEC\gestaoRaul
|
||||||
|
c:\Users\%USERPROFILE%\Documents\RRBEC\dev\Scripts\Activate.ps1
|
||||||
|
python manage.py runserver
|
||||||
@@ -22,7 +22,7 @@ Comandas
|
|||||||
|
|
||||||
{% for comanda in comandas %}
|
{% for comanda in comandas %}
|
||||||
<div class="card-comanda">
|
<div class="card-comanda">
|
||||||
<a href="{% url 'viewcomanda' %}?parametro={{ comanda.id }}" style="text-decoration: none;">
|
<a href="{% url 'viewcomanda' %}?parametro={{ comanda.id }}" style="text-decoration: none; ">
|
||||||
<header
|
<header
|
||||||
{% if comanda.status == 'OPEN' %}
|
{% if comanda.status == 'OPEN' %}
|
||||||
style="padding: 5px; min-height: 60px;border-radius: 5px 5px 0px 0px; background-color: #036800;"
|
style="padding: 5px; min-height: 60px;border-radius: 5px 5px 0px 0px; background-color: #036800;"
|
||||||
|
|||||||
Binary file not shown.
@@ -1,24 +1,33 @@
|
|||||||
.grid-container {
|
.grid-container {
|
||||||
|
justify-self: center;
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-template-columns: repeat(5, 2fr);
|
grid-template-columns: repeat(6, 2fr);
|
||||||
gap: 10px;
|
gap: 10px;
|
||||||
max-width: 95%;
|
max-width: 95%;
|
||||||
margin: 40px;
|
margin-top: 15px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
.card-comanda {
|
.card-comanda {
|
||||||
width: 80%;
|
width:200px;
|
||||||
|
max-width: 200px;
|
||||||
gap: 3px;
|
gap: 3px;
|
||||||
background: var(--main-gradient);
|
background: var(--main-gradient);
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.2);
|
box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.2);
|
||||||
text-align: center;
|
text-align: center;
|
||||||
line-height: 12px;
|
line-height: 20px;
|
||||||
font-size: 15px;
|
font-size: 20px;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
color: #333;
|
transition: transform 0.2s ease-in ;
|
||||||
transition: transform 0.2s;
|
}
|
||||||
|
|
||||||
|
p {
|
||||||
|
color: rgb(194, 201, 207);
|
||||||
|
white-space: nowrap;
|
||||||
|
overflow: hidden;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.card-comanda:hover {
|
.card-comanda:hover {
|
||||||
|
|||||||
@@ -38,36 +38,26 @@
|
|||||||
h4{
|
h4{
|
||||||
color: black;
|
color: black;
|
||||||
}
|
}
|
||||||
/*
|
|
||||||
|
|
||||||
.card:hover {
|
|
||||||
transform: scale(1.05);
|
|
||||||
box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.3);
|
|
||||||
}
|
|
||||||
.m-card:hover {
|
|
||||||
transform: scale(1.05);
|
|
||||||
box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.3);
|
|
||||||
}*/
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
.tab {
|
.tab {
|
||||||
|
display: flex;
|
||||||
|
justify-content: space-between;
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
margin-bottom: 0px;
|
width: 100%;
|
||||||
/* border: 1px solid #ccc; */
|
border-bottom: 2px solid #cccccc93;
|
||||||
/* background-color: #f1f1f1; */
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Estilo para cada aba */
|
/* Estilo para cada aba */
|
||||||
.tab button {
|
.tab button {
|
||||||
width: 23%;
|
width: 24%;
|
||||||
background-color: inherit;
|
background-color: #4446d636;
|
||||||
float: left;
|
|
||||||
border: none;
|
border: none;
|
||||||
outline: none;
|
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
padding: 10px 10px;
|
padding: 10px 10px;
|
||||||
transition: 0.3s;
|
transition: 0.3s;
|
||||||
|
border-radius: 20px 20px 0px 0px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Estilo para a aba ativa */
|
/* Estilo para a aba ativa */
|
||||||
|
|||||||
Reference in New Issue
Block a user