From d8f5673a148c557aa32df89f3903093e45e5bf61 Mon Sep 17 00:00:00 2001 From: Francis Lachapelle Date: Mon, 21 Dec 2015 12:03:23 -0500 Subject: [PATCH] (css) Force background-color of .md-button:hover --- UI/WebServerResources/scss/components/card/card.scss | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/UI/WebServerResources/scss/components/card/card.scss b/UI/WebServerResources/scss/components/card/card.scss index 8ee76499b..bdbe71868 100644 --- a/UI/WebServerResources/scss/components/card/card.scss +++ b/UI/WebServerResources/scss/components/card/card.scss @@ -17,6 +17,11 @@ md-card { &.sg-icon-button:last-of-type { margin: 0 $baseline-grid * .5; } + &:hover { + // When using ui-sref from ui-router, buttons become links and the background becomes grey + // when the cursor is over the button. We force the normal behaviour of buttons. + background-color: transparent; + } } }