CoreFiles by mySites.guru
_sidebar-nav.scss45 lines, 811 bytes, from Joomla_5.0.1-Stable-Full_Package.zip
Raw History Compare with 5.0.0
md5
f1e795dbf830ff73b8e3dbea79785b00
sha1
1cac6f914a9efe781544a81f995919be30d19aa4
sha256
a7b01b64d392474628266f32211d035d222c015bfc99787edb781d259b002362
// Sidebar

.sidebar-nav {
  padding: 1rem 2rem;

  li {
    font-size: .9rem;
    font-weight: $font-weight-bold;

    &.divider {
      margin: .3rem 0;
    }

    a {
      display: block;
      padding: .25rem;
      font-weight: $font-weight-normal;
      color: var(--template-text-dark);
      text-decoration: none;

      &::before {
        margin-inline-end: .5rem;
        font-family: "Font Awesome 6 Free";
        font-weight: 900;
        content: "\f054" #{"/*!rtl:\"\f053\"*/"};
      }
    }

    @if $enable-dark-mode {
      @include color-mode(dark) {
        a {
          color: var(--template-text-light);
        }
      }
    }

    &.item:hover, &.active {
      background-color: var(--template-bg-dark-60);

      a {
        color: var(--template-text-light);
      }
    }
  }
}

The same content is in 18 releases, Joomla 5.0.0-beta2 to 5.1.0-beta1. See them all, or every version of this file.