| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301 | .sidebar-section {  order: 1;  flex: 20%;  max-width: 20%;  @include transition();  .sidebar-holder {    top: 2.5rem;    position: sticky;    background-color: get-light-color('bg-primary');    height: 100vh;    overflow: auto;    box-shadow: $box-shadow;    @include transition();    .sidebar {      background: get-light-color('bg-primary');      height: 100vh;      @include transition();      #search-box {        margin-left: 5%;        margin-right: 5%;        width: -webkit-fill-available;        height: 35px;        padding-left: 15px;        margin-top: 30px;        margin-bottom: 10px;        border-radius: 5px;        background-color: get-light-color('bg-secondary');        @include transition();        border: 1px solid rgba(get-light-color('accent-color'), 0.1);        &:focus {          border: 1pt solid get-light-color('accent-color');          outline: none;        }      }      #list-heading {        padding-left: 0px !important;      }      .sidebar-tree {        padding-left: 1rem;        position: relative;        width: -moz-max-content;        width: max-content;        .tree {          margin: 0;          padding: 0;          list-style: none;          li {            margin: 0;            padding: 0 1em;            line-height: 2em;            color: get-light-color('heading-color');            position: relative;            i {              color: get-light-color('heading-color');              font-size: 12px;              margin-right: 5px;            }          }          .shift-right {            margin-left: 5px;          }          .subtree {            padding-left: 0.7rem;            &:before {              content: '';              display: block;              width: 0;              position: absolute;              top: 2.5rem;              left: 1.5rem;              bottom: 0.9rem;              border-left: 1px solid get-light-color('text-color');            }            li {              &:before {                content: '';                display: block;                width: 18px;                height: 0;                border-top: 1px solid get-light-color('text-color');                margin-top: -1px;                position: absolute;                top: 18px;                left: -2px;              }              &:last-child:before {                background: get-light-color('bg-primary');                height: auto;                top: 1.1rem;                bottom: 0;              }              ul {                position: relative;                padding-left: 0.5rem;                display: none;                list-style: none;                &.active {                  display: block;                }                &:before {                  content: '';                  display: block;                  width: 0;                  position: absolute;                  top: -8px;                  left: 6px;                  bottom: 0.8rem;                  border-left: 1px solid;                }              }            }          }        }      }    }  }  @include media('<=ultra-large') {    flex: 15%;    max-width: 15%;    .sidebar-holder {      max-width: 100%;    }  }  @include media('<=extra-large') {    .sidebar-holder {      max-width: 20rem;    }  }  @include media('<=very-large') {    .sidebar-tree {      margin-left: 1rem;    }  }  @include media('<very-large') {    flex: 0%;    max-width: 0%;    min-height: 100vh;    @include transition();    .sidebar-holder {      position: sticky;      top: 2.5rem;      width: 100%;      padding-bottom: 1rem;      max-height: calc(100vh - 2.5rem);    }    &.expanded {      flex: 30%;      max-width: 30%;      margin-right: 0.5rem;      @include transition();    }  }  @include media('<=medium') {    flex: 0%;    max-width: 0%;    min-height: 100vh;    @include transition();    .sidebar-holder {      position: sticky;      top: 2.5rem;      width: 100%;    }    &.expanded {      flex: 40%;      max-width: 40%;      margin-right: 0.5rem;      @include transition();    }  }  @include media('<=small') {    width: 100%;    min-height: 0;    max-height: 0;    max-width: 100%;    @include transition();    .sidebar-holder {      max-height: 0;      height: -moz-fit-content;      height: fit-content;      overflow: hidden;      max-width: 100%;      @include transition();      .sidebar {        position: relative;        height: -moz-fit-content;        height: fit-content;        max-height: -moz-fit-content;        max-height: fit-content;        width: 100vw;        min-height: 0;        overflow: hidden;        @include transition();        .sidebar-tree {          margin-left: 0rem;          max-height: 0;          @include transition();        }      }    }    &.expanded {      margin-top: 2rem;      position: relative;      height: -moz-fit-content;      height: fit-content;      flex: none;      max-height: 300vh;      max-width: 100%;      @include transition();      .sidebar-holder {        max-height: 200vh;        @include transition();        .sidebar-tree {          max-height: 200vh;          @include transition();        }      }    }  }}.feather-plus-circle,.feather-minus-circle {  width: 1rem;  height: 1rem;}html[data-theme='dark'] {  .sidebar-section {    .sidebar-holder {      background-color: get-dark-color('bg-primary');      .sidebar {        background: get-dark-color('bg-primary');        #search-box {          background-color: get-dark-color('bg-secondary');          border: 1px solid rgba(get-dark-color('accent-color'), 0.1);          &:focus {            border: 1pt solid get-dark-color('accent-color');          }        }        .sidebar-tree {          .tree {            li {              color: get-dark-color('heading-color');              i {                color: get-dark-color('heading-color');              }            }            .subtree {              &:before {                border-left: 1px solid get-dark-color('text-color');              }              li {                &:before {                  border-top: 1px solid get-dark-color('text-color');                }                &:last-child:before {                  background: get-dark-color('bg-primary');                }              }            }          }        }      }    }  }}
 |