Skip to content

Commit

Permalink
Adds coupling for ribbon label with reveal #5681
Browse files Browse the repository at this point in the history
  • Loading branch information
jlukic committed Jan 29, 2018
1 parent 3c72588 commit c423611
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/definitions/elements/label.less
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ a.ui.label {
margin-top: @lineHeightOffset;
}


/* Remove border radius on attached segment */
.ui.attached.segment > .ui.top.left.attached.label,
.ui.bottom.attached.segment > .ui.top.left.attached.label {
Expand Down
8 changes: 8 additions & 0 deletions src/definitions/elements/reveal.less
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,14 @@
}


/*******************************
Coupling
*******************************/

.ui.reveal > .ui.ribbon.label {
z-index: @overlayZIndex;
}

/*******************************
Variations
*******************************/
Expand Down
3 changes: 2 additions & 1 deletion src/themes/default/elements/reveal.variables
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,9 @@
@bottomZIndex: 2;
@topZIndex: 3;
@activeZIndex: 4;
@overlayZIndex: 5;

/* Types */
@rotateDegrees: 110deg;
@moveTransition: transform @transitionDuration @transitionEasing @transitionDelay;
@slideTransition: transform @transitionDuration @defaultEasing @transitionDelay;
@slideTransition: transform @transitionDuration @defaultEasing @transitionDelay;

0 comments on commit c423611

Please sign in to comment.