Skip to content

Commit

Permalink
Fix image urls
Browse files Browse the repository at this point in the history
  • Loading branch information
Ward Penney authored and phamdt committed Mar 3, 2016
1 parent 23ecc58 commit d769bc2
Showing 1 changed file with 21 additions and 36 deletions.
57 changes: 21 additions & 36 deletions app/assets/stylesheets/_core.scss
Original file line number Diff line number Diff line change
@@ -1,18 +1,3 @@
/*
* This is a manifest file that'll be compiled into application.css, which will include all the files
* listed below.
*
* Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
* or vendor/assets/stylesheets of plugins, if any, can be referenced here using a relative path.
*
* You're free to add application-wide styles to this file and they'll appear at the top of the
* compiled file, but it's generally better to create a new file per style scope.
*
*= require reset
*= require_self
*/


form{
margin-bottom: 0;
}
Expand Down Expand Up @@ -46,7 +31,7 @@ html.home{
#home .hero{
width: 100%;
height: 446px;
background: image-url("/assets/home/hero.jpg") center center no-repeat;
background: image-url("home/hero.jpg") center center no-repeat;
background-size: 1600px 446px;
overflow: hidden;
position: relative;
Expand Down Expand Up @@ -89,7 +74,7 @@ html.home{
width: 46px;
height: 19px;
margin: 0 auto;
background: image-url("/assets/home/key.png") 0 0 no-repeat;
background: image-url("home/key.png") 0 0 no-repeat;
background-size: 46px 19px;
}

Expand Down Expand Up @@ -293,7 +278,7 @@ html.home{
line-height: 0;
margin-right: 14px;
letter-spacing: 1px;
background: image-url("/assets/refer/logo.png") 0 0 no-repeat;
background: image-url("refer/logo.png") 0 0 no-repeat;
background-size: 106px 19px;
height: 19px;
width: 106px;
Expand All @@ -309,7 +294,7 @@ html.home{
#refer .mammoth{
width: 612px;
height: 394px;
background: image-url("/assets/refer/mammoth.png") 0 0 no-repeat;
background: image-url("refer/mammoth.png") 0 0 no-repeat;
background-size: 610px 394px;
overflow: hidden;
margin-top: 15px;
Expand Down Expand Up @@ -384,14 +369,14 @@ html.home{
}

#refer .share-wrap .social-links .fb{
background: image-url("/assets/refer/fb.png");
background: image-url("refer/fb.png");
background-size: 27px 27px;
width: 27px;
height: 27px;
}

#refer .share-wrap .social-links .twit{
background: image-url("/assets/refer/twit.png");
background: image-url("refer/twit.png");
background-size: 27px 27px;
width: 27px;
height: 27px;
Expand Down Expand Up @@ -428,7 +413,7 @@ html.home{
#refer .prizes .progress{
height: 4px;
width: 100%;
background: image-url("/assets/refer/progress-bg.png") 0 0 repeat-x;
background: image-url("refer/progress-bg.png") 0 0 repeat-x;
background-size: 1px 4px;
position: absolute;
top: 100px;
Expand All @@ -442,7 +427,7 @@ html.home{
}

#refer .prizes .progress .mover .bar{
background: image-url("/assets/refer/progress-done.png") 0 0 repeat-x;
background: image-url("refer/progress-done.png") 0 0 repeat-x;
width: 165px;
height: 4px;
-webkit-background-size: 1px 4px;
Expand Down Expand Up @@ -518,14 +503,14 @@ html.home{
#refer .prizes .products li.product .caret{
width: 100%;
height: 10px;
background: image-url("/assets/refer/caret.png") center center no-repeat;
background: image-url("refer/caret.png") center center no-repeat;
background-size: 16px 10px;
position: absolute;
bottom: -15px;
}

#refer .prizes .products li.product.selected .caret{
background: image-url("/assets/refer/caret-selected.png") center center no-repeat;
background: image-url("refer/caret-selected.png") center center no-repeat;
background-size: 16px 10px;
}

Expand Down Expand Up @@ -631,57 +616,57 @@ only screen and (-o-min-device-pixel-ratio: 2/1),
only screen and (-webkit-min-device-pixel-ratio: 2),
only screen and (min-device-pixel-ratio: 2) {
#home .hero{
background: image-url("/assets/home/[email protected]") center center no-repeat;
background: image-url("home/[email protected]") center center no-repeat;
background-size: 1600px 446px;
}

#home .form-wrap .key{
background: image-url("/assets/home/[email protected]") 0 0 no-repeat;
background: image-url("home/[email protected]") 0 0 no-repeat;
background-size: 46px 19px;
}

#refer .header .logo{
background: image-url("/assets/refer/[email protected]") 0 0 no-repeat;
background: image-url("refer/[email protected]") 0 0 no-repeat;
background-size: 106px 19px;
}

#refer .mammoth{
background: image-url("/assets/refer/[email protected]") 0 0 no-repeat;
background: image-url("refer/[email protected]") 0 0 no-repeat;
background-size: 610px 394px;
}

#refer .share-wrap .social-links .fb{
background: image-url("/assets/refer/[email protected]");
background: image-url("refer/[email protected]");
background-size: 27px 27px;
}

#refer .share-wrap .social-links .twit{
background: image-url("/assets/refer/[email protected]");
background: image-url("refer/[email protected]");
background-size: 27px 27px;
}

#refer .prizes .progress{
background: image-url("/assets/refer/[email protected]") 0 0 repeat-x;
background: image-url("refer/[email protected]") 0 0 repeat-x;
background-size: 1px 4px;
}

#refer .prizes .progress .mover .bar{
background: image-url("/assets/refer/[email protected]") 0 0 repeat-x;
background: image-url("refer/[email protected]") 0 0 repeat-x;
background-size: 1px 4px;
}

#refer .prizes .progress .mover .razor{
background: image-url("/assets/refer/[email protected]") 0 0 no-repeat;
background: image-url("refer/[email protected]") 0 0 no-repeat;
background-size: 82px 23px;
}

#refer .prizes .products li.product .caret{
background: image-url("/assets/refer/[email protected]") center center no-repeat;
background: image-url("refer/[email protected]") center center no-repeat;
background-size: 16px 10px;
}

#refer .prizes .products li.product.selected .caret{
background: image-url("/assets/refer/[email protected]") center center no-repeat;
background: image-url("refer/[email protected]") center center no-repeat;
background-size: 16px 10px;
}
}
Expand Down

0 comments on commit d769bc2

Please sign in to comment.