Skip to content
Browse files

adding more retina images and fixing share button issue on pdp

  • Loading branch information...
1 parent 671cc2a commit 8e198426a06f6a17fb5c26dbc51682f8a2861f05 @bobbymarko committed
View
BIN public/TabletPrototype.Latest.zip
Binary file not shown.
View
35 public/css/main.css
@@ -1410,13 +1410,13 @@ ul.price-block li{ /* need to refactor sku-list-module to fix specificity issue
}
/* retina display support */
-@media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min-device-pixel-ratio: 2) {
- #branding, #menu-link>a, #search-link>a, #profile-link>a, .cart-link a, .search-submit {
+/*@media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min-device-pixel-ratio: 2) {*/
+ #branding, #menu-link>a, #search-link>a, #profile-link>a, .cart-link a, .search-submit, .secondary.cart-button::before, .cart-button::before, .call-button::before {
background-image:url("../images/css_sprite_retina.png");
- -moz-background-size: 255px 65px;
- -o-background-size: 255px 65px;
- -webkit-background-size: 255px 65px;
- background-size: 255px 65px;
+ -moz-background-size: 255px 113px;
+ -o-background-size: 255px 113px;
+ -webkit-background-size: 255px 113px;
+ background-size: 255px 113px;
background-repeat: no-repeat;
}
@@ -1444,6 +1444,14 @@ ul.price-block li{ /* need to refactor sku-list-module to fix specificity issue
background-position: -210px -1px;
}
+ .cart-button::before {
+ background-position: -220px -8px;
+ }
+
+ .call-button::before {
+ background-position: -236px -83px;
+ }
+
.search-submit {
background-image: #FFF200 url("../images/css_sprite_retina.png");
background-image: url("../images/css_sprite_retina.png"), -moz-linear-gradient(top, #FFF200 0%, #FFD500 100%);
@@ -1454,10 +1462,15 @@ ul.price-block li{ /* need to refactor sku-list-module to fix specificity issue
background-image: url("../images/css_sprite_retina.png"), linear-gradient(top, #FFF200 0%,#FFD500 100%);
background-repeat:repeat;
background-position: -169px 0;
- -moz-background-size: 255px 65px, 100% 100%; /* these have to be declared again so the gradient is sized correctly */
- -o-background-size: 255px 65px, 100% 100%;
- -webkit-background-size: 255px 65px, 100% 100%;
- background-size: 255px 65px, 100% 100%;
+ -moz-background-size: 255px 113px, 100% 100%; /* these have to be declared again so the gradient is sized correctly */
+ -o-background-size: 255px 113px, 100% 100%;
+ -webkit-background-size: 255px 113px, 100% 100%;
+ background-size: 255px 113px, 100% 100%;
}
-}
+
+ .secondary.cart-button::before {
+ background-position: -220px -40px;
+ }
+
+/*}*/
/* end retina display support */
View
BIN public/images/css_sprite_retina.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN public/images/sprite.retina.psd
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
6 public/pdp-main.html
@@ -171,7 +171,11 @@
e.preventDefault();
});
- $('#social-button-container').appendTo('#social-button-placeholder');
+ if ($('#social-button-placeholder').length > 0){
+ $('#social-button-container').appendTo('#social-button-placeholder');
+ } else {
+ $('#social-button-container').remove();
+ }
$('a','.toggle-visible').live('click', function(e){
e.preventDefault();

0 comments on commit 8e19842

Please sign in to comment.
Something went wrong with that request. Please try again.