123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105 |
- @import "../../themes/ionic.globals";
-
- // Toolbar
- // --------------------------------------------------
-
- ion-toolbar {
- position: relative;
- z-index: $z-index-toolbar;
- }
-
- .toolbar {
- display: flex;
- overflow: hidden;
-
- flex-direction: row;
- align-items: center;
- justify-content: space-between;
-
- width: 100%;
-
- contain: content;
- }
-
- .toolbar-background {
- @include position(0, null, null, 0);
-
- position: absolute;
- z-index: $z-index-toolbar-background;
-
- width: 100%;
- height: 100%;
-
- border: 0;
- transform: translateZ(0);
-
- pointer-events: none;
-
- contain: strict;
- }
-
- ion-title {
- display: flex;
-
- flex: 1;
- align-items: center;
-
- transform: translateZ(0);
- }
-
- .toolbar-title {
- display: block;
- overflow: hidden;
-
- width: 100%;
-
- text-overflow: ellipsis;
- white-space: nowrap;
- }
-
- ion-buttons {
- @include margin(0, .2rem);
-
- display: block;
-
- transform: translateZ(0);
-
- pointer-events: none;
- }
-
- ion-buttons button,
- ion-buttons a,
- ion-buttons input,
- ion-buttons textarea,
- ion-buttons div {
- pointer-events: auto;
- }
-
-
- // Transparent Toolbar
- // --------------------------------------------------
-
- .toolbar[transparent] .toolbar-background {
- border-color: transparent;
- background: transparent;
- }
-
-
- // TODO this is a temp hack to fix segment overlapping ion-nav-item
- ion-buttons,
- .bar-button-menutoggle {
- z-index: 99;
-
- transform: translateZ(0);
- }
-
-
- // Navbar
- // --------------------------------------------------
-
- ion-navbar.toolbar {
- display: flex;
-
- transform: translateZ(0);
- }
|