Files
2016-03-14 15:56:19 -04:00

69 lines
1013 B
SCSS

@import "../../globals.core";
// Label
// --------------------------------------------------
ion-label {
display: block;
overflow: hidden;
flex: 1;
margin: 0;
font-size: inherit;
text-overflow: ellipsis;
white-space: nowrap;
}
.item-input ion-label {
flex: initial;
max-width: 200px;
pointer-events: none;
}
[text-wrap] ion-label {
white-space: normal;
}
// Stacked & Floating Inputs
// --------------------------------------------------
ion-label[fixed] {
flex: 0 0 100px;
width: 100px;
min-width: 100px;
max-width: 200px;
}
ion-label[stacked],
ion-label[floating] {
flex-basis: 100%;
align-self: stretch;
margin-bottom: 0;
width: auto;
max-width: 100%;
}
.item-label-stacked .input-wrapper,
.item-label-floating .input-wrapper {
flex: 1;
flex-direction: column;
}
.item-label-stacked ion-select,
.item-label-floating ion-select {
width: 100%;
max-width: 100%;
}
.item-select ion-label[floating] {
transform: translate3d(0, 0, 0) scale(.8);
}