BigW Consortium Gitlab

Use default control for search field in header

parent f815094e
......@@ -184,29 +184,17 @@ header {
padding: 4px 6px;
padding-left: 25px;
font-size: 13px;
@include border-radius(3px);
border: 1px solid #DDD;
box-shadow: none;
@include transition(all 0.15s ease-in 0s);
background-color: #f9f9f9;
}
}
}
.search .search-input {
width: 300px;
&:focus {
width: 330px;
background-color: #FFF;
}
}
@media (max-width: 1200px) {
.search .search-input {
width: 200px;
&:focus {
width: 230px;
}
}
}
......
.search
= form_tag search_path, method: :get, class: 'navbar-form pull-left' do |f|
= search_field_tag "search", nil, placeholder: search_placeholder, class: "search-input"
= search_field_tag "search", nil, placeholder: search_placeholder, class: "search-input form-control"
= hidden_field_tag :group_id, @group.try(:id)
- if @project && @project.persisted?
= hidden_field_tag :project_id, @project.id
......
Markdown is supported
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