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; + } +}