Commit 914beff6 by xuchao

Updated: $roboto-font-path and img_path

parent ab428fca
...@@ -7,8 +7,8 @@ ...@@ -7,8 +7,8 @@
// Paths // Paths
$img-path: "img" !default; $img-path: "img" !default;
$fonts-path: "/assets" !default; $fonts-path: "fonts" !default;
$lib-path: "lib" !default; $lib-path: "/assets" !default;
$bootstrap-path: "bootstrap/scss" !default; $bootstrap-path: "bootstrap/scss" !default;
// Logo // Logo
...@@ -18,10 +18,10 @@ $logo-white: asset_path("#{$img-path}/logo-white.png" ...@@ -18,10 +18,10 @@ $logo-white: asset_path("#{$img-path}/logo-white.png"
$logo-white-2x: asset_path("#{$img-path}/logo-white-xx.png"); $logo-white-2x: asset_path("#{$img-path}/logo-white-xx.png");
// Theme Fonts // Theme Fonts
$roboto-font-path: '#{$fonts-path}/roboto' !default; $roboto-font-path: 'roboto' !default;
$roboto: 'Roboto', Arial, sans-serif !default; $roboto: 'Roboto', Arial, sans-serif !default;
$icons-font-path: '#{$fonts-path}/material-design-icons/fonts' !default; $icons-font-path: 'material-design-icons/fonts' !default;
$icons-font: 'Material Icons' !default; $icons-font: 'Material Icons' !default;
// //
......
...@@ -34,14 +34,14 @@ ...@@ -34,14 +34,14 @@
.invoice-logo { .invoice-logo {
height: $invoice-logo-height; height: $invoice-logo-height;
min-width: $invoice-logo-width; min-width: $invoice-logo-width;
background-image: url("#{$img-path}/logo-xx.png"); background-image: url(asset_path("#{$img-path}/logo-xx.png"));
background-repeat: no-repeat; background-repeat: no-repeat;
background-position: 0 ; background-position: 0 ;
@include laptop { @include laptop {
height: $invoice-logo-small-height; height: $invoice-logo-small-height;
width: $invoice-logo-small-width; width: $invoice-logo-small-width;
background-image: url("#{$img-path}/logo.png"); background-image: url(asset_path("#{$img-path}/logo.png"));
} }
@include phone { @include phone {
...@@ -53,7 +53,7 @@ ...@@ -53,7 +53,7 @@
@media #{$print} { @media #{$print} {
height: $invoice-logo-small-height !important; height: $invoice-logo-small-height !important;
width: $invoice-logo-small-width !important; width: $invoice-logo-small-width !important;
background-image: url("#{$img-path}/logo.png") !important; background-image: url(asset_path("#{$img-path}/logo.png")) !important;
display: block !important; display: block !important;
background-repeat: no-repeat !important; background-repeat: no-repeat !important;
} }
......
...@@ -75,7 +75,7 @@ ...@@ -75,7 +75,7 @@
.error-container{ .error-container{
.error-number{ .error-number{
background: url("#{$img-path}/404-bg.png") no-repeat center center; background: url(asset_path("#{$img-path}/404-bg.png")) no-repeat center center;
background-size: contain; background-size: contain;
@include phone { @include phone {
......
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
} }
.gritter-item-wrapper{ .gritter-item-wrapper{
background: url("#{$lib-path}/jquery.gritter/images/gritter-bg.png"); background: url(asset_path('jquery.gritter/images/gritter-bg.png'));
box-shadow: 0 0px 4px rgba(0, 0, 0, 0.2); box-shadow: 0 0px 4px rgba(0, 0, 0, 0.2);
.gritter-item{ .gritter-item{
......
...@@ -32,17 +32,17 @@ ...@@ -32,17 +32,17 @@
.gritter-item-wrapper { .gritter-item-wrapper {
position:relative; position:relative;
margin:0 0 10px 0; margin:0 0 10px 0;
background:url('../images/ie-spacer.gif'); /* ie7/8 fix */ background:url(asset_path('jquery.gritter/images/ie-spacer.gif')); /* ie7/8 fix */
} }
.gritter-top { .gritter-top {
background:url(../images/gritter.png) no-repeat left -30px; background:url(asset_path('jquery.gritter/images/gritter.png')) no-repeat left -30px;
height:10px; height:10px;
} }
.hover .gritter-top { .hover .gritter-top {
background-position:right -30px; background-position:right -30px;
} }
.gritter-bottom { .gritter-bottom {
background:url(../images/gritter.png) no-repeat left bottom; background:url(asset_path('jquery.gritter/images/gritter.png')) no-repeat left bottom;
height:8px; height:8px;
margin:0; margin:0;
} }
...@@ -51,7 +51,7 @@ ...@@ -51,7 +51,7 @@
} }
.gritter-item { .gritter-item {
display:block; display:block;
background:url(../images/gritter.png) no-repeat left -40px; background:url(asset_path('jquery.gritter/images/gritter.png')) no-repeat left -40px;
color:#eee; color:#eee;
padding:2px 11px 8px 11px; padding:2px 11px 8px 11px;
font-size: 11px; font-size: 11px;
...@@ -70,7 +70,7 @@ ...@@ -70,7 +70,7 @@
position:absolute; position:absolute;
top:5px; top:5px;
left:3px; left:3px;
background:url(../images/gritter.png) no-repeat left top; background:url(asset_path('jquery.gritter/images/gritter.png')) no-repeat left top;
cursor:pointer; cursor:pointer;
width:30px; width:30px;
height:30px; height:30px;
...@@ -101,7 +101,7 @@ ...@@ -101,7 +101,7 @@
.gritter-light .gritter-bottom, .gritter-light .gritter-bottom,
.gritter-light .gritter-top, .gritter-light .gritter-top,
.gritter-light .gritter-close { .gritter-light .gritter-close {
background-image: url(../images/gritter-light.png); background-image: url(asset_path('jquery.gritter/images/gritter-light.png'));
color: #222; color: #222;
} }
.gritter-light .gritter-title { .gritter-light .gritter-title {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment