bulma/sass/elements/notification.sass

30 lines
591 B
Sass
Raw Normal View History

2016-01-24 00:03:43 +00:00
.notification
2016-09-22 22:14:18 +00:00
+block
2016-06-29 22:59:48 +00:00
background-color: $background
2016-01-24 00:03:43 +00:00
border-radius: $radius
2016-10-30 16:11:04 +00:00
padding: 1.25rem 2.5rem 1.25rem 1.5rem
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
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,
.subtitle,
2016-09-22 22:14:18 +00:00
.content
2016-01-24 00:03:43 +00:00
color: inherit
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