Skip to content

Commit

Permalink
Improve filters layout
Browse files Browse the repository at this point in the history
  • Loading branch information
kreafox committed Jul 18, 2022
1 parent 9f15740 commit f090063
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 17 deletions.
11 changes: 5 additions & 6 deletions src/SearchBlock/less/dropdown-filterlist.less
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
.searchlib-block {
.dropdown-facets-list {
display: flex;
margin-bottom: 3em;

.dropdown-facet {
.ui.dropdown {
.divider {
Expand All @@ -20,8 +17,10 @@
}

.horizontal-dropdown-facets {
display: flex;
gap: 1.5em;
.dropdown-facet {
display: inline-block;
margin: 0 1.5em 1em 0;
}
}

.ui.right.sidebar {
Expand Down Expand Up @@ -63,7 +62,7 @@

.ui.button.sui-button {
padding: 0;
margin-left: 1.5em;
margin: 0;
color: #007b6c !important;
font-weight: 600;

Expand Down
23 changes: 12 additions & 11 deletions src/SearchBlock/less/searchview.less
Original file line number Diff line number Diff line change
Expand Up @@ -108,11 +108,14 @@ div#page-document {
}

.above-results {
display: flex;
flex-wrap: wrap;
align-content: baseline;
justify-content: right;
margin-bottom: 0.5em;
display: grid;
margin-bottom: 2em;
column-gap: 20px;
grid-template-columns: 1fr 1fr;

.above-right {
display: flex;
}

.ui.dropdown {
.icon.chevron {
Expand Down Expand Up @@ -150,7 +153,7 @@ div#page-document {
}
}

div.checked {
.checked {
label {
color: @secondaryColor !important;
font-weight: 600;
Expand All @@ -169,17 +172,16 @@ div#page-document {

.view-selector {
width: auto !important;
// padding-bottom: 1em;
padding-left: 0px !important;
margin-left: 10px;
font-size: 16px;

div.text {
.text {
margin-right: 2px;
}

.ui.dropdown {
div.text {
.text {
color: @sf-dark-gray;
font-weight: 400;
}
Expand All @@ -198,7 +200,7 @@ div#page-document {
}
}

div.buttons {
.buttons {
button {
background: @midGray;
font-size: 12px;
Expand All @@ -216,7 +218,6 @@ div#page-document {

.sorting {
width: auto;
// margin-bottom: 0.5em;
font-size: 16px;

.inline.dropdown > span {
Expand Down

0 comments on commit f090063

Please sign in to comment.