Files
ionic-framework/ionic/components/toolbar/toolbar-button.scss
2015-12-07 11:18:00 -06:00

65 lines
1.1 KiB
SCSS

@import "../../globals.core";
// Toolbar Buttons
// --------------------------------------------------
.bar-button {
position: relative;
display: inline-flex;
flex-shrink: 0;
flex-flow: row nowrap;
align-items: center;
justify-content: center;
margin: 0;
padding: 0;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
text-align: center;
text-transform: none;
vertical-align: top; // the better option for most scenarios
vertical-align: -webkit-baseline-middle; // the best for those that support it
cursor: pointer;
@include user-select-none();
@include appearance(none);
}
// Menu Toggle
// --------------------------------------------------
.toolbar [menu-toggle] {
display: flex;
align-items: center;
margin: 0 6px;
padding: 0;
min-width: 36px;
box-shadow: none;
}
.toolbar [menu-toggle] icon {
padding: 0 6px;
font-size: 2.8rem;
}
// Back Button
// --------------------------------------------------
.back-button {
display: none;
&.show-back-button {
display: flex;
}
}
.back-button-text {
display: flex;
align-items: center;
}