Permalink
Browse files

Align background for groups in Internet Explorer 8+

  • Loading branch information...
1 parent 7bfc7be commit 244e261ac1e9d06b896db0be33e52187f6124d13 @alexbaldwin alexbaldwin committed Feb 26, 2013
Showing with 7 additions and 2 deletions.
  1. +7 −2 app/assets/stylesheets/base/_extends.css.scss
@@ -250,17 +250,22 @@
%group-label {
$color: darken($bg-color, 45%);
background-color: $color;
+
@include background-image(url(group.svg), linear-gradient(tint($color, 35%), shade($color, 10%)));
background-position: 10px center;
- background-repeat: no-repeat, repeat;
border: 1px solid darken($color, 5%);
border-bottom-color: darken($color, 20%);
@include border-radius(4px);
@include box-shadow(inset 0 1px 0px lighten($color, 30%));
font-size: 0.9em;
@include inline-block;
padding: 0.5em 1em 0.5em 30px;
- @include colorful-container-text($color)
+ @include colorful-container-text($color);
+
+ background-image: url(group.png);
+ -ms-background-position-x: 5px left;
+ -ms-background-position-y: center;
+ background-repeat: no-repeat;
}
%user-label {

0 comments on commit 244e261

Please sign in to comment.