File tree Expand file tree Collapse file tree 5 files changed +18
-25
lines changed
assets/stylesheets/partials Expand file tree Collapse file tree 5 files changed +18
-25
lines changed Original file line number Diff line number Diff line change 11#filters {
2+ @media (max-width : $bp-screen-md ) {
3+ margin-bottom : 1.2rem ;
4+ }
25 details .filter-category {
36 position : relative ;
47 margin-bottom : 0.5em ;
Original file line number Diff line number Diff line change 111111 }
112112 }
113113 .list-filter-summary {
114- padding-top : 1 rem ;
114+ padding-top : 0.8 rem ;
115115 border-top : 1px solid $black ;
116116 }
117117 .hd-search-summary {
Original file line number Diff line number Diff line change 11.top-space {
2- margin-top : 2.4rem ;
2+ margin-top : 1.2rem ;
3+ @media (min-width : $bp-screen-md ) {
4+ margin-top : 2.4rem ;
5+ }
36}
47
58.wrap-results {
Original file line number Diff line number Diff line change 66.basic-search {
77 background-color : #989898 ;
88 margin-bottom : 0rem ;
9- padding : 2.4rem 2rem 1 rem 2.4 rem ;
9+ padding : 2.4rem 2rem 1.6 rem 2 rem ;
1010
1111 details {
1212 & :first-of-type {
3535 width : 100% ;
3636 margin-bottom : .8rem ;
3737 padding : 6px 12px ;
38-
39- @media (min-width : $bp-screen-sm ) {
40- display : inline-block ;
41- width : 80% ;
42- margin-bottom : 0 ;
43- }
38+ margin-bottom : 0 ;
4439 }
4540
4641 summary {
112107 }
113108
114109 .basic-search-submit {
115- @media (min-width : $bp-screen-sm ) {
116- display : inline-block ;
117- width : 18% ;
118- }
110+ width : 150px ;
111+ margin-top : 0.8rem ;
119112 .btn {
120- border-radius : 0 ;
121113 width : 100% ;
122114 }
123115 }
Original file line number Diff line number Diff line change 11<%
2- # Conditional input label depends on whether a search has already happened.
3- label = "Search the MIT Libraries"
4- if params[:q]
5- label = "You searched for"
6- end
7-
82# Initial form setup is determined by the advanced parameter. Thereafter it is altered by javascript.
93advanced_label = "Search by title, author, etc."
104advanced_label_class = "closed"
3428 <form id ="basic-search " class ="form-horizontal basic-search " action ="<%= results_path %> " method ="get " role ="search ">
3529 < div class ="form-group ">
3630 < input id ="basic-search-main " type ="search "
37- class ="field field-text basic-search-input <%= "required" if search_required %> " name ="q " title =" <%= label %> "
38- placeholder ="Enter your search "
31+ class ="field field-text basic-search-input <%= "required" if search_required %> " name ="q "
32+ title =" Keyword anywhere " placeholder ="Enter your search "
3933 value ="<%= params [ :q ] %> " <%= 'required="required" aria-required="true"' if search_required %> >
40- < div class ="basic-search-submit ">
41- < button type ="submit " class ="btn button-primary "> Search</ button >
42- </ div >
4334
4435 <% if Flipflop . enabled? ( :gdt ) %>
4536 < details id ="geobox-search-panel " <%= "open" if params [ :geobox ] == "true" %> >
220211 </ div >
221212 </ details >
222213 </ div >
214+
215+ < div class ="basic-search-submit ">
216+ < button type ="submit " class ="btn button-primary "> Search</ button >
217+ </ div >
223218</ form >
224219
225220<% if Flipflop . enabled? ( :boolean_picker ) %>
You can’t perform that action at this time.
0 commit comments