From 994fe897b7673b661b438ec4fd56c90fb9762711 Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Wed, 23 Jun 2021 19:39:46 +0200 Subject: [PATCH] apt repos: style grouping headers a bit different else the repo/header difference is not that big, and it gets a bit hard to read as it feels a bit monotonic Signed-off-by: Thomas Lamprecht --- src/css/ext6-pmx.css | 8 ++++++++ src/node/APTRepositories.js | 2 ++ 2 files changed, 10 insertions(+) diff --git a/src/css/ext6-pmx.css b/src/css/ext6-pmx.css index 74c48bc..7d7cddf 100644 --- a/src/css/ext6-pmx.css +++ b/src/css/ext6-pmx.css @@ -133,6 +133,14 @@ div.right-aligned { padding: 0; } +.proxmox-apt-repos .x-grid-group-hd { + color: #000000; + background-color: #f5f5f5; +} +.proxmox-apt-repos .x-grid-group-title { + color: #333; +} + /* rules for the markdown content, prefix with the .pmx-md class */ .pmx-md code { white-space: pre; diff --git a/src/node/APTRepositories.js b/src/node/APTRepositories.js index 49e46b3..944f3bd 100644 --- a/src/node/APTRepositories.js +++ b/src/node/APTRepositories.js @@ -50,6 +50,8 @@ Ext.define('Proxmox.node.APTRepositoriesGrid', { title: gettext('APT Repositories'), + cls: 'proxmox-apt-repos', // to allow applying styling to general components with local effect + tbar: [ { text: gettext('Reload'), -- 2.39.2