From c4236115ade83b45c2d234f73a3b9ab2688b7f1d Mon Sep 17 00:00:00 2001 From: Jack Date: Sun, 28 Jan 2018 19:13:21 -0800 Subject: [PATCH] Adds coupling for ribbon label with reveal #5681 --- src/definitions/elements/label.less | 1 + src/definitions/elements/reveal.less | 8 ++++++++ src/themes/default/elements/reveal.variables | 3 ++- 3 files changed, 11 insertions(+), 1 deletion(-) diff --git a/src/definitions/elements/label.less b/src/definitions/elements/label.less index 7141666fc1..58fced2b18 100755 --- a/src/definitions/elements/label.less +++ b/src/definitions/elements/label.less @@ -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 { diff --git a/src/definitions/elements/reveal.less b/src/definitions/elements/reveal.less index 353ba631db..4531f31bde 100755 --- a/src/definitions/elements/reveal.less +++ b/src/definitions/elements/reveal.less @@ -233,6 +233,14 @@ } +/******************************* + Coupling +*******************************/ + +.ui.reveal > .ui.ribbon.label { + z-index: @overlayZIndex; +} + /******************************* Variations *******************************/ diff --git a/src/themes/default/elements/reveal.variables b/src/themes/default/elements/reveal.variables index dafa5de06b..1c7fac4158 100644 --- a/src/themes/default/elements/reveal.variables +++ b/src/themes/default/elements/reveal.variables @@ -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; \ No newline at end of file +@slideTransition: transform @transitionDuration @defaultEasing @transitionDelay;