Files
2015-12-07 11:18:00 -06:00

78 lines
1.2 KiB
SCSS

@import "../../globals.core";
// Toolbar
// --------------------------------------------------
.toolbar {
position: relative;
z-index: $z-index-toolbar;
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
order: $flex-order-toolbar-top;
flex: 0;
width: 100%;
overflow: hidden;
}
.toolbar-background {
position: absolute;
left: 0;
top: 0;
width: 100%;
height: 100%;
z-index: $z-index-toolbar-background;
border: 0;
pointer-events: none;
}
.toolbar[position=bottom] {
order: $flex-order-toolbar-bottom;
}
ion-title {
flex: 1;
display: flex;
align-items: center;
}
.toolbar-title {
display: block;
width: 100%;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
}
ion-buttons {
display: block;
margin: 0 0.2rem;
pointer-events: none;
}
ion-buttons button,
ion-buttons a,
ion-buttons input,
ion-buttons textarea,
ion-buttons div {
pointer-events: auto;
}
// TODO this is a temp hack to fix segment overlapping ion-nav-item
ion-buttons,
[menu-toggle] {
z-index: 99;
}
// Navbar
// --------------------------------------------------
ion-navbar.toolbar {
display: flex;
}