Skip to content

Commit 2b4e038

Browse files
authored
Merge pull request #214 from MITLibraries/lnhu-265
LNHU-265: Copy and style tweaks to v1 search widget form
2 parents 2cf8c12 + 153722d commit 2b4e038

3 files changed

Lines changed: 8 additions & 8 deletions

File tree

web/app/plugins/mitlib-multisearch-widget/class-multisearch-widget.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ public function widget( $args, $instance ) {
5959
'multisearch-tabs',
6060
plugin_dir_url( __FILE__ ) . 'mitlib-multisearch-widget.css',
6161
array(),
62-
'1.8.0'
62+
'1.9.0'
6363
);
6464
wp_enqueue_style( 'multisearch-tabs' );
6565

web/app/plugins/mitlib-multisearch-widget/mitlib-multisearch-widget.css

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -154,13 +154,13 @@
154154
}
155155
.r-tabs .button-search {
156156
-webkit-appearance: none;
157-
transition: background-color .25s, border .25s;
158-
border: 1px solid #000;
159-
border-radius: 3px;
157+
border-radius: 0;
158+
border: none;
160159
padding: 5px 10px;
161-
background-color: #000;
160+
background-color: #e50000;
162161
background-image: none;
163162
font-size: 1rem;
163+
box-shadow: none;
164164
color: #fff;
165165
}
166166
.r-tabs .button-search:hover,

web/app/plugins/mitlib-multisearch-widget/templates/tab-all-use.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,15 @@ class="form search-bento"
1212
action="https://search.libraries.mit.edu/results"
1313
method="get"
1414
data-target="bento">
15-
<label for="searchinput-bento">Search the MIT Libraries</label>
15+
<label for="searchinput-bento">Search for books, articles, library services, and more</label>
1616
<div class="wrap-flex">
1717
<div class="flex-left">
1818
<input
1919
class="field field-text"
2020
type="text"
2121
id="searchinput-bento"
2222
name="q"
23-
placeholder="Search across collections, services, and website content">
23+
placeholder="Try a citation, topic, database, etc.">
2424
</div>
2525
<div class="flex-right">
2626
<input class="button button-search" type="submit" value="Search">
@@ -29,7 +29,7 @@ class="field field-text"
2929
</form>
3030
<div class="search-option-links">
3131
<div>
32-
<a href="/search-advanced/">Advanced search</a> | <a href="/search/">More ways to search</a>
32+
<a href="/search-advanced/">Advanced search</a>
3333
</div>
3434
<?php if ( 'included' == $nls_included ) { ?>
3535
<div class="nls-toggle">

0 commit comments

Comments
 (0)