Files
2015-07-06 08:34:52 -05:00

72 lines
1.0 KiB
SCSS

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