docs(demos): mock android statusbar

This commit is contained in:
Drew Rygh
2015-10-20 00:08:47 -05:00
parent 4528c8288b
commit 076dc7645e
3 changed files with 12 additions and 2 deletions

View File

@ -194,12 +194,22 @@ ion-card.adv-map p {
color: #32DB64; color: #32DB64;
} }
body.md {
margin-top: 24px;
}
body.md .android-attr, body.md .android-attr div.toolbar-background { body.md .android-attr, body.md .android-attr div.toolbar-background {
background-color: #387EF5; background-color: #4e8ef7;
} }
body.md .android-attr .toolbar-title { body.md .android-attr .toolbar-title {
color: #fff; color: #fff;
} }
body.md img#md-only {
display: block !important;
position: absolute;
top: -24px;
width: 100%;
height: auto;
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

View File

@ -5,7 +5,7 @@ import * as helpers from './helpers';
@App({ @App({
template: '<ion-nav id="nav" [root]="rootPage" #content></ion-nav><ion-overlay></ion-overlay>', template: '<img src="img/android-statusbar-blue.png" style="display:none" id="md-only"><ion-nav id="nav" [root]="rootPage" #content></ion-nav><ion-overlay></ion-overlay>',
}) })
class DemoApp { class DemoApp {