[pve-devel] [PATCH manager 1/7] improve green and red colors

Dominik Csapak d.csapak at proxmox.com
Tue Nov 22 12:32:09 CET 2016


Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
this patch is not necessary, but when we use the "old" green
often on a site, it is too dark in my opinion
 www/css/ext6-pve.css              | 8 ++++----
 www/manager6/panel/GaugeWidget.js | 2 +-
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/www/css/ext6-pve.css b/www/css/ext6-pve.css
index bf420f1..7bd7e24 100644
--- a/www/css/ext6-pve.css
+++ b/www/css/ext6-pve.css
@@ -155,7 +155,7 @@
 .x-fa-tree-online:after,
 .x-fa-grid-online:after {
     content: "\f058";
-    color: #009828;
+    color: #21BF4B;
 }
 
 .x-fa-tree-offline:after,
@@ -167,7 +167,7 @@
 .x-fa-tree-running:after,
 .x-fa-grid-running:after {
     content: "\f04b";
-    color: #009828;
+    color: #21BF4B;
 }
 
 .x-fa-tree-paused:after,
@@ -446,7 +446,7 @@ div.right-aligned {
 }
 
 .good {
-    color: #009828;
+    color: #21BF4B;
 }
 
 .warning {
@@ -454,5 +454,5 @@ div.right-aligned {
 }
 
 .critical {
-    color: #f88;
+    color: #FF6C59;
 }
diff --git a/www/manager6/panel/GaugeWidget.js b/www/manager6/panel/GaugeWidget.js
index 91aa8b9..0d80972 100644
--- a/www/manager6/panel/GaugeWidget.js
+++ b/www/manager6/panel/GaugeWidget.js
@@ -53,7 +53,7 @@ Ext.define('PVE.panel.GaugeWidget', {
     warningThreshold: 0.6,
     criticalThreshold: 0.9,
     warningColor: '#fc0',
-    criticalColor: '#f66',
+    criticalColor: '#FF6C59',
     defaultColor: '#c2ddf2',
     backgroundColor: '#f5f5f5',
 
-- 
2.1.4





More information about the pve-devel mailing list