Skip to content

Commit

Permalink
Change some CSS around
Browse files Browse the repository at this point in the history
  • Loading branch information
Zequez committed Jul 16, 2015
1 parent 2a1e69c commit 4bbbd5b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 10 deletions.
4 changes: 1 addition & 3 deletions app/assets/stylesheets/mods/index.css.sass
Expand Up @@ -116,18 +116,16 @@ $mods-list-size: 12-$filter-size
&-thumbnail
@extend %pretty-border
+span(2 of no-gutter $mods-list-size)
height: rhythm(6)
overflow: hidden

&-link
//@extend %thumbnail-hover
display: block
width: 100%
height: 100%
overflow: hidden

&-img
height: 100%
display: block
width: 100%


Expand Down
12 changes: 6 additions & 6 deletions app/assets/stylesheets/partials/search_bar.css.sass
Expand Up @@ -41,13 +41,13 @@
// Little bar on to
&:before
content: ''
+absolute(-0.3em, false, false, 0px)
+size(0.3em, 100%)
+absolute(-0.22em, false, false, 0px)
+size(0.22em, 100%)
background: lighten($color-orangered, 4%)
border-radius: $border-radius $border-radius 0px 0px
border: 0px solid lighten($color-orangered, 6.5%)
left-width: 5px
right-width: 5px
border-radius: $border-radius/2 $border-radius/2 0px 0px
// border: 0px solid lighten($color-orangered, 6.5%)
// left-width: 5px
// right-width: 5px
// Little arrow below
&:after
content: ""
Expand Down
2 changes: 1 addition & 1 deletion app/helpers/application_helper.rb
Expand Up @@ -8,7 +8,7 @@ def filter_params
end

def all_categories_mods_count
@categories.map(&:mods_count).reduce(&:+)
Mod.count
end

### Misc helpers:
Expand Down

0 comments on commit 4bbbd5b

Please sign in to comment.