mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
MDL-59632 search: Style search box for boost
This commit is contained in:
parent
229ae617c5
commit
ad382c6a71
2 changed files with 2 additions and 1 deletions
|
@ -3170,7 +3170,7 @@ EOD;
|
|||
array('role' => 'button', 'tabindex' => 0));
|
||||
$formattrs = array('class' => 'search-input-form', 'action' => $CFG->wwwroot . '/search/index.php');
|
||||
$inputattrs = array('type' => 'text', 'name' => 'q', 'placeholder' => get_string('search', 'search'),
|
||||
'size' => 13, 'tabindex' => -1, 'id' => 'id_q_' . $id);
|
||||
'size' => 13, 'tabindex' => -1, 'id' => 'id_q_' . $id, 'class' => 'form-control');
|
||||
|
||||
$contents = html_writer::tag('label', get_string('enteryoursearchquery', 'search'),
|
||||
array('for' => 'id_q_' . $id, 'class' => 'accesshide')) . html_writer::tag('input', '', $inputattrs);
|
||||
|
|
|
@ -36,6 +36,7 @@
|
|||
|
||||
.search-input-wrapper > form > input {
|
||||
margin: 0;
|
||||
height: 23px;
|
||||
}
|
||||
|
||||
.search-input-wrapper form.expanded {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue