compass-retina-sprites 0.1.6 → 0.1.7
Sign up to get free protection for your applications and to get access to all the features.
@@ -12,17 +12,17 @@
|
|
12
12
|
display: inline-block;
|
13
13
|
height: image-height( sprite-file( $map, $name ) );
|
14
14
|
width: image-width( sprite-file( $map, $name ) );
|
15
|
-
background-position: sprite-position( $map, $name );
|
15
|
+
background-position: sprite-position( $map, $name ) !important;
|
16
16
|
|
17
17
|
@media
|
18
18
|
( -webkit-min-device-pixel-ratio: 1.5 ),
|
19
19
|
( min--moz-device-pixel-ratio: 3/2 ),
|
20
20
|
( min-resolution: 1.5dppx ),
|
21
21
|
( min-resolution: 192dpi ) {
|
22
|
-
background-position: 0 round( nth( sprite-position( $map2x, $name ), 2) / 2);
|
22
|
+
background-position: 0 round( nth( sprite-position( $map2x, $name ), 2) / 2) !important;
|
23
23
|
height: round( image-height( sprite-file( $map2x, $name ) ) / 2 );
|
24
24
|
width: round( image-width( sprite-file( $map2x, $name ) ) /2 );
|
25
|
-
background-size: ceil( image-width( sprite-path( $map2x ) ) / 2) auto;
|
25
|
+
background-size: ceil( image-width( sprite-path( $map2x ) ) / 2) auto !important;
|
26
26
|
}
|
27
27
|
}
|
28
28
|
// Icon sprites are stored in i tags when possible
|