Merge pull request #324 from phoeagon/master

Floating Action Button should float higher than Raised Button
This commit is contained in:
Fez Vrasta 2014-12-26 08:58:22 +01:00
commit 5456e0fc32

View File

@ -9,10 +9,10 @@
text-decoration: none;
color: @darkbg-text;
&:hover:not(.btn-link):not(.btn-flat) {
&:hover:not(.btn-link):not(.btn-flat):not(.btn-fab) {
.shadow-z-2-hover();
}
&:active:not(.btn-link):not(.btn-flat) {
&:active:not(.btn-link):not(.btn-flat):not(.btn-fab) {
.shadow-z-3();
}
transition: box-shadow 0.28s cubic-bezier(0.4, 0, 0.2, 1);
@ -41,10 +41,18 @@
font-size: 26px;
width: 56px;
height: 56px;
&, &:hover {
.shadow-z-1();
&, &:hover, &:active
.variations(~"", background-color, transparent);
}
& {
.shadow-z-3();
}
&:hover {
.shadow-z-4();
}
&:active {
.shadow-z-5();
}
&, .ripple-wrapper {
border-radius: 100%;
}