From 9ba642dd0e15b40efcd88f4ec4662d58d7dff767 Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Thu, 13 Jun 2019 21:32:46 +0200 Subject: [PATCH] css: tree: add some classes for specific locks Add classes for suspended, suspending and migration. They use the same symbol as in the buttons for consitency, size is a bit smaller to fit better for the tree. Signed-off-by: Thomas Lamprecht --- www/css/ext6-pve.css | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/www/css/ext6-pve.css b/www/css/ext6-pve.css index b5dbd4f6..d4754a5c 100644 --- a/www/css/ext6-pve.css +++ b/www/css/ext6-pve.css @@ -183,6 +183,29 @@ color: #000000; } +.x-tree-icon-custom.lock-migrate:after, +.x-grid-icon-custom.lock-migrate:after { + content: "\f1d9"; + #color: #21BF4B; + color: #000000; + font-size: 0.75em; +} + + +.x-tree-icon-custom.lock-suspending:after, +.x-grid-icon-custom.lock-suspending:after { + content: "\f019"; + color: #CC8E00; + font-size: 0.75em; +} + +.x-tree-icon-custom.lock-suspended:after, +.x-grid-icon-custom.lock-suspended:after { + content: "\f019"; + color: #000000; + font-size: 0.75em; +} + /* yellow ! triangle */ .x-tree-icon-custom.io-error:after, .x-grid-icon-custom.io-error:after, @@ -607,4 +630,4 @@ table.osds td:first-of-type { .install-mask { background-color: rgb(245, 245, 245); color: #000; -} \ No newline at end of file +}