CoreFiles by mySites.guru
_sidebar-nav.scss51 lines, 923 bytes, from Joomla_4.0.2-Stable-Full_Package.zip
Raw History Compare with 4.0.1
md5
0d88f48179ba15018dde21b2fa5a560f
sha1
ed4b16ac5ca5c85a22d37f7ca27c7ee3606d51f7
sha256
b248f88c33fdf40ca45c983f605cc9b673d20a8c0e8e47e267075f3f0164231f
// 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-right: .5rem;
        font-family: "Font Awesome 5 Free";
        font-weight: 900;
        content: "\f054";

        [dir="rtl"] & {
          margin-right: 0;
          content: none;
        }
      }

      &::after {
        [dir="rtl"] & {
          margin-inline-end: .5rem;
          font-family: "Font Awesome 5 Free";
          font-weight: 900;
          content: "\f053";
        }
      }
    }

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

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

The same content is in 21 releases, Joomla 4.0.0-rc5 to 4.1.0-alpha3. See them all, or every version of this file.