CoreFiles by mySites.guru
_treeselect.scss132 lines, 2,010 bytes, from Joomla_5.1.2-rc2-Release_Candidate-Full_Package.zip
Raw History Compare with 5.1.2-rc1
md5
58e8922e006ab76d7b6c7995ea31dcbd
sha1
97a347e0b97603bf767dec34eb7d4100ba9ded8f
sha256
965fc5bb1d2bb807568b5f10f070ed5a0018bcc0783e4f785c0b9d07aad7a999
// Tree select

.treeselect {
  display: block;
  padding-left: 0;
  list-style: none;

  .nav-header {
    font-weight: $font-weight-bold;
    color: $nav-header-color;
  }

  li {
    position: relative;
    display: block;
    line-height: $treeselect-line-height;
    list-style: none;

    &::before {
      position: absolute;
      top: 14px;
      inset-inline-start: ($treeselect-indent - 15px);
      width: 10px;
      height: 1px;
      margin: auto;
      content: "";
      background-color: var(--treeselect-line-color);
    }

    &::after {
      position: absolute;
      top: 0;
      bottom: 0;
      inset-inline-start: ($treeselect-indent - 15px);
      width: 1px;
      height: 100%;
      content: "";
      background-color: var(--treeselect-line-color);
    }

    &:last-child {

      &::after {
        height: 14px;
      }
    }

    li {
      padding-inline-start: $treeselect-indent;
    }
  }

  > li::before,
  > li::after {
    display: none;
  }

  .#{$jicon-css-prefix}-,
  .#{$fa-css-prefix}- {
    display: none;
  }

  .treeselect-toggle {
    display: inline-block;
    padding: 0;
    margin-right: .1rem;
    color: var(--atum-btn-bg);
    text-align: center;
    cursor: pointer;
  }

  .treeselect-menu {
    display: inline-block;
  }

  .treeselect-item {
    display: inline-block;

    input {
      position: relative;
      top: 1px;
      margin-right: .2rem;
    }

    label {
      margin-bottom: 0;
    }
  }

  .dropdown-toggle {
    padding: 0 .5rem .3rem;
    margin-left: .5rem;

    &::after {
      margin-left: 0;
      font-size: 1rem;
      color: var(--treeselect-dropdown-toggle);
    }
  }
}

.treeselect-sub {
  padding-left: 0;
}

.tree-holder {

  ul ul {

    li::before,
    li::after {
      inset-inline-start: 8px;
      display: block;
    }

    li::before {
      top: 12px;
    }

    li:last-child::after {
      height: 12px;
    }
  }

  li {
    line-height: 1.8rem;

    li {
      padding-inline-start: 20px;
    }
  }
}

The same content is in 15 releases, Joomla 5.1.0-rc1 to 5.2.0-alpha1. See them all, or every version of this file.