CoreFiles by mySites.guru
_demo-styling.scss36 lines, 495 bytes, from Joomla_4.0.0-beta4-Beta-Full_Package.zip
Raw History Compare with 4.0.0-beta3
md5
bd6e5563b1644c60843b6932cf332ccf
sha1
afe89f6e449816e23d2a00d44a0071098eabccca
sha256
78e705603e13bdaa2f01d59e54caaec17615cf1885eb6fc2a9cb91c4b48d7305
// 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 3 releases, Joomla 4.0.0-beta3 to 4.0.0-beta5. See them all, or every version of this file.