File tree Expand file tree Collapse file tree 2 files changed +29
-7
lines changed
assets/stylesheets/partials Expand file tree Collapse file tree 2 files changed +29
-7
lines changed Original file line number Diff line number Diff line change 22// #SEARCH BITS
33// ------------------------
44
5+ /* Shared link styling */
6+ @mixin searchUnderlinedLinks {
7+ color : $color-text-oncolor ;
8+ font-weight : $fw-medium ;
9+ text-decoration : underline ;
10+ text-decoration-color : $color-red-500 ;
11+ text-underline-offset : 0.5rem ;
12+ }
13+
514/* New USE UI search styles */
615#search-form {
716 margin : 0 ;
219228 a {
220229 padding : 12px 20px 16px ;
221230 background-color : transparent ;
222- color : $color-text-oncolor ;
223231 display : inline-block ;
224- font-weight : $fw-medium ;
225-
226232 border : 2px solid transparent ;
227- border-bottom : 0 ;
233+ border-bottom : 0 ;
228234
229- text-decoration : underline ;
230- text-decoration-color : $color-red-500 ;
231- text-underline-offset : 0.5rem ;
235+ @include searchUnderlinedLinks ;
232236
233237 & :hover {
234238 border-color : $color-gray-700 ;
249253
250254 }
251255
256+ }
257+
258+ /* ============== */
259+ /* Search Actions */
260+ /* ============== */
261+
262+ .search-actions {
263+ padding-top : 16px ;
264+ padding-bottom : 8px ;
265+ display : flex ;
266+ gap : 24px ;
267+
268+ a {
269+ @include searchUnderlinedLinks ();
270+ }
252271}
Original file line number Diff line number Diff line change 55 < input id ="tab-to-target " type ="hidden " name ="tab " value ="<%= @active_tab %> ">
66 < button type ="submit " class ="btn button-primary "> Search</ button >
77 </ div >
8+ < div class ="search-actions ">
9+ < a href ="https://libraries.mit.edu/search/ "> More search options</ a >
10+ </ div >
811</ form >
912
1013<% if Feature . enabled? ( :boolean_picker ) %>
You can’t perform that action at this time.
0 commit comments