switch sass asset image url links
This commit is contained in:
parent
7e068c0e75
commit
d50c6a196c
1 changed files with 8 additions and 8 deletions
|
@ -812,22 +812,22 @@ ol.tabs li {
|
||||||
}
|
}
|
||||||
|
|
||||||
.facebook .provider_icon {
|
.facebook .provider_icon {
|
||||||
background-image: url(<%= asset_path "facebook.svg" %>);
|
background-image: image_url("facebook.svg");
|
||||||
}
|
}
|
||||||
|
|
||||||
.google .provider_icon {
|
.google .provider_icon {
|
||||||
background-image: url(<%= asset_path "google.svg" %>);
|
background-image: image_url("google.svg");
|
||||||
}
|
}
|
||||||
|
|
||||||
.twitter .provider_icon {
|
.twitter .provider_icon {
|
||||||
background-image: url(<%= asset_path "twitter.svg" %>);
|
background-image: image_url("twitter.svg");
|
||||||
}
|
}
|
||||||
|
|
||||||
.icon {
|
.icon {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
width: 20px;
|
width: 20px;
|
||||||
height: 20px;
|
height: 20px;
|
||||||
background-image: url(<%= asset_path "sprite.svg" %>);
|
background-image: image_url("sprite.svg");
|
||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
background-position: 20px 20px; /* make icon empty */
|
background-position: 20px 20px; /* make icon empty */
|
||||||
}
|
}
|
||||||
|
@ -1829,7 +1829,7 @@ footer {
|
||||||
height: 30px;
|
height: 30px;
|
||||||
color: #ECECEC;
|
color: #ECECEC;
|
||||||
line-height: 20px;
|
line-height: 20px;
|
||||||
background: #31373b url(<%= asset_path "sprite.svg" %>) no-repeat 10px -26px;
|
background: #31373b image-url("sprite.svg") no-repeat 10px -26px;
|
||||||
outline: none;
|
outline: none;
|
||||||
border: none;
|
border: none;
|
||||||
border-radius: 15px;
|
border-radius: 15px;
|
||||||
|
@ -1848,7 +1848,7 @@ footer {
|
||||||
.search .logo {
|
.search .logo {
|
||||||
width: 41px;
|
width: 41px;
|
||||||
height: 36px;
|
height: 36px;
|
||||||
background: url(<%= asset_path "logo.svg" %>);
|
background: image_url("logo.svg");
|
||||||
transition: 240ms;
|
transition: 240ms;
|
||||||
position: relative;
|
position: relative;
|
||||||
@extend .u-clickable;
|
@extend .u-clickable;
|
||||||
|
@ -2058,7 +2058,7 @@ footer {
|
||||||
}
|
}
|
||||||
|
|
||||||
.unique.avatar {
|
.unique.avatar {
|
||||||
background-image: url(<%= asset_path "avatar-bg.png" %>);
|
background-image: image_url("avatar-bg.png");
|
||||||
background-size: auto;
|
background-size: auto;
|
||||||
color: white;
|
color: white;
|
||||||
line-height: 42px;
|
line-height: 42px;
|
||||||
|
@ -3634,7 +3634,7 @@ footer {
|
||||||
}
|
}
|
||||||
.userInfo .avatar:after {
|
.userInfo .avatar:after {
|
||||||
content: "";
|
content: "";
|
||||||
background: url(<%= asset_path "sprite.svg" %>);
|
background: image_url("sprite.svg");
|
||||||
background-position: -226px 0;
|
background-position: -226px 0;
|
||||||
right: 0;
|
right: 0;
|
||||||
top: 0;
|
top: 0;
|
Loading…
Reference in a new issue