Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions app/assets/stylesheets/bento.scss
Original file line number Diff line number Diff line change
Expand Up @@ -231,10 +231,10 @@ $z-depth-way-front: 1000;
.results-more {
margin-top: 1rem;
font-size: $fs-smallish;
text-align: right;

a {
color: $magenta;
display: block;
text-align: center;
}
}

Expand Down
2 changes: 1 addition & 1 deletion app/views/layouts/_breadcrumbs.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<div class="wrap-outer-breadcrumb layout-band">
<div class="wrap-breadcrumb" role="navigation" aria-label="breadcrumbs">
<div class="breadcrumbs">
<a href="http://libraries.mit.edu" title="MIT Libraries">Home</a> &raquo; <a href="/">Discovery</a>
<a href="https://libraries.mit.edu" title="MIT Libraries">Home</a> &raquo; <a href="/">Discovery</a>
</div>
</div>
</div>
2 changes: 1 addition & 1 deletion app/views/layouts/_site_footer.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<div class="footer-main" aria-label="MIT Libraries footer">
<div class="identity">
<div class="wrap-logo-lib">
<a href="http://libraries.mit.edu" class="logo-mit-lib" alt="MIT Libraries Logo">
<a href="https://libraries.mit.edu" class="logo-mit-lib" alt="MIT Libraries Logo">
<span class="sr">MIT Libraries home</span>
<svg version="1.1" xmlns="//www.w3.org/2000/svg" x="0px" y="0px" width="128.027" height="53.766" viewBox="0 0 128.027 53.766" enable-background="new 0 0 128.027 53.766" xml:space="preserve"><polygon points="0,53.486 0,29.308 5.919,29.308 8.671,45.75 8.72,45.75 11.643,29.308 17.367,29.308 17.367,53.486 13.787,53.486 13.787,34.833 13.738,34.833 10.352,53.486 6.845,53.486 3.629,34.833 3.581,34.833 3.581,53.486 "/><rect x="20.662" y="29.308" width="3.678" height="24.179"/><polygon points="37.659,29.308 37.659,33.326 33.567,33.326 33.567,53.486 29.889,53.486 29.889,33.326 25.797,33.326 25.797,29.308 "/><polygon points="40.547,53.43 40.547,29.249 42.691,29.249 42.691,51.621 50.695,51.621 50.695,53.43 "/><path d="M52.535 36.517h2.01V53.43h-2.01V36.517zM52.3 29.249h2.478v2.545H52.3V29.249z"/><path d="M57.154 53.431c0.101-0.57 0.201-1.106 0.201-1.676V29.249h2.01v9.176l0.067 0.067c1.037-1.606 2.377-2.311 4.286-2.311 5.493 0 5.058 5.761 5.058 8.774 0 3.719-0.301 8.81-5.225 8.81 -1.976 0-3.416-0.804-4.253-2.378h-0.067v2.043H57.154zM62.948 52.157c3.718 0 3.818-3.182 3.818-7.134s-0.101-7.233-3.818-7.233c-3.249 0-3.65 4.387-3.65 6.933C59.298 47.401 59.298 52.157 62.948 52.157"/><path d="M72.79 38.794h0.066c0.838-1.607 2.613-2.611 4.656-2.611v2.043c-2.847-0.235-4.723 1.474-4.723 4.319v10.886h-2.01V36.517h2.01V38.794z"/><path d="M86.852 51.353h-0.067c-1.072 1.608-2.713 2.412-4.789 2.412 -3.015 0-4.656-2.043-4.656-4.99 0-5.929 5.963-5.325 9.377-5.592v-1.408c0-2.478-0.735-3.985-3.414-3.985 -1.844 0-3.317 0.905-3.317 2.914h-2.144c0.168-3.249 2.68-4.521 5.627-4.521 1.709 0 5.259 0.166 5.259 4.487v8.507c0 1.205 0 2.277 0.2 4.254h-2.075V51.353zM86.716 44.789c-2.879 0.101-7.233-0.233-7.233 3.885 0 1.909 0.972 3.483 3.048 3.483 2.311 0 4.186-2.076 4.186-4.287V44.789z"/><path d="M93.61 38.794h0.067c0.839-1.607 2.613-2.611 4.656-2.611v2.043c-2.847-0.235-4.724 1.474-4.724 4.319v10.886h-2.01V36.517h2.01V38.794z"/><path d="M99.936 36.517h2.009V53.43h-2.009V36.517zM99.7 29.249h2.479v2.545H99.7V29.249z"/><path d="M106.765 45.393v1.306c0 2.344 0.637 5.459 3.818 5.459 2.512 0 3.752-1.607 3.719-3.885h2.109c-0.234 4.086-2.445 5.492-5.828 5.492 -2.914 0-5.827-1.172-5.827-6.296v-4.153c0-4.89 2.043-7.134 5.827-7.134 5.828 0 5.828 4.187 5.828 9.211H106.765zM114.401 43.784c0-3.751-0.603-5.994-3.818-5.994 -3.215 0-3.818 2.243-3.818 5.994H114.401z"/><path d="M123.038 53.765c-3.651 0-5.092-1.774-5.058-5.358h2.043c0 2.312 0.535 3.852 3.114 3.852 1.943 0 2.88-1.104 2.88-2.981 0-4.42-7.603-3.281-7.603-8.875 0-3.114 2.144-4.219 5.092-4.219 3.349 0 4.42 2.311 4.42 4.889h-1.977c-0.1-2.144-0.67-3.282-2.947-3.282 -1.439 0-2.578 0.938-2.578 2.444 0 4.221 7.603 3.082 7.603 8.742C128.027 52.157 126.186 53.765 123.038 53.765"/><path class="arch" fill-rule="evenodd" clip-rule="evenodd" d="M121.487 19.746c-33.822-10.8-82.05-10.8-115.805 0C36.39 3.176 90.661 3.176 121.487 19.746"/><path class="arch" fill-rule="evenodd" clip-rule="evenodd" d="M105.419 8.979c-24.436-7.803-59.282-7.803-83.67 0C43.936-2.993 83.147-2.993 105.419 8.979"/></svg>
</a>
Expand Down
2 changes: 1 addition & 1 deletion app/views/layouts/_site_header.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<header class="header-site header-slim" role="banner">
<div class="wrap-header-core">
<h1 class="name-site group nav-logo">
<a href="http://libraries.mit.edu/" class="logo-mit-lib" alt="MIT Libraries Logo">
<a href="https://libraries.mit.edu/" class="logo-mit-lib" alt="MIT Libraries Logo">
<span class="sr">MIT Libraries home</span>
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" x="0px" y="0px" width="128.027" height="53.766" viewBox="0 0 128.027 53.766" enable-background="new 0 0 128.027 53.766" xml:space="preserve"><polygon points="0,53.486 0,29.308 5.919,29.308 8.671,45.75 8.72,45.75 11.643,29.308 17.367,29.308 17.367,53.486 13.787,53.486 13.787,34.833 13.738,34.833 10.352,53.486 6.845,53.486 3.629,34.833 3.581,34.833 3.581,53.486 "/><rect x="20.662" y="29.308" width="3.678" height="24.179"/><polygon points="37.659,29.308 37.659,33.326 33.567,33.326 33.567,53.486 29.889,53.486 29.889,33.326 25.797,33.326 25.797,29.308 "/><polygon points="40.547,53.43 40.547,29.249 42.691,29.249 42.691,51.621 50.695,51.621 50.695,53.43 "/><path d="M52.535 36.517h2.01V53.43h-2.01V36.517zM52.3 29.249h2.478v2.545H52.3V29.249z"/><path d="M57.154 53.431c0.101-0.57 0.201-1.106 0.201-1.676V29.249h2.01v9.176l0.067 0.067c1.037-1.606 2.377-2.311 4.286-2.311 5.493 0 5.058 5.761 5.058 8.774 0 3.719-0.301 8.81-5.225 8.81 -1.976 0-3.416-0.804-4.253-2.378h-0.067v2.043H57.154zM62.948 52.157c3.718 0 3.818-3.182 3.818-7.134s-0.101-7.233-3.818-7.233c-3.249 0-3.65 4.387-3.65 6.933C59.298 47.401 59.298 52.157 62.948 52.157"/><path d="M72.79 38.794h0.066c0.838-1.607 2.613-2.611 4.656-2.611v2.043c-2.847-0.235-4.723 1.474-4.723 4.319v10.886h-2.01V36.517h2.01V38.794z"/><path d="M86.852 51.353h-0.067c-1.072 1.608-2.713 2.412-4.789 2.412 -3.015 0-4.656-2.043-4.656-4.99 0-5.929 5.963-5.325 9.377-5.592v-1.408c0-2.478-0.735-3.985-3.414-3.985 -1.844 0-3.317 0.905-3.317 2.914h-2.144c0.168-3.249 2.68-4.521 5.627-4.521 1.709 0 5.259 0.166 5.259 4.487v8.507c0 1.205 0 2.277 0.2 4.254h-2.075V51.353zM86.716 44.789c-2.879 0.101-7.233-0.233-7.233 3.885 0 1.909 0.972 3.483 3.048 3.483 2.311 0 4.186-2.076 4.186-4.287V44.789z"/><path d="M93.61 38.794h0.067c0.839-1.607 2.613-2.611 4.656-2.611v2.043c-2.847-0.235-4.724 1.474-4.724 4.319v10.886h-2.01V36.517h2.01V38.794z"/><path d="M99.936 36.517h2.009V53.43h-2.009V36.517zM99.7 29.249h2.479v2.545H99.7V29.249z"/><path d="M106.765 45.393v1.306c0 2.344 0.637 5.459 3.818 5.459 2.512 0 3.752-1.607 3.719-3.885h2.109c-0.234 4.086-2.445 5.492-5.828 5.492 -2.914 0-5.827-1.172-5.827-6.296v-4.153c0-4.89 2.043-7.134 5.827-7.134 5.828 0 5.828 4.187 5.828 9.211H106.765zM114.401 43.784c0-3.751-0.603-5.994-3.818-5.994 -3.215 0-3.818 2.243-3.818 5.994H114.401z"/><path d="M123.038 53.765c-3.651 0-5.092-1.774-5.058-5.358h2.043c0 2.312 0.535 3.852 3.114 3.852 1.943 0 2.88-1.104 2.88-2.981 0-4.42-7.603-3.281-7.603-8.875 0-3.114 2.144-4.219 5.092-4.219 3.349 0 4.42 2.311 4.42 4.889h-1.977c-0.1-2.144-0.67-3.282-2.947-3.282 -1.439 0-2.578 0.938-2.578 2.444 0 4.221 7.603 3.082 7.603 8.742C128.027 52.157 126.186 53.765 123.038 53.765"/><path class="arch" fill-rule="evenodd" clip-rule="evenodd" d="M121.487 19.746c-33.822-10.8-82.05-10.8-115.805 0C36.39 3.176 90.661 3.176 121.487 19.746"/><path class="arch" fill-rule="evenodd" clip-rule="evenodd" d="M105.419 8.979c-24.436-7.803-59.282-7.803-83.67 0C43.936-2.993 83.147-2.993 105.419 8.979"/></svg></a>
</h1>
Expand Down
2 changes: 1 addition & 1 deletion app/views/search/_form.html.erb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<form class="form-horizontal b-search" action="/search/bento" method="get">
<div class="form-group">
<label for="b-search-main" class="field-label">Search the library</label>
<label for="b-search-main" class="field-label">Search the MIT Libraries</label>
<input id="b-search-main" type="search" class="field field-text b-search-input" name="q" placeholder="Enter your search" value="<%= params[:q] %>">
<div class="b-search-submit">
<button type="submit" class="btn button-primary">Search</button>
Expand Down
2 changes: 1 addition & 1 deletion app/views/search/_other_resources.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<li><a href="http://libguides.mit.edu/reserves">Course reserves search</a></li>
<li><a href="https://libraries.mit.edu/vera">Vera: search e-journals and databases</a></li>
<li><a href="https://scholar.google.com">Google Scholar</a> (<a href="http://libguides.mit.edu/google/googlescholar">Help setting preferences</a>)</li>
<li><a href="http://libraries.mit.edu/worldcat">WorldCat: borrow from libraries worldwide</a></li>
<li><a href="https://libraries.mit.edu/worldcat">WorldCat: borrow from libraries worldwide</a></li>
<li><a href="http://yewno.com/edu">Yewno: A visual way to discover</a></li>
</ul>

Expand Down
2 changes: 1 addition & 1 deletion app/views/search/_view_all_link.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<%= link_to(
"View all #{number_with_delimiter(@results['total'])} results",
@results['view_more_url'],
data: {count: number_with_delimiter(@results['total']), type: 'view all results'}, class: 'button button-subtle') %>
data: {count: number_with_delimiter(@results['total']), type: 'view all results'}, class: 'button button-secondary') %>
<% else %>
No results found.
<% end %>
Expand Down
2 changes: 1 addition & 1 deletion app/views/search/bento.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<div class="gridband layout-2c">
<%= render partial: "placeholders", locals: { heading: 'Books and media', id: 'books_content', description: "Books, ebooks, audio books, music, and videos at MIT. <a class='wc-link' href='https://mit.worldcat.org/search?qt=wc_org_mit&qt=affiliate&q=#{params[:q]}'>Expand search to libraries around the world</a>" } %>

<%= render partial: "placeholders", locals: { heading: 'Articles and journals', id: 'articles_content', description: 'Articles from a variety of periodicals, including journals, magazines, and newspapers at MIT. <a href="http://libraries.mit.edu/search/">More search options</a>' } %>
<%= render partial: "placeholders", locals: { heading: 'Articles and journals', id: 'articles_content', description: 'Articles from a variety of periodicals, including scholarly journals and magazines at MIT. <a href="https://libraries.mit.edu/search/">More search options</a>' } %>
</div>

<div class="gridband layout-2c">
Expand Down
4 changes: 2 additions & 2 deletions app/views/search/search_boxed.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@
<h3>Other options</h3>
<p>If you're not finding what you need, you can try one of these: </p>
<ul>
<li class="http://libraries.mit.edu/bartonplus"><a href="library.mit.edu">Search in BartonPlus</a></li>
<li class=""><a href="http://libraries.mit.edu/worldcat">Search in WorldCat</a></li>
<li class=""><a href="https://libraries.mit.edu/bartonplus">Search in BartonPlus</a></li>
<li class=""><a href="https://libraries.mit.edu/worldcat">Search in WorldCat</a></li>
<li class=""><a href="https://libraries.mit.edi/ask">Ask a Librarian</a></li>
</ul>
</div>
Expand Down