Files
Adam Bradley 9ded971aaa Merge pull request #899 from Doehl/master
fix(fab): add fab-fixed attr to FAB btn
2016-01-09 23:20:33 -06:00

58 lines
806 B
SCSS

@import "../../globals.core";
// FABulous Buttons (Floating Action Button from material)
// --------------------------------------------------
$button-fab-size: 56px !default;
.button-fab {
position: absolute;
width: $button-fab-size;
height: $button-fab-size;
line-height: $button-fab-size;
min-width: 0;
vertical-align: middle;
border-radius: 50%;
background-clip: padding-box;
overflow: hidden;
transition: .2s linear;
transition-property: background-color;
font-size: 14px;
ion-icon {
flex: 1;
font-size: 2.8rem;
}
}
[fab-center] {
left: 50%;
margin-left: -$button-fab-size / 2;
}
[fab-top] {
top: 16px;
}
[fab-right] {
right: 16px;
}
[fab-bottom] {
bottom: 16px;
}
[fab-left] {
left: 16px;
}
[fab-fixed] {
position: fixed;
}