mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-23 05:28:53 +00:00
Merge pull request #12713 from dacook/buu/style-fixes2
[BUU] Style fixes
This commit is contained in:
@@ -220,15 +220,13 @@
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
|
||||
line-height: $btn-relaxed-height;
|
||||
height: $btn-relaxed-height;
|
||||
|
||||
&.disabled-section {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.pagination-description {
|
||||
flex-grow: 1; // Grow to fill space
|
||||
margin-right: 1em; // TODO: cleanup and use flex gap
|
||||
}
|
||||
|
||||
.with-dropdown {
|
||||
@@ -257,31 +255,20 @@
|
||||
min-width: 15em;
|
||||
|
||||
.search-input {
|
||||
width: 100%;
|
||||
position: relative;
|
||||
background-color: $lighter-grey;
|
||||
border: 1px solid $lighter-grey;
|
||||
border-radius: 4px;
|
||||
height: $btn-relaxed-height;
|
||||
line-height: $btn-relaxed-height;
|
||||
|
||||
&:has(input:focus),
|
||||
&:has(input:active) {
|
||||
border: 1px solid $dark-blue;
|
||||
}
|
||||
|
||||
> input {
|
||||
// Totally hide the input from its container
|
||||
background-color: transparent;
|
||||
border: none;
|
||||
width: calc(100% - 30px); // 30px is the width of the search icon + padding
|
||||
padding-left: 33px;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
&:before {
|
||||
position: absolute;
|
||||
font-family: FontAwesome;
|
||||
content: "\f002";
|
||||
color: $near-black;
|
||||
font-size: 16px;
|
||||
margin-top: 0.7rem;
|
||||
margin-left: 10px;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user