diff options
author | Kevin <[email protected]> | 2024-10-14 11:56:20 -0300 |
---|---|---|
committer | Kevin <[email protected]> | 2024-10-16 00:46:57 -0300 |
commit | 1a1c8a605c8011056a07d69b15153bcdec4c0ceb (patch) | |
tree | 8967d5eb42c97b3446b407e82ecc3ddbd9f0c440 /examples/lua/notification-popups/style.scss | |
parent | 9e255738f835c0e47cc6ae4d0cfbb96a261b4a2f (diff) |
notifications lua example
Diffstat (limited to 'examples/lua/notification-popups/style.scss')
-rw-r--r-- | examples/lua/notification-popups/style.scss | 69 |
1 files changed, 69 insertions, 0 deletions
diff --git a/examples/lua/notification-popups/style.scss b/examples/lua/notification-popups/style.scss new file mode 100644 index 0000000..8eb764a --- /dev/null +++ b/examples/lua/notification-popups/style.scss @@ -0,0 +1,69 @@ +$bg: #212223; +$fg: #f1f1f1; +$accent: #378df7; +$radius: 7px; + +window.notification-popups { + box.notifications { + padding: 0.5em; + } +} + +.icon { + min-width: 68px; + min-height: 68px; + margin-right: 1em; +} + +.icon { + icon { + font-size: 58px; + margin: 5px; + color: $fg; + } + box { + min-width: 68px; + min-height: 68px; + border-radius: $radius; + background-size: contain; + background-repeat: no-repeat; + background-position: center; + } +} + +.notification { + min-width: 350px; + border-radius: 11px; + padding: 1em; + margin: 0.5em; + border: 1px solid transparentize($fg, 0.9); + background-color: $bg; + + &.critical { + border: 1px solid $accent; + } + + .title { + color: $fg; + font-size: 1.4em; + } + + .body { + color: transparentize($fg, 0.4); + } + + .actions { + .action-button { + margin: 0 0.4em; + margin-top: 0.8em; + + &:first-child { + margin-left: 0; + } + + &:last-child { + margin-right: 0; + } + } + } +} |