184 lines
3.7 KiB
SCSS
184 lines
3.7 KiB
SCSS
// Styles pour le portail planning
|
|
|
|
.o_portal_planning {
|
|
.planning-slot {
|
|
border: 1px solid #dee2e6;
|
|
border-radius: 4px;
|
|
margin-bottom: 1rem;
|
|
padding: 1rem;
|
|
transition: all 0.3s ease;
|
|
|
|
&:hover {
|
|
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
.slot-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
|
|
.slot-title {
|
|
font-weight: bold;
|
|
font-size: 1.1rem;
|
|
}
|
|
|
|
.slot-date {
|
|
color: #6c757d;
|
|
}
|
|
|
|
.slot-time {
|
|
font-weight: 500;
|
|
}
|
|
|
|
.slot-actions {
|
|
margin-top: 0.5rem;
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
gap: 0.5rem;
|
|
}
|
|
}
|
|
|
|
.planning-confirmed {
|
|
border-left: 4px solid #28a745;
|
|
}
|
|
|
|
.planning-draft {
|
|
border-left: 4px solid #17a2b8;
|
|
}
|
|
|
|
.planning-modified {
|
|
border-left: 4px solid #ffc107;
|
|
}
|
|
|
|
.planning-pending {
|
|
border-left: 4px solid #dc3545;
|
|
}
|
|
|
|
.planning-exchange {
|
|
background-color: #f8f9fa;
|
|
|
|
.exchange-details {
|
|
margin-top: 1rem;
|
|
padding-top: 1rem;
|
|
border-top: 1px solid #dee2e6;
|
|
}
|
|
}
|
|
|
|
.planning-modification {
|
|
.modification-details {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 1rem;
|
|
margin-top: 0.5rem;
|
|
|
|
.original-values, .new-values {
|
|
flex: 1;
|
|
min-width: 250px;
|
|
padding: 0.5rem;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
.original-values {
|
|
background-color: #f8f9fa;
|
|
}
|
|
|
|
.new-values {
|
|
background-color: #e9f7ef;
|
|
}
|
|
}
|
|
}
|
|
|
|
.planning-stats {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 1rem;
|
|
margin-bottom: 1.5rem;
|
|
|
|
.stat-card {
|
|
flex: 1;
|
|
min-width: 150px;
|
|
padding: 1rem;
|
|
border-radius: 4px;
|
|
background-color: #f8f9fa;
|
|
text-align: center;
|
|
|
|
.stat-value {
|
|
font-size: 1.5rem;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.stat-label {
|
|
color: #6c757d;
|
|
font-size: 0.9rem;
|
|
}
|
|
}
|
|
}
|
|
|
|
.planning-filters {
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
|
|
.planning-pagination {
|
|
margin-top: 1.5rem;
|
|
}
|
|
}
|
|
|
|
// Styles pour les formulaires de modification et d'échange
|
|
.o_portal_planning_form {
|
|
max-width: 800px;
|
|
margin: 0 auto;
|
|
|
|
.form-group {
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
|
|
.form-actions {
|
|
margin-top: 2rem;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
}
|
|
}
|
|
|
|
// Styles pour les notifications
|
|
.o_portal_planning_notification {
|
|
position: fixed;
|
|
top: 1rem;
|
|
right: 1rem;
|
|
z-index: 1050;
|
|
max-width: 350px;
|
|
padding: 1rem;
|
|
border-radius: 4px;
|
|
box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
|
|
animation: fadeIn 0.3s ease;
|
|
|
|
&.success {
|
|
background-color: #d4edda;
|
|
color: #155724;
|
|
border: 1px solid #c3e6cb;
|
|
}
|
|
|
|
&.error {
|
|
background-color: #f8d7da;
|
|
color: #721c24;
|
|
border: 1px solid #f5c6cb;
|
|
}
|
|
|
|
&.warning {
|
|
background-color: #fff3cd;
|
|
color: #856404;
|
|
border: 1px solid #ffeeba;
|
|
}
|
|
|
|
&.info {
|
|
background-color: #d1ecf1;
|
|
color: #0c5460;
|
|
border: 1px solid #bee5eb;
|
|
}
|
|
}
|
|
|
|
@keyframes fadeIn {
|
|
from { opacity: 0; transform: translateY(-10px); }
|
|
to { opacity: 1; transform: translateY(0); }
|
|
}
|