-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #384 from sozialhelden/bugfix/apps-use-asset-manifest
Use asset manifest
- Loading branch information
Showing
11 changed files
with
48 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,10 +8,10 @@ | |
left: 0; | ||
z-index: 2; | ||
float: left; | ||
background: url('bg_header.png'); | ||
background: asset-url('bg_header.png'); | ||
|
||
@include if-min-resolution(1.3) { | ||
background: url([email protected]); | ||
background: asset-url('[email protected]'); | ||
} | ||
|
||
.navbar-inner { | ||
|
@@ -31,10 +31,10 @@ | |
margin: 7px 0 0 0; | ||
float: left; | ||
position: relative; | ||
background: url(bg_logo.png) center left no-repeat; | ||
background: asset-url('bg_logo.png') center left no-repeat; | ||
|
||
@include if-min-resolution(1.3) { | ||
background: url([email protected]) center left no-repeat; | ||
background: asset-url('[email protected]') center left no-repeat; | ||
background-size: 150px 32px; | ||
} | ||
|
||
|
@@ -61,11 +61,11 @@ | |
.christmas & { | ||
width: 160px; | ||
height: 42px; | ||
background-image: url(bg_logo_christmas.png); | ||
background-image: asset-url('bg_logo_christmas.png'); | ||
margin-top: 0; | ||
|
||
@include if-min-resolution(1.3) { | ||
background-image: url([email protected]); | ||
background-image: asset-url('[email protected]'); | ||
background-size: 150px 39px; | ||
} | ||
|
||
|
@@ -191,4 +191,4 @@ nav { | |
} | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,14 +8,14 @@ | |
} | ||
|
||
.leaflet-marker-icon { | ||
background: transparent url('marker-sprites.png') no-repeat; | ||
background: transparent asset-url('marker-sprites.png') no-repeat; | ||
width: 29px; | ||
height: 32px; | ||
margin-left: -15px; | ||
margin-top: -30px; | ||
|
||
@include if-min-resolution(1.3) { | ||
background: transparent url('[email protected]') no-repeat; | ||
background: transparent asset-url('[email protected]') no-repeat; | ||
background-size: 29px 128px; | ||
} | ||
|
||
|
@@ -58,4 +58,4 @@ $icons: sprite-map("icons/*[^@2x].png"); | |
max-width: 22px; | ||
max-height: 22px; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,7 +18,7 @@ | |
|
||
.leaflet-control-locate { | ||
a { | ||
background-image: url('locate_btn.png'); | ||
background-image: asset-url('locate_btn.png'); | ||
background-position: center center; | ||
background-repeat: no-repeat; | ||
background-color: rgba(255,255,255,0.8); | ||
|
@@ -28,18 +28,18 @@ | |
}; | ||
|
||
@include if-min-resolution(1.3) { | ||
background-image: url('[email protected]'); | ||
background-image: asset-url('[email protected]'); | ||
} | ||
} | ||
|
||
&.requesting a { | ||
background-image: url('spinner_locate.gif'); | ||
background-image: asset-url('spinner_locate.gif'); | ||
} | ||
|
||
&.active a { | ||
background-image: url(locate_btn_active.png); | ||
background-image: asset-url('locate_btn_active.png'); | ||
@include if-min-resolution(1.3) { | ||
background-image: url('[email protected]'); | ||
background-image: asset-url('[email protected]'); | ||
} | ||
} | ||
} | ||
|
@@ -65,4 +65,4 @@ | |
a { | ||
white-space: nowrap; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -133,31 +133,31 @@ | |
} | ||
|
||
&--yes { | ||
background-image: url('toolbar_marker_yes.png'); | ||
background-image: asset-url('toolbar_marker_yes.png'); | ||
|
||
.popover-title { | ||
background-color: $wheelchair-yes; | ||
} | ||
} | ||
|
||
&--limited { | ||
background-image: url('toolbar_marker_limited.png'); | ||
background-image: asset-url('toolbar_marker_limited.png'); | ||
|
||
.popover-title { | ||
background-color: $wheelchair-limited; | ||
} | ||
} | ||
|
||
&--no { | ||
background-image: url('toolbar_marker_no.png'); | ||
background-image: asset-url('toolbar_marker_no.png'); | ||
|
||
.popover-title { | ||
background-color: $wheelchair-limited; | ||
} | ||
} | ||
|
||
&--unknown { | ||
background-image: url('toolbar_marker_unknown.png'); | ||
background-image: asset-url('toolbar_marker_unknown.png'); | ||
|
||
.popover-title { | ||
background-color: $wheelchair-unknown; | ||
|
@@ -166,19 +166,19 @@ | |
|
||
@include if-min-resolution(1.3) { | ||
&--yes { | ||
background-image: url([email protected]); | ||
background-image: asset-url('[email protected]'); | ||
} | ||
|
||
&--limited { | ||
background-image: url([email protected]); | ||
background-image: asset-url('[email protected]'); | ||
} | ||
|
||
&--no { | ||
background-image: url([email protected]); | ||
background-image: asset-url('[email protected]'); | ||
} | ||
|
||
&--unknown { | ||
background-image: url([email protected]); | ||
background-image: asset-url('[email protected]'); | ||
} | ||
} | ||
} | ||
|
@@ -193,15 +193,15 @@ | |
} | ||
|
||
&-icon { | ||
background: url('toolbar_marker_icon.png') no-repeat; | ||
background: asset-url('toolbar_marker_icon.png') no-repeat; | ||
background-size: 100%; | ||
width: image_width('toolbar_marker_icon.png'); | ||
height: image_height('toolbar_marker_icon.png'); | ||
display: inline-block; | ||
margin-top: 1px; // Cosmetic surgery | ||
|
||
@include if-min-resolution(1.3) { | ||
background-image: url('[email protected]'); | ||
background-image: asset-url('[email protected]'); | ||
} | ||
} | ||
|
||
|
@@ -616,4 +616,3 @@ | |
} | ||
} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters