File size: 2,568 Bytes
774fe36
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
/* ===== Batch Selection ===== */

/* Batch toolbar */
.batch-toolbar {
    display: none;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: var(--bg-tertiary);
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
    flex-wrap: wrap;
}

.batch-select-all-wrap {
    display: flex;
    align-items: center;
    gap: 5px;
}

.batch-select-all {
    width: 16px;
    height: 16px;
    accent-color: var(--accent);
    cursor: pointer;
}

.batch-count {
    font-size: 0.78rem;
    color: var(--text-secondary);
    font-weight: 600;
    min-width: 70px;
}

.batch-action-btn {
    padding: 4px 10px;
    font-size: 0.78rem;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text-primary);
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
}

.batch-action-btn:hover:not(:disabled) {
    border-color: var(--accent);
    color: var(--accent);
}

.batch-action-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.batch-action-btn.danger:hover:not(:disabled) {
    border-color: var(--error);
    color: var(--error);
}

.batch-progress {
    font-size: 0.72rem;
    color: var(--warning);
    font-weight: 500;
}

/* Batch toggle button */
.batch-toggle-btn {
    padding: 3px 8px;
    font-size: 0.75rem;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition);
}

.batch-toggle-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.batch-toggle-btn.active {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

/* Card checkbox overlay */
.batch-checkbox-wrap {
    position: absolute;
    top: 4px;
    left: 4px;
    z-index: 3;
}

.batch-checkbox {
    width: 18px;
    height: 18px;
    accent-color: var(--accent);
    cursor: pointer;
    box-shadow: 0 1px 4px rgba(0,0,0,0.3);
    border-radius: 3px;
}

.history-card.batch-selected,
.cloud-card.batch-selected {
    border-color: var(--accent);
    box-shadow: 0 0 0 2px var(--accent-glow);
}

.history-card.batch-selected::after,
.cloud-card.batch-selected::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(108, 99, 255, 0.1);
    pointer-events: none;
    border-radius: inherit;
}

@media (max-width: 768px) {
    .batch-toolbar { padding: 4px 8px; gap: 4px; }
    .batch-action-btn { padding: 3px 6px; font-size: 0.72rem; }
}