]> git.proxmox.com Git - proxmox-widget-toolkit.git/blobdiff - src/css/ext6-pmx.css
icons: switch cpu/ram bitmaps to svg
[proxmox-widget-toolkit.git] / src / css / ext6-pmx.css
index 843f762516a897d8d94711f0cf5bf04c34659ee3..2516578e6ec8f382504ef20354ca33fb5628b595 100644 (file)
     color: #3892d4;
 }
 
+.pwt-eol-icon {
+    position: relative;
+    float: left;
+    margin-right: 5px;
+    font-size: 1.3em;
+    color: #FF6C59;
+}
+
 /* reduce chart legend space usage to something more sane */
 .x-legend-item {
        padding: 0.4em 0.8em 0.4em 1.8em;
@@ -111,27 +119,34 @@ div.right-aligned {
     background-repeat: no-repeat;
     background-position:3px center;
     padding-left: 20px;
+    background-size: 16px 16px; /* Chrom* needs both as else it gets cut-off due do non 1:1 ratio */
 }
 
 .pmx-itype-icon-memory {
-    background-image:url(../images/icon-ram.png);
+    background-image:url(../images/icon-ram.svg);
 }
 
 .pmx-itype-icon-processor {
-    background-image:url(../images/icon-cpu.png);
+    background-image:url(../images/icon-cpu.svg);
 }
 
 .pmx-itype-icon-debian-swirl {
     padding-left: 22px;
-    background-size: 16px;
+    background-size: 16px 16px; /* Chrom* needs both as else it gets cut-off due do non 1:1 ratio */
     background-image:url(../images/debian-swirl-openlogo.svg);
 }
 .pmx-itype-icon-proxmox-x {
     padding-left: 22px;
-    background-size: 16px;
+    background-size: 16px 16px; /* Not really required here, as here WxH is 1:1 but cannot hurt */
     background-image:url(../images/proxmox-symbol-x.svg);
 }
 
+.pmx-itype-icon-openid-logo {
+    padding-left: 22px;
+    background-size: 16px 16px;
+    background-image:url(../images/openid-icon-100x100.png);
+}
+
 /* change font for config panel back to fontawesome */
 .x-treelist-item-expanded > * > * > .x-treelist-item-expander::after,
 .x-treelist-item-expander::after {
@@ -155,6 +170,15 @@ div.right-aligned {
     color: #333;
 }
 
+/* some general helper classes */
+.centered-flex-column {
+    display: flex;
+    justify-content: center;
+    flex-direction: column;
+    width: 100%;
+    height: 100%;
+}
+
 /* rules for the markdown content, prefix with the .pmx-md class */
 .pmx-md {
     font-size: 1.0em;