all lists on lists.proxmox.com
 help / color / mirror / Atom feed
From: Dietmar Maurer <dietmar@proxmox.com>
To: pdm-devel@lists.proxmox.com
Subject: [pdm-devel] [PATCH datacenter-manager 3/5] ui: add cdrom icon
Date: Thu, 27 Nov 2025 12:34:26 +0100	[thread overview]
Message-ID: <20251127113428.911697-3-dietmar@proxmox.com> (raw)
In-Reply-To: <20251127113428.911697-1-dietmar@proxmox.com>

Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
---
 ui/css/pdm.scss             | 12 ++++++++++++
 ui/images/icon-cd-drive.svg | 26 ++++++++++++++++++++++++++
 2 files changed, 38 insertions(+)
 create mode 100644 ui/images/icon-cd-drive.svg

diff --git a/ui/css/pdm.scss b/ui/css/pdm.scss
index 71cd4b0..a15b4e8 100644
--- a/ui/css/pdm.scss
+++ b/ui/css/pdm.scss
@@ -57,6 +57,17 @@
     display: inline-block;
 }
 
+.fa-cdrom::before {
+    content: " ";
+    background-image: url(./images/icon-cd-drive.svg);
+    background-size: 16px 16px;
+    background-repeat: no-repeat;
+    width: 16px;
+    height: 16px;
+    vertical-align: bottom;
+    display: inline-block;
+}
+
 .fa-sdn-vnet::before {
     content: " ";
     mask-image: url(./images/icon-sdn-vnet.svg);
@@ -96,6 +107,7 @@
 }
 
 :root.pwt-dark-mode {
+    .fa-cdrom,
     .fa-memory,
     .fa-cpu {
         filter: invert(90%);
diff --git a/ui/images/icon-cd-drive.svg b/ui/images/icon-cd-drive.svg
new file mode 100644
index 0000000..6ee7184
--- /dev/null
+++ b/ui/images/icon-cd-drive.svg
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<svg
+    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+    xmlns:svg="http://www.w3.org/2000/svg"
+    xmlns="http://www.w3.org/2000/svg"
+    width="100"
+    height="100"
+    version="1.1"
+>
+    <style type="text/css">
+        path, .outline { fill: none; stroke: #000; }
+        .filled { fill: #000; stroke: #000; }
+    /* handled over an outer CSS filter as WebKit / Safari do not inherit the context over SVG
+     * image boundary even though that's accepted by the w3c CSSWG...
+     *  @media (prefers-color-scheme: dark) {
+     *      path, .outline { fill: none; stroke: #fff; }
+     *      .filled { fill: #fff; stroke: #fff; }
+     *  }
+     **/
+    </style>
+
+    <g class="outline" stroke-width="8">
+        <circle cx="50" cy="50" r="45"/>
+        <circle cx="50" cy="50" r="15"/>
+    </g>
+</svg>
-- 
2.47.3


_______________________________________________
pdm-devel mailing list
pdm-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pdm-devel


  parent reply	other threads:[~2025-11-27 11:34 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-11-27 11:34 [pdm-devel] [PATCH datacenter-manager 1/5] server: api: qemu: add pending api Dietmar Maurer
2025-11-27 11:34 ` [pdm-devel] [PATCH datacenter-manager 2/5] server: api: lxc: " Dietmar Maurer
2025-11-27 12:38   ` Lukas Wagner
2025-11-27 11:34 ` Dietmar Maurer [this message]
2025-11-27 12:39   ` [pdm-devel] [PATCH datacenter-manager 3/5] ui: add cdrom icon Lukas Wagner
2025-11-27 11:34 ` [pdm-devel] [PATCH datacenter-manager 4/5] ui: add qemu Hardware and Options panel Dietmar Maurer
2025-11-27 12:39   ` Lukas Wagner
2025-11-27 11:34 ` [pdm-devel] [PATCH datacenter-manager 5/5] ui: add lxc resources, network, dns and options panels Dietmar Maurer
2025-11-27 12:39   ` Lukas Wagner
2025-11-27 12:38 ` [pdm-devel] [PATCH datacenter-manager 1/5] server: api: qemu: add pending api Lukas Wagner
2025-11-27 17:46 ` Thomas Lamprecht

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20251127113428.911697-3-dietmar@proxmox.com \
    --to=dietmar@proxmox.com \
    --cc=pdm-devel@lists.proxmox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal