From cb6f40d538ea62033ade013820815da63e6b9aeb Mon Sep 17 00:00:00 2001 From: f0x Date: Fri, 16 Sep 2022 18:57:54 +0200 Subject: [PATCH] sidebar styling, remove unused page --- web/source/css/_colors.css | 12 +++++----- .../settings-panel/admin/customization.js | 23 ------------------- web/source/settings-panel/index.js | 1 - 3 files changed, 6 insertions(+), 30 deletions(-) delete mode 100644 web/source/settings-panel/admin/customization.js diff --git a/web/source/css/_colors.css b/web/source/css/_colors.css index 3be552d08..fb07758aa 100644 --- a/web/source/css/_colors.css +++ b/web/source/css/_colors.css @@ -91,14 +91,14 @@ $input-border: $blue1; $input-focus-border: $blue3; $settings-nav-bg: $bg-accent; -$settings-nav-header-fg: $white1; -$settings-nav-header-bg: $gray3; +$settings-nav-header-fg: $gray1; +$settings-nav-header-bg: $orange1; -$settings-nav-bg-hover: $orange2; -$settings-nav-fg-hover: $gray1; +$settings-nav-bg-hover: $gray3; +/* $settings-nav-fg-hover: $gray1; */ -$settings-nav-bg-active: $orange1; -$settings-nav-fg-active: $gray1; +$settings-nav-bg-active: $gray2; +/* $settings-nav-fg-active: $orange2; */ $error-fg: $error1; $error-bg: $error2; diff --git a/web/source/settings-panel/admin/customization.js b/web/source/settings-panel/admin/customization.js deleted file mode 100644 index 475871bc8..000000000 --- a/web/source/settings-panel/admin/customization.js +++ /dev/null @@ -1,23 +0,0 @@ -/* - GoToSocial - Copyright (C) 2021-2022 GoToSocial Authors admin@gotosocial.org - - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU Affero General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU Affero General Public License for more details. - - You should have received a copy of the GNU Affero General Public License - along with this program. If not, see . -*/ - -"use strict"; - -module.exports = function AdminCustomization() { - return "admin customization"; -}; diff --git a/web/source/settings-panel/index.js b/web/source/settings-panel/index.js index 91b889626..34720e818 100644 --- a/web/source/settings-panel/index.js +++ b/web/source/settings-panel/index.js @@ -47,7 +47,6 @@ const nav = { "Actions": require("./admin/actions"), "Federation": require("./admin/federation.js"), "Custom Emoji": require("./admin/emoji.js"), - "Customization": require("./admin/customization.js") } };