From aea9abd6187564265e9c1a64a1930aa93c719b36 Mon Sep 17 00:00:00 2001 From: jlukic Date: Mon, 16 Feb 2015 14:16:18 -0500 Subject: [PATCH] Add segment/card coupling with attached progress --- src/definitions/modules/progress.less | 14 ++++++++++++++ src/themes/default/modules/progress.variables | 2 +- 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/src/definitions/modules/progress.less b/src/definitions/modules/progress.less index 23894d62f..c2b108bf3 100755 --- a/src/definitions/modules/progress.less +++ b/src/definitions/modules/progress.less @@ -336,6 +336,20 @@ border-radius: 0em; } +/* Coupling */ +.ui.segment > .ui.attached.progress, +.ui.card > .ui.attached.progress { + position: absolute; + top: auto; + left: 0; + bottom: 100%; + width: 100%; +} +.ui.segment > .ui.bottom.attached.progress, +.ui.card > .ui.bottom.attached.progress { + top: 100%; + bottom: auto; +} /*-------------- Colors diff --git a/src/themes/default/modules/progress.variables b/src/themes/default/modules/progress.variables index 53043873d..db48e6840 100644 --- a/src/themes/default/modules/progress.variables +++ b/src/themes/default/modules/progress.variables @@ -90,7 +90,7 @@ /* Attached */ @attachedBackground: transparent; -@attachedHeight: 3px; +@attachedHeight: 0.2rem; @attachedBorderRadius: @borderRadius; /* Inverted */