Skip to content

Commit d035dc0

Browse files
committed
switch added_by filter from selectize to filetypes-style
1 parent 5cea8be commit d035dc0

1 file changed

Lines changed: 24 additions & 5 deletions

File tree

css/hf_base.css

Lines changed: 24 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1191,25 +1191,30 @@ li.path-ext-svg a img {
11911191
.filter-date_posted-form {
11921192
width: 250px;
11931193
}
1194+
11941195
.filetypes-option-container,
1196+
.added_by-option-container,
11951197
.date_posted-option-container {
11961198
display: flex;
11971199
flex-direction: column;
1198-
margin: 20px 0 20px 0;
1200+
margin: 10px 0 20px 0;
11991201
}
12001202
.date_posted-option-container {
12011203
margin: 10px 0 10px 0;
12021204
}
12031205
.filetypes-option:nth-child(odd),
1206+
.added_by-option:nth-child(odd),
12041207
.date_posted-option:nth-child(odd) label {
12051208
background: #f3f3f3;
12061209
}
12071210

12081211
.filetypes-option input,
1212+
.added_by-option input,
12091213
.date_posted-option input {
12101214
display: none;
12111215
}
12121216
.filetypes-option label,
1217+
.added_by-option label,
12131218
.date_posted-option label {
12141219
display: flex;
12151220
flex-direction: row;
@@ -1222,6 +1227,7 @@ li.path-ext-svg a img {
12221227
transform: translateX(-20px);
12231228
} */
12241229
.filetypes-option label .checked-icon,
1230+
.added_by-option label .checked-icon,
12251231
.date_posted-option label .checked-icon{
12261232
display: none;
12271233
position: absolute;
@@ -1231,15 +1237,27 @@ li.path-ext-svg a img {
12311237
color: #ff7700;
12321238
}
12331239

1234-
.filetypes-option label .ext-name {
1240+
1241+
1242+
.filetypes-option label .ext-name,
1243+
.added_by-option label .added_by-name,
1244+
.date_posted-option label .date-period
1245+
{
12351246
margin-left: 30px;
1236-
text-transform: uppercase;
12371247
}
1238-
.date_posted-option label .date-period{
1239-
margin-left: 30px;
1248+
1249+
.added_by-option label .added_by-name
1250+
{
1251+
white-space: nowrap;
1252+
margin-right: 10px;
1253+
}
1254+
1255+
.filetypes-option label .ext-name {
1256+
text-transform: uppercase;
12401257
}
12411258

12421259
.filetypes-option label .ext-badge,
1260+
.added_by-option label .added_by-badge,
12431261
.date_posted-option label .date_posted-badge {
12441262
margin-left: auto;
12451263
background: #ff7700;
@@ -1250,6 +1268,7 @@ li.path-ext-svg a img {
12501268
}
12511269

12521270
.filetypes-option input:checked + label .checked-icon,
1271+
.added_by-option input:checked + label .checked-icon,
12531272
.date_posted-option input:checked + label .checked-icon{
12541273
display: flex;
12551274
}

0 commit comments

Comments
 (0)