/*
  Copyright 2017 Red Hat Inc.

  Licensed under the Apache License, Version 2.0 (the "License"); you may
  not use this file except in compliance with the License. You may obtain
  a copy of the License at

     http://www.apache.org/licenses/LICENSE-2.0

  Unless required by applicable law or agreed to in writing, software
  distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
  WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
  License for the specific language governing permissions and limitations
  under the License.
 */

ol.deployment-step-list {
  counter-reset: li;
  margin-left: 0;
  padding-left: 0;
  position: relative;

  > li {
    list-style: none;
    margin: 0 0 6px 25px;
    padding: 4px 0 4px 12px;
    position: relative;

    &:before {
      content: counter(li);
      counter-increment: li;
      position: absolute;
      left: -25px;
      top: 19px;
      text-align: center;
      border-radius: 50%;
      border: solid 2px @brand-primary;
      color: white;
      background-color: @brand-primary;
      font-weight: 700;
      height: 25px;
      line-height: 21px;
      width: 25px;
    }

    &:not(:last-child):after {
      content: "";
      border-left: 1px solid @color-pf-black-300;
      height: 100%;
      position: absolute;
      left: -13px;
      top: 44px;
    }

    &.disabled {
      opacity: 0.5;
      -moz-opacity: 0.50;
      cursor: default;
      pointer-events: none;

      &:before {
        color: @color-pf-black-400;
        background-color: white;
        border-color: @color-pf-black-400;
      }
    }

  }

}
