Some checks failed
Deploy Application / deploy (push) Has been cancelled
130 lines
2.4 KiB
CSS
130 lines
2.4 KiB
CSS
/**
|
|
* Bulk Operations Styles
|
|
* ITCSS: Components Layer
|
|
*/
|
|
|
|
/* Bulk Actions Toolbar */
|
|
.bulk-actions-toolbar {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: var(--space-md);
|
|
background: var(--bg-card);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius-md);
|
|
margin-bottom: var(--space-lg);
|
|
box-shadow: var(--shadow-sm);
|
|
}
|
|
|
|
.bulk-actions-info {
|
|
font-weight: 500;
|
|
color: var(--text);
|
|
}
|
|
|
|
.bulk-selected-count {
|
|
font-weight: 600;
|
|
color: var(--primary);
|
|
}
|
|
|
|
.bulk-actions-buttons {
|
|
display: flex;
|
|
gap: var(--space-sm);
|
|
}
|
|
|
|
/* Bulk Checkbox Column */
|
|
.bulk-checkbox-column {
|
|
width: 40px;
|
|
text-align: center;
|
|
}
|
|
|
|
.bulk-select-all,
|
|
.bulk-select-item {
|
|
cursor: pointer;
|
|
width: 18px;
|
|
height: 18px;
|
|
accent-color: var(--primary);
|
|
}
|
|
|
|
.bulk-select-all:indeterminate {
|
|
background-color: var(--primary);
|
|
border-color: var(--primary);
|
|
}
|
|
|
|
/* Confirmation Dialog */
|
|
.bulk-confirm-dialog {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
z-index: 10000;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.bulk-confirm-dialog__overlay {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
background: rgba(0, 0, 0, 0.5);
|
|
backdrop-filter: blur(4px);
|
|
}
|
|
|
|
.bulk-confirm-dialog__content {
|
|
position: relative;
|
|
background: var(--bg-card);
|
|
border-radius: var(--radius-lg);
|
|
padding: var(--space-xl);
|
|
max-width: 500px;
|
|
width: 90%;
|
|
box-shadow: var(--shadow-lg);
|
|
z-index: 1;
|
|
}
|
|
|
|
.bulk-confirm-dialog__content h3 {
|
|
margin-top: 0;
|
|
margin-bottom: var(--space-md);
|
|
font-size: 1.25rem;
|
|
font-weight: 600;
|
|
color: var(--text-dark);
|
|
}
|
|
|
|
.bulk-confirm-dialog__content p {
|
|
margin-bottom: var(--space-lg);
|
|
color: var(--text);
|
|
line-height: 1.6;
|
|
}
|
|
|
|
.bulk-confirm-dialog__actions {
|
|
display: flex;
|
|
gap: var(--space-sm);
|
|
justify-content: flex-end;
|
|
}
|
|
|
|
/* Loading State */
|
|
.bulk-actions-toolbar[data-loading="true"] .bulk-actions-buttons button {
|
|
opacity: 0.6;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
/* Responsive */
|
|
@media (max-width: 768px) {
|
|
.bulk-actions-toolbar {
|
|
flex-direction: column;
|
|
align-items: stretch;
|
|
gap: var(--space-md);
|
|
}
|
|
|
|
.bulk-actions-buttons {
|
|
flex-direction: column;
|
|
}
|
|
|
|
.bulk-actions-buttons button {
|
|
width: 100%;
|
|
}
|
|
}
|
|
|