More compact search page

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
This commit is contained in:
Dmitriy Zaporozhets 2015-08-27 00:22:36 +02:00
parent 3d02ead924
commit dcdf214fd1
No known key found for this signature in database
GPG Key ID: 161B5D6A44D3D88A
3 changed files with 5 additions and 6 deletions

View File

@ -1,7 +1,7 @@
.search-results { .search-results {
.search-result-row { .search-result-row {
border-bottom: 1px solid #EEE; border-bottom: 1px solid #DDD;
padding-bottom: 10px; padding-bottom: 15px;
margin-bottom: 10px; margin-bottom: 15px;
} }
} }

View File

@ -1,4 +1,4 @@
%ul.nav.nav-pills.search-filter %ul.nav.nav-tabs.search-filter
- if @project - if @project
%li{class: ("active" if @scope == 'blobs')} %li{class: ("active" if @scope == 'blobs')}
= link_to search_filter_path(scope: 'blobs') do = link_to search_filter_path(scope: 'blobs') do

View File

@ -1,7 +1,6 @@
- page_title @search_term - page_title @search_term
= render 'search/form' = render 'search/form'
%hr %br
- if @search_term - if @search_term
= render 'search/category' = render 'search/category'
%hr
= render 'search/results' = render 'search/results'