From 8506b38adf1ac9b64468a6dfd73caaac02df320e Mon Sep 17 00:00:00 2001 From: John Livingston Date: Tue, 26 Sep 2023 14:12:30 +0200 Subject: [PATCH] Fix dark mode for channel configuration buttons. --- CHANGELOG.md | 6 ++++++ assets/styles/configuration.scss | 20 ++++++++++++++++++++ 2 files changed, 26 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9ff15ecf..9ec24059 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## 8.0.1 (Note Released Yet) + +### Minor changes and fixes + +* Fix dark mode for channel configuration buttons. + ## 8.0.0 ### New features diff --git a/assets/styles/configuration.scss b/assets/styles/configuration.scss index a5c4e441..3254730b 100644 --- a/assets/styles/configuration.scss +++ b/assets/styles/configuration.scss @@ -93,6 +93,26 @@ $small-view: 800px; background-color: var(--inputBorderColor); } } + + input[type="reset"] { + // Peertube grey-button mixin + background-color: var(--greyBackgroundColor); + color: var(--greyForegroundColor); + + &:hover, + &:active, + &:focus, + &[disabled], + &.disabled { + color: var(--greyForegroundColor); + background-color: var(--greySecondaryBackgroundColor); + } + + &[disabled], + &.disabled { + cursor: default; + } + } } /* Channel selection page */