Skip to content

Commit 9746b46

Browse files
committed
checkboxes
1 parent 4999f17 commit 9746b46

1 file changed

Lines changed: 59 additions & 0 deletions

File tree

styles.css

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,65 @@ footer a:hover {
219219
color: rgba(var(--theme-rgb, 59, 75, 92), 0.88);
220220
}
221221

222+
.sidebar-controls {
223+
display: flex;
224+
gap: 8px;
225+
margin-bottom: 10px;
226+
}
227+
228+
.sidebar-controls button {
229+
flex: 1;
230+
padding: 6px 12px;
231+
font-size: 0.85em;
232+
font-weight: 600;
233+
border: 1px solid rgba(15, 23, 42, 0.2);
234+
border-radius: 6px;
235+
background: #ffffff;
236+
color: #1f2d3a;
237+
cursor: pointer;
238+
transition: background-color 0.15s, border-color 0.15s;
239+
}
240+
241+
.sidebar-controls button:hover {
242+
background: #f0f4f8;
243+
border-color: rgba(15, 23, 42, 0.35);
244+
}
245+
246+
.sidebar-controls button:active {
247+
background: #e2e8f0;
248+
}
249+
250+
.filter-checkbox {
251+
width: 14px;
252+
height: 14px;
253+
margin: 0;
254+
margin-right: 6px;
255+
cursor: pointer;
256+
flex-shrink: 0;
257+
}
258+
259+
#checkboxes .parent-area-row {
260+
display: flex;
261+
align-items: center;
262+
}
263+
264+
#checkboxes .area-block > summary {
265+
display: flex;
266+
align-items: center;
267+
}
268+
269+
#checkboxes .conference-row {
270+
display: flex;
271+
align-items: center;
272+
}
273+
274+
.filter-checkbox:not(:checked) + .parent-area-label,
275+
.filter-checkbox:not(:checked) + .area-label,
276+
.filter-checkbox:not(:checked) + .conference-label {
277+
opacity: 0.5;
278+
text-decoration: line-through;
279+
}
280+
222281
footer {
223282
margin-top: 40px;
224283
padding-top: 20px;

0 commit comments

Comments
 (0)