Permalink
Browse files

Double sprite bug. Thanks @chriseppstein !

  • Loading branch information...
1 parent 6b5cb88 commit 597789c3327038b129fcfd80f1cde060545cbd74 @torkiljohnsen torkiljohnsen committed Jun 1, 2012
@@ -579,10 +579,10 @@ header #logo {
text-indent: 110%;
white-space: nowrap;
overflow: hidden;
- background-position: 0 -540px;
+ background-position: -27px -22px;
height: 14px;
width: 14px;
- background-image: url('../images/skagen/icons-s6d2cd840cc.png');
+ background-image: url('../images/skagen/icons-sbdf8440f5e.png');
background-repeat: no-repeat;
}
@media screen and (min-width: 37.5em) {
@@ -598,10 +598,10 @@ header #logo {
text-indent: 110%;
white-space: nowrap;
overflow: hidden;
- background-position: 0 -540px;
+ background-position: -27px -22px;
height: 14px;
width: 14px;
- background-image: url('../images/skagen/icons-s6d2cd840cc.png');
+ background-image: url('../images/skagen/icons-sbdf8440f5e.png');
background-repeat: no-repeat;
}
}
@@ -699,21 +699,21 @@ header #extra #language #english {
text-indent: 110%;
white-space: nowrap;
overflow: hidden;
- background-position: 0 -238px;
+ background-position: -86px 0;
height: 22px;
width: 30px;
- background-image: url('../images/skagen/icons-s6d2cd840cc.png');
+ background-image: url('../images/skagen/icons-sbdf8440f5e.png');
background-repeat: no-repeat;
}
/* line 98, ../sass/_layout.scss */
header #extra #language #norwegian {
text-indent: 110%;
white-space: nowrap;
overflow: hidden;
- background-position: 0 -351px;
+ background-position: -83px -22px;
height: 22px;
width: 30px;
- background-image: url('../images/skagen/icons-s6d2cd840cc.png');
+ background-image: url('../images/skagen/icons-sbdf8440f5e.png');
background-repeat: no-repeat;
}
/* line 104, ../sass/_layout.scss */
@@ -864,10 +864,10 @@ header nav ul li a {
text-indent: 110%;
white-space: nowrap;
overflow: hidden;
- background-position: 0 -570px;
+ background-position: -14px -22px;
height: 13px;
width: 13px;
- background-image: url('../images/skagen/icons-s6d2cd840cc.png');
+ background-image: url('../images/skagen/icons-sbdf8440f5e.png');
background-repeat: no-repeat;
}
/* line 200, ../sass/_layout.scss */
@@ -935,19 +935,19 @@ header nav ul li a {
text-indent: 110%;
white-space: nowrap;
overflow: hidden;
- background-position: 0 -260px;
- background-image: url('../images/skagen/icons-s6d2cd840cc.png');
+ background-position: -60px -89px;
+ background-image: url('../images/skagen/icons-sbdf8440f5e.png');
background-repeat: no-repeat;
cursor: pointer;
display: inline-block;
}
/* line 233, ../sass/_layout.scss */
.slider-wrapper .flex-control-nav li a:hover {
- background-position: 0 -148px;
+ background-position: -59px -44px;
}
/* line 237, ../sass/_layout.scss */
.slider-wrapper .flex-control-nav li a.active {
- background-position: 0 -193px;
+ background-position: -14px -44px;
cursor: default;
}
@@ -1348,21 +1348,21 @@ footer #contact #company_contact #phone-icon {
text-indent: 110%;
white-space: nowrap;
overflow: hidden;
- background-position: 0 -407px;
+ background-position: -16px 0;
height: 16px;
width: 16px;
- background-image: url('../images/skagen/icons-s6d2cd840cc.png');
+ background-image: url('../images/skagen/icons-sbdf8440f5e.png');
background-repeat: no-repeat;
}
/* line 470, ../sass/_layout.scss */
footer #contact #company_contact #facebook-icon {
text-indent: 110%;
white-space: nowrap;
overflow: hidden;
- background-position: 0 -554px;
+ background-position: 0 0;
height: 16px;
width: 16px;
- background-image: url('../images/skagen/icons-s6d2cd840cc.png');
+ background-image: url('../images/skagen/icons-sbdf8440f5e.png');
background-repeat: no-repeat;
}
/* line 475, ../sass/_layout.scss */
@@ -1423,10 +1423,10 @@ footer #contact > [itemprop="address"] [itemprop="url"]:after {
text-indent: 110%;
white-space: nowrap;
overflow: hidden;
- background-position: 0 -570px;
+ background-position: -14px -22px;
height: 13px;
width: 13px;
- background-image: url('../images/skagen/icons-s6d2cd840cc.png');
+ background-image: url('../images/skagen/icons-sbdf8440f5e.png');
background-repeat: no-repeat;
}
/* line 513, ../sass/_layout.scss */
@@ -1437,10 +1437,10 @@ footer #contact > [itemprop="address"] #map {
text-indent: 110%;
white-space: nowrap;
overflow: hidden;
- background-position: 0 0;
+ background-position: 0 -157px;
height: 148px;
width: 120px;
- background-image: url('../images/skagen/icons-s6d2cd840cc.png');
+ background-image: url('../images/skagen/icons-sbdf8440f5e.png');
background-repeat: no-repeat;
}
/* line 523, ../sass/_layout.scss */
@@ -1512,21 +1512,21 @@ footer #copyright {
text-indent: 110%;
white-space: nowrap;
overflow: hidden;
- background-position: 0 -510px;
+ background-position: -32px 0;
height: 16px;
width: 16px;
- background-image: url('../images/skagen/icons-s6d2cd840cc.png');
+ background-image: url('../images/skagen/icons-sbdf8440f5e.png');
background-repeat: no-repeat;
}
/* line 28, ../sass/_layout_3.scss */
.no-touch header #extra #contact_short .phone_icon {
text-indent: 110%;
white-space: nowrap;
overflow: hidden;
- background-position: 0 -464px;
+ background-position: -48px 0;
height: 16px;
width: 16px;
- background-image: url('../images/skagen/icons-s6d2cd840cc.png');
+ background-image: url('../images/skagen/icons-sbdf8440f5e.png');
background-repeat: no-repeat;
}
/* line 33, ../sass/_layout_3.scss */
@@ -1549,10 +1549,10 @@ footer #copyright {
text-indent: 110%;
white-space: nowrap;
overflow: hidden;
- background-position: 0 -373px;
+ background-position: 0 -22px;
height: 11px;
width: 14px;
- background-image: url('../images/skagen/icons-s6d2cd840cc.png');
+ background-image: url('../images/skagen/icons-sbdf8440f5e.png');
background-repeat: no-repeat;
float: left;
}
@@ -1561,10 +1561,10 @@ footer #copyright {
text-indent: 110%;
white-space: nowrap;
overflow: hidden;
- background-position: 0 -453px;
+ background-position: 0 -44px;
height: 11px;
width: 14px;
- background-image: url('../images/skagen/icons-s6d2cd840cc.png');
+ background-image: url('../images/skagen/icons-sbdf8440f5e.png');
background-repeat: no-repeat;
float: right;
}
@@ -1941,10 +1941,10 @@ footer #copyright {
text-indent: 110%;
white-space: nowrap;
overflow: hidden;
- background-position: 0 -583px;
+ background-position: -41px -22px;
height: 14px;
width: 14px;
- background-image: url('../images/skagen/icons-s6d2cd840cc.png');
+ background-image: url('../images/skagen/icons-sbdf8440f5e.png');
background-repeat: no-repeat;
}
/* line 115, ../sass/_layout_5.scss */
@@ -2053,10 +2053,10 @@ footer #copyright {
text-indent: 110%;
white-space: nowrap;
overflow: hidden;
- background-position: 0 -583px;
+ background-position: -41px -22px;
height: 14px;
width: 14px;
- background-image: url('../images/skagen/icons-s6d2cd840cc.png');
+ background-image: url('../images/skagen/icons-sbdf8440f5e.png');
background-repeat: no-repeat;
}
/* line 38, ../sass/_layout_6.scss */
@@ -2995,17 +2995,17 @@ footer #copyright {
text-indent: 110%;
white-space: nowrap;
overflow: hidden;
- background-position: 0 -384px;
- background-image: url('../images/skagen/icons-s6d2cd840cc.png');
+ background-position: -14px -89px;
+ background-image: url('../images/skagen/icons-sbdf8440f5e.png');
background-repeat: no-repeat;
}
/* line 12, ../sass/_no-touch.scss */
.no-touch .slider-wrapper .flex-control-nav li a:hover {
- background-position: 0 -305px;
+ background-position: -37px -89px;
}
/* line 16, ../sass/_no-touch.scss */
.no-touch .slider-wrapper .flex-control-nav li a.active {
- background-position: 0 -328px;
+ background-position: 0 -134px;
cursor: default;
}
/* line 28, ../sass/_no-touch.scss */
Deleted file not rendered
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@@ -84,19 +84,19 @@ header {
a {
display: block;
float: right;
- height: image-height(sprite-file($icons-sprite-map, english_large));
+ height: image-height(sprite-file($icons-sprites, english_large));
&.active {
display: none;
}
}
#english {
- @include sprite-replace-text-with-dimensions($icons-sprite-map, english_large);
+ @include sprite-replace-text-with-dimensions($icons-sprites, english_large);
}
#norwegian {
- @include sprite-replace-text-with-dimensions($icons-sprite-map, norwegian_large);
+ @include sprite-replace-text-with-dimensions($icons-sprites, norwegian_large);
}
}
}
@@ -216,26 +216,26 @@ header {
/* bullets underneath the slider */
.flex-control-nav {
@include horizontal-list(0);
- height: image-height(sprite-file($icons-sprite-map, navbullet_off));
+ height: image-height(sprite-file($icons-sprites, navbullet_off));
background-color: #eee;
@include background-image(linear-gradient(#fcfcfc, #dfdfdf));
text-align: center;
li {
float: none;
a {
- width: image-width(sprite-file($icons-sprite-map, navbullet_off));
- height: image-height(sprite-file($icons-sprite-map, navbullet_off));
- @include sprite-replace-text($icons-sprite-map, navbullet_off);
+ width: image-width(sprite-file($icons-sprites, navbullet_off));
+ height: image-height(sprite-file($icons-sprites, navbullet_off));
+ @include sprite-replace-text($icons-sprites, navbullet_off);
cursor: pointer;
display: inline-block;
&:hover {
- @include sprite($icons-sprite-map, navbullet_hover);
+ @include sprite($icons-sprites, navbullet_hover);
}
&.active {
- @include sprite($icons-sprite-map, navbullet_on);
+ @include sprite($icons-sprites, navbullet_on);
cursor: default;
}
}
@@ -464,11 +464,11 @@ footer {
}
#phone-icon {
- @include sprite-replace-text-with-dimensions($icons-sprite-map, phone_white);
+ @include sprite-replace-text-with-dimensions($icons-sprites, phone_white);
}
#facebook-icon {
- @include sprite-replace-text-with-dimensions($icons-sprite-map, facebook_white);
+ @include sprite-replace-text-with-dimensions($icons-sprites, facebook_white);
}
}
@@ -514,7 +514,7 @@ footer {
position: absolute;
right: -5px;
top: -5px;
- @include sprite-replace-text-with-dimensions($icons-sprite-map, map);
+ @include sprite-replace-text-with-dimensions($icons-sprites, map);
}
}
@@ -10,7 +10,7 @@
display: block;
float: right;
margin-right: 1em;
- line-height: image-height(sprite-file($icons-sprite-map, english_large));
+ line-height: image-height(sprite-file($icons-sprites, english_large));
}
}
}
@@ -12,7 +12,7 @@
.phone,
.email {
float: right;
- line-height: image-height(sprite-file($icons-sprite-map, email));
+ line-height: image-height(sprite-file($icons-sprites, email));
margin-right: 2em;
}
@@ -22,18 +22,18 @@
}
.email_icon {
- @include sprite-replace-text-with-dimensions($icons-sprite-map, email);
+ @include sprite-replace-text-with-dimensions($icons-sprites, email);
}
.phone_icon {
- @include sprite-replace-text-with-dimensions($icons-sprite-map, phone);
+ @include sprite-replace-text-with-dimensions($icons-sprites, phone);
}
}
#language {
padding-top: 2px;
- height: image-height(sprite-file($icons-sprite-map, english_small));
- width: 2.5*image-width(sprite-file($icons-sprite-map, english_small));
+ height: image-height(sprite-file($icons-sprites, english_small));
+ width: 2.5*image-width(sprite-file($icons-sprites, english_small));
span {
display: none;
@@ -45,11 +45,11 @@
}
#english {
- @include sprite-replace-text-with-dimensions($icons-sprite-map, english_small);
+ @include sprite-replace-text-with-dimensions($icons-sprites, english_small);
float: left;
}
#norwegian {
- @include sprite-replace-text-with-dimensions($icons-sprite-map, norwegian_small);
+ @include sprite-replace-text-with-dimensions($icons-sprites, norwegian_small);
float: right;
}
}
@@ -22,8 +22,8 @@
}
#language {
- height: image-height(sprite-file($icons-sprite-map, english_large));
- width: 2.5*image-width(sprite-file($icons-sprite-map, english_large));
+ height: image-height(sprite-file($icons-sprites, english_large));
+ width: 2.5*image-width(sprite-file($icons-sprites, english_large));
span {
display: none;
@@ -19,7 +19,7 @@
@include pie-clearfix;
.infobox {
- bottom: 1em + (image-height(sprite-file($icons-sprite-map, navbullet_off))/16px*1em);
+ bottom: 1em + (image-height(sprite-file($icons-sprites, navbullet_off))/16px*1em);
.description {
width: 100%;
Oops, something went wrong.

0 comments on commit 597789c

Please sign in to comment.