mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
refactor(navbar): improved navbar transitions
This commit is contained in:
@@ -111,7 +111,6 @@ export class IonicApp {
|
||||
* @return {bool}
|
||||
*/
|
||||
isTransitioning() {
|
||||
console.debug('isTransitioning', (this._trnsTime > Date.now()), this._trnsTime, Date.now())
|
||||
return (this._trnsTime > Date.now());
|
||||
}
|
||||
|
||||
|
||||
@@ -13,6 +13,7 @@ $z-index-navbar-container: 10;
|
||||
|
||||
$z-index-content: 5;
|
||||
$z-index-toolbar: 10;
|
||||
$z-index-toolbar-background: -1;
|
||||
|
||||
$z-index-toolbar-border: 20;
|
||||
$z-index-list-border: 50;
|
||||
@@ -139,7 +140,7 @@ ion-view {
|
||||
height: 100%;
|
||||
flex-direction: column;
|
||||
|
||||
background-color: white;
|
||||
background-color: $background-color;
|
||||
|
||||
transform: translateZ(0px);
|
||||
}
|
||||
|
||||
@@ -35,7 +35,7 @@ a {
|
||||
background-color: transparent;
|
||||
}
|
||||
.enable-hover a:hover {
|
||||
color: $link-hover-color;
|
||||
opacity: 0.7;
|
||||
}
|
||||
|
||||
h1, h2, h3, h4, h5, h6 {
|
||||
|
||||
Reference in New Issue
Block a user