Sha256: 9240a268cf35d32dff4a809b87c9c73cba7d86687afe1fc5799a3257f86b2cbe

Contents?: true

Size: 1.29 KB

Versions: 6

Compression:

Stored size: 1.29 KB

Contents

// Steps
.step {
  display: flex;
  flex-wrap: nowrap;
  list-style: none;
  margin: $unit-1 0;
  width: 100%;

  .step-item {
    flex: 1 1 0;
    margin-top: 0;
    min-height: 1rem;
    text-align: center;
    position: relative;

    &:not(:first-child)::before {
      background: $primary-color;
      content: "";
      height: 2px;
      left: -50%;
      position: absolute;
      top: 9px;
      width: 100%;
    }

    a {
      color: $primary-color;
      display: inline-block;
      padding: 20px 10px 0;
      text-decoration: none;

      &::before {
        background: $primary-color;
        border: $border-width-lg solid $light-color;
        border-radius: 50%;
        content: "";
        display: block;
        height: $unit-3;
        left: 50%;
        position: absolute;
        top: $unit-1;
        transform: translateX(-50%);
        width: $unit-3;
        z-index: $zindex-0;
      }
    }

    &.active {
      a {
        &::before {
          background: $light-color;
          border: $border-width-lg solid $primary-color;
        }
      }

      & ~ .step-item {
        &::before {
          background: $border-color;
        }

        a {
          color: $gray-color;

          &::before {
            background: $border-color;
          }
        }
      }
    }
  }
}

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
spectre_scss-0.5.9.1 vendor/assets/stylesheets/spectre/_steps.scss
spectre_scss-0.5.9.0 vendor/assets/stylesheets/spectre/_steps.scss
spectre_scss-0.5.8.0 vendor/assets/stylesheets/spectre/_steps.scss
spectre_scss-0.5.7.0 vendor/assets/stylesheets/spectre/_steps.scss
spectre_scss-0.5.6.0 vendor/assets/stylesheets/spectre/_steps.scss
spectre_scss-0.5.5.0 vendor/assets/stylesheets/spectre/_steps.scss