From 41067870c69a24bcea1b802ab62eb612e68cf71b Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Thu, 9 Jul 2020 21:51:24 +0200 Subject: [PATCH] ui: tune badge styling a bit the idea is to blend in when no task is running, thus no background-color there. When tasks are running use the proxmox branding guideline dark-grey, it isn't used as often so it should fall into ones eye when changing but it has some use so it doesn't seems out of place. Reduce the border radius by a lot, so that it seems similar to the one our ExtJS theme uses for the buttons outside - the original border radius seems like it comes from the time where this was intended to be a floating badge, there it'd make sense but as integrated button one this seems to fit the style much more. Signed-off-by: Thomas Lamprecht --- www/css/ext6-pbs.css | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/www/css/ext6-pbs.css b/www/css/ext6-pbs.css index 551d1d11..9a073d36 100644 --- a/www/css/ext6-pbs.css +++ b/www/css/ext6-pbs.css @@ -199,13 +199,12 @@ p.logs { .pmx-button-badge { display: inline-block; font-weight: bold; - border-radius: 20px; - background-color: #AAA; + border-radius: 4px; padding: 2px 3px; min-width: 24px; line-height: 1em; } .pmx-button-badge.active { - background-color: #F00; + background-color: #464d4d; }