Files
thetool/public/js/pages/WarehouseOffer/WarehouseOffer.css
2025-07-15 12:57:41 +02:00

183 lines
3.2 KiB
CSS

@media (min-width: 992px) {
.modal-lg, .modal-xl {
max-width: min(90vw, 1400px) !important;
}
}
/* Styles for the expanded row container */
.offer-detail-container {
padding: 1.25rem;
background-color: #f8f9fa;
}
.offer-detail-grid {
display: grid;
grid-template-columns: repeat(1, 1fr);
gap: 1.5rem;
}
@media (min-width: 1024px) {
.offer-detail-grid {
grid-template-columns: repeat(3, 1fr);
}
}
.offer-info-pane, .offer-journal-pane {
background-color: #ffffff;
border-radius: 0.5rem;
padding: 1rem;
box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
@media (min-width: 1024px) {
.offer-journal-pane {
grid-column: span 2 / span 2;
}
}
.pane-title {
font-weight: 600;
font-size: 1.1rem;
margin-bottom: 1rem;
border-bottom: 1px solid #e9ecef;
padding-bottom: 0.75rem;
color: #343a40;
}
.info-grid {
display: grid;
grid-template-columns: 1fr;
gap: 0.75rem;
}
.info-item {
display: flex;
flex-direction: column;
}
.info-item label {
font-size: 0.75rem;
font-weight: 600;
color: #6c757d;
margin-bottom: 0.1rem;
}
.info-item span {
font-size: 0.9rem;
color: #212529;
}
.info-item .badge {
align-self: flex-start;
font-size: 0.8rem;
padding: .3em .6em;
}
/* Journal Styles */
.journal-box {
max-height: 300px;
overflow-y: auto;
padding-right: 10px;
}
.journal-entry-styled {
display: flex;
align-items: flex-start;
gap: 0.75rem;
}
.journal-entry-styled:not(:last-child) {
margin-bottom: 1.25rem;
}
.journal-avatar {
width: 36px;
height: 36px;
border-radius: 50%;
color: white;
display: flex;
align-items: center;
justify-content: center;
font-weight: 600;
flex-shrink: 0;
margin-top: 2px;
}
.journal-content {
flex-grow: 1;
}
.journal-header {
display: flex;
align-items: baseline;
margin-bottom: 0.25rem;
}
.journal-message {
margin: 0;
font-size: 0.9rem;
color: #495057;
white-space: pre-wrap;
}
.new-journal-entry {
border-top: 1px solid #e9ecef;
padding-top: 1rem;
margin-top: 1rem;
}
.new-journal-actions {
display: flex;
justify-content: flex-end;
align-items: center;
margin-top: 0.5rem;
gap: 0.5rem;
}
/* Styles for tt-file-upload-light */
.tt-file-upload-light .file-list {
border: 1px solid #e3e3e3;
border-radius: .25rem;
padding: .5rem;
}
.tt-file-upload-light .file-item {
display: flex;
justify-content: space-between;
align-items: center;
padding: .25rem .5rem;
font-size: 0.9em;
}
.tt-file-upload-light .file-item:not(:last-child) {
border-bottom: 1px solid #f0f0f0;
}
.tt-file-upload-light .file-info {
display: flex;
align-items: center;
}
.tt-file-upload-light .file-icon {
margin-right: 8px;
width: 16px; /* for alignment */
text-align: center;
}
.tt-file-upload-light .file-name {
max-width: 250px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.tt-file-upload-light .file-size {
color: #6c757d;
margin-left: 8px;
}
.tt-file-upload-light .file-status {
display: flex;
align-items: center;
}