Skip to content

Commit

Permalink
Improve dropdown filters
Browse files Browse the repository at this point in the history
  • Loading branch information
kreafox committed Jul 13, 2022
1 parent e444c31 commit 925df4a
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 5 deletions.
17 changes: 12 additions & 5 deletions src/SearchBlock/less/dropdown-filterlist.less
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,18 @@
margin-bottom: 3em;

.dropdown-facet {
.ui.dropdown .divider {
padding: 3px 13px;
border: 1px solid #eee;
color: #3d5265;
font-size: 16px;
.ui.dropdown {
.divider {
color: @blue-grey-5;
font-size: 16px;
}

.icon.chevron {
position: relative;
top: -1px;
margin-left: 0.3em;
font-size: 0.6em;
}
}
}

Expand Down
1 change: 1 addition & 0 deletions src/SearchBlock/less/facets.less
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,7 @@ div#page-document .searchlib-block {
}

.sui-multi-checkbox-facet__option-input-wrapper {
display: flex;
max-width: 15em;
flex: 1;
}
Expand Down
9 changes: 9 additions & 0 deletions src/SearchBlock/less/searchview.less
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,15 @@ div#page-document {
justify-content: right;
margin-bottom: 0.5em;

.ui.dropdown {
.icon.chevron {
position: relative;
top: -1px;
margin-left: 0.3em;
font-size: 0.6em;
}
}

#archived-facet {
position: relative;
top: -1px;
Expand Down

0 comments on commit 925df4a

Please sign in to comment.