You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
349 lines
7.8 KiB
349 lines
7.8 KiB
9 years ago
|
@import "../../style/themes/default";
|
||
|
@import "../../style/mixins/index";
|
||
10 years ago
|
|
||
9 years ago
|
@steps-prefix-cls: ant-steps;
|
||
10 years ago
|
@process-icon-color: @primary-color;
|
||
10 years ago
|
@process-title-color: #666;
|
||
|
@process-description-color: @process-title-color;
|
||
9 years ago
|
@process-tail-color: @border-color-split;
|
||
10 years ago
|
@wait-icon-color: #ccc;
|
||
10 years ago
|
@wait-title-color: #999;
|
||
|
@wait-description-color: @wait-title-color;
|
||
10 years ago
|
@wait-tail-color: @process-tail-color;
|
||
10 years ago
|
@finish-icon-color: @process-icon-color;
|
||
|
@finish-title-color: @wait-title-color;
|
||
|
@finish-description-color: @finish-title-color;
|
||
|
@finish-tail-color: @process-icon-color;
|
||
9 years ago
|
@error-icon-color: @error-color;
|
||
|
@error-title-color: @error-color;
|
||
|
@error-description-color: @error-color;
|
||
|
@error-tail-color: @error-color;
|
||
10 years ago
|
|
||
9 years ago
|
.@{steps-prefix-cls} {
|
||
10 years ago
|
font-size: 0;
|
||
10 years ago
|
width: 100%;
|
||
|
line-height: 1.5;
|
||
9 years ago
|
.@{steps-prefix-cls}-item {
|
||
10 years ago
|
position: relative;
|
||
|
display: inline-block;
|
||
10 years ago
|
vertical-align: top;
|
||
10 years ago
|
|
||
9 years ago
|
&.@{steps-prefix-cls}-status-wait {
|
||
|
.@{steps-prefix-cls}-head-inner {
|
||
10 years ago
|
border-color: @wait-icon-color;
|
||
10 years ago
|
background-color: #fff;
|
||
9 years ago
|
> .@{steps-prefix-cls}-icon {
|
||
10 years ago
|
color: @wait-icon-color;
|
||
10 years ago
|
}
|
||
10 years ago
|
}
|
||
9 years ago
|
.@{steps-prefix-cls}-title {
|
||
10 years ago
|
color: @wait-title-color;
|
||
|
}
|
||
9 years ago
|
.@{steps-prefix-cls}-description {
|
||
10 years ago
|
color: @wait-description-color;
|
||
|
}
|
||
9 years ago
|
.@{steps-prefix-cls}-tail > i {
|
||
10 years ago
|
background-color: @wait-tail-color;
|
||
|
}
|
||
10 years ago
|
}
|
||
9 years ago
|
&.@{steps-prefix-cls}-status-process {
|
||
|
.@{steps-prefix-cls}-head-inner {
|
||
10 years ago
|
border-color: @process-icon-color;
|
||
|
background-color: @process-icon-color;
|
||
9 years ago
|
> .@{steps-prefix-cls}-icon {
|
||
10 years ago
|
color: #fff;
|
||
|
}
|
||
10 years ago
|
}
|
||
9 years ago
|
.@{steps-prefix-cls}-title {
|
||
10 years ago
|
color: @process-title-color;
|
||
|
}
|
||
9 years ago
|
.@{steps-prefix-cls}-description {
|
||
10 years ago
|
color: @process-description-color;
|
||
|
}
|
||
9 years ago
|
.@{steps-prefix-cls}-tail > i {
|
||
10 years ago
|
background-color: @process-tail-color;
|
||
|
}
|
||
10 years ago
|
}
|
||
9 years ago
|
&.@{steps-prefix-cls}-status-finish {
|
||
|
.@{steps-prefix-cls}-head-inner {
|
||
10 years ago
|
border-color: @finish-icon-color;
|
||
10 years ago
|
background-color: #fff;
|
||
9 years ago
|
> .@{steps-prefix-cls}-icon {
|
||
10 years ago
|
color: @finish-icon-color;
|
||
10 years ago
|
}
|
||
|
}
|
||
9 years ago
|
.@{steps-prefix-cls}-tail > i:after {
|
||
|
width: 100%;
|
||
|
background: @finish-tail-color;
|
||
|
transition: all 0.4s ease;
|
||
|
opacity: 1;
|
||
10 years ago
|
}
|
||
9 years ago
|
.@{steps-prefix-cls}-title {
|
||
10 years ago
|
color: @finish-title-color;
|
||
|
}
|
||
9 years ago
|
.@{steps-prefix-cls}-description {
|
||
10 years ago
|
color: @finish-description-color;
|
||
10 years ago
|
}
|
||
10 years ago
|
}
|
||
|
|
||
9 years ago
|
&.@{steps-prefix-cls}-status-error {
|
||
|
.@{steps-prefix-cls}-head-inner {
|
||
|
border-color: @error-icon-color;
|
||
9 years ago
|
background-color: #fff;
|
||
9 years ago
|
> .@{steps-prefix-cls}-icon {
|
||
9 years ago
|
color: @error-icon-color;
|
||
9 years ago
|
}
|
||
|
}
|
||
|
.@{steps-prefix-cls}-title {
|
||
|
color: @error-title-color;
|
||
|
}
|
||
|
.@{steps-prefix-cls}-description {
|
||
|
color: @error-description-color;
|
||
|
}
|
||
|
.@{steps-prefix-cls}-tail > i {
|
||
|
background-color: @process-tail-color;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
&.@{steps-prefix-cls}-next-error {
|
||
|
.@{steps-prefix-cls}-tail > i,
|
||
|
.@{steps-prefix-cls}-tail > i:after {
|
||
|
background-color: @error-tail-color;
|
||
|
}
|
||
|
}
|
||
|
|
||
9 years ago
|
&.@{steps-prefix-cls}-custom {
|
||
|
.@{steps-prefix-cls}-head-inner {
|
||
10 years ago
|
background: none;
|
||
|
border: 0;
|
||
10 years ago
|
width: auto;
|
||
|
height: auto;
|
||
9 years ago
|
> .@{steps-prefix-cls}-icon {
|
||
10 years ago
|
font-size: 20px;
|
||
10 years ago
|
top: 2px;
|
||
|
width: 20px;
|
||
|
height: 20px;
|
||
10 years ago
|
}
|
||
10 years ago
|
}
|
||
9 years ago
|
&.@{steps-prefix-cls}-status-process {
|
||
|
.@{steps-prefix-cls}-head-inner > .@{steps-prefix-cls}-icon {
|
||
10 years ago
|
color: @process-icon-color;
|
||
10 years ago
|
}
|
||
|
}
|
||
10 years ago
|
}
|
||
|
}
|
||
|
|
||
9 years ago
|
.@{steps-prefix-cls}-head,
|
||
|
.@{steps-prefix-cls}-main {
|
||
10 years ago
|
position: relative;
|
||
10 years ago
|
display: inline-block;
|
||
|
vertical-align: top;
|
||
10 years ago
|
}
|
||
9 years ago
|
.@{steps-prefix-cls}-head {
|
||
10 years ago
|
background: #fff;
|
||
|
}
|
||
|
|
||
9 years ago
|
.@{steps-prefix-cls}-head-inner {
|
||
10 years ago
|
display: block;
|
||
9 years ago
|
border: 1px solid @wait-icon-color;
|
||
10 years ago
|
width: 26px;
|
||
|
height: 26px;
|
||
|
line-height: 26px;
|
||
10 years ago
|
text-align: center;
|
||
10 years ago
|
border-radius: 26px;
|
||
10 years ago
|
font-size: 14px;
|