Sha256: de40b71746c6ef9a0a16e0d087fb76e1af4bba5c31b199a9493ebb7b7697e051

Contents?: true

Size: 808 Bytes

Versions: 7

Compression:

Stored size: 808 Bytes

Contents

$notification-background-color: $background !default
$notification-radius: $radius !default
$notification-padding: 1.25rem 2.5rem 1.25rem 1.5rem !default

.notification
  +block
  background-color: $notification-background-color
  border-radius: $notification-radius
  padding: $notification-padding
  position: relative
  a:not(.button)
    color: currentColor
    text-decoration: underline
  strong
    color: currentColor
  code,
  pre
    background: $white
  pre code
    background: transparent
  & > .delete
    position: absolute
    right: 0.5em
    top: 0.5em
  .title,
  .subtitle,
  .content
    color: currentColor
  // Colors
  @each $name, $pair in $colors
    $color: nth($pair, 1)
    $color-invert: nth($pair, 2)
    &.is-#{$name}
      background-color: $color
      color: $color-invert

Version data entries

7 entries across 7 versions & 3 rubygems

Version Path
diproart-bulma-rails-0.6.1.pre.3 vendor/assets/stylesheets/bulma/sass/elements/notification.sass
bulma-rails-0.6.1 app/assets/stylesheets/sass/elements/notification.sass
bulma-sass-0.6.0 app/assets/stylesheets/sass/elements/notification.sass
bulma-rails-0.6.0 app/assets/stylesheets/sass/elements/notification.sass
bulma-rails-0.5.3 app/assets/stylesheets/sass/elements/notification.sass
bulma-rails-0.5.2 app/assets/stylesheets/sass/elements/notification.sass
bulma-rails-0.5.1 app/assets/stylesheets/sass/elements/notification.sass