CoreFiles by mySites.guru
_demo-styling.scss34 lines, 489 bytes, from Joomla_4.0.0-alpha3-Alpha-Full_Package.zip
Raw History Compare with 4.0.0-alpha2
md5
e922e6cfda961b17007bcd9c4d75cc0c
sha1
9317ce32494372b663425a62c3e77337082a8632
sha256
6a5c872f8b975fd23b3ebd02b581d16c27c5048e9dba385dd8318272b00c636f
// Demo Styling

$inverted-color: rgba(255,255,255,.9);

.demo-module {
  text-align: center;

  .demo-title {
    font-size: 20px;
    color: theme-color("primary");
  }

  .fa-joomla {
    font-size: 32px;
    color: theme-color("primary");
  }

  .badge {
    position: absolute;
    top: 10px;
    right: 10px;
  }
}

@each $color, $value in $theme-colors {
  .bg-#{$color} {
    .demo-module {
      .demo-title,
      .fa-joomla {
        color: $inverted-color;
      }
    }
  }
}

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