Browse Source

Adds coupling for ribbon label with reveal #5681

pull/5603/merge
Jack 7 years ago
parent
commit
c4236115ad
3 changed files with 11 additions and 1 deletions
  1. 1
      src/definitions/elements/label.less
  2. 8
      src/definitions/elements/reveal.less
  3. 3
      src/themes/default/elements/reveal.variables

1
src/definitions/elements/label.less

@ -122,6 +122,7 @@ a.ui.label {
margin-top: @lineHeightOffset; margin-top: @lineHeightOffset;
} }
/* Remove border radius on attached segment */ /* Remove border radius on attached segment */
.ui.attached.segment > .ui.top.left.attached.label, .ui.attached.segment > .ui.top.left.attached.label,
.ui.bottom.attached.segment > .ui.top.left.attached.label { .ui.bottom.attached.segment > .ui.top.left.attached.label {

8
src/definitions/elements/reveal.less

@ -233,6 +233,14 @@
} }
/*******************************
Coupling
*******************************/
.ui.reveal > .ui.ribbon.label {
z-index: @overlayZIndex;
}
/******************************* /*******************************
Variations Variations
*******************************/ *******************************/

3
src/themes/default/elements/reveal.variables

@ -10,8 +10,9 @@
@bottomZIndex: 2; @bottomZIndex: 2;
@topZIndex: 3; @topZIndex: 3;
@activeZIndex: 4; @activeZIndex: 4;
@overlayZIndex: 5;
/* Types */ /* Types */
@rotateDegrees: 110deg; @rotateDegrees: 110deg;
@moveTransition: transform @transitionDuration @transitionEasing @transitionDelay; @moveTransition: transform @transitionDuration @transitionEasing @transitionDelay;
@slideTransition: transform @transitionDuration @defaultEasing @transitionDelay;
@slideTransition: transform @transitionDuration @defaultEasing @transitionDelay;
Loading…
Cancel
Save