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

151 lines
2.9 KiB
CSS
Raw Normal View History

/* Multi-Select – checkboxes & batch action bar */
.list-header-checkbox,
.file-item .checkbox-cell {
2026-04-07 22:48:59 +02:00
display: flex;
align-items: center;
justify-content: center;
}
.list-header-checkbox input[type="checkbox"],
.file-item .checkbox-cell input[type="checkbox"] {
2026-04-07 22:48:59 +02:00
width: 17px;
height: 17px;
cursor: pointer;
accent-color: #ff5e3a;
border-radius: 4px;
}
.list-header.selection-mode {
2026-04-07 22:48:59 +02:00
grid-template-columns: 36px 1fr;
background-color: #1e293b;
color: #fff;
border-bottom-color: #334155;
}
.list-header.selection-mode .list-header-checkbox input[type="checkbox"] {
2026-04-07 22:48:59 +02:00
accent-color: #ff5e3a;
}
.batch-selection-info {
2026-04-07 22:48:59 +02:00
display: flex;
align-items: center;
justify-content: space-between;
gap: 16px;
min-width: 0;
}
.batch-selection-bar {
2026-04-07 22:48:59 +02:00
display: flex;
align-items: center;
justify-content: space-between;
background: #1e293b;
color: #fff;
padding: 10px 20px;
border-radius: 12px;
margin: 0 0 12px;
height: 60px;
overflow: hidden;
transform: translateY(-8px);
transition:
opacity 0.2s,
max-height 0.25s,
transform 0.2s,
margin 0.2s,
padding 0.2s;
pointer-events: auto;
}
.batch-bar-left {
2026-04-07 22:48:59 +02:00
display: flex;
align-items: center;
gap: 12px;
}
.batch-bar-close {
2026-04-07 22:48:59 +02:00
background: none;
border: none;
color: rgba(255, 255, 255, 0.7);
cursor: pointer;
font-size: 14px;
padding: 4px 6px;
border-radius: 6px;
transition:
background 0.15s,
color 0.15s;
}
.batch-bar-close:hover {
2026-04-07 22:48:59 +02:00
background: rgba(255, 255, 255, 0.1);
color: #fff;
}
.batch-bar-count {
2026-04-07 22:48:59 +02:00
font-size: 14px;
font-weight: 600;
white-space: nowrap;
}
.batch-bar-actions {
2026-04-07 22:48:59 +02:00
display: flex;
align-items: center;
gap: 6px;
}
.batch-btn {
2026-04-07 22:48:59 +02:00
display: inline-flex;
align-items: center;
gap: 6px;
padding: 7px 14px;
border: none;
border-radius: 8px;
background: rgba(255, 255, 255, 0.1);
color: #fff;
font-size: 13px;
font-weight: 500;
cursor: pointer;
transition: background 0.15s;
white-space: nowrap;
}
.batch-btn:hover {
2026-04-07 22:48:59 +02:00
background: rgba(255, 255, 255, 0.2);
}
.batch-btn-danger {
2026-04-07 22:48:59 +02:00
background: rgba(239, 68, 68, 0.25);
color: #fca5a5;
}
.batch-btn-danger:hover {
2026-04-07 22:48:59 +02:00
background: rgba(239, 68, 68, 0.4);
color: #fff;
}
@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 10px;
}
}
[data-theme="dark"] .list-header-checkbox input,
[data-theme="dark"] .file-item .checkbox-cell input,
[data-theme="dark"] .file-item .checkbox-cell input {
2026-04-07 22:48:59 +02:00
accent-color: #ff5e3a;
}
[data-theme="dark"] .batch-selection-bar {
2026-04-07 22:48:59 +02:00
background-color: #1e293b;
border-color: #334155;
color: #e2e8f0;
}
[data-theme="dark"] .list-header.selection-mode {
2026-04-07 22:48:59 +02:00
background-color: #0f172a;
border-bottom-color: #334155;
color: #e2e8f0;
}