CoreFiles by mySites.guru
_nav.scss78 lines, 1,950 bytes, from Joomla_4.0.0-alpha2-Alpha-Full_Package.zip
Raw History Compare with 3.10.0-alpha9
md5
5e2709f7b7446e9a663bca41b2964522
sha1
46442a1d5257f3720aea57185ac63b60ff743b8f
sha256
2f5dda17fca2d9bda1fd44ca045721bdf0169e008a6ba33d4ead5639a9060a8d
// Tabs

.nav.nav-tabs {
  padding: 0;
  margin: 0;
  background-color: $atum-tabs-header-bg;
  border: 1px solid $atum-border-color;
  border-bottom: 0;
  border-radius: $border-radius $border-radius 0 0;
  box-shadow: 0 1px #fff inset, 0 2px 3px -3px rgba(0,0,0,.15), 0 -4px 0 rgba(0,0,0,.05) inset, $atum-box-shadow;

  .nav-item {
    margin-bottom: 0;
    margin-left: 0;

    &:first-of-type .nav-link {

      &.active {
        border-radius: $border-radius 0 0;
        box-shadow: -1px 0 1px -1px rgba(0,0,0,.06), inset -2px 0 1px -1px rgba(0,0,0,.08), inset 0 1px 0 rgba(0,0,0,.02);
      }

    }

    &:last-of-type .nav-link {
      box-shadow: -1px 0 0 rgba(0,0,0,.05), 1px 0 0 rgba(0, 0, 0, .05);

      &.active {
        box-shadow: inset 2px 0 1px -1px rgba(0,0,0,.08), inset -2px 0 1px -1px rgba(0,0,0,.08), inset 0 1px 0 rgba(0,0,0,.02);
      }

    }

  }

  .nav-link {
    position: relative;
    padding: .75em 1em;
    color: $atum-template-color-dark;
    border: 0;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    box-shadow: -1px 0 0 rgba(0,0,0,.05);

    &.active {
      background-color: $atum-tabs-active-bg;
      background-image: linear-gradient(to bottom, rgba(0,0,0,0), rgba(0,0,0,.05) 100%);
      border-right: 0;
      border-left: 0;
      border-top-left-radius: 0;
      border-top-right-radius: 0;
      box-shadow: inset 2px 0 1px -1px rgba(0,0,0,.08), inset -2px 0 1px -1px rgba(0,0,0,.08), inset 0 1px 0 rgba(0,0,0,.02);

      &::after {
        position: absolute;
        right: 0;
        bottom: -1px;
        left: 0;
        height: 5px;
        content: "";
        background-color: $atum-tabs-active-highlight;
        opacity: .8;
      }

    }

  }

}

.nav-tabs + .tab-content {
  padding: 15px;
  background: $white-offset;
  border: 1px solid;
  border-color: $atum-border-color;
  border-radius: 0 0 $border-radius $border-radius;
  box-shadow: $atum-box-shadow;
}

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