Files
Oxicloud/static/css/components/batchToolbar.css
T

102 lines
2.4 KiB
CSS
Raw Normal View History

/* Multi-Select – batch action toolbar
* Per-item checkbox styles (.file-item .checkbox-cell, .list-header.selection-mode)
* live in resourceList.css alongside the item renderer. */
.batch-selection-info {
2026-04-07 22:48:59 +02:00
display: flex;
align-items: center;
justify-content: space-between;
gap: var(--space-4);
2026-04-07 22:48:59 +02:00
min-width: 0;
}
.batch-selection-bar {
2026-04-07 22:48:59 +02:00
display: flex;
align-items: center;
background: var(--color-multiselect-bg);
color: var(--color-multiselect-text);
padding: var(--space-2-5) var(--space-5);
border-radius: var(--radius-2xl);
2026-04-07 22:48:59 +02:00
overflow: hidden;
margin-right: var(--space-3);
height: 60px;
transform: translateY(-8px);
2026-04-07 22:48:59 +02:00
transition:
opacity 0.2s,
max-height 0.25s,
transform 0.2s,
margin 0.2s,
padding 0.2s;
pointer-events: auto;
}
.batch-bar-close {
2026-04-07 22:48:59 +02:00
background: none;
border: none;
color: var(--color-multiselect-text-faint);
2026-04-07 22:48:59 +02:00
cursor: pointer;
font-size: var(--text-base);
padding: var(--space-1) var(--space-1-5);
border-radius: var(--radius-md);
2026-04-07 22:48:59 +02:00
transition:
background 0.15s,
color 0.15s;
}
.batch-bar-close:hover {
background: var(--color-multiselect-hover-bg);
color: var(--color-multiselect-text);
}
.batch-bar-count {
font-size: var(--text-base);
font-weight: var(--weight-semibold);
2026-04-07 22:48:59 +02:00
white-space: nowrap;
}
.batch-bar-actions {
2026-04-07 22:48:59 +02:00
display: flex;
align-items: center;
gap: var(--space-1-5);
}
.batch-btn {
2026-04-07 22:48:59 +02:00
display: inline-flex;
align-items: center;
gap: var(--space-1-5);
padding: 7px var(--space-3-5);
2026-04-07 22:48:59 +02:00
border: none;
border-radius: var(--radius-lg);
background: var(--color-multiselect-hover-bg);
color: var(--color-multiselect-action-text);
font-size: var(--text-sm);
font-weight: var(--weight-medium);
2026-04-07 22:48:59 +02:00
cursor: pointer;
transition: background 0.15s;
white-space: nowrap;
}
.batch-btn:hover {
background: var(--color-multiselect-action-hover);
}
.batch-btn-danger {
background: var(--color-multiselect-danger-bg);
color: var(--color-multiselect-danger-text);
}
.batch-btn-danger:hover {
background: var(--color-multiselect-danger-active);
color: var(--color-multiselect-danger-text-active);
}
@media (max-width: 640px) {
2026-04-07 22:48:59 +02:00
.batch-btn span {
display: none;
}
2026-04-07 22:48:59 +02:00
.batch-btn {
padding: 7px var(--space-2-5);
2026-04-07 22:48:59 +02:00
}
}