CSS: Fix button mixin transition

This commit is contained in:
Eric Lippmann 2015-12-09 16:12:16 +01:00
parent ee7576f320
commit f83d4488ab
1 changed files with 6 additions and 1 deletions

View File

@ -8,7 +8,6 @@
.button(@background-color: @body-bg-color, @color: @icinga-blue) {
.rounded-corners(3px);
.transition(background 0.3s ease, color 0.3s ease);
background-color: @background-color;
border: 2px solid @color;
@ -16,6 +15,12 @@
cursor: pointer;
padding: @vertical-padding @horizontal-padding;
// Transition mixin does not work w/ comma-separated transistions
-webkit-transition: background 0.3s ease, color 0.3s ease;
-moz-transition: background 0.3s ease, color 0.3s ease;
-o-transition: background 0.3s ease, color 0.3s ease;
transition: background 0.3s ease, color 0.3s ease;
&:hover {
background-color: @color;
color: @background-color;