Sha256: 41419a40853b70e6587d19b98875c49f3121e44b6e802b29325102595a109ee2

Contents?: true

Size: 1.13 KB

Versions: 87

Compression:

Stored size: 1.13 KB

Contents

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

.notification
  @extend %block
  background-color: $notification-background-color
  border-radius: $notification-radius
  padding: $notification-padding
  position: relative
  a:not(.button):not(.dropdown-item)
    color: currentColor
    text-decoration: underline
  strong
    color: currentColor
  code,
  pre
    background: $notification-code-background-color
  pre code
    background: transparent
  & > .delete
    position: absolute
    right: 0.5rem
    top: 0.5rem
  .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
      // If light and dark colors are provided
      @if length($pair) >= 4
        $color-light: nth($pair, 3)
        $color-dark: nth($pair, 4)
        &.is-light
          background-color: $color-light
          color: $color-dark

Version data entries

87 entries across 87 versions & 6 rubygems

Version Path
intia-theme-0.1.65 node_modules/bulma-block-list/node_modules/bulma/sass/elements/notification.sass
intia-theme-0.1.64 node_modules/bulma-block-list/node_modules/bulma/sass/elements/notification.sass
intia-theme-0.1.63 node_modules/bulma-block-list/node_modules/bulma/sass/elements/notification.sass
intia-theme-0.1.62 node_modules/bulma-block-list/node_modules/bulma/sass/elements/notification.sass
intia-theme-0.1.61 node_modules/bulma-block-list/node_modules/bulma/sass/elements/notification.sass
intia-theme-0.1.60 node_modules/bulma-block-list/node_modules/bulma/sass/elements/notification.sass
intia-theme-0.1.59 node_modules/bulma-block-list/node_modules/bulma/sass/elements/notification.sass
intia-theme-0.1.58 node_modules/bulma-block-list/node_modules/bulma/sass/elements/notification.sass
intia-theme-0.1.57 node_modules/bulma-block-list/node_modules/bulma/sass/elements/notification.sass
intia-theme-0.1.56 node_modules/bulma-block-list/node_modules/bulma/sass/elements/notification.sass
intia-theme-0.1.55 node_modules/bulma-block-list/node_modules/bulma/sass/elements/notification.sass
intia-theme-0.1.54 node_modules/bulma-block-list/node_modules/bulma/sass/elements/notification.sass
intia-theme-0.1.53 node_modules/bulma-block-list/node_modules/bulma/sass/elements/notification.sass
intia-theme-0.1.52 node_modules/bulma-block-list/node_modules/bulma/sass/elements/notification.sass
intia-theme-0.1.51 node_modules/bulma-block-list/node_modules/bulma/sass/elements/notification.sass
intia-theme-0.1.50 node_modules/bulma-block-list/node_modules/bulma/sass/elements/notification.sass
intia-theme-0.1.49 node_modules/bulma-block-list/node_modules/bulma/sass/elements/notification.sass
intia-theme-0.1.48 node_modules/bulma-block-list/node_modules/bulma/sass/elements/notification.sass
intia-theme-0.1.47 node_modules/bulma-block-list/node_modules/bulma/sass/elements/notification.sass
intia-theme-0.1.46 node_modules/bulma-block-list/node_modules/bulma/sass/elements/notification.sass