Sha256: fd7b425881a74d7465f0c09a32ab5165f52d860915b62ce25244287e01db7341

Contents?: true

Size: 935 Bytes

Versions: 14

Compression:

Stored size: 935 Bytes

Contents

.banner {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 12px;
  margin-bottom: 1rem;
  font-weight: $font-weight-bold;
  text-align: center;
  &.warning { // this variant will be deprecated in next version
    color: $dark;
    background-color: $warning;
    .ic {
      color: $dark;
    }
  }
  &.error { // this variant will be deprecated in next version
    color: $white;
    background-color: $danger;
    .ic {
      color: $white;
    }
  }
  @each $color, $value in $theme-colors {
    &.#{$prefix}banner-#{$color} {
      @include badge-variant($value);
    }
  }
  .ic {
    width: 20px;
    height: 20px;
    font-size: 18px;
    line-height: 18px;
    color: inherit;
  }
}

.banner-text,
.banner-link {
  display: inline-block;
  padding-left: 8px;
}

.banner-link {
  display: inline-block;
  text-decoration: underline;
  cursor: pointer;
  a {
    color: inherit;
  }
}

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
mekari_ui_toolkit-1.0.32 lib/assets/stylesheets/scss/components/config/_banner.scss
mekari_ui_toolkit-1.0.31 lib/assets/stylesheets/scss/components/config/_banner.scss
mekari_ui_toolkit-1.0.30 lib/assets/stylesheets/scss/components/config/_banner.scss
mekari_ui_toolkit-1.0.29 lib/assets/stylesheets/scss/components/config/_banner.scss
mekari_ui_toolkit-1.0.28 lib/assets/stylesheets/scss/components/config/_banner.scss
mekari_ui_toolkit-1.0.27 lib/assets/stylesheets/scss/components/config/_banner.scss
mekari_ui_toolkit-1.0.26 lib/assets/stylesheets/scss/components/config/_banner.scss
mekari_ui_toolkit-1.0.25 lib/assets/stylesheets/scss/components/config/_banner.scss
mekari_ui_toolkit-1.0.24 lib/assets/stylesheets/scss/components/config/_banner.scss
mekari_ui_toolkit-1.0.23 lib/assets/stylesheets/scss/components/config/_banner.scss
mekari_ui_toolkit-1.0.21 lib/assets/stylesheets/scss/components/config/_banner.scss
mekari_ui_toolkit-1.0.20 lib/assets/stylesheets/scss/components/config/_banner.scss
mekari_ui_toolkit-1.0.18 lib/assets/stylesheets/scss/components/config/_banner.scss
mekari_ui_toolkit-1.0.17 lib/assets/stylesheets/scss/components/config/_banner.scss