Merge pull request #12713 from dacook/buu/style-fixes2

[BUU] Style fixes
This commit is contained in:
Filipe
2024-08-08 17:31:20 +01:00
committed by GitHub

View File

@@ -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;
}
}