diff --git a/app/assets/stylesheets/sidebar.css b/app/assets/stylesheets/sidebar.css index fa7b1d560..2fe0e4e0d 100644 --- a/app/assets/stylesheets/sidebar.css +++ b/app/assets/stylesheets/sidebar.css @@ -2,8 +2,14 @@ margin-left: 25px; margin-bottom: 10px; display: inline-block; - padding-right: 30px; - color: orange; + margin-right: 30px; + color: #5cb85c; + cursor: pointer; + font-size: 18px; +} +.grid-list a{ + border: 1px solid #e1e4e8; + padding: 5px; } .image-order{ display: inline-block; diff --git a/app/views/images/_index.html.erb b/app/views/images/_index.html.erb index 5a5d0dc16..64feeec50 100644 --- a/app/views/images/_index.html.erb +++ b/app/views/images/_index.html.erb @@ -1,8 +1,8 @@
- - + +

Sort by:

@@ -144,10 +144,17 @@ function grid(){ $('td').hide(); $('.warpable').show(); - $('tr').css('display','inline-block'); - $('.warpable').css('padding','0.75rem 0.5rem') + $('tr').css({ + 'display':'inline-block', + 'height' : '100px', + 'overflow' : 'hidden' + }); } function list(){ - $('td').show() + $('td').show(); + $('tr').css({ + 'display':'', + 'height' : '', + }); }