Commit b11bcb8a authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Use default control for search field in header

Signed-off-by: default avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
parent f815094e
8-5-nxd 8-2-nxd 8-2-stable 8-4-nxd 8-4-stable 8-5-stable 8-6-nxd 8-6-stable 8-7-nxd 8-8-nxd 8-9-nxd master v8.11.0.pre v8.10.3 v8.10.2 v8.10.1 v8.10.0 v8.10.0.pre v8.10.0-rc13 v8.10.0-rc12 v8.10.0-rc11 v8.10.0-rc10 v8.10.0-rc9 v8.10.0-rc8 v8.10.0-rc7 v8.10.0-rc6 v8.10.0-rc5 v8.10.0-rc4 v8.10.0-rc3 v8.10.0-rc2 v8.10.0-rc1 v8.9.6 v8.9.5 v8.9.4 v8.9.3 v8.9.2 v8.9.1 v8.9.0 v8.9.0-rc8 v8.9.0-rc7 v8.9.0-rc6 v8.9.0-rc5 v8.9.0-rc4 v8.9.0-rc3 v8.9.0-rc2 v8.9.0-rc1 v8.8.7 v8.8.6 v8.8.5 v8.8.4 v8.8.3 v8.8.2 v8.8.1 v8.8.0 v8.8.0-rc2 v8.8.0-rc1 v8.7.9 v8.7.8 v8.7.7 v8.7.6 v8.7.5 v8.7.4 v8.7.3 v8.7.2 v8.7.1 v8.7.0 v8.7.0-rc7 v8.7.0-rc6 v8.7.0-rc5 v8.7.0-rc4 v8.7.0-rc3 v8.7.0-rc2 v8.7.0-rc1 v8.6.9 v8.6.8 v8.6.7 v8.6.6 v8.6.5 v8.6.4 v8.6.3 v8.6.2 v8.6.1 v8.6.0 v8.6.0-rc5 v8.6.0-rc4 v8.6.0-rc3 v8.6.0-rc2 v8.6.0-rc1 v8.5.13 v8.5.12 v8.5.11 v8.5.10 v8.5.9 v8.5.8 v8.5.7 v8.5.6 v8.5.5 v8.5.5-rc1 v8.5.4 v8.5.3 v8.5.2 v8.5.1 v8.5.1.TR v8.5.1.RD2 v8.5.1.RD1 v8.5.1.DB2 v8.5.1.DB v8.5.0 v8.5.0-rc4 v8.5.0-rc3 v8.5.0-rc2 v8.5.0-rc1 v8.4.11 v8.4.10 v8.4.9 v8.4.8 v8.4.7 v8.4.6 v8.4.5 v8.4.4 v8.4.3 v8.4.2 v8.4.1 v8.4.0 v8.4.0.rc1 v8.4.0-rc3 v8.4.0-rc2 v8.3.10 v8.3.9 v8.3.8 v8.3.7 v8.3.6 v8.3.5 v8.3.4 v8.3.3 v8.3.2 v8.3.1 v8.3.0 v8.3.0.rc3 v8.3.0.rc2 v8.3.0.rc1 v8.2.6 v8.2.5 v8.2.4 v8.2.3 v8.2.2 v8.2.1 v8.2.0 v8.2.0.rc2 v8.2.0.rc1 v8.1.4 v8.1.3 v8.1.2 v8.1.1 v8.1.0 v8.1.0.rc2 v8.1.0.rc1 v8.0.5 v8.0.4 v8.0.3 v8.0.2 v8.0.1 v8.0.0 v8.0.0.rc4 v8.0.0.rc3 v8.0.0.rc2 v8.0.0.rc1 v7.14.3 v7.14.2 v7.14.1 v7.14.0 v7.14.0.rc3 v7.14.0.rc2 v7.14.0.rc1 v7.13.5 v7.13.4 v7.13.3 v7.13.2 v7.13.1 v7.13.0 v7.13.0.rc4 v7.13.0.rc3 v7.13.0.rc2 v7.13.0.rc1 v7.12.2 v7.12.1 v7.12.0 v7.12.0.rc3 v7.12.0.rc2 v7.12.0.rc1 show TR.8.4.4
No related merge requests found
...@@ -184,29 +184,17 @@ header { ...@@ -184,29 +184,17 @@ header {
padding: 4px 6px; padding: 4px 6px;
padding-left: 25px; padding-left: 25px;
font-size: 13px; 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 { .search .search-input {
width: 300px; width: 300px;
&:focus {
width: 330px;
background-color: #FFF;
}
} }
@media (max-width: 1200px) { @media (max-width: 1200px) {
.search .search-input { .search .search-input {
width: 200px; width: 200px;
&:focus {
width: 230px;
}
} }
} }
......
.search .search
= form_tag search_path, method: :get, class: 'navbar-form pull-left' do |f| = 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) = hidden_field_tag :group_id, @group.try(:id)
- if @project && @project.persisted? - if @project && @project.persisted?
= hidden_field_tag :project_id, @project.id = 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