215 lines
4.4 KiB
SCSS
215 lines
4.4 KiB
SCSS
// PBG Task Show Page Styles
|
|
// Custom styles for data lists display (List Layout)
|
|
|
|
.data-list-section {
|
|
.section-header {
|
|
border-bottom: 2px solid #f8f9fa;
|
|
padding-bottom: 0.75rem;
|
|
|
|
.section-icon {
|
|
font-size: 1.2rem;
|
|
color: #5d87ff;
|
|
}
|
|
|
|
.section-title {
|
|
font-size: 1.1rem;
|
|
font-weight: 600;
|
|
color: #2c3e50;
|
|
}
|
|
|
|
.section-count {
|
|
font-size: 0.85rem;
|
|
}
|
|
}
|
|
}
|
|
|
|
.data-list-container {
|
|
.data-list-item {
|
|
border: 1px solid #e9ecef;
|
|
border-radius: 6px;
|
|
margin-bottom: 0.75rem;
|
|
padding: 1rem;
|
|
background: #ffffff;
|
|
transition: all 0.2s ease;
|
|
position: relative;
|
|
|
|
&:hover {
|
|
border-color: #5d87ff;
|
|
box-shadow: 0 2px 8px rgba(93, 135, 255, 0.1);
|
|
transform: translateX(2px);
|
|
}
|
|
|
|
&::before {
|
|
content: "";
|
|
position: absolute;
|
|
left: 0;
|
|
top: 0;
|
|
bottom: 0;
|
|
width: 3px;
|
|
background: #5d87ff;
|
|
border-radius: 3px 0 0 3px;
|
|
opacity: 0;
|
|
transition: opacity 0.2s ease;
|
|
}
|
|
|
|
&:hover::before {
|
|
opacity: 1;
|
|
}
|
|
|
|
.list-item-header {
|
|
.item-title {
|
|
font-size: 1rem;
|
|
font-weight: 600;
|
|
color: #2c3e50;
|
|
line-height: 1.4;
|
|
|
|
.item-number {
|
|
color: #5d87ff;
|
|
font-weight: 700;
|
|
margin-right: 0.5rem;
|
|
}
|
|
}
|
|
|
|
.item-description {
|
|
font-size: 0.9rem;
|
|
line-height: 1.4;
|
|
color: #6c757d;
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
|
|
.item-status {
|
|
.badge {
|
|
font-size: 0.75rem;
|
|
padding: 0.25rem 0.6rem;
|
|
}
|
|
}
|
|
}
|
|
|
|
.list-item-meta {
|
|
margin-top: 0.75rem;
|
|
padding-top: 0.75rem;
|
|
border-top: 1px solid #f1f3f4;
|
|
|
|
small {
|
|
font-size: 0.8rem;
|
|
|
|
i {
|
|
opacity: 0.7;
|
|
}
|
|
|
|
.text-dark {
|
|
font-weight: 500;
|
|
}
|
|
|
|
.badge {
|
|
font-size: 0.7rem;
|
|
padding: 0.1rem 0.4rem;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
// Empty state for individual sections
|
|
.no-items {
|
|
text-align: center;
|
|
padding: 2rem;
|
|
color: #6c757d;
|
|
font-style: italic;
|
|
border: 2px dashed #dee2e6;
|
|
border-radius: 6px;
|
|
|
|
i {
|
|
font-size: 2rem;
|
|
margin-bottom: 0.5rem;
|
|
opacity: 0.5;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Empty state styles
|
|
.empty-state {
|
|
text-align: center;
|
|
padding: 3rem 1rem;
|
|
|
|
.empty-icon {
|
|
font-size: 3rem;
|
|
color: #6c757d;
|
|
margin-bottom: 1rem;
|
|
opacity: 0.6;
|
|
}
|
|
|
|
.empty-title {
|
|
font-size: 1.25rem;
|
|
color: #6c757d;
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
|
|
.empty-text {
|
|
color: #6c757d;
|
|
opacity: 0.8;
|
|
}
|
|
}
|
|
|
|
// Badge variations
|
|
.badge {
|
|
&.bg-success {
|
|
background-color: #28a745 !important;
|
|
}
|
|
|
|
&.bg-danger {
|
|
background-color: #dc3545 !important;
|
|
}
|
|
|
|
&.bg-info {
|
|
background-color: #17a2b8 !important;
|
|
}
|
|
|
|
&.bg-light {
|
|
background-color: #f8f9fa !important;
|
|
border: 1px solid #dee2e6;
|
|
}
|
|
}
|
|
|
|
// Tab content spacing
|
|
#pbgTaskDataLists {
|
|
.section-divider {
|
|
border-bottom: 1px solid #e9ecef;
|
|
margin-bottom: 2rem;
|
|
padding-bottom: 1rem;
|
|
|
|
&:last-child {
|
|
border-bottom: none;
|
|
margin-bottom: 0;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Responsive adjustments
|
|
@media (max-width: 768px) {
|
|
.data-list-container {
|
|
.data-list-item {
|
|
padding: 0.75rem;
|
|
|
|
.list-item-header {
|
|
.item-title {
|
|
font-size: 0.95rem;
|
|
}
|
|
}
|
|
|
|
.list-item-meta {
|
|
small {
|
|
font-size: 0.75rem;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.data-list-section {
|
|
.section-header {
|
|
.section-title {
|
|
font-size: 1rem;
|
|
}
|
|
}
|
|
}
|
|
}
|