Skip to content

Commit c416813

Browse files
authored
Add prominent expand/collapse-all bar between nav and filter panel
1 parent deff520 commit c416813

1 file changed

Lines changed: 57 additions & 0 deletions

File tree

css/jaraidFilterSort.css

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,55 @@
2020
font-size: 14px;
2121
}
2222

23+
/* Expand/Collapse-all controls: a separate, prominent bar placed
24+
* between the page nav menu and the filter/search panel
25+
* (#jaraidToolbar), rather than buried among the filter fields.
26+
*/
27+
#jaraidRowControls {
28+
display: flex;
29+
flex-wrap: wrap;
30+
gap: 10px;
31+
margin: 18px 0 0 0;
32+
}
33+
34+
#jaraidRowControls .jaraid-btn-prominent {
35+
display: inline-flex;
36+
align-items: center;
37+
gap: 8px;
38+
padding: 10px 18px;
39+
border: none;
40+
border-radius: 6px;
41+
background: #333;
42+
color: #fff;
43+
cursor: pointer;
44+
font-family: Georgia, serif;
45+
font-size: 15px;
46+
font-weight: bold;
47+
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
48+
}
49+
50+
#jaraidRowControls .jaraid-btn-prominent:hover {
51+
background: #555;
52+
}
53+
54+
#jaraidRowControls .jaraid-btn-prominent:focus {
55+
outline: 2px solid #6ab0f3;
56+
outline-offset: 2px;
57+
}
58+
59+
#jaraidRowControls .jaraid-btn-icon {
60+
display: inline-flex;
61+
align-items: center;
62+
justify-content: center;
63+
width: 18px;
64+
height: 18px;
65+
border-radius: 3px;
66+
background: rgba(255, 255, 255, 0.18);
67+
font-family: monospace;
68+
font-size: 13px;
69+
line-height: 1;
70+
}
71+
2372
#jaraidToolbar .jaraid-row {
2473
display: flex;
2574
flex-wrap: wrap;
@@ -246,6 +295,14 @@ tr[role="label"] td.jaraid-sort-desc::after {
246295
}
247296

248297
@media (max-width: 700px) {
298+
#jaraidRowControls {
299+
flex-direction: column;
300+
}
301+
#jaraidRowControls .jaraid-btn-prominent {
302+
width: 100%;
303+
justify-content: center;
304+
box-sizing: border-box;
305+
}
249306
#jaraidToolbar .jaraid-row {
250307
flex-direction: column;
251308
align-items: stretch;

0 commit comments

Comments
 (0)