[pve-devel] [PATCH 01/18] add css rules

Dominik Csapak d.csapak at proxmox.com
Tue Apr 4 13:48:41 CEST 2017


css rules for
* chrome >=56 fix
* treelist colors
* make disabled grid rows visually distinct

Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
 css/ext6-pmg.css | 36 ++++++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)

diff --git a/css/ext6-pmg.css b/css/ext6-pmg.css
index 46d674a..b73d28e 100644
--- a/css/ext6-pmg.css
+++ b/css/ext6-pmg.css
@@ -115,3 +115,39 @@ div.inline-block {
     font-style: italic;
     font-weight: bold;
 }
+
+/* mark disabled grid entries */
+table:not(.x-grid-item-selected) tr.x-grid-row.disabled {
+    color: #cfcfcf;
+}
+
+.x-action-col-icon:before {
+    color: #555;
+}
+
+.x-treelist-item-icon {
+    color: #000;
+}
+
+.x-treelist-nav {
+    background-color: #f5f5f5;
+    border-right: 1px solid #cfcfcf;
+}
+
+.x-treelist-row-over > * > .x-treelist-item-icon,
+.x-treelist-row-over > * > .x-treelist-item-text {
+    color: #000;
+}
+
+.x-treelist-row {
+    padding: 4px 10px 4px 6px;
+}
+
+/* chrome 56 fix */
+.x-webkit .x-form-text {
+    height: 100% !important;
+}
+
+.x-webkit :not(.x-form-textarea-body) > .x-form-trigger-wrap {
+    height: initial;
+}
-- 
2.11.0





More information about the pve-devel mailing list