CoreFiles by mySites.guru
_com_modules.scss64 lines, 1,226 bytes, from Joomla_6.2.2-Stable-Full_Package.zip
Raw History Compare with 6.2.1
md5
aa80e5a1b44bcf45b0ef0704780a3a6d
sha1
a2f6813c0ed8e802a951ea7a334c1b4f02b62b4d
sha256
ec5eae93dcf229ff4ee93d29b69a8ace916903a6537853ec09dad546d0a25788
.new-modules {
  // We use the same colors for the new module section as we do for the quickicons.
  --text-color: $new-modules-color;
  --bg-color: $new-modules-bg;
  --bg-color-hvr: $new-modules-bg-hvr;
  --icon-color: $new-modules-icon-color;
  --icon-color-hvr: $new-modules-icon-color-hvr;

  .card-columns {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  }
}

.new-module {
  display: flex;
  overflow: hidden;
  color: $new-module-color;
  background-color: $new-module-bg;
  border: $new-module-border;
  border-radius: $border-radius;

  * {
    transition: all .25s ease;
  }

  &-details {
    flex: 1 0;
    padding: 1rem;
  }

  &-title {
    margin-block-end: .25rem;
    font-size: 1rem;
    font-weight: 700;
  }

  &-caption {
    display: flex;
    margin: 0;
    font-size: .875rem;
  }

  &-link {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    inline-size: 2.5rem;
    font-size: 1.2rem;
    background: $new-module-link-bg;

    span {
      margin-block-end: 10px;
      color: $new-module-link-span;
    }

    .new-module:hover & {
      background: $new-module-link-hvr;

      span {
        color: $new-module-link-span-hvr;
      }
    }
  }
}

The same content is in 50 releases, Joomla 6.0.0-beta1 to 6.3.0-alpha1. See them all, or every version of this file.