Skip to content

Commit dc82063

Browse files
committed
Basic layout for callout boxes
1 parent eeb2775 commit dc82063

File tree

2 files changed

+39
-1
lines changed

2 files changed

+39
-1
lines changed

app/assets/stylesheets/partials/_results.scss

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@
121121
}
122122

123123
/* USE Specific Overrides */
124+
/* Layout of results and sidebar columns */
124125
#content-wrapper {
125126
padding-top: 12px;
126127
padding-bottom: 44px;
@@ -191,4 +192,24 @@
191192
}
192193

193194

195+
}
196+
197+
/* Callouts below results */
198+
#callout-wrapper {
199+
display: flex;
200+
gap: 12px;
201+
margin-bottom: 32px;
202+
203+
aside {
204+
border: 3px solid $color-border-default;
205+
padding: 20px 24px;
206+
207+
p {
208+
line-height: 1.4;
209+
}
210+
}
211+
212+
@media (max-width: $bp-screen-md) {
213+
flex-direction: column;
214+
}
194215
}
Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,18 @@
1-
PLACEHOLDER FOR CALLOUTS
1+
<div id="callout-wrapper">
2+
<aside class="result-callout">
3+
<i></i>
4+
<div>
5+
<h4>Refine your search</h4>
6+
<p>Use advanced search features to expand or filter your search.</p>
7+
<a href="#">Search Primo</a>
8+
</div>
9+
</aside>
10+
<aside class="result-callout">
11+
<i></i>
12+
<div>
13+
<h4>Can’t find a book?</h4>
14+
<p>If we don’t own it you can often request it from another library.</p>
15+
<a href="#">Search WorldCat</a>
16+
</div>
17+
</aside>
18+
</div>

0 commit comments

Comments
 (0)