From 8e081e3e775349b342ba70ed1358933c1b10dea1 Mon Sep 17 00:00:00 2001 From: jlukic Date: Fri, 14 Mar 2014 14:28:11 -0400 Subject: [PATCH] Fixes #681, multi line steps, adds two line variation for vertical steps. Fixes all steps to use transform rotote arrows instead of border arrows for consistency --- server/documents/elements/step.html.eco | 5 +++-- src/elements/step.less | 11 +++++++++++ 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/server/documents/elements/step.html.eco b/server/documents/elements/step.html.eco index e0f7e7836..fc736607e 100755 --- a/server/documents/elements/step.html.eco +++ b/server/documents/elements/step.html.eco @@ -56,12 +56,13 @@ type : 'UI Element'

Vertical

Vertical steps display each step stacked vertically

+
Vertical steps items can include a two line variation to allow for long names or names with line breaks
Shipping
-
- Billing +
+ Billing &
Order Confirmation
Confirm Order diff --git a/src/elements/step.less b/src/elements/step.less index 8715df79d..925a16c7d 100755 --- a/src/elements/step.less +++ b/src/elements/step.less @@ -112,6 +112,17 @@ display: block; } +/* Two Line */ +.ui.vertical.steps .two.line.step { + line-height: 1.3; +} +.ui.vertical.steps .two.line.active.step:after { + border-top-width: 2.35em; + border-bottom-width: 2.35em; + border-left-width: 1.5em; +} + + /*******************************