From 3fac2f13046536b7310f788133a50c0a7ca0eb8a Mon Sep 17 00:00:00 2001 From: "Zhenyun.Wu" Date: Fri, 12 Apr 2019 16:00:17 +0800 Subject: [PATCH] style(module: steps): styles update (#381) --- components/steps/style/addon.less | 35 ++++++++++++++++++++++++++++++- 1 file changed, 34 insertions(+), 1 deletion(-) diff --git a/components/steps/style/addon.less b/components/steps/style/addon.less index 60b6af2b..afe54498 100644 --- a/components/steps/style/addon.less +++ b/components/steps/style/addon.less @@ -1,5 +1,38 @@ +@import 'variables'; @stepPrefixCls: step; @{stepPrefixCls} { display: block; -} \ No newline at end of file +} +.@{stepsPrefixCls}-small { + .@{stepsPrefixCls}-item-description { + font-size: @font-size-caption-sm; + color: @color-text-placeholder!important; + } +} +.@{stepsPrefixCls}-item { + .@{stepsPrefixCls}-next-error .@{stepsPrefixCls}-item-title:after { + background: @brand-error; + } + + .@{errorTailCls} .@{stepsPrefixCls}-item-tail:after { + background-color: @brand-error; + } +} + +.@{stepsPrefixCls}-label-vertical { + .@{stepsPrefixCls}-item { + overflow: visible; + &-tail { + padding: 0 24 * @hd!important; + margin-left: 48 * @hd; + } + } +} + + +.@{stepsPrefixCls}-item-custom { + .@{stepsPrefixCls}-item-icon { + background: none!important; + } +}