Sha256: 9acdc4b1d5fecb91af23307b417d4a8fd0436c9bd932fc5f03f1d2142bf8deb3
Contents?: true
Size: 1.11 KB
Versions: 2
Compression:
Stored size: 1.11 KB
Contents
@import "../_colours"; @import "../_typography"; @import "../_shims"; @import "../_grid_layout"; @mixin phase-banner($state: alpha) { padding-top: 8px; padding-bottom: 8px; @if $state == alpha { background-color: $alpha-colour; } @else if $state == beta { background-color: $beta-colour; } // Outer block sets a max width .outer-block { @include outer-block; } // Inner block sets gutters to align content with header and footer .inner-block { @include inner-block; } // No need to set a max-width for content inside .inner-block p { margin: 0; color: $text-colour; @include core-16; } a, a:link, a:visited, a:active { color: $text-colour; } a:hover { color: $text-colour; } } @mixin phase-tag($state: alpha) { @include inline-block; @if $state == alpha { background-color: $alpha-colour; } @else if $state == beta { background-color: $beta-colour; } color: #fff; @include bold-16($line-height: 20/16); text-transform: uppercase; letter-spacing: 1px; text-decoration: none; margin: 3px 10px 0 5px; padding: 2px 5px 0; }
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
govuk_frontend_toolkit-1.0.0 | app/assets/stylesheets/design-patterns/_alpha-beta.scss |
govuk_frontend_toolkit-0.48.0 | app/assets/stylesheets/design-patterns/_alpha-beta.scss |