2017-07-28 20:05:15 +00:00
|
|
|
$notification-background-color: $background !default
|
|
|
|
$notification-radius: $radius !default
|
|
|
|
$notification-padding: 1.25rem 2.5rem 1.25rem 1.5rem !default
|
|
|
|
|
2016-01-24 00:03:43 +00:00
|
|
|
.notification
|
2016-09-22 22:14:18 +00:00
|
|
|
+block
|
2017-07-28 20:05:15 +00:00
|
|
|
background-color: $notification-background-color
|
|
|
|
border-radius: $notification-radius
|
|
|
|
padding: $notification-padding
|
2016-01-24 00:03:43 +00:00
|
|
|
position: relative
|
2017-04-02 12:42:13 +00:00
|
|
|
a:not(.button)
|
2017-03-31 21:25:53 +00:00
|
|
|
color: currentColor
|
|
|
|
text-decoration: underline
|
2017-07-05 20:27:23 +00:00
|
|
|
strong
|
|
|
|
color: currentColor
|
2016-10-30 23:44:50 +00:00
|
|
|
code,
|
|
|
|
pre
|
|
|
|
background: $white
|
|
|
|
pre code
|
|
|
|
background: transparent
|
2017-03-26 16:33:13 +00:00
|
|
|
& > .delete
|
2016-10-30 10:41:53 +00:00
|
|
|
position: absolute
|
2016-10-30 16:11:04 +00:00
|
|
|
right: 0.5em
|
|
|
|
top: 0.5em
|
2016-09-22 22:14:18 +00:00
|
|
|
.title,
|
2016-04-11 22:21:26 +00:00
|
|
|
.subtitle,
|
2016-09-22 22:14:18 +00:00
|
|
|
.content
|
2017-07-05 20:27:23 +00:00
|
|
|
color: currentColor
|
2016-04-10 15:00:32 +00:00
|
|
|
// Colors
|
2016-01-24 00:03:43 +00:00
|
|
|
@each $name, $pair in $colors
|
|
|
|
$color: nth($pair, 1)
|
|
|
|
$color-invert: nth($pair, 2)
|
|
|
|
&.is-#{$name}
|
2016-06-29 22:59:48 +00:00
|
|
|
background-color: $color
|
2016-01-24 00:03:43 +00:00
|
|
|
color: $color-invert
|