CoreFiles by mySites.guru
_demo-styling.scss36 lines, 493 bytes, from Joomla_4.0.0-beta1-Beta-Full_Package.zip
Raw History Compare with 3.9.0-beta4
md5
81cd1313a2bafb177be824676fe4a68f
sha1
2289ea81722b1a1246bae3e85023c9fcac61078a
sha256
d0d311840bd93dc730420827fac0e654a9aa7a8913c0ce231c77d01746598efa
// 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 2 releases, Joomla 4.0.0-beta to 4.0.0-beta2. See them all, or every version of this file.