diff options
author | kytwb <kytwb@pm.me> | 2021-12-24 18:37:45 +0100 |
---|---|---|
committer | kytwb <kytwb@pm.me> | 2021-12-24 18:37:45 +0100 |
commit | de536064f400f5c8b0f444b7ac74bbb646991424 (patch) | |
tree | c7ad29dc067a04a18ed3abeaf444b9cf071e3f1a /src/styles/layout.scss | |
parent | Prevent error swallowing on autoUpdate event (diff) | |
download | ferdium-app-de536064f400f5c8b0f444b7ac74bbb646991424.tar.gz ferdium-app-de536064f400f5c8b0f444b7ac74bbb646991424.tar.zst ferdium-app-de536064f400f5c8b0f444b7ac74bbb646991424.zip |
Apply .update-available badge to settings/updates tabs
Diffstat (limited to 'src/styles/layout.scss')
-rw-r--r-- | src/styles/layout.scss | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/src/styles/layout.scss b/src/styles/layout.scss index abd38b506..8454814b0 100644 --- a/src/styles/layout.scss +++ b/src/styles/layout.scss | |||
@@ -58,7 +58,7 @@ html { | |||
58 | } | 58 | } |
59 | } | 59 | } |
60 | 60 | ||
61 | .app .sidebar .sidebar__button .update-available { | 61 | .update-available { |
62 | align-items: center; | 62 | align-items: center; |
63 | background: $theme-brand-danger; | 63 | background: $theme-brand-danger; |
64 | border-radius: 20px; | 64 | border-radius: 20px; |
@@ -79,6 +79,16 @@ html { | |||
79 | animation-iteration-count: 6; | 79 | animation-iteration-count: 6; |
80 | } | 80 | } |
81 | 81 | ||
82 | .badge .update-available { | ||
83 | right: -10px; | ||
84 | } | ||
85 | |||
86 | .settings-navigation__link .update-available { | ||
87 | position: relative; | ||
88 | bottom: 0; | ||
89 | right: 0; | ||
90 | } | ||
91 | |||
82 | body.win32:not(.isFullScreen) .app .app__content { | 92 | body.win32:not(.isFullScreen) .app .app__content { |
83 | height: calc(100% - 28px); | 93 | height: calc(100% - 28px); |
84 | } | 94 | } |