Files
Aberwyn/Aberwyn/wwwroot/css/pizza-admin.css
Elias Jansson 0f0eaad7b1
All checks were successful
continuous-integration/drone/push Build is passing
Budget fixes! (pre new budget)
2025-05-26 14:20:24 +02:00

182 lines
3.4 KiB
CSS
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
.admin-grid {
display: flex;
gap: 24px;
align-items: flex-start;
flex-wrap: nowrap;
}
.main-orders {
flex: 3;
display: flex;
flex-direction: column;
gap: 16px;
}
.available-pizzas {
flex: 1;
background-color: #f1f5f9;
padding: 16px;
border-radius: 12px;
box-shadow: 0 1px 4px rgba(0,0,0,0.1);
min-width: 280px;
}
.card {
border-radius: 10px;
box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
background: #f9fafb; /* Ljus bakgrund generellt */
overflow: hidden;
min-width: 220px;
max-width: 260px;
display: flex;
flex-direction: column;
border: 1px solid #dee2e6;
transition: box-shadow 0.2s ease;
}
.card.border-info {
border-left: 6px solid #0dcaf0;
background-color: #e6f9fd; /* ljusblå ton */
}
.card.border-warning {
border-left: 6px solid #ffc107;
background-color: #fff9e6; /* ljusgul ton */
}
.card.border-success {
border-left: 6px solid #28a745;
background-color: #e6f9ec; /* ljusgrön ton */
}
.card.border-inprogress {
border-left: 6px solid #fd7e14;
background-color: #fff3e6; /* ljusorange ton */
}
.card-header {
font-weight: 700;
font-size: 0.95rem;
background-color: rgba(0, 0, 0, 0.05); /* fallback */
padding: 10px 12px;
color: #1a202c;
display: flex;
flex-direction: column;
gap: 4px;
}
.border-info .card-header {
background-color: #0dcaf0;
color: #fff;
}
.border-warning .card-header {
background-color: #ffc107;
color: #333;
}
.border-success .card-header {
background-color: #28a745;
color: #fff;
}
.border-inprogress .card-header {
background-color: #fd7e14;
color: #fff;
}
.card-header .pizza-name {
font-size: 0.85rem;
font-weight: 500;
opacity: 0.9;
}
.card-body {
padding: 10px 12px;
font-size: 0.85rem;
display: flex;
flex-direction: column;
gap: 10px;
}
.card-body ul {
margin: 0;
padding-left: 1.2rem;
list-style: disc;
}
.card .btn {
font-size: 0.8rem;
padding: 4px 8px;
}
/* Klara beställningar smalare liststil */
#ordersContainer ul.list-group {
margin-top: 12px;
}
#ordersContainer ul.list-group li {
background: #ffffff;
border: 1px solid #ddd;
border-radius: 6px;
margin-bottom: 6px;
padding: 8px 12px;
font-size: 0.9rem;
display: flex;
justify-content: space-between;
align-items: center;
}
#ordersContainer ul.list-group li form {
margin: 0;
}
/* Responsiv */
@media only screen and (max-width: 900px) {
.admin-grid {
flex-direction: column;
}
.available-pizzas {
width: 100%;
}
}
.completed-orders-grid {
display: flex;
flex-wrap: wrap;
gap: 8px;
margin-top: 16px;
}
.completed-order-box {
background-color: #e2e8f0;
border-radius: 8px;
padding: 8px 10px;
font-size: 0.85rem;
min-width: 160px;
max-width: 180px;
box-shadow: 0 1px 3px rgba(0,0,0,0.1);
display: flex;
flex-direction: column;
position: relative;
}
.completed-order-box strong {
font-weight: 600;
display: block;
margin-bottom: 4px;
}
.restore-form {
position: absolute;
top: 6px;
right: 6px;
}
.restore-form button {
padding: 2px 6px;
font-size: 0.75rem;
line-height: 1;
}