Skip to content

Commit 094e10f

Browse files
authored
Merge pull request #1539 from projectblacklight/css-param
Remove unused css
2 parents 55df51e + 38fc2ec commit 094e10f

File tree

1 file changed

+12
-29
lines changed

1 file changed

+12
-29
lines changed

app/assets/stylesheets/arclight/modules/mastheads.scss

Lines changed: 12 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
11
.navbar-search {
2+
border-bottom: $default-border-styling;
3+
border-top: $default-border-styling;
4+
margin-bottom: ($spacer * 0.5);
25
z-index: 10;
6+
37
.search-query-form {
4-
max-width: 100% !important; // work around blacklight styles
8+
max-width: 100% !important; // work around blacklight styles
59
display: flex;
6-
gap: .5rem;
10+
gap: 0.5rem;
711

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

2428
.al-masthead {
25-
h1, .h1 {
29+
--al-mastead-active-link-color: var(--bs-gray-700);
30+
31+
h1,
32+
.h1 {
2633
display: block;
2734
font-size: $h2-font-size;
2835
margin: 0;
@@ -33,31 +40,8 @@
3340
flex-direction: row;
3441
font-weight: 700;
3542

36-
.active a {
37-
color: $gray-700;
38-
}
39-
}
40-
41-
+ .navbar-search {
42-
border-bottom: $default-border-styling;
43-
border-top: $default-border-styling;
44-
margin-bottom: ($spacer * 0.5);
45-
46-
a {
47-
font-weight: $font-weight-bold;
48-
}
49-
5043
.active a {
51-
color: $gray-700;
52-
}
53-
54-
.navbar-toggler {
55-
background-color: $white;
56-
border: $default-border-styling;
57-
}
58-
59-
.navbar-toggler-icon {
60-
background-image: $navbar-light-toggler-icon-bg;
44+
color: var(--al-mastead-active-link-color);
6145
}
6246
}
6347

@@ -66,8 +50,7 @@
6650
justify-content: center !important;
6751
}
6852

69-
h1,
70-
+ .navbar-search {
53+
h1 {
7154
text-align: center;
7255
}
7356
}

0 commit comments

Comments
 (0)