2379 lines
66 KiB
CSS
2379 lines
66 KiB
CSS
/*!Dracula Orange*/
|
|
/*
|
|
* ProxMorph Theme: Dracula Orange
|
|
* The canonical dark theme with Orange accent and warm-tinted backgrounds — ported from the Dracula specification
|
|
* Version: 1.0.0
|
|
* Author: ProxMorph / Dracula Theme (https://draculatheme.com)
|
|
*
|
|
* v1.0.0: Initial release — Tier 2 baseline with all fixes
|
|
* - Full Dracula palette with derived shades
|
|
* - All component sections ported from UniFi/Catppuccin reference
|
|
* - Console/Terminal, Charts, Progress bars, Buttons (28px),
|
|
* Dialog fixes, Tree cursor:pointer, APT repos, Tag checkmark
|
|
*
|
|
* ─── Dracula Specification Palette ─────────────────────────────
|
|
* Background: #26201b Current Line: #433930
|
|
* Foreground: #f8f8f2 Comment: #6272a4
|
|
* Cyan: #8be9fd Green: #50fa7b
|
|
* Orange: #ffb86c Pink: #ff79c6
|
|
* Purple: #bd93f9 Red: #ff5555
|
|
* Yellow: #f1fa8c
|
|
*
|
|
* ─── Derived Shades (ProxMorph) ────────────────────────────────
|
|
* Crust: #1a1613 Mantle: #1f1b17
|
|
* Surface 0: #342c25 Surface 1: #433930 (= Current Line)
|
|
* Surface 2: #53483c Overlay 0: #6272a4 (= Comment)
|
|
* Overlay 1: #7c83a0 Overlay 2: #9298b8
|
|
* Subtext 0: #b0b5c8 Subtext 1: #d0d4e0
|
|
* Text: #f8f8f2 On-Accent: #26201b
|
|
*/
|
|
|
|
/* =====================================================
|
|
CSS VARIABLES
|
|
===================================================== */
|
|
:root {
|
|
/* Dracula Specification Tokens */
|
|
--drac-bg: #26201b;
|
|
--drac-current-line: #433930;
|
|
--drac-fg: #f8f8f2;
|
|
--drac-comment: #6272a4;
|
|
--drac-cyan: #8be9fd;
|
|
--drac-green: #50fa7b;
|
|
--drac-orange: #ffb86c;
|
|
--drac-pink: #ff79c6;
|
|
--drac-purple: #bd93f9;
|
|
--drac-red: #ff5555;
|
|
--drac-yellow: #f1fa8c;
|
|
|
|
/* Derived Neutral Scale */
|
|
--drac-text: #f8f8f2;
|
|
--drac-subtext1: #d0d4e0;
|
|
--drac-subtext0: #b0b5c8;
|
|
--drac-overlay2: #9298b8;
|
|
--drac-overlay1: #7c83a0;
|
|
--drac-overlay0: #6272a4;
|
|
--drac-surface2: #53483c;
|
|
--drac-surface1: #433930;
|
|
--drac-surface0: #342c25;
|
|
--drac-base: #26201b;
|
|
--drac-mantle: #1f1b17;
|
|
--drac-crust: #1a1613;
|
|
|
|
/* ProxMorph Semantic Variables */
|
|
--pm-accent: var(--drac-orange);
|
|
--pm-bg-base: var(--drac-base);
|
|
--pm-bg-surface: var(--drac-surface0);
|
|
--pm-bg-elevated: var(--drac-surface1);
|
|
--pm-text: var(--drac-text);
|
|
--pm-text-dim: var(--drac-subtext1);
|
|
--pm-success: var(--drac-green);
|
|
--pm-warning: var(--drac-yellow);
|
|
--pm-error: var(--drac-red);
|
|
--pm-border: var(--drac-surface1);
|
|
--pm-radius-sm: 4px;
|
|
--pm-radius-md: 6px;
|
|
--pm-radius-lg: 8px;
|
|
|
|
/* Proxmox Widget Toolkit Mappings (REQUIRED) */
|
|
--pwt-panel-background: var(--drac-base);
|
|
--pwt-text-color: var(--drac-text);
|
|
--pwt-gauge-default: var(--drac-orange);
|
|
--pwt-gauge-back: var(--drac-surface1);
|
|
--pwt-gauge-warn: var(--drac-yellow);
|
|
--pwt-gauge-crit: var(--drac-red);
|
|
--pwt-chart-primary: var(--drac-orange);
|
|
--pwt-chart-grid-stroke: var(--drac-surface1);
|
|
|
|
/* On Accent text — Background on colored backgrounds for contrast */
|
|
--drac-on-accent: var(--drac-bg);
|
|
|
|
/* Hover overlay — Comment@12% */
|
|
--drac-hover-overlay: rgba(98, 114, 164, 0.12);
|
|
/* Selection overlay — Comment@25% */
|
|
--drac-select-overlay: rgba(98, 114, 164, 0.25);
|
|
/* Accent muted (for focus rings) */
|
|
--drac-accent-muted: rgba(255, 184, 108, 0.4);
|
|
--drac-accent-subtle: rgba(255, 184, 108, 0.15);
|
|
|
|
color-scheme: dark;
|
|
}
|
|
|
|
/* =====================================================
|
|
GLOBAL BORDER-RADIUS ARCHITECTURE
|
|
(Ported from UniFi theme — reset everything, selectively re-apply)
|
|
===================================================== */
|
|
.x-border-box,
|
|
.x-border-box * {
|
|
border-radius: var(--pm-radius-lg);
|
|
}
|
|
|
|
/* Remove rounded corners from grids/tables/lists */
|
|
.x-grid,
|
|
.x-grid *,
|
|
.x-grid-header-ct,
|
|
.x-grid-header-ct *,
|
|
.x-grid-view,
|
|
.x-grid-view *,
|
|
.x-column-header,
|
|
.x-column-header *,
|
|
.x-grid-item,
|
|
.x-grid-cell,
|
|
.x-grid-cell-inner,
|
|
.x-grid-row,
|
|
table,
|
|
table *,
|
|
tr,
|
|
td,
|
|
th,
|
|
.x-legend,
|
|
.x-legend *,
|
|
.x-legend-container,
|
|
.x-legend-container *,
|
|
.x-legend-item,
|
|
.x-legend-horizontal .x-legend-item,
|
|
.x-legend-vertical .x-legend-item,
|
|
.x-legend-horizontal .x-legend-item:first-child,
|
|
.x-legend-horizontal .x-legend-item:last-child,
|
|
.x-legend-vertical .x-legend-item:first-child,
|
|
.x-legend-vertical .x-legend-item:last-child,
|
|
.x-tool,
|
|
.x-tool-tool-el,
|
|
.x-tool-default,
|
|
.x-tool-img {
|
|
border-radius: 0 !important;
|
|
}
|
|
|
|
/* Form elements - exclude from global radius */
|
|
.x-form-item,
|
|
.x-form-item-default,
|
|
.x-form-item-body,
|
|
.x-form-item-body-default,
|
|
.x-form-text-field-body,
|
|
.x-form-text-field-body-default,
|
|
.x-form-fieldcontainer,
|
|
.x-field,
|
|
.x-field-default,
|
|
.x-form-type-text {
|
|
border-radius: 0 !important;
|
|
}
|
|
|
|
/* Reset layout containers that clip elements with overflow:hidden + radius */
|
|
.x-box-layout-ct,
|
|
.x-panel-bodyWrap,
|
|
.x-panel-bodyWrap-default,
|
|
.x-autocontainer-innerCt,
|
|
.x-autocontainer-outerCt,
|
|
.x-panel.x-tabpanel-child,
|
|
.x-panel.x-box-item,
|
|
.x-box-inner,
|
|
.x-box-target,
|
|
.x-container,
|
|
.x-container-default,
|
|
.x-window .x-panel-body,
|
|
.x-window .x-window-body,
|
|
.x-window .x-window-bodyWrap {
|
|
border-radius: 0 !important;
|
|
}
|
|
|
|
/* Reset everything inside windows to 0 — then re-apply specific radii */
|
|
.x-window *,
|
|
.x-window .x-autocontainer-innerCt,
|
|
.x-window .x-autocontainer-outerCt,
|
|
.x-window .x-form-layout-wrap,
|
|
.x-window .x-form-layout-auto-label,
|
|
.x-window .x-form-layout-colgroup,
|
|
.x-window .x-form-layout-column,
|
|
.x-window .x-field,
|
|
.x-window .x-form-item,
|
|
.x-window .x-form-item-body {
|
|
border-radius: 0 !important;
|
|
}
|
|
|
|
/* Chart canvas — no radius on data area */
|
|
.x-chart-grid,
|
|
.x-chart-axis,
|
|
canvas.x-surface,
|
|
.x-chart canvas,
|
|
canvas.x-surface-canvas,
|
|
.x-surface-canvas,
|
|
.x-draw-component canvas,
|
|
.proxmox-rrd-chart canvas,
|
|
svg.x-surface,
|
|
.x-draw-container,
|
|
.x-surface {
|
|
border-radius: 0 !important;
|
|
}
|
|
|
|
/* Legend color marker (dot) — keep circular */
|
|
.x-legend-item-marker {
|
|
border-radius: 50% !important;
|
|
}
|
|
|
|
/* =====================================================
|
|
RE-APPLY BORDER RADII (selective)
|
|
===================================================== */
|
|
|
|
/* Windows */
|
|
.x-window,
|
|
.x-window-default {
|
|
border-radius: var(--pm-radius-lg) !important;
|
|
}
|
|
|
|
.x-window-header,
|
|
.x-window-header-default {
|
|
border-radius: var(--pm-radius-lg) var(--pm-radius-lg) 0 0 !important;
|
|
}
|
|
|
|
.x-window .x-window-body,
|
|
.x-window-body-default {
|
|
border-radius: 0 !important;
|
|
}
|
|
|
|
/* Buttons inside windows */
|
|
.x-window .x-btn {
|
|
border-radius: var(--pm-radius-md) !important;
|
|
}
|
|
|
|
/* Checkboxes inside windows */
|
|
.x-window .x-form-checkbox {
|
|
border-radius: 3px !important;
|
|
}
|
|
|
|
/* Form inputs inside windows */
|
|
.x-window .x-form-trigger-wrap,
|
|
.x-window .x-form-trigger-wrap-default {
|
|
border-radius: var(--pm-radius-sm) !important;
|
|
}
|
|
|
|
.x-window .x-form-text-wrap,
|
|
.x-window .x-form-text {
|
|
border-radius: var(--pm-radius-sm) 0 0 var(--pm-radius-sm) !important;
|
|
}
|
|
|
|
.x-window .x-form-arrow-trigger {
|
|
border-radius: 0 var(--pm-radius-sm) var(--pm-radius-sm) 0 !important;
|
|
}
|
|
|
|
/* Form trigger/text wrap — reset and re-apply */
|
|
.x-form-trigger-wrap,
|
|
.x-form-trigger-wrap *,
|
|
.x-form-text-wrap,
|
|
.x-form-text-wrap *,
|
|
.x-form-text,
|
|
.x-form-trigger {
|
|
border-radius: 0 !important;
|
|
}
|
|
|
|
.x-form-trigger-wrap,
|
|
.x-form-trigger-wrap-default {
|
|
border-radius: var(--pm-radius-sm) !important;
|
|
overflow: hidden !important;
|
|
}
|
|
|
|
.x-form-text-wrap,
|
|
.x-form-text-wrap-default {
|
|
border-radius: var(--pm-radius-sm) 0 0 var(--pm-radius-sm) !important;
|
|
}
|
|
|
|
.x-form-text,
|
|
.x-form-text-default {
|
|
border-radius: var(--pm-radius-sm) 0 0 var(--pm-radius-sm) !important;
|
|
}
|
|
|
|
.x-form-trigger,
|
|
.x-form-trigger-default,
|
|
.x-form-arrow-trigger,
|
|
.x-form-arrow-trigger-default {
|
|
border-radius: 0 var(--pm-radius-sm) var(--pm-radius-sm) 0 !important;
|
|
}
|
|
|
|
/* Dialog form content padding — vertical only (horizontal causes ExtJS overflow) */
|
|
.x-window .x-tabpanel-child .x-autocontainer-innerCt {
|
|
padding: 12px 0 !important;
|
|
}
|
|
|
|
/* Allow column panel bodies to show overflowed form content */
|
|
.x-window .x-panel-body:not(.x-scroller) {
|
|
overflow: visible !important;
|
|
}
|
|
|
|
/* Side padding on column panel bodies inside windows */
|
|
.x-window .x-panel.x-box-item .x-panel-body {
|
|
padding: 0 4px !important;
|
|
}
|
|
|
|
/* Constrain autocontainer width inside windows */
|
|
.x-window .x-autocontainer-outerCt {
|
|
max-width: 100% !important;
|
|
}
|
|
|
|
/* Fix window header/body width consistency */
|
|
.x-window > .x-window-header,
|
|
.x-window > .x-window-body,
|
|
.x-window > .x-window-bodyWrap,
|
|
.x-window-bodyWrap > .x-window-body {
|
|
width: 100% !important;
|
|
}
|
|
|
|
.x-window-header > .x-box-inner,
|
|
.x-window-header > .x-box-inner > .x-box-target {
|
|
width: 100% !important;
|
|
}
|
|
|
|
.x-window-header-title {
|
|
width: auto !important;
|
|
flex: 1 !important;
|
|
max-width: calc(100% - 30px) !important;
|
|
}
|
|
|
|
/* Boundlists */
|
|
.x-boundlist {
|
|
border-radius: var(--pm-radius-md) !important;
|
|
overflow: hidden !important;
|
|
}
|
|
|
|
/* =====================================================
|
|
BASE / BODY
|
|
===================================================== */
|
|
.x-body,
|
|
.x-viewport > .x-body,
|
|
body.x-border-layout-ct,
|
|
div.x-border-layout-ct {
|
|
background-color: var(--drac-base) !important;
|
|
color: var(--drac-text) !important;
|
|
}
|
|
|
|
/* =====================================================
|
|
MASKS & OVERLAYS
|
|
===================================================== */
|
|
.x-mask {
|
|
background-color: rgba(30, 31, 41, 0.6) !important;
|
|
backdrop-filter: blur(4px);
|
|
}
|
|
|
|
.x-mask-msg {
|
|
background-color: var(--drac-mantle) !important;
|
|
border: 1px solid var(--drac-surface1) !important;
|
|
border-radius: var(--pm-radius-lg) !important;
|
|
}
|
|
|
|
.x-mask-msg-text {
|
|
color: var(--drac-subtext0) !important;
|
|
filter: none !important;
|
|
}
|
|
|
|
.x-css-shadow {
|
|
box-shadow: 0 8px 24px rgba(30, 31, 41, 0.6) !important;
|
|
}
|
|
|
|
/* Loading indicators */
|
|
.x-grid-row-loading,
|
|
.x-treelist-item-loading .x-treelist-item-icon,
|
|
.x-grid-tree-loading .x-tree-icon {
|
|
filter: invert(90%);
|
|
}
|
|
|
|
/* =====================================================
|
|
ICONS — Proxmox default colors for dark mode
|
|
===================================================== */
|
|
|
|
/* General icon colors — neutral gray for dark backgrounds */
|
|
.x-tree-icon-custom,
|
|
.x-grid-icon-custom,
|
|
.fa-tags::before,
|
|
.fa-file-o::before,
|
|
.fa-building::before,
|
|
.x-action-col-icon::before,
|
|
.fa-shield::before,
|
|
.fa-file-text-o::before,
|
|
.fa-clock-o::before,
|
|
.x-tab-icon-el-default,
|
|
.pve-icon-verify-lettering::after,
|
|
.x-tree-icon-leaf:not(.x-tree-icon-custom)::before,
|
|
.x-tree-icon-parent:not(.x-tree-icon-custom)::before,
|
|
.x-tree-icon-parent-expanded:not(.x-tree-icon-custom)::before,
|
|
.x-grid-filters-filtered-column .x-column-header-text::after {
|
|
color: var(--drac-overlay2) !important;
|
|
}
|
|
|
|
/* Folder icons — invert for dark mode */
|
|
.x-tree-icon-parent:not(.x-tree-icon-custom)::before,
|
|
.x-tree-icon-parent-expanded:not(.x-tree-icon-custom)::before {
|
|
filter: invert(90%);
|
|
}
|
|
|
|
/* Various image-based icons — invert for visibility */
|
|
.fa-ceph::before,
|
|
.fa-sdn::before,
|
|
.fa-network-wired::before,
|
|
.pve-itype-treelist-item-icon-cdrom,
|
|
.fa-chevron-right::before,
|
|
.x-grid-row-console,
|
|
.x-box-scroller-toolbar-default.x-box-scroller,
|
|
.x-tree-elbow-img,
|
|
.pve-itype-icon-qemu,
|
|
.x-tree-node-computer,
|
|
.x-grid-tree-node-expanded .x-tree-node-computer,
|
|
.pbs-icon-tape,
|
|
.pbs-icon-tape-drive,
|
|
.x-tree-icon-leaf:not(.x-tree-icon-custom),
|
|
.x-tree-icon-parent:not(.x-tree-icon-custom),
|
|
.x-tree-icon-parent-expanded:not(.x-tree-icon-custom) {
|
|
filter: invert(90%);
|
|
}
|
|
|
|
/* Hardware icons */
|
|
.pve-itype-icon-cpu,
|
|
.pve-itype-icon-cdrom,
|
|
.pve-itype-icon-memory,
|
|
.pve-itype-icon-pci,
|
|
.pve-itype-icon-serial,
|
|
.pve-itype-icon-die,
|
|
.pmx-itype-icon-processor,
|
|
.pmx-itype-icon-memory,
|
|
.pve-itype-icon-storage,
|
|
.x-tree-node-harddisk,
|
|
.x-grid-tree-node-expanded .x-tree-node-harddisk {
|
|
filter: invert(100%);
|
|
}
|
|
|
|
/* Hardware icons — counter-invert for non-SVG icon cells */
|
|
td.pve-itype-icon-storage .x-grid-cell-inner,
|
|
td.x-tree-node-harddisk .x-grid-cell-inner {
|
|
filter: invert(100%) !important;
|
|
}
|
|
|
|
/* Hardware icons — hide inverted borders for non-SVG icon cells */
|
|
td.pve-itype-icon-storage,
|
|
td.x-tree-node-harddisk {
|
|
border-color: transparent !important;
|
|
}
|
|
|
|
/* Hardware grid icons — mask-image renders SVG icons in theme text color
|
|
Replaces filter:invert approach for pve-itype-icon-* and pmx-itype-icon-* grid cells */
|
|
td.pve-itype-icon-cpu,
|
|
td.pve-itype-icon-cdrom,
|
|
td.pve-itype-icon-memory,
|
|
td.pve-itype-icon-pci,
|
|
td.pve-itype-icon-serial,
|
|
td.pve-itype-icon-die,
|
|
td.pmx-itype-icon-processor,
|
|
td.pmx-itype-icon-memory {
|
|
filter: none !important;
|
|
background-image: none !important;
|
|
padding-left: 0 !important;
|
|
border-color: transparent !important;
|
|
}
|
|
|
|
td.pve-itype-icon-cpu .x-grid-cell-inner,
|
|
td.pve-itype-icon-cdrom .x-grid-cell-inner,
|
|
td.pve-itype-icon-memory .x-grid-cell-inner,
|
|
td.pve-itype-icon-pci .x-grid-cell-inner,
|
|
td.pve-itype-icon-serial .x-grid-cell-inner,
|
|
td.pve-itype-icon-die .x-grid-cell-inner,
|
|
td.pmx-itype-icon-processor .x-grid-cell-inner,
|
|
td.pmx-itype-icon-memory .x-grid-cell-inner {
|
|
padding-left: 3px !important;
|
|
}
|
|
|
|
td.pve-itype-icon-cpu .x-grid-cell-inner::before,
|
|
td.pve-itype-icon-cdrom .x-grid-cell-inner::before,
|
|
td.pve-itype-icon-memory .x-grid-cell-inner::before,
|
|
td.pve-itype-icon-pci .x-grid-cell-inner::before,
|
|
td.pve-itype-icon-serial .x-grid-cell-inner::before,
|
|
td.pve-itype-icon-die .x-grid-cell-inner::before,
|
|
td.pmx-itype-icon-processor .x-grid-cell-inner::before,
|
|
td.pmx-itype-icon-memory .x-grid-cell-inner::before {
|
|
content: '' !important;
|
|
display: inline-block !important;
|
|
width: 18px !important;
|
|
height: 14px !important;
|
|
vertical-align: middle !important;
|
|
margin-right: 10px !important;
|
|
background-color: currentColor !important;
|
|
-webkit-mask-size: contain !important;
|
|
mask-size: contain !important;
|
|
-webkit-mask-repeat: no-repeat !important;
|
|
mask-repeat: no-repeat !important;
|
|
-webkit-mask-position: center !important;
|
|
mask-position: center !important;
|
|
}
|
|
|
|
td.pve-itype-icon-cpu .x-grid-cell-inner::before {
|
|
-webkit-mask-image: url('/pve2/images/icon-cpu.svg') !important;
|
|
mask-image: url('/pve2/images/icon-cpu.svg') !important;
|
|
}
|
|
|
|
td.pve-itype-icon-memory .x-grid-cell-inner::before {
|
|
-webkit-mask-image: url('/pve2/images/icon-memory.svg') !important;
|
|
mask-image: url('/pve2/images/icon-memory.svg') !important;
|
|
}
|
|
|
|
td.pve-itype-icon-cdrom .x-grid-cell-inner::before {
|
|
-webkit-mask-image: url('/pve2/images/icon-cd-drive.svg') !important;
|
|
mask-image: url('/pve2/images/icon-cd-drive.svg') !important;
|
|
}
|
|
|
|
td.pve-itype-icon-pci .x-grid-cell-inner::before {
|
|
-webkit-mask-image: url('/pve2/images/icon-pci.svg') !important;
|
|
mask-image: url('/pve2/images/icon-pci.svg') !important;
|
|
}
|
|
|
|
td.pve-itype-icon-serial .x-grid-cell-inner::before {
|
|
-webkit-mask-image: url('/pve2/images/icon-serial.svg') !important;
|
|
mask-image: url('/pve2/images/icon-serial.svg') !important;
|
|
}
|
|
|
|
td.pve-itype-icon-die .x-grid-cell-inner::before {
|
|
-webkit-mask-image: url('/pve2/images/icon-die.svg') !important;
|
|
mask-image: url('/pve2/images/icon-die.svg') !important;
|
|
}
|
|
|
|
td.pmx-itype-icon-processor .x-grid-cell-inner::before {
|
|
-webkit-mask-image: url('../images/icon-cpu.svg') !important;
|
|
mask-image: url('../images/icon-cpu.svg') !important;
|
|
}
|
|
|
|
td.pmx-itype-icon-memory .x-grid-cell-inner::before {
|
|
-webkit-mask-image: url('../images/icon-ram.svg') !important;
|
|
mask-image: url('../images/icon-ram.svg') !important;
|
|
}
|
|
|
|
|
|
/* Icon overlays — default */
|
|
.x-tree-icon-custom::after,
|
|
.x-grid-icon-custom::after {
|
|
color: var(--drac-overlay2) !important;
|
|
text-shadow: -1px 0 1px rgba(0, 0, 0, 0.5);
|
|
}
|
|
|
|
/* RUNNING VMs/CTs — Dracula Green */
|
|
.x-tree-icon-custom.running::after,
|
|
.x-grid-icon-custom.running::after,
|
|
.x-treelist-item-icon.running::after {
|
|
color: var(--drac-green) !important;
|
|
text-shadow: -1px 0 1px rgba(0, 0, 0, 0.5);
|
|
}
|
|
|
|
/* ONLINE state — Green */
|
|
.x-tree-icon-custom.online::after,
|
|
.x-grid-icon-custom.online::after {
|
|
color: var(--drac-green) !important;
|
|
text-shadow: -1px 0 1px rgba(0, 0, 0, 0.5);
|
|
}
|
|
|
|
/* Stopped/offline — Overlay1 (muted gray) */
|
|
.x-tree-icon-custom.stopped,
|
|
.x-tree-icon-custom.offline,
|
|
.x-grid-icon-custom.stopped,
|
|
.x-grid-icon-custom.offline {
|
|
color: var(--drac-overlay1) !important;
|
|
}
|
|
|
|
/* Unknown state — Overlay1 */
|
|
.x-tree-icon-custom.unknown::after,
|
|
.x-grid-icon-custom.unknown::after {
|
|
color: var(--drac-overlay1) !important;
|
|
}
|
|
|
|
/* ERROR states — Dracula Red */
|
|
.x-tree-icon-custom.error::after,
|
|
.x-tree-icon-custom.offline::after,
|
|
.x-tree-icon-custom.ha-error::after,
|
|
.x-grid-icon-custom.error::after,
|
|
.x-grid-icon-custom.offline::after,
|
|
.x-grid-icon-custom.ha-error::after {
|
|
color: var(--drac-red) !important;
|
|
text-shadow: -1px 0 1px rgba(0, 0, 0, 0.5);
|
|
}
|
|
|
|
/* PAUSED/SUSPENDED — Dracula Orange */
|
|
.x-tree-icon-custom.paused::after,
|
|
.x-tree-icon-custom.suspended::after,
|
|
.x-tree-icon-custom.lock-suspending::after,
|
|
.x-grid-icon-custom.paused::after,
|
|
.x-grid-icon-custom.suspended::after,
|
|
.x-grid-icon-custom.lock-suspending::after {
|
|
color: var(--drac-orange) !important;
|
|
text-shadow: -1px 0 1px rgba(0, 0, 0, 0.5);
|
|
}
|
|
|
|
/* PENDING/WARNING states — Dracula Yellow */
|
|
.x-tree-icon-custom.pending::after,
|
|
.x-tree-icon-custom.io-error::after,
|
|
.x-tree-icon-custom.internal-error::after,
|
|
.x-tree-icon-custom.guest-panicked::after,
|
|
.x-grid-icon-custom.pending::after,
|
|
.x-grid-icon-custom.io-error::after,
|
|
.x-grid-icon-custom.internal-error::after,
|
|
.x-grid-icon-custom.guest-panicked::after {
|
|
color: var(--drac-yellow) !important;
|
|
text-shadow: -1px 0 1px rgba(0, 0, 0, 0.5);
|
|
}
|
|
|
|
/* HA MAINTENANCE — Dracula Cyan */
|
|
.x-tree-icon-custom.ha-maintenance::after,
|
|
.x-grid-icon-custom.ha-maintenance::after {
|
|
color: var(--drac-cyan) !important;
|
|
text-shadow: -1px 0 1px rgba(0, 0, 0, 0.5);
|
|
}
|
|
|
|
/* Locked icons */
|
|
.x-tree-icon-custom.locked::after,
|
|
.x-tree-icon-custom.lock-backup::after,
|
|
.x-tree-icon-custom.lock-migrate::after,
|
|
.x-tree-icon-custom.lock-suspended::after,
|
|
.x-grid-icon-custom.locked::after,
|
|
.x-grid-icon-custom.lock-backup::after,
|
|
.x-grid-icon-custom.lock-migrate::after,
|
|
.x-grid-icon-custom.lock-suspended::after {
|
|
color: var(--drac-overlay2) !important;
|
|
}
|
|
|
|
/* LXC/QEMU type indicators */
|
|
.x-tree-icon-custom.lxc::after,
|
|
.x-tree-icon-custom.qemu::after,
|
|
.x-grid-icon-custom.lxc::after,
|
|
.x-grid-icon-custom.qemu::after {
|
|
background-color: transparent;
|
|
color: var(--drac-overlay1) !important;
|
|
}
|
|
|
|
.x-treelist-item-icon.lxc::after,
|
|
.x-treelist-item-icon.qemu::after {
|
|
background-color: transparent;
|
|
color: var(--drac-overlay1) !important;
|
|
}
|
|
|
|
/* Tree expander arrows */
|
|
.x-tree-arrows .x-tree-expander {
|
|
filter: brightness(200%);
|
|
}
|
|
|
|
/* Cancel sprite-inversion on custom controls (checkboxes/radios handled via CSS) */
|
|
.x-form-checkbox-default,
|
|
.x-form-radio-default,
|
|
.x-column-header-checkbox .x-column-header-checkbox::after,
|
|
.x-grid-checkcolumn::after,
|
|
.x-menu-item-checked .x-menu-item-icon-default.x-menu-item-checkbox,
|
|
.x-menu-item-unchecked .x-menu-item-icon-default.x-menu-item-checkbox {
|
|
filter: none !important;
|
|
}
|
|
|
|
/* =====================================================
|
|
PANELS & HEADERS
|
|
===================================================== */
|
|
.x-panel,
|
|
.x-panel-default {
|
|
border-radius: var(--pm-radius-lg) !important;
|
|
padding: 0 !important;
|
|
}
|
|
|
|
/* Column panels — native stacked layout (Issue #23 fix) */
|
|
.x-panel.x-column {
|
|
padding: 5px !important;
|
|
margin: 0 !important;
|
|
max-width: none !important;
|
|
box-sizing: border-box !important;
|
|
}
|
|
|
|
/* Column panel card styling — borders for summary + chart panels */
|
|
.x-panel.x-panel-default.x-column {
|
|
border: 1px solid var(--drac-surface1) !important;
|
|
border-radius: var(--pm-radius-lg) !important;
|
|
overflow: hidden !important;
|
|
}
|
|
|
|
/* Guest status + Notes panel borders */
|
|
[id^="pveGuestStatusView-"].x-panel,
|
|
[id^="pveLxcStatusView-"].x-panel,
|
|
[id^="pveQemuStatusView-"].x-panel,
|
|
[id^="pmxNotesView-"].x-panel {
|
|
border: 1px solid var(--drac-surface1) !important;
|
|
border-radius: var(--pm-radius-lg) !important;
|
|
}
|
|
|
|
.x-panel-body,
|
|
.x-panel-body-default {
|
|
background-color: var(--drac-base) !important;
|
|
color: var(--drac-text) !important;
|
|
border: none !important;
|
|
}
|
|
|
|
/* Panel headers — bottom border only */
|
|
.x-panel-header,
|
|
.x-panel-header-default {
|
|
background-color: var(--drac-mantle) !important;
|
|
border: none !important;
|
|
border-bottom: 1px solid var(--drac-surface1) !important;
|
|
border-radius: var(--pm-radius-lg) var(--pm-radius-lg) 0 0 !important;
|
|
margin: 0 !important;
|
|
padding: 8px 12px !important;
|
|
width: 100% !important;
|
|
box-sizing: border-box !important;
|
|
overflow: visible !important;
|
|
}
|
|
|
|
/* Title text — prevent border-radius clipping */
|
|
.x-title-text,
|
|
.x-title-text-default {
|
|
overflow: visible !important;
|
|
}
|
|
|
|
.x-panel-bodyWrap,
|
|
.x-panel-bodyWrap-default {
|
|
margin: 0 !important;
|
|
padding: 0 !important;
|
|
overflow: visible !important;
|
|
}
|
|
|
|
/* Remove borders from nested panels */
|
|
.x-panel-body > .x-box-layout-ct,
|
|
.x-panel-body > .x-container,
|
|
.x-panel-body > .x-box-inner,
|
|
[id*="pmxGauge"] {
|
|
border: none !important;
|
|
}
|
|
|
|
.x-panel-header-title-default,
|
|
.x-window-header-title-default {
|
|
color: var(--drac-text) !important;
|
|
}
|
|
|
|
.x-panel-header-default .x-tool-tool-el {
|
|
background-color: transparent;
|
|
}
|
|
|
|
.x-tool-img {
|
|
filter: brightness(175%);
|
|
}
|
|
|
|
.x-tool-over .x-tool-img {
|
|
filter: brightness(200%);
|
|
}
|
|
|
|
/* Resource tree — panel body border */
|
|
div[id^="pveResourceTree-"][id$="-body"] {
|
|
border-color: var(--drac-base) !important;
|
|
}
|
|
|
|
/* Resource tree — remove row separators */
|
|
[id^="pveResourceTree-"].x-tree-panel td.x-grid-cell,
|
|
[id^="pveResourceTree-"].x-tree-panel .x-grid-td,
|
|
[id^="pveResourceTree-"].x-tree-panel .x-grid-cell {
|
|
border-bottom: none !important;
|
|
}
|
|
|
|
/* Resource tree — row spacing */
|
|
div[id^="pveResourceTree"] .x-grid-cell {
|
|
padding-top: 3px !important;
|
|
padding-bottom: 3px !important;
|
|
}
|
|
|
|
/* Summary/stats panel radius overrides */
|
|
.pveStatusPanel,
|
|
.x-panel-default-framed,
|
|
.x-panel-body-default-framed {
|
|
border-radius: 12px !important;
|
|
}
|
|
|
|
.x-panel-header-default-framed {
|
|
border-radius: 12px 12px 0 0 !important;
|
|
}
|
|
|
|
/* Column widget panel radius */
|
|
.x-panel.x-column > .x-panel-bodyWrap > .x-panel-body.x-panel-body-default {
|
|
border-radius: var(--pm-radius-lg) !important;
|
|
}
|
|
|
|
/* =====================================================
|
|
SPLITTERS / SEPARATORS
|
|
===================================================== */
|
|
.x-splitter-vertical {
|
|
background-color: transparent !important;
|
|
border-left: 1px solid var(--drac-surface1) !important;
|
|
border-right: none !important;
|
|
width: 1px !important;
|
|
}
|
|
|
|
.x-splitter-horizontal {
|
|
background-color: var(--drac-crust) !important;
|
|
border-top: 1px solid var(--drac-surface1) !important;
|
|
}
|
|
|
|
.x-splitter {
|
|
background-color: var(--drac-crust) !important;
|
|
}
|
|
|
|
.x-keyboard-mode .x-splitter-focus::after {
|
|
border-color: var(--drac-orange) !important;
|
|
}
|
|
|
|
.x-layout-split-bottom {
|
|
opacity: 0.7;
|
|
}
|
|
|
|
/* Toolbox tree (pve-nav) right border — full height */
|
|
.pve-toolbar-bg {
|
|
border-right: 1px solid var(--drac-surface1) !important;
|
|
z-index: 3 !important;
|
|
}
|
|
|
|
.x-treelist.x-treelist-pve-nav {
|
|
border-right: none !important;
|
|
}
|
|
|
|
/* =====================================================
|
|
TOOLBARS
|
|
===================================================== */
|
|
.x-toolbar,
|
|
.x-toolbar-default {
|
|
background-color: var(--drac-base) !important;
|
|
border-color: var(--drac-surface1) !important;
|
|
}
|
|
|
|
.x-toolbar-default.x-docked-top {
|
|
border: none !important;
|
|
border-bottom: 1px solid var(--drac-surface1) !important;
|
|
}
|
|
|
|
.x-toolbar-default .x-toolbar-separator {
|
|
border-color: var(--drac-surface1);
|
|
}
|
|
|
|
.x-toolbar-text-default {
|
|
color: var(--drac-subtext0);
|
|
}
|
|
|
|
/* =====================================================
|
|
PRIMARY BUTTONS — Dracula Purple
|
|
===================================================== */
|
|
.x-btn-default-small {
|
|
background-color: var(--drac-orange) !important;
|
|
border: 1px solid rgba(255, 184, 108, 0.4) !important;
|
|
border-radius: var(--pm-radius-md) !important;
|
|
transition: background-color 0.15s ease, box-shadow 0.15s ease !important;
|
|
}
|
|
|
|
.x-btn-default-small .x-btn-inner {
|
|
color: var(--drac-on-accent) !important;
|
|
font-weight: 600 !important;
|
|
}
|
|
|
|
.x-btn-default-small .x-btn-icon-el {
|
|
color: var(--drac-on-accent) !important;
|
|
}
|
|
|
|
.x-btn-default-small.x-btn-over,
|
|
.x-keyboard-mode .x-btn-default-small.x-btn-focus {
|
|
background-color: #ffc888 !important;
|
|
box-shadow: 0 0 0 3px var(--drac-accent-subtle) !important;
|
|
}
|
|
|
|
.x-btn-default-small.x-btn.x-btn-disabled {
|
|
background-color: var(--drac-orange) !important;
|
|
opacity: 0.4;
|
|
}
|
|
|
|
.x-btn-default-small.x-btn.x-btn-pressed {
|
|
background-color: #e5a55f !important;
|
|
}
|
|
|
|
/* Button height consistency — 28px with vertical centering */
|
|
/* Exclude tag edit buttons (display:none when hidden, :has(.fa-check) for checkmark) */
|
|
.x-btn.x-btn-default-small:not(.x-btn-default-toolbar-small):not([style*="display: none"]):not([style*="display:none"]):not(:has(.fa-check)) {
|
|
height: 28px !important;
|
|
min-height: 28px !important;
|
|
display: flex !important;
|
|
align-items: center !important;
|
|
padding: 3px 8px !important;
|
|
}
|
|
|
|
/* Fix button inner element centering for proper icon alignment (issue #17) */
|
|
.x-btn.x-btn-default-small:not(.x-btn-default-toolbar-small):not([style*="display: none"]):not([style*="display:none"]):not(:has(.fa-check)) .x-btn-wrap {
|
|
display: flex !important;
|
|
align-items: center !important;
|
|
}
|
|
|
|
.x-btn.x-btn-default-small:not(.x-btn-default-toolbar-small):not([style*="display: none"]):not([style*="display:none"]):not(:has(.fa-check)) .x-btn-inner {
|
|
display: flex !important;
|
|
align-items: center !important;
|
|
}
|
|
|
|
/* Fix dropdown arrows on split/arrow buttons */
|
|
.x-btn-wrap.x-btn-arrow-right::after,
|
|
.x-btn-wrap.x-btn-split-right::after {
|
|
height: 16px !important;
|
|
min-height: 16px !important;
|
|
width: 20px !important;
|
|
display: flex !important;
|
|
align-items: center !important;
|
|
}
|
|
|
|
/* Fix icon-only buttons — hide inner element when button has no text */
|
|
.x-btn-no-text .x-btn-inner,
|
|
.x-btn-button.x-btn-no-text .x-btn-inner,
|
|
.x-btn-button-default-toolbar-small.x-btn-no-text .x-btn-inner-default-toolbar-small,
|
|
.x-btn-button-default-small.x-btn-no-text .x-btn-inner-default-small,
|
|
.x-btn-button-default-small.x-btn-no-text > .x-btn-inner-default-small {
|
|
display: none !important;
|
|
}
|
|
|
|
/* Specific fix for fa-desktop icon (Create VM) — visually bottom-heavy */
|
|
.x-btn-icon-el.fa-desktop {
|
|
transform: translateY(1.1px) !important;
|
|
}
|
|
|
|
/* =====================================================
|
|
SECONDARY / TOOLBAR BUTTONS
|
|
===================================================== */
|
|
.x-btn-default-toolbar-small {
|
|
background-color: var(--drac-surface0) !important;
|
|
border: 1px solid var(--drac-surface1) !important;
|
|
border-radius: var(--pm-radius-md) !important;
|
|
transition: background-color 0.15s ease, border-color 0.15s ease !important;
|
|
}
|
|
|
|
.x-btn-default-toolbar-small .x-btn-inner-default-toolbar-small,
|
|
.x-btn-default-toolbar-small .x-btn-icon-el-default-toolbar-small {
|
|
color: var(--drac-text) !important;
|
|
}
|
|
|
|
.x-btn-default-toolbar-small .x-btn-wrap-default-toolbar-small.x-btn-arrow-right::after,
|
|
.x-btn-default-toolbar-small .x-btn-wrap-default-toolbar-small.x-btn-split-right::after {
|
|
filter: brightness(150%);
|
|
}
|
|
|
|
.x-btn-default-toolbar-small.x-btn-over,
|
|
.x-keyboard-mode .x-btn-default-toolbar-small.x-btn-focus {
|
|
background-color: var(--drac-surface1) !important;
|
|
border-color: var(--drac-surface2) !important;
|
|
}
|
|
|
|
.x-btn-default-toolbar-small.x-btn.x-btn-disabled {
|
|
background-color: var(--drac-surface0) !important;
|
|
opacity: 0.4;
|
|
}
|
|
|
|
.x-btn-default-toolbar-small.x-btn.x-btn-menu-active,
|
|
.x-btn-default-toolbar-small.x-btn.x-btn-pressed {
|
|
background-color: var(--drac-orange) !important;
|
|
border-color: var(--drac-orange) !important;
|
|
padding: 4px 8px !important; /* Fix #30: prevent width change on dropdown */
|
|
}
|
|
|
|
.x-btn-default-toolbar-small.x-btn.x-btn-pressed .x-btn-inner-default-toolbar-small,
|
|
.x-btn-default-toolbar-small.x-btn.x-btn-pressed .x-btn-icon-el-default-toolbar-small,
|
|
.x-btn-default-toolbar-small.x-btn.x-btn-pressed .x-btn-inner-default-small,
|
|
.x-btn-default-toolbar-small.x-btn.x-btn-pressed .x-btn-icon-el-default-small {
|
|
color: var(--drac-on-accent) !important;
|
|
}
|
|
|
|
/* Segmented buttons */
|
|
.x-segmented-button {
|
|
border-radius: var(--pm-radius-md) !important;
|
|
}
|
|
|
|
.x-segmented-button .x-btn,
|
|
.x-segmented-button .x-btn-default-small,
|
|
.x-segmented-button .x-btn-inner,
|
|
.x-segmented-button .x-btn-wrap {
|
|
border-radius: var(--pm-radius-md) !important;
|
|
}
|
|
|
|
/* Inline buttons (Documentation, Help) */
|
|
.proxmox-inline-button {
|
|
height: 28px !important;
|
|
min-height: 28px !important;
|
|
display: flex !important;
|
|
align-items: center !important;
|
|
padding: 3px 8px !important;
|
|
background-color: var(--drac-surface0) !important;
|
|
border: 1px solid var(--drac-surface1) !important;
|
|
border-radius: var(--pm-radius-md) !important;
|
|
color: var(--drac-text) !important;
|
|
transition: background-color 0.15s ease !important;
|
|
}
|
|
|
|
.proxmox-inline-button:hover,
|
|
.proxmox-inline-button.x-btn-over {
|
|
background-color: var(--drac-surface1) !important;
|
|
border-color: var(--drac-overlay0) !important;
|
|
}
|
|
|
|
.proxmox-inline-button:active,
|
|
.proxmox-inline-button.x-btn-pressed {
|
|
background-color: var(--drac-surface2) !important;
|
|
}
|
|
|
|
.proxmox-inline-button .x-btn-inner,
|
|
.proxmox-inline-button .x-btn-icon-el {
|
|
color: var(--drac-text) !important;
|
|
}
|
|
|
|
/* Pressed/active inline buttons — use on-accent text */
|
|
.proxmox-inline-button.x-btn-pressed .x-btn-inner,
|
|
.proxmox-inline-button.x-btn-pressed .x-btn-icon-el,
|
|
.proxmox-inline-button.x-btn-menu-active .x-btn-inner,
|
|
.proxmox-inline-button.x-btn-menu-active .x-btn-icon-el {
|
|
color: var(--drac-on-accent) !important;
|
|
}
|
|
|
|
/* =====================================================
|
|
FORM ELEMENTS
|
|
===================================================== */
|
|
.x-form-trigger-default {
|
|
background-color: var(--drac-surface0) !important;
|
|
}
|
|
|
|
.x-form-text-default {
|
|
background-color: var(--drac-surface0) !important;
|
|
color: var(--drac-text) !important;
|
|
border-radius: var(--pm-radius-sm) !important;
|
|
}
|
|
|
|
.x-form-trigger-wrap,
|
|
.x-form-trigger-wrap-default {
|
|
border-color: var(--drac-surface1) !important;
|
|
background-color: var(--drac-surface0) !important;
|
|
border-radius: var(--pm-radius-sm) !important;
|
|
transition: border-color 0.15s ease !important;
|
|
}
|
|
|
|
.x-form-trigger-wrap-default.x-form-trigger-wrap-focus {
|
|
border-color: var(--drac-orange) !important;
|
|
box-shadow: 0 0 0 3px var(--drac-accent-subtle) !important;
|
|
}
|
|
|
|
.x-form-item-label-default,
|
|
.x-form-cb-label-default {
|
|
color: var(--drac-text) !important;
|
|
}
|
|
|
|
.x-form-display-field-default {
|
|
color: var(--drac-subtext0) !important;
|
|
border-radius: var(--pm-radius-md) !important;
|
|
}
|
|
|
|
.x-form-spinner-default {
|
|
background-color: var(--drac-surface0) !important;
|
|
}
|
|
|
|
.x-fieldset,
|
|
.x-fieldset-default {
|
|
border-color: var(--drac-surface1) !important;
|
|
border-radius: var(--pm-radius-lg) !important;
|
|
}
|
|
|
|
.x-fieldset-header-default > .x-fieldset-header-text {
|
|
color: var(--drac-text) !important;
|
|
}
|
|
|
|
/* =====================================================
|
|
CHECKBOXES & RADIOS — Dracula styled
|
|
===================================================== */
|
|
|
|
/* Base: remove sprite, styled as custom control */
|
|
.x-form-checkbox, .x-form-checkbox-default,
|
|
.x-form-radio, .x-form-radio-default {
|
|
background-image: none !important;
|
|
background-color: var(--drac-surface0) !important;
|
|
border: 1.5px solid var(--drac-overlay0) !important;
|
|
width: 16px !important;
|
|
height: 16px !important;
|
|
display: inline-block !important;
|
|
box-sizing: border-box !important;
|
|
cursor: pointer !important;
|
|
transition: border-color 0.12s ease, background-color 0.12s ease !important;
|
|
}
|
|
|
|
/* Checkbox: rounded square */
|
|
.x-form-checkbox, .x-form-checkbox-default {
|
|
border-radius: 3px !important;
|
|
}
|
|
|
|
/* Radio: circle + ::after inner dot */
|
|
.x-form-radio, .x-form-radio-default {
|
|
border-radius: 50% !important;
|
|
position: relative !important;
|
|
transform: translateZ(0) !important;
|
|
box-shadow: inset 0 0 0 0 transparent !important;
|
|
}
|
|
|
|
.x-form-radio::after {
|
|
content: '' !important;
|
|
position: absolute !important;
|
|
top: 50% !important;
|
|
left: 50% !important;
|
|
width: 7px !important;
|
|
height: 7px !important;
|
|
border-radius: 50% !important;
|
|
background: transparent !important;
|
|
transform: translate(-50%, -50%) scale(0) !important;
|
|
transition: transform 0.15s ease, background 0.15s ease !important;
|
|
pointer-events: none !important;
|
|
}
|
|
|
|
/* Hover */
|
|
.x-form-checkbox:hover, .x-form-checkbox-default:hover,
|
|
.x-form-cb-wrap:hover .x-form-checkbox {
|
|
border-color: var(--drac-orange) !important;
|
|
}
|
|
|
|
.x-form-radio:hover, .x-form-radio-default:hover,
|
|
.x-form-cb-wrap:hover .x-form-radio {
|
|
border-color: var(--drac-orange) !important;
|
|
}
|
|
|
|
/* CHECKED checkbox — Purple fill + dark SVG checkmark */
|
|
.x-form-cb-checked .x-form-checkbox,
|
|
.x-form-cb-checked .x-form-checkbox-default {
|
|
background-color: var(--drac-orange) !important;
|
|
border-color: var(--drac-orange) !important;
|
|
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 8'%3E%3Cpath d='M1 4l3 3 5-6' fill='none' stroke='%2326201b' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
|
|
background-repeat: no-repeat !important;
|
|
background-position: center !important;
|
|
background-size: 9px 7px !important;
|
|
}
|
|
|
|
/* SELECTED radio — Purple dot */
|
|
.x-form-cb-checked .x-form-radio,
|
|
.x-form-cb-checked .x-form-radio-default {
|
|
border-color: var(--drac-orange) !important;
|
|
background-color: var(--drac-base) !important;
|
|
}
|
|
|
|
.x-form-cb-checked .x-form-radio::after {
|
|
background: var(--drac-orange) !important;
|
|
transform: translate(-50%, -50%) scale(1) !important;
|
|
}
|
|
|
|
/* =====================================================
|
|
BOUNDLIST / DROPDOWNS
|
|
===================================================== */
|
|
.x-boundlist {
|
|
background-color: var(--drac-mantle) !important;
|
|
border: 1px solid var(--drac-surface1) !important;
|
|
border-radius: var(--pm-radius-md) !important;
|
|
box-shadow: 0 8px 24px rgba(30, 31, 41, 0.7) !important;
|
|
padding: 2px !important;
|
|
overflow: hidden !important;
|
|
}
|
|
|
|
.x-boundlist-item {
|
|
background-color: transparent !important;
|
|
color: var(--drac-text) !important;
|
|
border-radius: var(--pm-radius-sm) !important;
|
|
padding: 2px 6px !important;
|
|
line-height: normal !important;
|
|
border: none !important;
|
|
cursor: pointer !important;
|
|
outline: none !important;
|
|
box-shadow: none !important;
|
|
}
|
|
|
|
.x-boundlist-selected {
|
|
background-color: var(--drac-select-overlay) !important;
|
|
color: var(--drac-text) !important;
|
|
}
|
|
|
|
.x-boundlist-item-over {
|
|
background-color: var(--drac-hover-overlay) !important;
|
|
}
|
|
|
|
/* =====================================================
|
|
GRIDS / TABLES
|
|
===================================================== */
|
|
.x-grid,
|
|
.x-grid-view {
|
|
border-radius: 0 !important;
|
|
}
|
|
|
|
.x-column-header {
|
|
border-color: var(--drac-surface1) !important;
|
|
background-color: transparent !important;
|
|
}
|
|
|
|
.x-column-header-inner,
|
|
.x-column-header-text {
|
|
color: var(--drac-text) !important;
|
|
font-weight: 600 !important;
|
|
}
|
|
|
|
.x-column-header-trigger {
|
|
border-color: var(--drac-surface1) !important;
|
|
}
|
|
|
|
.x-grid-item,
|
|
.x-column-header-default,
|
|
.x-grid-cell-row-numberer {
|
|
color: var(--drac-text) !important;
|
|
background-color: var(--drac-base) !important;
|
|
}
|
|
|
|
.x-grid-cell-special {
|
|
border-color: var(--drac-surface1) !important;
|
|
}
|
|
|
|
.x-grid-group-hd {
|
|
background-color: var(--drac-base) !important;
|
|
border-color: var(--drac-surface1) !important;
|
|
}
|
|
|
|
.x-grid-group-title {
|
|
color: var(--drac-text) !important;
|
|
}
|
|
|
|
.x-grid-header-ct {
|
|
background-color: var(--drac-mantle) !important;
|
|
border: 1px solid var(--drac-surface0) !important;
|
|
border-radius: var(--pm-radius-lg) var(--pm-radius-lg) 0 0 !important;
|
|
}
|
|
|
|
.x-grid-item-alt {
|
|
background-color: var(--drac-crust) !important;
|
|
}
|
|
|
|
.x-grid-with-row-lines .x-grid-item {
|
|
border-color: var(--drac-surface0) !important;
|
|
}
|
|
|
|
.x-grid-cell {
|
|
border-bottom: 1px solid rgba(68, 71, 90, 0.4) !important;
|
|
}
|
|
|
|
.x-grid-item-over,
|
|
.x-grid-with-row-lines .x-grid-item.x-grid-item-over {
|
|
background-color: var(--drac-hover-overlay) !important;
|
|
}
|
|
|
|
.x-grid-item-selected,
|
|
.x-grid-with-row-lines .x-grid-item.x-grid-item-selected {
|
|
background-color: var(--drac-select-overlay) !important;
|
|
}
|
|
|
|
.x-column-header-over,
|
|
.x-column-header-open {
|
|
background-color: var(--drac-hover-overlay) !important;
|
|
}
|
|
|
|
.x-column-header-sort-ASC,
|
|
.x-column-header-sort-DESC {
|
|
background-color: var(--drac-hover-overlay) !important;
|
|
}
|
|
|
|
.x-grid-row-summary .x-grid-cell,
|
|
.x-grid-row-summary .x-grid-rowwrap,
|
|
.x-grid-row-summary .x-grid-cell-rowbody {
|
|
background-color: var(--drac-base) !important;
|
|
border-color: var(--drac-surface1);
|
|
}
|
|
|
|
.x-grid-with-col-lines .x-grid-cell,
|
|
.x-grid-with-col-lines .x-grid-item-over .x-grid-cell,
|
|
.x-grid-with-col-lines .x-grid-item-selected .x-grid-cell {
|
|
border-color: var(--drac-surface1) !important;
|
|
}
|
|
|
|
.x-dd-drag-proxy {
|
|
background-color: var(--drac-mantle);
|
|
border-color: var(--drac-surface1);
|
|
color: var(--drac-text);
|
|
}
|
|
|
|
.x-keyboard-mode .x-grid-item-focused {
|
|
background-color: var(--drac-hover-overlay) !important;
|
|
color: var(--drac-text) !important;
|
|
}
|
|
|
|
/* Remove blue outline from focused/selected items in resource tree */
|
|
.x-keyboard-mode .x-grid-item-focused .x-grid-cell-inner::before,
|
|
.x-keyboard-mode .x-grid-item-selected .x-grid-cell-inner::before,
|
|
.x-grid-item-selected .x-grid-cell-inner::before,
|
|
.x-grid-item-focused .x-grid-cell-inner::before,
|
|
[id^="pveResourceTree"] .x-grid-item-selected .x-grid-cell-inner::before,
|
|
[id^="pveResourceTree"] .x-grid-item-focused .x-grid-cell-inner::before {
|
|
content: none !important;
|
|
display: none !important;
|
|
border: none !important;
|
|
}
|
|
|
|
.x-grid-empty {
|
|
background-color: var(--drac-base) !important;
|
|
color: var(--drac-subtext0) !important;
|
|
}
|
|
|
|
/* Grid info (pve-info-grid) and RRD view */
|
|
.pve-info-grid {
|
|
border-radius: 12px !important;
|
|
}
|
|
|
|
.pve-rrdview,
|
|
.rrdview {
|
|
border-radius: 12px !important;
|
|
}
|
|
|
|
.pve-summary-status,
|
|
.x-container .pve-status {
|
|
border-radius: var(--pm-radius-lg) !important;
|
|
}
|
|
|
|
[id^="pveGuestStatusView-"][id$="-body"],
|
|
[id^="pmxNotesView-"] .x-panel-body {
|
|
border-radius: var(--pm-radius-lg) !important;
|
|
}
|
|
|
|
.x-panel-default[id*="notes"],
|
|
.pve-notes-view {
|
|
border-radius: var(--pm-radius-lg) !important;
|
|
}
|
|
|
|
/* Floating grid pickers (storage/ISO selectors) */
|
|
.x-layer.x-grid .x-grid-view,
|
|
.x-panel.x-layer.x-grid .x-grid-view,
|
|
.x-panel.x-layer.x-grid,
|
|
.x-layer.x-panel.x-grid {
|
|
border-radius: var(--pm-radius-sm) !important;
|
|
}
|
|
|
|
.x-layer.x-grid .x-grid-item-over,
|
|
.x-layer.x-grid .x-grid-item-selected,
|
|
.x-panel.x-layer.x-grid .x-grid-item-over,
|
|
.x-panel.x-layer.x-grid .x-grid-item-selected {
|
|
border-radius: var(--pm-radius-sm) !important;
|
|
outline: none !important;
|
|
box-shadow: none !important;
|
|
}
|
|
|
|
.x-layer.x-grid .x-grid-item-over td,
|
|
.x-layer.x-grid .x-grid-item-selected td,
|
|
.x-layer.x-grid .x-grid-item-over .x-grid-cell,
|
|
.x-layer.x-grid .x-grid-item-selected .x-grid-cell,
|
|
.x-panel.x-layer.x-grid .x-grid-item-over td,
|
|
.x-panel.x-layer.x-grid .x-grid-item-selected td,
|
|
.x-panel.x-layer.x-grid .x-grid-item-over .x-grid-cell,
|
|
.x-panel.x-layer.x-grid .x-grid-item-selected .x-grid-cell {
|
|
border-radius: 0 !important;
|
|
}
|
|
|
|
.x-layer.x-grid .x-grid-item-over td:first-child,
|
|
.x-layer.x-grid .x-grid-item-selected td:first-child,
|
|
.x-panel.x-layer.x-grid .x-grid-item-over td:first-child,
|
|
.x-panel.x-layer.x-grid .x-grid-item-selected td:first-child {
|
|
border-radius: var(--pm-radius-sm) 0 0 var(--pm-radius-sm) !important;
|
|
}
|
|
|
|
.x-layer.x-grid .x-grid-item-over td:last-child,
|
|
.x-layer.x-grid .x-grid-item-selected td:last-child,
|
|
.x-panel.x-layer.x-grid .x-grid-item-over td:last-child,
|
|
.x-panel.x-layer.x-grid .x-grid-item-selected td:last-child {
|
|
border-radius: 0 var(--pm-radius-sm) var(--pm-radius-sm) 0 !important;
|
|
}
|
|
|
|
/* =====================================================
|
|
MENUS
|
|
===================================================== */
|
|
.x-menu,
|
|
.x-menu-default {
|
|
background-color: var(--drac-crust) !important;
|
|
border: 1px solid var(--drac-surface0) !important;
|
|
border-radius: var(--pm-radius-lg) !important;
|
|
box-shadow: 0 8px 24px rgba(30, 31, 41, 0.8) !important;
|
|
padding: 2px !important;
|
|
overflow: hidden !important;
|
|
}
|
|
|
|
.x-menu-body-default {
|
|
background-color: transparent !important;
|
|
padding: 4px !important;
|
|
}
|
|
|
|
.x-menu-header {
|
|
background-color: transparent !important;
|
|
color: var(--drac-text) !important;
|
|
}
|
|
|
|
/* Menu icon separator — hide */
|
|
.x-menu-icon-separator-default {
|
|
display: none !important;
|
|
}
|
|
|
|
/* Menu item layout (flexbox reordering) */
|
|
.x-menu-item-default > .x-menu-item-link {
|
|
display: flex !important;
|
|
align-items: center !important;
|
|
flex-direction: row !important;
|
|
gap: 4px !important;
|
|
justify-content: flex-start !important;
|
|
flex-wrap: nowrap !important;
|
|
border-radius: var(--pm-radius-md) !important;
|
|
padding: 4px 8px !important;
|
|
line-height: 20px !important;
|
|
cursor: pointer !important;
|
|
outline: none !important;
|
|
box-shadow: none !important;
|
|
white-space: nowrap !important;
|
|
text-decoration: none !important;
|
|
}
|
|
|
|
.x-menu-item-text-default {
|
|
color: var(--drac-text) !important;
|
|
font-size: 13px !important;
|
|
order: 1 !important;
|
|
margin-left: 0 !important;
|
|
text-align: left !important;
|
|
line-height: 20px !important;
|
|
display: inline-flex !important;
|
|
align-items: center !important;
|
|
flex: 1 1 auto !important;
|
|
width: auto !important;
|
|
white-space: nowrap !important;
|
|
}
|
|
|
|
.x-menu-item-icon-default {
|
|
color: var(--drac-subtext0) !important;
|
|
order: -1 !important;
|
|
position: relative !important;
|
|
float: none !important;
|
|
margin-right: 8px !important;
|
|
margin-left: 0 !important;
|
|
left: auto !important;
|
|
top: auto !important;
|
|
width: 16px !important;
|
|
text-align: center !important;
|
|
display: inline-flex !important;
|
|
align-items: center !important;
|
|
justify-content: center !important;
|
|
height: 20px !important;
|
|
line-height: 20px !important;
|
|
vertical-align: middle !important;
|
|
flex: 0 0 16px !important;
|
|
align-self: center !important;
|
|
}
|
|
|
|
.x-menu-item-arrow,
|
|
.x-menu-item-arrow-default {
|
|
order: 2 !important;
|
|
margin-left: auto !important;
|
|
}
|
|
|
|
.x-menu-item-default.x-menu-item-separator {
|
|
background-color: var(--drac-surface0) !important;
|
|
border: none !important;
|
|
height: 1px !important;
|
|
margin: 6px 4px !important;
|
|
}
|
|
|
|
.x-menu-item-default.x-menu-item-focus,
|
|
.x-menu-item-default.x-menu-item-active,
|
|
.x-menu-item:hover {
|
|
background-color: var(--drac-surface0) !important;
|
|
color: var(--drac-text) !important;
|
|
border-radius: var(--pm-radius-md) !important;
|
|
}
|
|
|
|
.x-menu-item-active .x-menu-item-text-default,
|
|
.x-menu-item-focus .x-menu-item-text-default {
|
|
color: var(--drac-text) !important;
|
|
}
|
|
|
|
.x-menu-item-active .x-menu-item-icon-default,
|
|
.x-menu-item-focus .x-menu-item-icon-default {
|
|
color: var(--drac-cyan) !important;
|
|
}
|
|
|
|
/* =====================================================
|
|
PROGRESS BARS
|
|
===================================================== */
|
|
|
|
/* Fix: Widget containers need overflow visible to not clip progress bars */
|
|
.x-container[id^="pmxInfoWidget"],
|
|
.x-container.x-box-layout-ct {
|
|
overflow: visible !important;
|
|
}
|
|
|
|
.x-progress,
|
|
.x-progress-default {
|
|
background-color: var(--drac-surface0) !important;
|
|
border-radius: 5px !important;
|
|
}
|
|
|
|
.x-progress-default .x-progress-bar-default {
|
|
background-color: var(--drac-orange) !important;
|
|
border-radius: 5px !important;
|
|
transition: width 0.4s ease !important;
|
|
}
|
|
|
|
.x-progress-default .x-progress-text {
|
|
color: var(--drac-text) !important;
|
|
}
|
|
|
|
/* Text overlaid on the progress bar fill — use on-accent for contrast */
|
|
.x-progress-bar .x-progress-text {
|
|
color: var(--drac-on-accent) !important;
|
|
}
|
|
|
|
.x-progress.warning .x-progress-bar {
|
|
background-color: var(--drac-yellow) !important;
|
|
}
|
|
|
|
.x-progress.critical .x-progress-bar {
|
|
background-color: var(--drac-red) !important;
|
|
}
|
|
|
|
/* =====================================================
|
|
TABS — Dracula underline style
|
|
Flat tabs with Purple underline on active tab
|
|
===================================================== */
|
|
.x-tab-bar,
|
|
.x-tab-bar-default {
|
|
background-color: var(--drac-base) !important;
|
|
border-radius: 0 !important;
|
|
border-bottom: 1px solid var(--drac-surface1) !important;
|
|
padding-bottom: 0 !important;
|
|
}
|
|
|
|
/* Overflow visible for the underline indicator */
|
|
.x-tab-bar .x-box-inner,
|
|
.x-tab-bar .x-box-target,
|
|
.x-tab-bar-body,
|
|
.x-tab-bar-body-default {
|
|
overflow: visible !important;
|
|
}
|
|
|
|
/* Base tab */
|
|
.x-tab,
|
|
.x-tab-default,
|
|
.x-tab-default-top {
|
|
background-color: transparent !important;
|
|
border: none !important;
|
|
border-radius: var(--pm-radius-md) var(--pm-radius-md) 0 0 !important;
|
|
padding: 8px 16px 8px !important;
|
|
overflow: visible !important;
|
|
margin-bottom: 0 !important;
|
|
transition: color 0.15s ease !important;
|
|
outline: none !important;
|
|
box-shadow: none !important;
|
|
}
|
|
|
|
/* Remove ::after from inactive tabs */
|
|
.x-tab::after {
|
|
display: none !important;
|
|
}
|
|
|
|
.x-tab-inner-default {
|
|
color: var(--drac-subtext0) !important;
|
|
font-size: 13px !important;
|
|
}
|
|
|
|
.x-tab-default.x-tab-over {
|
|
background-color: transparent !important;
|
|
}
|
|
|
|
.x-tab-default.x-tab-over .x-tab-inner-default {
|
|
color: var(--drac-text) !important;
|
|
}
|
|
|
|
/* Active tab */
|
|
.x-tab-default.x-tab.x-tab-active {
|
|
background-color: transparent !important;
|
|
border: none !important;
|
|
overflow: visible !important;
|
|
margin-bottom: 0 !important;
|
|
outline: none !important;
|
|
box-shadow: none !important;
|
|
}
|
|
|
|
/* Purple underline indicator on active tab */
|
|
.x-tab-default.x-tab.x-tab-active::after {
|
|
content: '' !important;
|
|
display: block !important;
|
|
position: absolute !important;
|
|
bottom: 0 !important;
|
|
left: 0 !important;
|
|
right: 0 !important;
|
|
height: 2px !important;
|
|
background: var(--drac-orange) !important;
|
|
z-index: 10 !important;
|
|
border-radius: 2px 2px 0 0 !important;
|
|
pointer-events: none !important;
|
|
}
|
|
|
|
.x-tab-active .x-tab-inner-default {
|
|
color: var(--drac-text) !important;
|
|
font-weight: 600 !important;
|
|
}
|
|
|
|
.x-tab-default.x-tab.x-tab-disabled {
|
|
background-color: transparent !important;
|
|
border: none !important;
|
|
color: var(--drac-overlay0) !important;
|
|
margin-bottom: 0 !important;
|
|
}
|
|
|
|
/* Focus states — no outline */
|
|
.x-keyboard-mode .x-tab-default.x-tab-focus,
|
|
.x-keyboard-mode .x-tab-default.x-tab-focus.x-tab-active {
|
|
background-color: transparent !important;
|
|
border: none !important;
|
|
outline: none !important;
|
|
box-shadow: none !important;
|
|
margin-bottom: 0 !important;
|
|
}
|
|
|
|
.x-keyboard-mode .x-tab-default.x-tab-focus.x-tab-active::after {
|
|
content: '' !important;
|
|
display: block !important;
|
|
position: absolute !important;
|
|
bottom: 0 !important;
|
|
left: 0 !important;
|
|
right: 0 !important;
|
|
height: 2px !important;
|
|
background: var(--drac-orange) !important;
|
|
z-index: 10 !important;
|
|
pointer-events: none !important;
|
|
}
|
|
|
|
/* Kill ALL tab interaction outlines/shadows */
|
|
.x-tab:focus,
|
|
.x-tab *:focus,
|
|
.x-tab-focus,
|
|
.x-tab-active.x-tab-focus,
|
|
.x-tab-inner-focus,
|
|
.x-tab-button-focus,
|
|
.x-tab-pressed,
|
|
.x-tab-active.x-tab-pressed,
|
|
.x-tab-over,
|
|
.x-tab:active,
|
|
.x-tab *:active {
|
|
outline: none !important;
|
|
box-shadow: none !important;
|
|
}
|
|
|
|
.x-tabpanel-child {
|
|
border-radius: 0 0 var(--pm-radius-lg) var(--pm-radius-lg) !important;
|
|
}
|
|
|
|
/* Tab hover/active corners */
|
|
.x-tab-default.x-tab-over,
|
|
.x-tab-default.x-tab.x-tab-active {
|
|
border-radius: var(--pm-radius-md) var(--pm-radius-md) 0 0 !important;
|
|
}
|
|
|
|
/* =====================================================
|
|
TOOLTIPS
|
|
===================================================== */
|
|
.x-tip,
|
|
.x-tip-default {
|
|
background-color: var(--drac-mantle) !important;
|
|
border: 1px solid var(--drac-surface1) !important;
|
|
border-radius: var(--pm-radius-md) !important;
|
|
box-shadow: 0 4px 12px rgba(30, 31, 41, 0.5);
|
|
}
|
|
|
|
.x-tip-body-default {
|
|
color: var(--drac-text) !important;
|
|
}
|
|
|
|
.x-tip-form-invalid {
|
|
background-color: var(--drac-mantle) !important;
|
|
border-color: var(--drac-red) !important;
|
|
}
|
|
|
|
.x-tip-body-form-invalid {
|
|
color: var(--drac-red) !important;
|
|
}
|
|
|
|
/* =====================================================
|
|
TREE NAVIGATION (Sidebar)
|
|
===================================================== */
|
|
.x-treelist-item {
|
|
background-color: var(--drac-base) !important;
|
|
border-radius: var(--pm-radius-md) !important;
|
|
}
|
|
|
|
/* Pseudo-element approach for hover/selected highlighting */
|
|
.x-treelist-row {
|
|
border-radius: var(--pm-radius-md) !important;
|
|
background-color: transparent !important;
|
|
position: relative !important;
|
|
z-index: 0 !important;
|
|
}
|
|
|
|
.x-treelist-row::before {
|
|
content: "";
|
|
position: absolute;
|
|
top: 1px;
|
|
bottom: 1px;
|
|
left: 0;
|
|
right: 4px;
|
|
border-radius: var(--pm-radius-md);
|
|
background-color: transparent;
|
|
z-index: -1;
|
|
pointer-events: none;
|
|
transition: background-color 0.15s ease;
|
|
}
|
|
|
|
/* Fix toolbox tree item text overlapping icons */
|
|
.x-treelist-item-text {
|
|
margin-left: 28px !important;
|
|
}
|
|
|
|
/* Toolbox tree items — bright text */
|
|
.x-treelist-item-text,
|
|
.x-treelist-item-icon,
|
|
.x-treelist.x-treelist-pve-nav .x-treelist-item-text,
|
|
.x-treelist.x-treelist-pve-nav .x-treelist-item-icon {
|
|
color: var(--drac-subtext1) !important;
|
|
}
|
|
|
|
/* Hover state — apply to pseudo-element */
|
|
.x-treelist-row-over {
|
|
background-color: transparent !important;
|
|
}
|
|
|
|
.x-treelist-row-over::before {
|
|
background-color: var(--drac-hover-overlay) !important;
|
|
}
|
|
|
|
.x-treelist-row-over .x-treelist-item-icon,
|
|
.x-treelist-row-over .x-treelist-item-text {
|
|
background-color: transparent !important;
|
|
color: var(--drac-text) !important;
|
|
}
|
|
|
|
/* Selected/active item — Purple highlight */
|
|
.x-treelist-item-selected > .x-treelist-row {
|
|
background-color: transparent !important;
|
|
}
|
|
|
|
.x-treelist-item-selected > .x-treelist-row::before,
|
|
.x-treelist-item-selected > .x-treelist-row:hover::before {
|
|
background-color: var(--drac-orange) !important;
|
|
}
|
|
|
|
.x-treelist-item-selected .x-treelist-item-text,
|
|
.x-treelist-item-selected .x-treelist-item-icon,
|
|
.x-treelist.x-treelist-pve-nav .x-treelist-item-selected .x-treelist-item-text,
|
|
.x-treelist.x-treelist-pve-nav .x-treelist-item-selected .x-treelist-item-icon {
|
|
color: var(--drac-on-accent) !important;
|
|
}
|
|
|
|
.x-treelist-pve-nav {
|
|
background-color: var(--drac-base) !important;
|
|
border-color: var(--drac-surface1) !important;
|
|
}
|
|
|
|
/* Tree navigation radius overrides */
|
|
.x-treelist-item,
|
|
.x-treelist-item-tool {
|
|
border-radius: var(--pm-radius-sm) !important;
|
|
}
|
|
|
|
.x-treelist-row,
|
|
.x-treelist-row:hover,
|
|
.x-treelist-row-over,
|
|
.x-treelist-item-selected > .x-treelist-row,
|
|
.x-treelist-item-selected > .x-treelist-row:hover,
|
|
.x-treelist-item-expanded > .x-treelist-row,
|
|
.x-treelist-item-expanded > .x-treelist-row-over,
|
|
.x-treelist-item-expandable > .x-treelist-row,
|
|
.x-treelist-item-expandable > .x-treelist-row-over {
|
|
border-radius: var(--pm-radius-sm) !important;
|
|
}
|
|
|
|
.x-treelist-row::before {
|
|
border-radius: var(--pm-radius-sm) !important;
|
|
}
|
|
|
|
.x-treelist-item-wrap,
|
|
.x-treelist-item-text,
|
|
.x-treelist-row,
|
|
.x-treelist-container,
|
|
.x-treelist-root-container,
|
|
.x-treelist,
|
|
.x-treelist-pve-nav {
|
|
border-radius: var(--pm-radius-sm) !important;
|
|
}
|
|
|
|
/* Cursor pointer for interactive tree/grid items */
|
|
.x-grid-cell,
|
|
.x-grid-cell-inner,
|
|
.x-tree-elbow-img,
|
|
.x-tree-icon,
|
|
.x-treelist-item,
|
|
.x-treelist-row,
|
|
.x-treelist-item-wrap,
|
|
.x-treelist-item-text,
|
|
.x-treelist-item-icon {
|
|
cursor: pointer !important;
|
|
}
|
|
|
|
/* =====================================================
|
|
WINDOWS / MODALS
|
|
===================================================== */
|
|
.x-window,
|
|
.x-window-default {
|
|
background-color: var(--drac-crust) !important;
|
|
border: 1px solid var(--drac-surface1) !important;
|
|
border-radius: var(--pm-radius-lg) !important;
|
|
box-shadow: 0 8px 24px rgba(30, 31, 41, 0.6) !important;
|
|
overflow: hidden !important;
|
|
}
|
|
|
|
.x-window .x-window-header,
|
|
.x-window-header-default {
|
|
background-color: var(--drac-mantle) !important;
|
|
border-color: transparent !important;
|
|
border-radius: var(--pm-radius-lg) var(--pm-radius-lg) 0 0 !important;
|
|
}
|
|
|
|
.x-window-header-default .x-mask {
|
|
background-color: rgba(30, 31, 41, 0.7);
|
|
}
|
|
|
|
.x-window .x-window-body,
|
|
.x-window-body-default {
|
|
background-color: var(--drac-base) !important;
|
|
border-color: var(--drac-surface1) !important;
|
|
color: var(--drac-text) !important;
|
|
border-radius: 0 0 var(--pm-radius-lg) var(--pm-radius-lg) !important;
|
|
}
|
|
|
|
.x-window-ghost {
|
|
background-color: var(--drac-base) !important;
|
|
}
|
|
|
|
.x-window-header-default .x-tool-img {
|
|
background-color: transparent;
|
|
}
|
|
|
|
.x-message-box .x-window-body {
|
|
background-color: var(--drac-mantle) !important;
|
|
}
|
|
|
|
/* Respect ExtJS inline display:none on hidden dialog buttons */
|
|
.x-message-box .x-btn.x-btn-default-small[style*="display: none"],
|
|
.x-message-box .x-btn.x-btn-default-small[style*="display:none"],
|
|
.x-window .x-toolbar-footer .x-btn[style*="display: none"],
|
|
.x-window .x-toolbar-footer .x-btn[style*="display:none"] {
|
|
display: none !important;
|
|
}
|
|
|
|
/* Login dialog — clean inner panel borders */
|
|
.x-window:has(#pveloginrealm) .x-panel-body {
|
|
border: none !important;
|
|
background: transparent !important;
|
|
width: auto !important;
|
|
}
|
|
|
|
/* =====================================================
|
|
CONSOLE / TERMINAL
|
|
===================================================== */
|
|
div.monitor {
|
|
border-color: var(--drac-surface1);
|
|
}
|
|
|
|
.install-mask {
|
|
background-color: var(--drac-crust);
|
|
color: var(--drac-subtext0);
|
|
}
|
|
|
|
.x-window.install-mask {
|
|
box-shadow: rgba(30, 31, 41, 0.5) 0 4px 20px !important;
|
|
}
|
|
|
|
/* =====================================================
|
|
LEGEND / CHARTS
|
|
===================================================== */
|
|
.x-legend-container {
|
|
background-color: var(--drac-base) !important;
|
|
}
|
|
|
|
.x-legend-horizontal .x-legend-item {
|
|
background-color: var(--drac-mantle) !important;
|
|
color: var(--drac-text) !important;
|
|
border: 1px solid var(--drac-surface0) !important;
|
|
}
|
|
|
|
/* Chart/RRD panel backgrounds */
|
|
div[id*="rrdchart"],
|
|
.pve-rrddatastore,
|
|
.pmx-panel-rrd {
|
|
background-color: var(--drac-base) !important;
|
|
}
|
|
|
|
.proxmox-rrd-panel canvas,
|
|
.proxmox-widget-toolkit canvas,
|
|
canvas.x-surface,
|
|
.x-surface canvas {
|
|
background-color: transparent !important;
|
|
opacity: 1 !important;
|
|
}
|
|
|
|
.proxmox-rrd-panel,
|
|
.proxmox-rrd-chart {
|
|
background-color: var(--drac-base) !important;
|
|
}
|
|
|
|
/* Chart text/labels */
|
|
.x-surface text,
|
|
svg text {
|
|
fill: var(--drac-text) !important;
|
|
}
|
|
|
|
/* =====================================================
|
|
PROXMOX-SPECIFIC OVERRIDES
|
|
===================================================== */
|
|
|
|
/* Logo inversion */
|
|
img[id^="proxmoxlogo-"][id$="-img"],
|
|
img[id^="proxmoxLogoSvg-"][id$="-img"] {
|
|
filter: invert(1) hue-rotate(180deg);
|
|
}
|
|
|
|
/* Invalid/warning/disabled rows */
|
|
.proxmox-invalid-row {
|
|
background-color: rgba(255, 85, 85, 0.15) !important;
|
|
}
|
|
|
|
.proxmox-warning-row {
|
|
background-color: rgba(255, 184, 108, 0.15) !important;
|
|
}
|
|
|
|
.proxmox-disabled-row td {
|
|
color: var(--drac-overlay0) !important;
|
|
}
|
|
|
|
/* Hints */
|
|
.pmx-hint {
|
|
background-color: rgba(255, 184, 108, 0.15) !important;
|
|
white-space: nowrap !important;
|
|
}
|
|
|
|
.pmx-hint a {
|
|
color: var(--drac-cyan) !important;
|
|
}
|
|
|
|
/* Status text colors — Information → Cyan */
|
|
.info-blue {
|
|
color: var(--drac-cyan) !important;
|
|
}
|
|
|
|
.critical {
|
|
color: var(--drac-red) !important;
|
|
}
|
|
|
|
/* Links */
|
|
a {
|
|
color: var(--drac-cyan) !important;
|
|
}
|
|
|
|
/* Markdown content */
|
|
.pmx-md code {
|
|
background-color: var(--drac-mantle) !important;
|
|
color: var(--drac-pink) !important;
|
|
border-radius: var(--pm-radius-sm) !important;
|
|
}
|
|
|
|
.pmx-md pre code {
|
|
border-color: var(--drac-surface1) !important;
|
|
background-color: var(--drac-crust) !important;
|
|
}
|
|
|
|
.pmx-md a {
|
|
color: var(--drac-cyan) !important;
|
|
}
|
|
|
|
.pmx-md table {
|
|
border-color: var(--drac-surface1) !important;
|
|
}
|
|
|
|
.pmx-md th {
|
|
background-color: var(--drac-mantle) !important;
|
|
border-color: var(--drac-surface1) !important;
|
|
}
|
|
|
|
.pmx-md td {
|
|
border-color: var(--drac-surface1) !important;
|
|
}
|
|
|
|
/* APT repos */
|
|
.proxmox-apt-repos .x-grid-group-hd {
|
|
background-color: var(--drac-base) !important;
|
|
border: none !important;
|
|
}
|
|
|
|
.proxmox-apt-repos .x-grid-group-title {
|
|
color: var(--drac-text) !important;
|
|
}
|
|
|
|
/* Tags */
|
|
.pve-edit-tag {
|
|
border-radius: var(--pm-radius-md) !important;
|
|
}
|
|
|
|
.pve-edit-tag.editable span {
|
|
background-color: var(--drac-mantle) !important;
|
|
color: var(--drac-text) !important;
|
|
border-color: var(--drac-surface1) !important;
|
|
}
|
|
|
|
.x-tree-node-text .proxmox-tag-dark,
|
|
.x-tree-node-text .proxmox-tag-light,
|
|
.x-grid-cell-inner .proxmox-tag-dark,
|
|
.x-grid-cell-inner .proxmox-tag-light,
|
|
span.proxmox-tag-dark,
|
|
span.proxmox-tag-light {
|
|
border-radius: var(--pm-radius-md) !important;
|
|
}
|
|
|
|
/* Checkmark button in tag edit — match toolbar button size */
|
|
.x-btn.x-btn-default-small:has(.fa-check) {
|
|
min-height: 24px !important;
|
|
height: 24px !important;
|
|
padding: 3px 8px !important;
|
|
border-radius: var(--pm-radius-sm) !important;
|
|
background-color: var(--drac-orange) !important;
|
|
border: none !important;
|
|
}
|
|
|
|
.x-btn.x-btn-default-small:has(.fa-check).x-btn-disabled {
|
|
background-color: transparent !important;
|
|
border: 1px solid var(--drac-surface1) !important;
|
|
opacity: 0.5 !important;
|
|
}
|
|
|
|
.x-btn.x-btn-default-small:has(.fa-check) .fa-check {
|
|
color: var(--drac-on-accent) !important;
|
|
}
|
|
|
|
.x-btn.x-btn-default-small:has(.fa-check).x-btn-disabled .fa-check {
|
|
color: var(--drac-overlay1) !important;
|
|
}
|
|
|
|
.x-btn.x-btn-default-small:has(.fa-check):not(.x-btn-disabled):hover {
|
|
background-color: #ffc888 !important;
|
|
}
|
|
|
|
.x-btn.x-btn-default-small:has(.fa-check) .x-btn-inner {
|
|
display: none !important;
|
|
}
|
|
|
|
/* Date picker */
|
|
.x-datepicker,
|
|
.x-datepicker-column-header,
|
|
.x-monthpicker {
|
|
background-color: var(--drac-base) !important;
|
|
color: var(--drac-text) !important;
|
|
border-color: transparent !important;
|
|
}
|
|
|
|
.x-datepicker-header,
|
|
.x-datepicker-footer,
|
|
.x-monthpicker-buttons {
|
|
background-color: var(--drac-mantle) !important;
|
|
}
|
|
|
|
.x-datepicker-date,
|
|
.x-monthpicker-item-inner {
|
|
color: var(--drac-text) !important;
|
|
}
|
|
|
|
.x-datepicker-selected div.x-datepicker-date,
|
|
.x-monthpicker-item a.x-monthpicker-selected,
|
|
a.x-monthpicker-item-inner:hover,
|
|
div.x-datepicker-date:hover {
|
|
background-color: var(--drac-hover-overlay) !important;
|
|
color: var(--drac-text) !important;
|
|
}
|
|
|
|
.x-datepicker-today .x-datepicker-date {
|
|
border-color: var(--drac-orange) !important;
|
|
}
|
|
|
|
.x-datepicker-disabled .x-datepicker-date {
|
|
color: var(--drac-overlay0) !important;
|
|
}
|
|
|
|
.x-datepicker-prev-day .x-datepicker-date,
|
|
.x-datepicker-next-day .x-datepicker-date {
|
|
color: var(--drac-overlay0) !important;
|
|
}
|
|
|
|
/* Usage bars */
|
|
.usage-wrapper,
|
|
.usage {
|
|
border-radius: 2px !important;
|
|
}
|
|
|
|
.usage {
|
|
background-color: var(--drac-overlay2) !important;
|
|
}
|
|
|
|
/* =====================================================
|
|
SCROLLBARS
|
|
===================================================== */
|
|
::-webkit-scrollbar {
|
|
width: 8px;
|
|
height: 8px;
|
|
}
|
|
|
|
::-webkit-scrollbar-track {
|
|
background: var(--drac-base);
|
|
border-radius: var(--pm-radius-sm);
|
|
}
|
|
|
|
::-webkit-scrollbar-thumb {
|
|
background: var(--drac-surface2);
|
|
border-radius: var(--pm-radius-sm);
|
|
border: 1px solid transparent;
|
|
background-clip: padding-box;
|
|
transition: background 0.15s ease;
|
|
}
|
|
|
|
::-webkit-scrollbar-thumb:hover {
|
|
background: var(--drac-overlay0);
|
|
}
|
|
|
|
::-webkit-scrollbar-corner {
|
|
background: var(--drac-base);
|
|
}
|
|
|
|
/* Firefox scrollbar */
|
|
* {
|
|
scrollbar-width: thin;
|
|
scrollbar-color: var(--drac-surface2) var(--drac-base);
|
|
}
|
|
|
|
/* =====================================================
|
|
SELECTION HIGHLIGHT
|
|
===================================================== */
|
|
::selection {
|
|
background-color: rgba(98, 114, 164, 0.3);
|
|
color: var(--drac-text);
|
|
}
|
|
|
|
/* =====================================================
|
|
TRANSITIONS (smooth interactions)
|
|
===================================================== */
|
|
|
|
/* Grid row transitions */
|
|
.x-grid-item {
|
|
transition: background-color 0.15s ease !important;
|
|
}
|
|
|
|
/* Tree pseudo-element transitions */
|
|
.x-treelist-row::before {
|
|
transition: background-color 0.15s ease !important;
|
|
}
|
|
|
|
/* Menu item transitions */
|
|
.x-menu-item-default > .x-menu-item-link {
|
|
transition: background-color 0.12s ease !important;
|
|
}
|
|
|
|
/* Boundlist item transitions */
|
|
.x-boundlist-item {
|
|
transition: background-color 0.12s ease !important;
|
|
}
|
|
|
|
/* Tab transitions */
|
|
.x-tab {
|
|
transition: color 0.15s ease !important;
|
|
}
|
|
|
|
/* Splitter transition */
|
|
.x-splitter {
|
|
transition: background-color 0.15s ease !important;
|
|
}
|
|
|
|
/* Tooltip transition */
|
|
.x-tip {
|
|
transition: opacity 0.15s ease !important;
|
|
}
|
|
|
|
/* Progress bar width transition */
|
|
.x-progress-bar {
|
|
transition: width 0.4s ease !important;
|
|
}
|
|
|
|
/* Scrollbar thumb transition */
|
|
::-webkit-scrollbar-thumb {
|
|
transition: background 0.15s ease !important;
|
|
}
|
|
|
|
/* Window close tool transition */
|
|
.x-tool-img {
|
|
transition: filter 0.15s ease !important;
|
|
}
|
|
|
|
/* =====================================================
|
|
TOOL ICONS - FontAwesome Replacements
|
|
(Ported from UniFi v5.86)
|
|
Replace sprite-based ExtJS tool icons with crisp
|
|
FontAwesome icons for better consistency and clarity
|
|
===================================================== */
|
|
|
|
/* Base styling for all tool icons - remove sprite backgrounds */
|
|
.x-tool-tool-el.x-tool-minus,
|
|
.x-tool-img.x-tool-minus,
|
|
.x-tool-tool-el.x-tool-collapse-right,
|
|
.x-tool-img.x-tool-collapse-right,
|
|
.x-tool-tool-el.x-tool-collapse-left,
|
|
.x-tool-img.x-tool-collapse-left,
|
|
.x-tool-tool-el.x-tool-expand-right,
|
|
.x-tool-img.x-tool-expand-right,
|
|
.x-tool-tool-el.x-tool-expand-left,
|
|
.x-tool-img.x-tool-expand-left,
|
|
.x-tool-tool-el.x-tool-maximize,
|
|
.x-tool-img.x-tool-maximize,
|
|
.x-tool-tool-el.x-tool-restore,
|
|
.x-tool-img.x-tool-restore,
|
|
.x-tool-tool-el.x-tool-gear,
|
|
.x-tool-img.x-tool-gear,
|
|
.x-tool-tool-el.x-tool-refresh,
|
|
.x-tool-img.x-tool-refresh,
|
|
.x-tool-tool-el.x-tool-close,
|
|
.x-tool-img.x-tool-close {
|
|
background-image: none !important;
|
|
font-family: "FontAwesome" !important;
|
|
font-size: 14px !important;
|
|
line-height: 16px !important;
|
|
text-align: center !important;
|
|
color: var(--pm-text-dim) !important;
|
|
transition: color 0.15s ease !important;
|
|
filter: none !important;
|
|
width: 16px !important;
|
|
height: 16px !important;
|
|
display: flex !important;
|
|
align-items: center !important;
|
|
justify-content: center !important;
|
|
}
|
|
|
|
/* Close button - slightly larger */
|
|
.x-tool-tool-el.x-tool-close,
|
|
.x-tool-img.x-tool-close {
|
|
font-size: 20px !important;
|
|
}
|
|
|
|
/* Individual glyph assignments */
|
|
.x-tool-tool-el.x-tool-minus::before,
|
|
.x-tool-img.x-tool-minus::before {
|
|
content: "\f010" !important; /* fa-search-minus (zoom out) */
|
|
}
|
|
|
|
.x-tool-tool-el.x-tool-collapse-right::before,
|
|
.x-tool-img.x-tool-collapse-right::before {
|
|
content: "\f054" !important; /* fa-chevron-right */
|
|
}
|
|
|
|
.x-tool-tool-el.x-tool-expand-left::before,
|
|
.x-tool-img.x-tool-expand-left::before {
|
|
content: "\f053" !important; /* fa-chevron-left */
|
|
}
|
|
|
|
.x-tool-tool-el.x-tool-collapse-left::before,
|
|
.x-tool-img.x-tool-collapse-left::before {
|
|
content: "\f053" !important; /* fa-chevron-left */
|
|
}
|
|
|
|
.x-tool-tool-el.x-tool-expand-right::before,
|
|
.x-tool-img.x-tool-expand-right::before {
|
|
content: "\f054" !important; /* fa-chevron-right */
|
|
}
|
|
|
|
.x-tool-tool-el.x-tool-maximize::before,
|
|
.x-tool-img.x-tool-maximize::before {
|
|
content: "\f065" !important; /* fa-expand */
|
|
}
|
|
|
|
.x-tool-tool-el.x-tool-restore::before,
|
|
.x-tool-img.x-tool-restore::before {
|
|
content: "\f066" !important; /* fa-compress */
|
|
}
|
|
|
|
.x-tool-tool-el.x-tool-gear::before,
|
|
.x-tool-img.x-tool-gear::before {
|
|
content: "\f013" !important; /* fa-cog */
|
|
}
|
|
|
|
.x-tool-tool-el.x-tool-refresh::before,
|
|
.x-tool-img.x-tool-refresh::before {
|
|
content: "\f021" !important; /* fa-refresh */
|
|
}
|
|
|
|
.x-tool-tool-el.x-tool-close::before,
|
|
.x-tool-img.x-tool-close::before {
|
|
content: "\f00d" !important; /* fa-times */
|
|
}
|
|
|
|
/* Hover state - all tool icons */
|
|
.x-tool:hover .x-tool-tool-el.x-tool-minus,
|
|
.x-tool:hover .x-tool-img.x-tool-minus,
|
|
.x-tool:hover .x-tool-tool-el.x-tool-collapse-right,
|
|
.x-tool:hover .x-tool-img.x-tool-collapse-right,
|
|
.x-tool:hover .x-tool-tool-el.x-tool-collapse-left,
|
|
.x-tool:hover .x-tool-img.x-tool-collapse-left,
|
|
.x-tool:hover .x-tool-tool-el.x-tool-expand-right,
|
|
.x-tool:hover .x-tool-img.x-tool-expand-right,
|
|
.x-tool:hover .x-tool-tool-el.x-tool-expand-left,
|
|
.x-tool:hover .x-tool-img.x-tool-expand-left,
|
|
.x-tool:hover .x-tool-tool-el.x-tool-maximize,
|
|
.x-tool:hover .x-tool-img.x-tool-maximize,
|
|
.x-tool:hover .x-tool-tool-el.x-tool-restore,
|
|
.x-tool:hover .x-tool-img.x-tool-restore,
|
|
.x-tool:hover .x-tool-tool-el.x-tool-gear,
|
|
.x-tool:hover .x-tool-img.x-tool-gear,
|
|
.x-tool:hover .x-tool-tool-el.x-tool-refresh,
|
|
.x-tool:hover .x-tool-img.x-tool-refresh,
|
|
.x-tool:hover .x-tool-tool-el.x-tool-close,
|
|
.x-tool:hover .x-tool-img.x-tool-close {
|
|
color: var(--pm-text) !important;
|
|
}
|
|
|
|
/* Disabled state */
|
|
.x-tool-disabled .x-tool-tool-el,
|
|
.x-tool-disabled .x-tool-img {
|
|
opacity: 0.4 !important;
|
|
cursor: default !important;
|
|
}
|
|
|
|
/* Inline FontAwesome tools (PVE-injected) */
|
|
.x-tool-tool-el[style*="font-family:FontAwesome"],
|
|
.x-tool-tool-el[style*="font-family: FontAwesome"] {
|
|
color: var(--pm-text-dim) !important;
|
|
font-size: 14px !important;
|
|
line-height: 16px !important;
|
|
display: flex !important;
|
|
align-items: center !important;
|
|
justify-content: center !important;
|
|
width: 16px !important;
|
|
height: 16px !important;
|
|
transition: color 0.15s ease !important;
|
|
background-image: none !important;
|
|
background-color: transparent !important;
|
|
}
|
|
|
|
.x-tool:not(.x-tool-disabled) .x-tool-tool-el[style*="font-family:FontAwesome"],
|
|
.x-tool:not(.x-tool-disabled) .x-tool-tool-el[style*="font-family: FontAwesome"] {
|
|
cursor: pointer !important;
|
|
}
|
|
|
|
.x-tool.x-tool-disabled .x-tool-tool-el[style*="font-family:FontAwesome"],
|
|
.x-tool.x-tool-disabled .x-tool-tool-el[style*="font-family: FontAwesome"] {
|
|
cursor: default !important;
|
|
opacity: 0.4 !important;
|
|
}
|
|
|
|
.x-tool .x-mask {
|
|
background-color: transparent !important;
|
|
backdrop-filter: none !important;
|
|
pointer-events: none !important;
|
|
}
|
|
|
|
.x-tool:not(.x-tool-disabled):hover .x-tool-tool-el[style*="font-family:FontAwesome"],
|
|
.x-tool:not(.x-tool-disabled):hover .x-tool-tool-el[style*="font-family: FontAwesome"] {
|
|
color: var(--pm-text) !important;
|
|
}
|