Skip to content

Commit

Permalink
NBBIB-442 <front> search input + button joined on all size displays
Browse files Browse the repository at this point in the history
  • Loading branch information
camilocodes committed Jun 19, 2024
1 parent d68bc1e commit 9876c87
Showing 1 changed file with 42 additions and 31 deletions.
73 changes: 42 additions & 31 deletions custom/themes/bs5_nbbib_lib_unb_ca/src/scss/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -1269,14 +1269,12 @@ html {
}
@media screen and (max-width: 1428px) {
.view-nb-bibliography-citations,
.view-nb-bibliography-contributors,
.block-views-exposed-filter-blocknb-bibliography-citations-page-2 {
.view-nb-bibliography-contributors {
* {
border-radius: 8px !important;
}
margin: 0 !important;
form#views-exposed-form-nb-bibliography-citations-page-1,
form#views-exposed-form-nb-bibliography-citations-page-2,
form#views-exposed-form-nb-bibliography-contributors-page-1 {
width: 100% !important;
div.form-item-search-api-fulltext,
Expand All @@ -1293,42 +1291,46 @@ html {
left: 1rem !important;
font-size: 15px !important;
}
#edit-actions {
width: 40% !important;
}
}
}
#edit-actions {
width: 40% !important;
}
}
@media screen and (max-width: 1376px) {
#edit-actions {
display: flex !important;
justify-content: space-between;
input {
margin: 0 !important;
width: 49% !important;
}
#edit-submit-nb-bibliography-citations:not(:has(+ #edit-reset)),
#edit-submit-nb-bibliography-contributors:not(:has(+ #edit-reset)) {
width: 100% !important;
@media screen and (max-width: 1376px) {
body:not(.path-frontpage) {
#edit-actions {
display: flex !important;
justify-content: space-between;
input {
margin: 0 !important;
width: 49% !important;
}
#edit-submit-nb-bibliography-citations:not(:has(+ #edit-reset)),
#edit-submit-nb-bibliography-contributors:not(:has(+ #edit-reset)) {
width: 100% !important;
}
}
}
}
@media screen and (max-width: 1106px) {
#edit-actions {
width: 100% !important;
}
#navbarSupportedContent {
margin-top: 1rem;
justify-content: flex-start !important;
.nav-item:first-of-type {
padding-left: 0;
body:not(.path-frontpage) {
#edit-actions {
width: 100% !important;
}
#navbarSupportedContent {
margin-top: 1rem;
justify-content: flex-start !important;
.nav-item:first-of-type {
padding-left: 0;
}
}
.form-item-sort-by {
margin-left: 0 !important;
}
form.views-exposed-form {
height: 14rem !important;
}
}
.form-item-sort-by {
margin-left: 0 !important;
}
form.views-exposed-form {
height: 14rem !important;
}
}
@media screen and (max-width: 991px) {
Expand Down Expand Up @@ -1362,6 +1364,15 @@ html {
order: 1 !important;
}
}
#views-exposed-form-nb-bibliography-citations-page-2 {
width: 90% !important;
label[for="edit-search-api-fulltext"],
label[for="edit-name"] {
top: -1.8rem !important;
left: 1rem !important;
font-size: 15px !important;
}
}
}
@media screen and (max-width: 638px) {
header {
Expand Down

0 comments on commit 9876c87

Please sign in to comment.