From 34e82cf43ea0edd938ceeb9e62cfa908d5f05eb5 Mon Sep 17 00:00:00 2001 From: Cagatay Civici Date: Wed, 14 Jun 2023 23:02:06 +0300 Subject: [PATCH] Topbar cosmetics --- assets/styles/layout/_topbar.scss | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/assets/styles/layout/_topbar.scss b/assets/styles/layout/_topbar.scss index a1f4c4603..1b24ae875 100644 --- a/assets/styles/layout/_topbar.scss +++ b/assets/styles/layout/_topbar.scss @@ -6,7 +6,7 @@ left: 250px; width: calc(100% - 250px); z-index: 1100; - border-bottom: 1px solid var(--surface-border); + transition: background-color 1s; .layout-topbar-inner { height: 100%; @@ -40,4 +40,21 @@ font-size: 1.5rem; } } +} + + +.layout-wrapper-light { + .layout-topbar { + &.layout-topbar-sticky { + background-color: rgba(255,255,255,.7); + } + } +} + +.layout-wrapper-dark { + .layout-topbar { + &.layout-topbar-sticky { + background-color: rgba(0,0,0,.3); + } + } } \ No newline at end of file