Skip to content

Commit

Permalink
Refs #140559 - Improve search box styles.
Browse files Browse the repository at this point in the history
  • Loading branch information
GhitaB committed Oct 25, 2021
1 parent 0eab805 commit 3bc9011
Showing 1 changed file with 32 additions and 15 deletions.
47 changes: 32 additions & 15 deletions src/SearchBlock/styles.less
Original file line number Diff line number Diff line change
Expand Up @@ -299,9 +299,40 @@ div#page-document {
border: 1px solid @sf-medium-gray;

input {
width: calc(100% - 75px);
width: calc(100% - 55px);
border: none;
}

div.button {
padding: 0px !important;
margin: 0px;

i.icon {
margin: 0px;
padding: 0px;
}
}

div.search-terms {
padding-left: 30px;
display: flex;

div.search-phrase {
width: fit-content;
display: flex;
padding: 5px;
margin-top: 2px;
margin-bottom: 2px;
background-color: @s-light-gray;

i.trash {
position: relative;
top: 2px;
margin-right: 0px;
margin-left: 10px;
}
}
}
}

div.input-controls {
Expand Down Expand Up @@ -329,20 +360,6 @@ div#page-document {
}
}

div.search-phrase {
display: flex;
padding: 5px;
margin-top: 2px;
margin-bottom: 2px;
background-color: @s-light-gray;

i.trash {
position: relative;
top: 2px;
margin-right: 0px;
margin-left: 10px;
}
}
}

div.boolean-facet {
Expand Down

0 comments on commit 3bc9011

Please sign in to comment.