aboutsummaryrefslogtreecommitdiffstats
path: root/src/styles
diff options
context:
space:
mode:
authorLibravatar kytwb <kytwb@pm.me>2021-12-24 18:37:45 +0100
committerLibravatar kytwb <kytwb@pm.me>2021-12-24 18:37:45 +0100
commitde536064f400f5c8b0f444b7ac74bbb646991424 (patch)
treec7ad29dc067a04a18ed3abeaf444b9cf071e3f1a /src/styles
parentPrevent error swallowing on autoUpdate event (diff)
downloadferdium-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')
-rw-r--r--src/styles/layout.scss12
-rw-r--r--src/styles/settings.scss2
2 files changed, 13 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
82body.win32:not(.isFullScreen) .app .app__content { 92body.win32:not(.isFullScreen) .app .app__content {
83 height: calc(100% - 28px); 93 height: calc(100% - 28px);
84} 94}
diff --git a/src/styles/settings.scss b/src/styles/settings.scss
index 8f59fc57a..00744df88 100644
--- a/src/styles/settings.scss
+++ b/src/styles/settings.scss
@@ -218,6 +218,7 @@
218 218
219 .badge { 219 .badge {
220 margin-right: 10px; 220 margin-right: 10px;
221 position: relative;
221 } 222 }
222 223
223 &::-webkit-scrollbar { 224 &::-webkit-scrollbar {
@@ -519,6 +520,7 @@
519 overflow: hidden; 520 overflow: hidden;
520 521
521 .settings-navigation__link { 522 .settings-navigation__link {
523 position: relative;
522 align-items: center; 524 align-items: center;
523 justify-content: space-between; 525 justify-content: space-between;
524 color: $theme-text-color; 526 color: $theme-text-color;