Skip to content

Commit

Permalink
Merge pull request #1539 from projectblacklight/css-param
Browse files Browse the repository at this point in the history
Remove unused css
  • Loading branch information
corylown authored Jun 5, 2024
2 parents 55df51e + 38fc2ec commit 094e10f
Showing 1 changed file with 12 additions and 29 deletions.
41 changes: 12 additions & 29 deletions app/assets/stylesheets/arclight/modules/mastheads.scss
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
.navbar-search {
border-bottom: $default-border-styling;
border-top: $default-border-styling;
margin-bottom: ($spacer * 0.5);
z-index: 10;

.search-query-form {
max-width: 100% !important; // work around blacklight styles
max-width: 100% !important; // work around blacklight styles
display: flex;
gap: .5rem;
gap: 0.5rem;

// wrap collection dropdown onto its own line on smaller screens
@include media-breakpoint-down(md) {
Expand All @@ -22,7 +26,10 @@
}

.al-masthead {
h1, .h1 {
--al-mastead-active-link-color: var(--bs-gray-700);

h1,
.h1 {
display: block;
font-size: $h2-font-size;
margin: 0;
Expand All @@ -33,31 +40,8 @@
flex-direction: row;
font-weight: 700;

.active a {
color: $gray-700;
}
}

+ .navbar-search {
border-bottom: $default-border-styling;
border-top: $default-border-styling;
margin-bottom: ($spacer * 0.5);

a {
font-weight: $font-weight-bold;
}

.active a {
color: $gray-700;
}

.navbar-toggler {
background-color: $white;
border: $default-border-styling;
}

.navbar-toggler-icon {
background-image: $navbar-light-toggler-icon-bg;
color: var(--al-mastead-active-link-color);
}
}

Expand All @@ -66,8 +50,7 @@
justify-content: center !important;
}

h1,
+ .navbar-search {
h1 {
text-align: center;
}
}
Expand Down

0 comments on commit 094e10f

Please sign in to comment.