Files
Adam Bradley 12499b68af fix(fab): update box-shadow
Closes #192
2015-09-29 14:05:13 -05:00

61 lines
1.0 KiB
SCSS

// FABulous Buttons (Floating Action Button from material)
// --------------------------------------------------
$button-fab-size: 56px !default;
$button-fab-box-shadow: 0 4px 6px 0 rgba(0, 0, 0, 0.14), 0 4px 5px rgba(0, 0, 0, 0.1) !default;
button,
[button] {
&[fab] {
position: absolute;
width: $button-fab-size;
height: $button-fab-size;
line-height: $button-fab-size;
min-width: 0;
vertical-align: middle;
box-shadow: $button-fab-box-shadow !important;
border-radius: 50%;
background-clip: padding-box;
overflow: hidden;
transition: .2s linear;
transition-property: background-color;
font-size: 14px;
&[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;
}
icon {
flex: 1;
font-size: 3.6rem;
min-width: 64px;
}
}
}