From 116e606753b7dc5009f59d524bee5ac449b8f158 Mon Sep 17 00:00:00 2001 From: jlukic Date: Fri, 6 Mar 2015 12:27:01 -0500 Subject: [PATCH] Fixes #1922 Adds zindex to dimmer inside cardA --- src/definitions/views/card.less | 12 ++++++++++-- src/themes/default/views/card.variables | 4 ++++ 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/src/definitions/views/card.less b/src/definitions/views/card.less index 50497745d..6ed63b893 100755 --- a/src/definitions/views/card.less +++ b/src/definitions/views/card.less @@ -93,8 +93,6 @@ margin-top: @consecutiveGroupDistance; } - - /*-------------- Rounded Edges ---------------*/ @@ -329,6 +327,16 @@ width: @buttonWidth; } +/*-------------- + Dimmer +---------------*/ + +.ui.cards > .card .dimmer, +.ui.card .dimmer { + background: @dimmerBackground; + z-index: @dimmerZIndex; +} + /*-------------- Labels ---------------*/ diff --git a/src/themes/default/views/card.variables b/src/themes/default/views/card.variables index fc0e9383e..b80b466bf 100644 --- a/src/themes/default/views/card.variables +++ b/src/themes/default/views/card.variables @@ -113,6 +113,10 @@ /* Paragraph */ @paragraphDistance: 0.5em; +/* Dimmer */ +@dimmerZIndex: 10; +@dimmerBackground: ''; + /* Additional Content */ @extraDivider: 1px solid rgba(0, 0, 0, 0.05); @extraBackground: none;