Skip to content

Commit afd4dab

Browse files
committed
Add checkboxes in search filters
1 parent 1a8146a commit afd4dab

2 files changed

Lines changed: 26 additions & 4 deletions

File tree

sphinx_scylladb_theme/static/css/main.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/css/components/_search-box.scss

Lines changed: 25 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,10 +81,12 @@
8181
margin: 0 auto !important;
8282
margin-top: 10px !important;
8383
display: block !important;
84+
width: 100% !important;
8485
}
85-
86+
.title a,
87+
.url a,
8688
.text {
87-
width: 100% !important;
89+
max-width: 100% !important;
8890
}
8991
}
9092

@@ -93,7 +95,7 @@
9395
}
9496

9597
#er_search_button {
96-
text-align: center !important;
98+
text-align: center;
9799
}
98100

99101
#er_clear_input {
@@ -104,10 +106,26 @@
104106
.er-facet-header {
105107
background-color: transparent !important;
106108
border: 0 !important;
109+
padding: 0 !important;
110+
padding-bottom: 8px !important;
107111
}
108112

109113
.er-facet-val {
110114
padding: 5px 2px !important;
115+
116+
input {
117+
display: block !important;
118+
margin: 0;
119+
}
120+
}
121+
122+
#er_search_pagination {
123+
margin-top: 20px !important;
124+
125+
li.er-paginator-list.er-active {
126+
border-bottom: 0 !important;
127+
font-weight: bold;
128+
}
111129
}
112130

113131
/* Mobile */
@@ -120,6 +138,10 @@
120138
}
121139
}
122140

141+
#er_gcs_mobile_model_container .er-facet-values .er-facet-val {
142+
align-items: baseline;
143+
}
144+
123145
@media screen and (min-width: $medium) {
124146
.er-facets {
125147
display: none;

0 commit comments

Comments
 (0)