From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by lists.proxmox.com (Postfix) with ESMTPS id 2589B91CBD for ; Mon, 20 Mar 2023 10:02:21 +0100 (CET) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id E253A17F for ; Mon, 20 Mar 2023 10:02:20 +0100 (CET) Received: from proxmox-new.maurer-it.com (proxmox-new.maurer-it.com [94.136.29.106]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by firstgate.proxmox.com (Proxmox) with ESMTPS for ; Mon, 20 Mar 2023 10:02:20 +0100 (CET) Received: from proxmox-new.maurer-it.com (localhost.localdomain [127.0.0.1]) by proxmox-new.maurer-it.com (Proxmox) with ESMTP id 0948C4586B for ; Mon, 20 Mar 2023 10:02:20 +0100 (CET) From: Stefan Sterz To: pve-devel@lists.proxmox.com Date: Mon, 20 Mar 2023 10:02:06 +0100 Message-Id: <20230320090209.313745-2-s.sterz@proxmox.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20230320090209.313745-1-s.sterz@proxmox.com> References: <20230320090209.313745-1-s.sterz@proxmox.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SPAM-LEVEL: Spam detection results: 0 AWL -0.063 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record Subject: [pve-devel] [PATCH widget-toolkit 1/4] dark-theme: improve help button contrast ratios in focused state X-BeenThere: pve-devel@lists.proxmox.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Proxmox VE development discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Mar 2023 09:02:21 -0000 also improves the hovered/focused state and makes it more consistent with other buttons by making it brighter than the default state. Signed-off-by: Stefan Sterz --- src/proxmox-dark/scss/abstracts/_variables.scss | 2 +- src/proxmox-dark/scss/proxmox/_helpbutton.scss | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/proxmox-dark/scss/abstracts/_variables.scss b/src/proxmox-dark/scss/abstracts/_variables.scss index cf61ad2..29c9020 100644 --- a/src/proxmox-dark/scss/abstracts/_variables.scss +++ b/src/proxmox-dark/scss/abstracts/_variables.scss @@ -35,7 +35,7 @@ $neutral-button-icon-color: $neutral-button-text-color; // Help Buttons $help-button-color: hsl(0deg, 0%, 65%); -$help-button-color-alt: hsl(0deg, 0%, 55%); +$help-button-color-alt: hsl(0deg, 0%, 75%); $help-button-text-color: hsl(0deg, 0%, 10%); $help-button-icon-color: $help-button-text-color; diff --git a/src/proxmox-dark/scss/proxmox/_helpbutton.scss b/src/proxmox-dark/scss/proxmox/_helpbutton.scss index 817d6a1..5032cc1 100644 --- a/src/proxmox-dark/scss/proxmox/_helpbutton.scss +++ b/src/proxmox-dark/scss/proxmox/_helpbutton.scss @@ -5,7 +5,8 @@ color: $help-button-text-color; &.x-btn-over, - &.x-btn.x-btn-pressed.x-btn-default-toolbar-small { + &.x-btn.x-btn-pressed.x-btn-default-toolbar-small, + .x-keyboard-mode &.x-btn-default-toolbar-small.x-btn-focus { background-color: $help-button-color-alt; border-color: $help-button-color-alt; } -- 2.30.2