Browse Source

Fixes #1922 Adds zindex to dimmer inside cardA

pull/1944/head
jlukic 9 years ago
parent
commit
116e606753
2 changed files with 14 additions and 2 deletions
  1. 12
      src/definitions/views/card.less
  2. 4
      src/themes/default/views/card.variables

12
src/definitions/views/card.less

@ -93,8 +93,6 @@
margin-top: @consecutiveGroupDistance; margin-top: @consecutiveGroupDistance;
} }
/*-------------- /*--------------
Rounded Edges Rounded Edges
---------------*/ ---------------*/
@ -329,6 +327,16 @@
width: @buttonWidth; width: @buttonWidth;
} }
/*--------------
Dimmer
---------------*/
.ui.cards > .card .dimmer,
.ui.card .dimmer {
background: @dimmerBackground;
z-index: @dimmerZIndex;
}
/*-------------- /*--------------
Labels Labels
---------------*/ ---------------*/

4
src/themes/default/views/card.variables

@ -113,6 +113,10 @@
/* Paragraph */ /* Paragraph */
@paragraphDistance: 0.5em; @paragraphDistance: 0.5em;
/* Dimmer */
@dimmerZIndex: 10;
@dimmerBackground: '';
/* Additional Content */ /* Additional Content */
@extraDivider: 1px solid rgba(0, 0, 0, 0.05); @extraDivider: 1px solid rgba(0, 0, 0, 0.05);
@extraBackground: none; @extraBackground: none;

Loading…
Cancel
Save