diff options
author | 2021-12-15 03:49:14 +0100 | |
---|---|---|
committer | 2021-12-15 03:49:14 +0100 | |
commit | e22df86cba7bc000bd3425ea5b1cd7b894396f3f (patch) | |
tree | 1078a1a02d9431c1e3c4c2e70658953ad1b71890 | |
parent | docs: add dedotombo as a contributor for code (#2327) [skip ci] (diff) | |
download | ferdium-app-e22df86cba7bc000bd3425ea5b1cd7b894396f3f.tar.gz ferdium-app-e22df86cba7bc000bd3425ea5b1cd7b894396f3f.tar.zst ferdium-app-e22df86cba7bc000bd3425ea5b1cd7b894396f3f.zip |
Various appearance fixes
-rw-r--r-- | src/features/appearance/index.ts | 4 | ||||
-rw-r--r-- | src/styles/layout.scss | 3 |
2 files changed, 4 insertions, 3 deletions
diff --git a/src/features/appearance/index.ts b/src/features/appearance/index.ts index 4e95f1d97..7bda62cba 100644 --- a/src/features/appearance/index.ts +++ b/src/features/appearance/index.ts | |||
@@ -60,7 +60,6 @@ function generateAccentStyle(accentColorStr) { | |||
60 | .info-bar.info-bar--primary, | 60 | .info-bar.info-bar--primary, |
61 | .infobox.infobox--primary, | 61 | .infobox.infobox--primary, |
62 | .theme__dark .badge.badge--primary, | 62 | .theme__dark .badge.badge--primary, |
63 | .theme__dark, | ||
64 | .badge.badge--primary, | 63 | .badge.badge--primary, |
65 | .content-tabs .content-tabs__tabs .content-tabs__item.is-active, | 64 | .content-tabs .content-tabs__tabs .content-tabs__item.is-active, |
66 | #electron-app-title-bar .toolbar-dropdown:not(.open) > .toolbar-button > button:hover, | 65 | #electron-app-title-bar .toolbar-dropdown:not(.open) > .toolbar-button > button:hover, |
@@ -255,7 +254,6 @@ function generateVerticalStyle(widthStr, alwaysShowWorkspaces) { | |||
255 | document.head.append(link); | 254 | document.head.append(link); |
256 | } | 255 | } |
257 | const width = Number(widthStr); | 256 | const width = Number(widthStr); |
258 | const sidebarWidth = width - 4; | ||
259 | const verticalStyleOffset = 23; | 257 | const verticalStyleOffset = 23; |
260 | 258 | ||
261 | return ` | 259 | return ` |
@@ -274,7 +272,7 @@ function generateVerticalStyle(widthStr, alwaysShowWorkspaces) { | |||
274 | } | 272 | } |
275 | 273 | ||
276 | .workspaces-drawer { | 274 | .workspaces-drawer { |
277 | margin-top: -${sidebarWidth - verticalStyleOffset - 1}px !important; | 275 | margin-top: -${0 - verticalStyleOffset - 1}px !important; |
278 | } | 276 | } |
279 | 277 | ||
280 | .todos__todos-panel--expanded { | 278 | .todos__todos-panel--expanded { |
diff --git a/src/styles/layout.scss b/src/styles/layout.scss index b5d4d86d0..73201be48 100644 --- a/src/styles/layout.scss +++ b/src/styles/layout.scss | |||
@@ -17,6 +17,8 @@ html { | |||
17 | } | 17 | } |
18 | 18 | ||
19 | .theme__dark .app { | 19 | .theme__dark .app { |
20 | background: #272727; | ||
21 | |||
20 | .sidebar { | 22 | .sidebar { |
21 | background: $dark-theme-gray-darker; | 23 | background: $dark-theme-gray-darker; |
22 | color: $theme-text-color; | 24 | color: $theme-text-color; |
@@ -87,6 +89,7 @@ body.win32:not(.isFullScreen) .app .app__content { | |||
87 | } | 89 | } |
88 | 90 | ||
89 | .app { | 91 | .app { |
92 | background: #fff; | ||
90 | .app__content { | 93 | .app__content { |
91 | display: flex; | 94 | display: flex; |
92 | width: calc(100% + 300px); | 95 | width: calc(100% + 300px); |