From 6fc48384b088be8d702ea567a1b65a44ebc80588 Mon Sep 17 00:00:00 2001 From: Cagatay Civici Date: Tue, 4 Mar 2025 15:09:10 +0300 Subject: [PATCH] Add logo --- apps/volt/assets/styles/app/_responsive.scss | 12 +--- apps/volt/assets/styles/app/_topbar.scss | 34 +++-------- apps/volt/components/app/AppTopBar.vue | 64 ++++++-------------- 3 files changed, 27 insertions(+), 83 deletions(-) diff --git a/apps/volt/assets/styles/app/_responsive.scss b/apps/volt/assets/styles/app/_responsive.scss index 0b73d6592..e9841c503 100644 --- a/apps/volt/assets/styles/app/_responsive.scss +++ b/apps/volt/assets/styles/app/_responsive.scss @@ -138,14 +138,6 @@ .layout-topbar-inner { padding-left: 1rem; padding-right: 1rem; - - .layout-topbar-logo { - display: none; - } - - .layout-topbar-icon { - display: inline-flex; - } } .layout-content { @@ -174,8 +166,8 @@ padding-right: 1rem; font-size: 12px; - > i { + >i { display: none; } } -} +} \ No newline at end of file diff --git a/apps/volt/assets/styles/app/_topbar.scss b/apps/volt/assets/styles/app/_topbar.scss index e76097e0b..e7d560308 100644 --- a/apps/volt/assets/styles/app/_topbar.scss +++ b/apps/volt/assets/styles/app/_topbar.scss @@ -24,33 +24,14 @@ .layout-topbar-logo-container { width: 250px; margin-inline-end: 4rem; - } - - .layout-topbar-logo, - .layout-topbar-icon { - transition: outline-color .2s; - outline-color: transparent; - @include focus-visible(); - - svg { - width: 120px; - } + padding-inline: 1rem; } .layout-topbar-logo { display: inline-flex; - - svg { - width: 120px; - } - } - - .layout-topbar-icon { - display: none; - - svg { - width: 25px; - } + transition: outline-color .2s; + outline-color: transparent; + @include focus-visible(); } .menu-button { @@ -91,7 +72,8 @@ border-color: var(--primary-color); } - i, span { + i, + span { color: var(--text-color); } } @@ -130,7 +112,7 @@ } .config-panel-colors { - > div { + >div { padding-top: .5rem; display: flex; gap: .5rem; @@ -218,4 +200,4 @@ } } } -} +} \ No newline at end of file diff --git a/apps/volt/components/app/AppTopBar.vue b/apps/volt/components/app/AppTopBar.vue index cc35a712f..81c6062f6 100755 --- a/apps/volt/components/app/AppTopBar.vue +++ b/apps/volt/components/app/AppTopBar.vue @@ -3,58 +3,28 @@
- - - -