diff options
author | Maximilian Hils <git@maximilianhils.com> | 2020-02-26 11:50:42 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-26 11:50:42 +0100 |
commit | 89933ca7eae72418fd08d97711d2f11a59e1a398 (patch) | |
tree | 194e7ff191e3b162f7526953c0d6aedc22866f98 /docs/src/assets/bulma/elements/notification.sass | |
parent | ff759fa51b00c05c3873efaa8ae16abe3d078bfb (diff) | |
parent | c6393f86d70ca33385cc8029e9e5029c5627d5c3 (diff) | |
download | mitmproxy-89933ca7eae72418fd08d97711d2f11a59e1a398.tar.gz mitmproxy-89933ca7eae72418fd08d97711d2f11a59e1a398.tar.bz2 mitmproxy-89933ca7eae72418fd08d97711d2f11a59e1a398.zip |
Merge pull request #3829 from meetmangukiya/rm-node-scss
Remove yarn/npm from docs
Diffstat (limited to 'docs/src/assets/bulma/elements/notification.sass')
-rw-r--r-- | docs/src/assets/bulma/elements/notification.sass | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/docs/src/assets/bulma/elements/notification.sass b/docs/src/assets/bulma/elements/notification.sass new file mode 100644 index 00000000..32a0ee13 --- /dev/null +++ b/docs/src/assets/bulma/elements/notification.sass @@ -0,0 +1,43 @@ +$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 |