Files
2015-06-19 13:31:12 -05:00

62 lines
882 B
SCSS

// Navbar
// --------------------------------------------------
$toolbar-order: (
title: 20,
primary: 30,
secondary: 40
);
ion-toolbar {
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
position: relative;
}
.toolbar-inner {
width: 100%;
}
.toolbar-title {
flex: 1;
order: map-get($toolbar-order, 'title');
display: flex;
align-items: center;
margin: 0 0 2px;
}
.toolbar-primary-item {
order: map-get($toolbar-order, 'primary');
}
.toolbar-secondary-item {
order: map-get($toolbar-order, 'secondary');
}
ion-toolbar ion-title {
display: block;
overflow: hidden;
}
.toolbar-inner-title {
width: 100%;
padding: 0 15px;
white-space: nowrap;
text-overflow: ellipsis;
}
.toolbar button,
.toolbar [button] {
background: transparent;
border: none;
}
.toolbar-title-hide {
opacity: 0;
}