From f83d4488ab3acc99832184ebe5e385c70d2b67d2 Mon Sep 17 00:00:00 2001 From: Eric Lippmann Date: Wed, 9 Dec 2015 16:12:16 +0100 Subject: [PATCH] CSS: Fix button mixin transition --- public/css/icinga/mixins.less | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/public/css/icinga/mixins.less b/public/css/icinga/mixins.less index 87bc5fb8d..f47fd69bd 100644 --- a/public/css/icinga/mixins.less +++ b/public/css/icinga/mixins.less @@ -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;