@import (reference) '~antd/lib/style/themes/default';

@prefix: sula-steps;

@dot-size: @font-size-base + 10;
@dot-size-half: @dot-size / 2;
@dot-margin-right: 24px - @dot-size-half;

.@{prefix} {
  &-head {
    padding: 8px @card-padding-base 8px 0;
    .clearfix
  }
  
  &-dot {
    display: inline-block;
    width: @dot-size;
    height: @dot-size;
    margin-right: @dot-margin-right;
    color: @primary-color;
    line-height: @dot-size;
    text-align: center;
    border: 1px solid @primary-color;
    border-radius: 50%;
  }
  
  &-dot-number {
    position: relative;
    top: -1px;
    line-height: 1;
  }
  
  &-head-title {
    display: inline-block;
    flex: 1;
    color: @card-head-color;
    font-weight: 500;
    font-size: @font-size-lg;
  }
  
  &-extra {
    float: right;
  }
  
  &-body {
    margin-left: @dot-size-half;
    padding: 24px 24px 40px 24px;
    border-left: 1px dashed @border-color-split;
    .clearfix
  }
  
  &-tail {
    padding-bottom: 24px;
    border-left: 1px;
  }
}


.clearfix() {
  zoom: 1;
  &::before,
  &::after {
    display: table;
    content: '';
  }
  &::after {
    clear: both;
  }
}
