From cf6233586eff4b532df4f9489b3f2b4b27012ffa Mon Sep 17 00:00:00 2001 From: vantezzen Date: Fri, 18 Oct 2019 10:58:02 +0200 Subject: Implement #129 --- src/styles/layout.scss | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) (limited to 'src/styles/layout.scss') diff --git a/src/styles/layout.scss b/src/styles/layout.scss index b18bd6dcf..a7de4b247 100644 --- a/src/styles/layout.scss +++ b/src/styles/layout.scss @@ -2,6 +2,18 @@ html { overflow: hidden; } +@keyframes pulse-danger { + 0% { + background: darken($theme-brand-danger, 10%); + } + 50% { + background: lighten($theme-brand-danger, 10%); + } + 100% { + background: darken($theme-brand-danger, 10%); + } +} + .theme__dark .app { .sidebar { background: $dark-theme-gray-darker; @@ -26,6 +38,27 @@ html { overflow: hidden; } &.is-active { color: $theme-brand-primary; } + + .update-availible { + align-items: center; + background: $theme-brand-danger; + border-radius: 20px; + bottom: 5px; + color: #FFF; + display: flex; + justify-content: center; + padding: 0px 5px; + position: absolute; + right: 16px; + padding-top: 0; + font-size: 0px; + min-height: 15px; + min-width: 15px; + + animation-name: pulse-danger; + animation-duration: 0.75s; + animation-iteration-count: 6; + } } } -- cgit v1.2.3-54-g00ecf