From e651a7f2d10bba80f04d8ee43d2b5575ef41cd6a Mon Sep 17 00:00:00 2001 From: Dalai Felinto Date: Thu, 24 Aug 2023 18:04:26 +0200 Subject: [PATCH] Revert "Navbar: style fixes for gitea 1.20" Changes that expected gitea 1.20 needs to be reverted 2/2. This reverts commit f2717d098bed7670c232fdafee5a608ce02842b3. --- public/css/theme-bthree-dark.css | 24 ++++++++++++++++++++++++ templates/custom/body_inner_pre.tmpl | 18 +----------------- 2 files changed, 25 insertions(+), 17 deletions(-) diff --git a/public/css/theme-bthree-dark.css b/public/css/theme-bthree-dark.css index 2a4f679..fdefc51 100644 --- a/public/css/theme-bthree-dark.css +++ b/public/css/theme-bthree-dark.css @@ -293,10 +293,34 @@ color: var(--color-label-text); } +.following.bar #navbar { + min-height: 45px; +} + +/* Align items (notifications, dropdown toggle) to the right. */ +.following.bar #navbar .brand { + justify-content: flex-end !important; +} + .ui.tabular.menu { border-color: var(--color-border); } +/* Navbar logo. */ +.item.brand a { + opacity: .8; + transition: opacity var(--transition-speed) ease-in-out; +} + +.item.brand a:hover { + opacity: 1; +} + +.item.brand svg { + height: 21px; + color: #fff; +} + .ui.breadcrumb a { color: var(--color-text); } diff --git a/templates/custom/body_inner_pre.tmpl b/templates/custom/body_inner_pre.tmpl index f4484d6..8e93b58 100644 --- a/templates/custom/body_inner_pre.tmpl +++ b/templates/custom/body_inner_pre.tmpl @@ -455,7 +455,7 @@