Commit ad382c6a authored by David Monllaó's avatar David Monllaó
Browse files

MDL-59632 search: Style search box for boost

parent 229ae617
......@@ -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 {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment