Skip to content

Commit 11a6fe1

Browse files
committed
adjust-for-placement
1 parent 4c82c59 commit 11a6fe1

File tree

1 file changed

+50
-69
lines changed

1 file changed

+50
-69
lines changed

common/common.scss

Lines changed: 50 additions & 69 deletions
Original file line numberDiff line numberDiff line change
@@ -1,73 +1,73 @@
11
@use "lib/viewport";
22

33
// custom search banner customizations
4-
.custom-search-banner-wrap {
5-
margin: 0 auto !important;
6-
max-width: unset;
7-
color: var(--secondary);
4+
.welcome-banner {
5+
&.--location-above-topic-content .custom-search-banner-wrap {
6+
color: var(--primary);
7+
}
88

9-
.custom-search-banner-headline,
10-
h1 {
11-
line-height: var(--line-height-small);
9+
.custom-search-banner-wrap {
10+
color: var(--secondary);
1211

13-
@include viewport.from(lg) {
14-
font-size: 4em;
12+
.custom-search-banner-headline,
13+
h1 {
14+
line-height: var(--line-height-small);
1515
}
16-
}
1716

18-
p {
19-
margin-top: 0.5em;
20-
margin-bottom: 2em;
21-
}
17+
p {
18+
margin-top: 0.5em;
19+
margin-bottom: 2em;
20+
}
2221

23-
.btn {
24-
height: 100%;
25-
}
22+
.btn {
23+
height: 100%;
24+
}
2625

27-
.search-menu input[type="text"] {
28-
border: 1px solid transparent;
29-
border-radius: 0.25em;
30-
min-height: 40px;
26+
.search-menu input[type="text"] {
27+
border: 1px solid transparent;
28+
border-radius: 0.25em;
29+
min-height: 40px;
3130

32-
&:focus {
33-
outline: 3px solid rgb(var(--primary-rgb), 0.35);
31+
&:focus {
32+
outline: 3px solid rgb(var(--primary-rgb), 0.35);
33+
}
3434
}
35-
}
3635

37-
.widget-link.show-help {
38-
color: rgb(var(--primary-rgb), 0.75);
39-
border-radius: 0.5em;
40-
padding: 0.5em;
41-
background-color: rgb(var(--secondary-rgb), 0.25);
36+
.widget-link.show-help {
37+
color: rgb(var(--primary-rgb), 0.75);
38+
border-radius: 0.5em;
39+
padding: 0.5em;
40+
background-color: rgb(var(--secondary-rgb), 0.25);
4241

43-
&:hover {
44-
color: var(--primary);
42+
&:hover {
43+
color: var(--primary);
44+
}
4545
}
46-
}
4746

48-
.search-menu .search-input {
49-
border-color: var(--tertiary-hover);
50-
outline: 1px solid var(--tertiary-hover);
51-
}
47+
.search-menu .search-input {
48+
border-color: var(--tertiary-hover);
49+
outline: 1px solid var(--tertiary-hover);
50+
}
5251

53-
.results {
54-
top: 43px;
55-
border-radius: 0.25em;
56-
}
52+
.results {
53+
top: 43px;
54+
border-radius: 0.25em;
55+
}
5756

58-
.search-context {
59-
top: 3.25em;
60-
right: 1em;
57+
.search-context {
58+
top: 3.25em;
59+
right: 1em;
60+
}
6161
}
62-
}
6362

64-
.search-input {
65-
border-radius: 0.25em;
66-
}
63+
.search-input {
64+
border-radius: 0.25em;
65+
}
6766

68-
.display-search-banner {
69-
#main-outlet {
70-
padding-top: 2em;
67+
.display-search-banner {
68+
#main-outlet {
69+
padding-top: 2em;
70+
}
7171
}
7272
}
7373

@@ -238,25 +238,6 @@ div.ac-wrap {
238238
border: 1px solid transparent;
239239
}
240240

241-
.menu-panel .widget-link:hover,
242-
.menu-panel .widget-link:focus,
243-
.menu-panel .categories-link:hover,
244-
.menu-panel .categories-link:focus {
245-
background-color: rgb(var(--tertiary-rgb), 0.5);
246-
}
247-
248-
.btn:not(.themes-tab, .components-tab),
249-
.select-kit.dropdown-select-box .dropdown-select-box-header {
250-
border-radius: 8px;
251-
border: 1px solid transparent;
252-
}
253-
254-
.post-admin-menu.popup-menu {
255-
.btn.widget-button {
256-
border-radius: 0;
257-
}
258-
}
259-
260241
.unread-high-priority-notifications {
261242
background: var(--quaternary);
262243
}

0 commit comments

Comments
 (0)