File tree Expand file tree Collapse file tree 3 files changed +36
-7
lines changed
assets/stylesheets/partials Expand file tree Collapse file tree 3 files changed +36
-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+ & :hover {
14+ color : $color-red-400 ;
15+ }
16+ }
17+
518/* New USE UI search styles */
619#search-form {
720 margin : 0 ;
219232 a {
220233 padding : 12px 20px 16px ;
221234 background-color : transparent ;
222- color : $color-text-oncolor ;
223235 display : inline-block ;
224- font-weight : $fw-medium ;
225-
226236 border : 2px solid transparent ;
227- border-bottom : 0 ;
237+ border-bottom : 0 ;
228238
229- text-decoration : underline ;
230- text-decoration-color : $color-red-500 ;
231- text-underline-offset : 0.5rem ;
239+ @include searchUnderlinedLinks ;
232240
233241 & :hover {
234242 border-color : $color-gray-700 ;
235243 background-color : $color-gray-900 ;
244+ color : $color-text-oncolor ;
236245 }
237246
238247 & .active {
249258
250259 }
251260
261+ }
262+
263+ /* ============== */
264+ /* Search Actions */
265+ /* ============== */
266+
267+ .search-actions {
268+ padding-top : 16px ;
269+ padding-bottom : 8px ;
270+ display : flex ;
271+ gap : 24px ;
272+
273+ a {
274+ @include searchUnderlinedLinks ();
275+ }
252276}
Original file line number Diff line number Diff line change @@ -16,6 +16,8 @@ $color-gray-950: #1a1a1a;
1616$color-gray-975 : #191919 ;
1717
1818// RED
19+ $color-red-300 : #FF6666 ;
20+ $color-red-400 : #FF3333 ;
1921$color-red-500 : #ff0000 ;
2022$color-red-600 : #e50000 ;
2123
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