HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux ip-10-0-8-47 6.8.0-1021-aws #23~22.04.1-Ubuntu SMP Tue Dec 10 16:31:58 UTC 2024 aarch64
User: ubuntu (1000)
PHP: 8.1.2-1ubuntu2.22
Disabled: NONE
Upload Files
File: /var/www/admin.javaapp.co.uk/public/sass-dark/assets/elements/breadcrumb.scss
//  =================
//      Imports
//  =================

@import '../../base/base';    // Base Variables

.breadcrumb {
  background-color: transparent;
  margin-bottom: 0;
}

/*
    Breadcrumb 1
*/

.breadcrumb-one {
  display: inline-block;

  .breadcrumb {
    padding: 0;
    vertical-align: text-bottom;
  }

  .breadcrumb-item {
    align-self: center;

    a {
      color: $m-color_6;
      vertical-align: text-bottom;

      svg {
        width: 18px;
        height: 18px;
        vertical-align: sub;
        fill: $m-color_12;
      }
    }

    &.active a {
      color: $m-color_9;
    }

    span {
      vertical-align: text-bottom;
    }

    &.active {
      color: $m-color_5;
      font-weight: 600;
    }

    + .breadcrumb-item {
      padding: 0px;

      &::before {
        color: $m-color_6;
        padding: 0 6px 0 6px;
      }
    }
  }
}

/*
    Breadcrumb 2
*/

.breadcrumb-two {
  .breadcrumb {
    list-style: none;
    overflow: hidden;
    padding: 0;

    li {
      float: left;
    }
  }

  .breadcrumb-item + .breadcrumb-item::before {
    color: #fff;
  }

  .breadcrumb li {
    a {
      color: $m-color_6;
      text-decoration: none;
      padding: 6px 0 6px 40px;
      background: $m-color_12;
      position: relative;
      display: block;
      float: left;

      &:after {
        content: " ";
        display: block;
        width: 0;
        height: 0;
        border-top: 50px solid transparent;

        /* Go big on the size, and let overflow hide */
        border-bottom: 50px solid transparent;
        border-left: 30px solid $m-color_12;
        position: absolute;
        top: 50%;
        margin-top: -50px;
        left: 100%;
        z-index: 2;
      }

      &:before {
        content: " ";
        display: block;
        width: 0;
        height: 0;
        border-top: 50px solid transparent;

        /* Go big on the size, and let overflow hide */
        border-bottom: 50px solid transparent;
        border-left: 30px solid $m-color_12;
        position: absolute;
        top: 50%;
        margin-top: -50px;
        margin-left: 1px;
        left: 100%;
        z-index: 1;
      }
    }

    &:last-child a:before {
      margin-left: -6px;
    }

    &:first-child a {
      padding-left: 10px;
      border-top-left-radius: 6px;
      border-bottom-left-radius: 6px;
    }

    &.active a {
      background: $primary;
      color: #fff;

      &:after {
        border-left-color: $primary;
      }
    }

    &:last-child a {
      pointer-events: none;
      cursor: default;
      padding-left: 20px;
      padding-right: 20px;
      border-top-right-radius: 6px;
      border-bottom-right-radius: 6px;

      &:after {
        border: none;
      }
    }
  }
}

/*
    Breadcrumb 3
*/

.breadcrumb-three {
  padding: 0;
  background-color: transparent;

  .breadcrumb {
    padding: 0;
  }

  .breadcrumb-item {
    color: $m-color_6;
    padding: 9px 9px;
    background: $m-color_1;
    border-bottom-right-radius: 13px;
    border-top-right-radius: 13px;

    &.active {
      color: $primary;
      font-weight: 600;
    }

    + .breadcrumb-item::before {
      color: $m-color_9;
      font-weight: 700;
      font-size: 13px;
      content: '';
      padding: 0px 6px;
      vertical-align: sub;
    }
  }
}

/*
    Breadcrumb 4
*/

.breadcrumb-four .breadcrumb {
  display: inline-flex;
  padding: 0;
  background-color: transparent;
  margin-bottom: 0;

  li {
    position: relative;
    font-size: 14px;
    background: $m-color_18;
    margin-right: 20px;
    margin-bottom: 6px;
    padding: 7px 10px;
    border-radius: 10px;
    border: 1px solid $m-color_18;
    -webkit-box-shadow: 0px 0px 4px 0px rgba(6, 8, 24, 0.49);
    box-shadow: 0px 0px 4px 0px rgba(6, 8, 24, 0.49);

    &:last-child {
      margin-right: 0;
    }

    &:not(:first-child):before {
      content: '';
      position: absolute;
      border-radius: 50%;
      height: 4px;
      width: 4px;
      background: $m-color_14;
      left: -13px;
      top: 50%;
    }

    a {
      color: $m-color_6;
      vertical-align: sub;

      &:hover {
        text-decoration: none;
        color: $m-color_7;
      }
    }

    &:not(:first-child) svg {
      margin-right: 5px;
    }

    svg {
      color: $m-color_6;
      vertical-align: text-bottom;
      width: 20px;
    }

    &.active {
      a {
        color: $m-color_14 !important;
        font-weight: 600;
      }

      svg {
        color: $m-color_14;
      }
    }

    span {
      vertical-align: text-bottom;
    }
  }
}

/*
    Breadcrumb 5
*/

.breadcrumb-five .breadcrumb {
  padding: 0;
  background-color: transparent;
  margin-bottom: 0;

  li {
    position: relative;
    font-size: 14px;
    margin-right: 20px;
    padding: 0 7px;

    &:last-child {
      margin-right: 0;
    }

    &:not(:first-child):before {
      content: '';
      position: absolute;
      border-radius: 50%;
      height: 4px;
      width: 4px;
      background: $m-color_14;
      left: -13px;
      top: 50%;
    }

    a {
      color: $m-color_6;
      vertical-align: sub;

      &:hover {
        text-decoration: none;
        color: $m-color_11;
      }
    }

    &.active a {
      color: $m-color_14 !important;
      font-weight: 600;
    }
  }
}

@media (max-width: 575px) {
  .breadcrumb-two {
    .breadcrumb li {
      padding: 0;

      a {
        padding: 6px 10px 6px 10px;
        margin-bottom: 5px;

        &:after {
          display: none;
        }
      }
    }

    .breadcrumb-item + .breadcrumb-item::before, .breadcrumb li a:before {
      display: none;
    }
  }
}