CoreFiles by mySites.guru
_treeselect.scss146 lines, 2,113 bytes, from Joomla_4.0.0-beta1-Beta-Full_Package.zip
Raw History Compare with 3.9.0-beta4
md5
a1bface7b9b9bfcf95996cc1cb84a467
sha1
df8cd5ce25492235f1afabb467ee57b95850303a
sha256
0abc2a2d9ba49bc42dd2ae17c8c79cd21802e3492ece3a5ff0c00c1a5556b6f1
// Tree select

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

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

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

    &::before {
      position: absolute;
      top: 14px;
      left: ($treeselect-indent - 15px);
      width: 10px;
      height: 1px;
      margin: auto;
      content: "";
      background-color: rgba(0, 0, 0, .2);

      [dir=rtl] & {
        right: ($treeselect-indent - 15px);
        left: 0;
      }
    }

    &::after {
      position: absolute;
      top: 0;
      bottom: 0;
      left: ($treeselect-indent - 15px);
      width: 1px;
      height: 100%;
      content: "";
      background-color: rgba(0, 0, 0, .2);

      [dir=rtl] & {
        right: ($treeselect-indent - 15px);
        left: 0;
      }
    }

    &:last-child {

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

    li {
      padding-left: $treeselect-indent;
    }
  }

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

  .icon- {
    display: none;
  }

  .treeselect-toggle {
    display: inline-block;
    padding: 0;
    margin-right: .1rem;
    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(--atum-text-dark);
    }
  }
}

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

.tree-holder {

  ul ul {

    li::before,
    li::after {
      left: 8px;
      display: block;

      [dir=rtl] & {
        right: 8px;
        left: 0;
        margin: 0;
      }
    }

    li::before {
      top: 12px;
    }

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

  li {
    line-height: 1.8rem;

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

No other release has this exact content. See every version of this file.