| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166 |
- @import '../../styles/variable.scss';
- .clearfix {
- zoom: 1;
- }
- .clearfix:after {
- display: block;
- height: 0;
- clear: both;
- content: '';
- visibility: hidden;
- }
- .nut-steps {
- &.horizontal {
- display: flex;
- .nut-step {
- flex: 1;
- display: flex;
- flex-direction: column;
- align-items: center;
- .nut-step-node {
- display: flex;
- width: 100%;
- .nut-step-line {
- height: 1px;
- width: 100%;
- top: 50%;
- left: 50%;
- }
- }
- .nut-step-main {
- display: flex;
- flex-direction: column;
- align-items: center;
- .nut-step-title {
- margin-bottom: 0;
- }
- }
- }
- }
- }
- .nut-step {
- position: relative;
- font-size: $font-size-body-small;
- display: flex;
- .nut-step-time-forward {
- font-size: $font-size-display-small;
- width: 75px;
- color: $text-black-2;
- }
- .nut-step-node {
- position: relative;
- z-index: 99;
- width: 30px;
- display: flex;
- justify-content: center;
- .nut-step-icon {
- width: 20px;
- height: 20px;
- display: flex;
- align-items: center;
- justify-content: center;
- position: relative;
- z-index: 1;
- .default-icon {
- width: 8px;
- height: 8px;
- border-radius: 50%;
- background: $split-line-color;
- }
- }
- .nut-step-line {
- position: absolute;
- top: 14px;
- left: 14px;
- width: 1px;
- height: 100%;
- background: $split-line-color;
- }
- }
- .nut-step-main {
- // padding-left: 40px;
- flex: 1;
- margin-bottom: 20px;
- .nut-step-title {
- color: $text-black-1;
- line-height: 20px;
- font-weight: 600;
- margin-bottom: 5px;
- }
- .nut-step-content {
- color: $text-black-2;
- line-height: 20px;
- font-size: $font-size-display-small;
- margin-bottom: 8px;
- }
- .nut-step-time {
- color: $text-black-3;
- font-size: $font-size-display-small;
- }
- }
- &.nut-step-last {
- .nut-step-line {
- display: none;
- }
- }
- &.nut-step-status- {
- &wait {
- .nut-step-node {
- .nut-step-icon {
- .default-icon {
- width: 20px;
- height: 20px;
- line-height: 20px;
- border-radius: 50%;
- background: $split-line-color;
- position: relative;
- &::before {
- content: '...';
- position: absolute;
- top: -4px;
- width: 100%;
- height: 100%;
- color: $btn-default-bg;
- text-align: center;
- }
- }
- }
- }
- }
- &process {
- .nut-step-node {
- .nut-step-icon {
- .default-icon {
- width: 15px;
- height: 15px;
- border-radius: 50%;
- background: $assist-color-orange;
- position: relative;
- z-index: 1;
- &::before {
- content: '';
- position: absolute;
- top: 50%;
- left: 50%;
- transform: translate(-50%, -50%);
- width: 7px;
- height: 7px;
- border-radius: 50%;
- background: $primary-color-jd-red;
- }
- }
- }
- }
- }
- }
- }
|