Files
proxmorph/themes/theme-blue-slate.css
T

1965 lines
58 KiB
CSS

/*!Blue Slate*/
/*
* ProxMorph Theme: Blue Slate
* A clean, minimal dark theme with blue accent - Tailwind Slate palette
* Version: 2.0.0
*
* v2.0.0: Complete overhaul - ported all Tier 2 fixes from Dracula reference
* - Global border-radius architecture (reset/re-apply)
* - FontAwesome tool icons, button 28px height, icon alignment
* - Custom checkboxes/radios, menu flex layout, dropdown fixes
* - Console, charts, tags, APT repos, markdown, date picker
* - Hardware icon invert(100%) with double-cancellation
* - Transitions, keyboard focus removal, cursor:pointer
*
* --- Blue Slate Palette (Tailwind Slate) ---
* Accent: #3b82f6 Accent Light: #60a5fa Accent Dark: #2563eb
* Success: #10b981 Warning: #f59e0b Error: #ef4444
* Info: #06b6d4
* BG Base: #0f172a BG Surface: #1e293b BG Elevated: #334155
* Text: #f1f5f9 Text Dim: #cbd5e1 Text Muted: #94a3b8
* Border: #475569 Border Sub: #334155
*/
/* ===== CSS VARIABLES ===== */
:root {
--pm-accent: #3b82f6;
--pm-accent-light: #60a5fa;
--pm-accent-dark: #2563eb;
--pm-success: #10b981;
--pm-warning: #f59e0b;
--pm-error: #ef4444;
--pm-info: #06b6d4;
--pm-bg-base: #0f172a;
--pm-bg-surface: #1e293b;
--pm-bg-elevated: #334155;
--pm-text: #f1f5f9;
--pm-text-dim: #cbd5e1;
--pm-text-muted: #94a3b8;
--pm-border: #475569;
--pm-border-subtle: #334155;
--pm-radius-sm: 4px;
--pm-radius-md: 6px;
--pm-radius-lg: 8px;
--pwt-panel-background: var(--pm-bg-base);
--pwt-text-color: var(--pm-text-dim);
--pwt-gauge-default: var(--pm-accent);
--pwt-gauge-back: var(--pm-bg-elevated);
--pwt-gauge-warn: var(--pm-warning);
--pwt-gauge-crit: var(--pm-error);
--pwt-chart-primary: var(--pm-success);
--pwt-chart-grid-stroke: var(--pm-border);
--pm-on-accent: #0f172a;
--pm-hover-overlay: rgba(71, 85, 105, 0.15);
--pm-select-overlay: rgba(59, 130, 246, 0.25);
--pm-accent-muted: rgba(59, 130, 246, 0.4);
--pm-accent-subtle: rgba(59, 130, 246, 0.15);
color-scheme: dark;
}
/* ===== GLOBAL BORDER-RADIUS ARCHITECTURE ===== */
.x-border-box,
.x-border-box * {
border-radius: var(--pm-radius-lg);
}
.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;
}
.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;
}
.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;
}
.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;
}
.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;
}
.x-legend-item-marker {
border-radius: 50% !important;
}
/* ===== RE-APPLY BORDER RADII ===== */
.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;
}
.x-window .x-btn {
border-radius: var(--pm-radius-md) !important;
}
.x-window .x-form-checkbox {
border-radius: 3px !important;
}
.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;
}
.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;
}
.x-window .x-tabpanel-child .x-autocontainer-innerCt {
padding: 12px 0 !important;
}
.x-window .x-panel-body:not(.x-scroller) {
overflow: visible !important;
}
.x-window .x-panel.x-box-item .x-panel-body {
padding: 0 4px !important;
}
.x-window .x-autocontainer-outerCt {
max-width: 100% !important;
}
.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;
}
.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(--pm-bg-base) !important;
color: var(--pm-text) !important;
}
/* ===== MASKS & OVERLAYS ===== */
.x-mask {
background-color: rgba(15, 23, 42, 0.6) !important;
backdrop-filter: blur(4px);
}
.x-mask-msg {
background-color: var(--pm-bg-surface) !important;
border: 1px solid var(--pm-border) !important;
border-radius: var(--pm-radius-lg) !important;
}
.x-mask-msg-text {
color: var(--pm-text-muted) !important;
filter: none !important;
}
.x-css-shadow {
box-shadow: 0 8px 24px rgba(15, 23, 42, 0.6) !important;
}
.x-grid-row-loading,
.x-treelist-item-loading .x-treelist-item-icon,
.x-grid-tree-loading .x-tree-icon {
filter: invert(90%);
}
/* ===== ICONS ===== */
.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(--pm-text-dim) !important;
}
.x-tree-icon-parent:not(.x-tree-icon-custom)::before,
.x-tree-icon-parent-expanded:not(.x-tree-icon-custom)::before {
filter: invert(90%);
}
.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 - invert(100%) for crisp rendering */
.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;
}
.x-tree-icon-custom::after, .x-grid-icon-custom::after {
color: var(--pm-text-dim) !important;
text-shadow: -1px 0 1px rgba(0, 0, 0, 0.5);
}
/* RUNNING - Green */
.x-tree-icon-custom.running::after, .x-grid-icon-custom.running::after,
.x-treelist-item-icon.running::after {
color: var(--pm-success) !important;
text-shadow: -1px 0 1px rgba(0, 0, 0, 0.5);
}
.x-tree-icon-custom.online::after, .x-grid-icon-custom.online::after {
color: var(--pm-success) !important;
text-shadow: -1px 0 1px rgba(0, 0, 0, 0.5);
}
.x-tree-icon-custom.stopped, .x-tree-icon-custom.offline,
.x-grid-icon-custom.stopped, .x-grid-icon-custom.offline {
color: var(--pm-text-muted) !important;
}
.x-tree-icon-custom.unknown::after, .x-grid-icon-custom.unknown::after {
color: var(--pm-text-muted) !important;
}
/* ERROR - 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(--pm-error) !important;
text-shadow: -1px 0 1px rgba(0, 0, 0, 0.5);
}
/* PAUSED/SUSPENDED - Warning */
.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(--pm-warning) !important;
text-shadow: -1px 0 1px rgba(0, 0, 0, 0.5);
}
/* PENDING/WARNING */
.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(--pm-warning) !important;
text-shadow: -1px 0 1px rgba(0, 0, 0, 0.5);
}
/* HA MAINTENANCE - Info/Cyan */
.x-tree-icon-custom.ha-maintenance::after, .x-grid-icon-custom.ha-maintenance::after {
color: var(--pm-info) !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(--pm-text-muted) !important;
}
.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(--pm-text-muted) !important;
}
.x-treelist-item-icon.lxc::after, .x-treelist-item-icon.qemu::after {
background-color: transparent;
color: var(--pm-text-muted) !important;
}
.x-tree-arrows .x-tree-expander {
filter: brightness(200%);
}
.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 (Issue #23 fix) */
.x-panel.x-column {
padding: 5px !important;
margin: 0 !important;
max-width: none !important;
box-sizing: border-box !important;
}
.x-panel.x-panel-default.x-column {
border: 1px solid var(--pm-border-subtle) !important;
border-radius: var(--pm-radius-lg) !important;
overflow: hidden !important;
}
[id^="pveGuestStatusView-"].x-panel, [id^="pveLxcStatusView-"].x-panel,
[id^="pveQemuStatusView-"].x-panel, [id^="pmxNotesView-"].x-panel {
border: 1px solid var(--pm-border-subtle) !important;
border-radius: var(--pm-radius-lg) !important;
}
.x-panel-body, .x-panel-body-default {
background-color: var(--pm-bg-base) !important;
color: var(--pm-text) !important;
border: none !important;
}
.x-panel-header, .x-panel-header-default {
background-color: var(--pm-bg-surface) !important;
border: none !important;
border-bottom: 1px solid var(--pm-border-subtle) !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;
}
.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;
}
.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(--pm-text) !important;
}
/* Tool backgrounds - transparent (fix white X background) */
.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%);
}
div[id^="pveResourceTree-"][id$="-body"] {
border-color: var(--pm-bg-base) !important;
}
[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;
}
div[id^="pveResourceTree"] .x-grid-cell {
padding-top: 3px !important;
padding-bottom: 3px !important;
}
.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;
}
.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(--pm-border-subtle) !important;
border-right: none !important;
width: 1px !important;
}
.x-splitter-horizontal {
background-color: var(--pm-bg-base) !important;
border-top: 1px solid var(--pm-border-subtle) !important;
}
.x-splitter {
background-color: var(--pm-bg-base) !important;
}
.x-keyboard-mode .x-splitter-focus::after {
border-color: var(--pm-accent) !important;
}
.x-layout-split-bottom {
opacity: 0.7;
}
.pve-toolbar-bg {
border-right: 1px solid var(--pm-border-subtle) !important;
z-index: 3 !important;
}
.x-treelist.x-treelist-pve-nav {
border-right: none !important;
}
/* ===== TOOLBARS ===== */
.x-toolbar, .x-toolbar-default {
background-color: var(--pm-bg-base) !important;
border-color: var(--pm-border-subtle) !important;
}
.x-toolbar-default.x-docked-top {
border: none !important;
border-bottom: 1px solid var(--pm-border-subtle) !important;
}
.x-toolbar-default .x-toolbar-separator {
border-color: var(--pm-border-subtle);
}
.x-toolbar-text-default {
color: var(--pm-text-muted);
}
/* ===== PRIMARY BUTTONS ===== */
.x-btn-default-small {
background-color: var(--pm-accent) !important;
border: 1px solid var(--pm-accent-muted) !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: #fff !important;
font-weight: 600 !important;
}
.x-btn-default-small .x-btn-icon-el {
color: #fff !important;
}
.x-btn-default-small.x-btn-over,
.x-keyboard-mode .x-btn-default-small.x-btn-focus {
background-color: var(--pm-accent-light) !important;
box-shadow: 0 0 0 3px var(--pm-accent-subtle) !important;
}
.x-btn-default-small.x-btn.x-btn-disabled {
background-color: var(--pm-accent) !important;
opacity: 0.4;
}
.x-btn-default-small.x-btn.x-btn-pressed {
background-color: var(--pm-accent-dark) !important;
}
/* Button height consistency - 28px */
.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;
}
.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;
}
.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;
}
.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;
}
.x-btn-icon-el.fa-desktop {
transform: translateY(1.1px) !important;
}
/* ===== SECONDARY / TOOLBAR BUTTONS ===== */
.x-btn-default-toolbar-small {
background-color: var(--pm-bg-surface) !important;
border: 1px solid var(--pm-border-subtle) !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(--pm-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(--pm-bg-elevated) !important;
border-color: var(--pm-border) !important;
}
.x-btn-default-toolbar-small.x-btn.x-btn-disabled {
background-color: var(--pm-bg-surface) !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(--pm-accent) !important;
border-color: var(--pm-accent) !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: #fff !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 */
.proxmox-inline-button {
height: 28px !important;
min-height: 28px !important;
display: flex !important;
align-items: center !important;
padding: 3px 8px !important;
background-color: var(--pm-bg-surface) !important;
border: 1px solid var(--pm-border-subtle) !important;
border-radius: var(--pm-radius-md) !important;
color: var(--pm-text) !important;
transition: background-color 0.15s ease !important;
}
.proxmox-inline-button:hover, .proxmox-inline-button.x-btn-over {
background-color: var(--pm-bg-elevated) !important;
border-color: var(--pm-border) !important;
}
.proxmox-inline-button:active, .proxmox-inline-button.x-btn-pressed {
background-color: var(--pm-bg-elevated) !important;
}
.proxmox-inline-button .x-btn-inner, .proxmox-inline-button .x-btn-icon-el {
color: var(--pm-text) !important;
}
.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: #fff !important;
}
/* ===== FORM ELEMENTS ===== */
.x-form-trigger-default {
background-color: var(--pm-bg-surface) !important;
}
.x-form-text-default {
background-color: var(--pm-bg-surface) !important;
color: var(--pm-text) !important;
border-radius: var(--pm-radius-sm) !important;
}
.x-form-trigger-wrap, .x-form-trigger-wrap-default {
border-color: var(--pm-border-subtle) !important;
background-color: var(--pm-bg-surface) !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(--pm-accent) !important;
box-shadow: 0 0 0 3px var(--pm-accent-subtle) !important;
}
.x-form-item-label-default, .x-form-cb-label-default {
color: var(--pm-text) !important;
}
.x-form-display-field-default {
color: var(--pm-text-muted) !important;
border-radius: var(--pm-radius-md) !important;
}
.x-form-spinner-default {
background-color: var(--pm-bg-surface) !important;
}
.x-fieldset, .x-fieldset-default {
border-color: var(--pm-border-subtle) !important;
border-radius: var(--pm-radius-lg) !important;
}
.x-fieldset-header-default > .x-fieldset-header-text {
color: var(--pm-text) !important;
}
/* ===== CHECKBOXES & RADIOS ===== */
.x-form-checkbox, .x-form-checkbox-default,
.x-form-radio, .x-form-radio-default {
background-image: none !important;
background-color: var(--pm-bg-surface) !important;
border: 1.5px solid var(--pm-text-muted) !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;
}
.x-form-checkbox, .x-form-checkbox-default {
border-radius: 3px !important;
}
.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;
}
.x-form-checkbox:hover, .x-form-checkbox-default:hover,
.x-form-cb-wrap:hover .x-form-checkbox,
.x-form-radio:hover, .x-form-radio-default:hover,
.x-form-cb-wrap:hover .x-form-radio {
border-color: var(--pm-accent) !important;
}
.x-form-cb-checked .x-form-checkbox, .x-form-cb-checked .x-form-checkbox-default {
background-color: var(--pm-accent) !important;
border-color: var(--pm-accent) !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='%230f172a' 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;
}
.x-form-cb-checked .x-form-radio, .x-form-cb-checked .x-form-radio-default {
border-color: var(--pm-accent) !important;
background-color: var(--pm-bg-base) !important;
}
.x-form-cb-checked .x-form-radio::after {
background: var(--pm-accent) !important;
transform: translate(-50%, -50%) scale(1) !important;
}
/* ===== BOUNDLIST / DROPDOWNS ===== */
.x-boundlist {
background-color: var(--pm-bg-surface) !important;
border: 1px solid var(--pm-border) !important;
border-radius: var(--pm-radius-md) !important;
box-shadow: 0 8px 24px rgba(15, 23, 42, 0.7) !important;
padding: 2px !important;
overflow: hidden !important;
}
.x-boundlist-item {
background-color: transparent !important;
color: var(--pm-text) !important;
border-radius: var(--pm-radius-sm) !important;
padding: 4px 8px !important;
line-height: normal !important;
border: none !important;
cursor: pointer !important;
outline: none !important;
box-shadow: none !important;
}
.x-boundlist-selected {
background-color: var(--pm-select-overlay) !important;
color: var(--pm-text) !important;
}
.x-boundlist-item-over {
background-color: var(--pm-hover-overlay) !important;
}
/* ===== GRIDS / TABLES ===== */
.x-grid, .x-grid-view {
border-radius: 0 !important;
}
.x-column-header {
border-color: var(--pm-border-subtle) !important;
background-color: transparent !important;
}
.x-column-header-inner, .x-column-header-text {
color: var(--pm-text) !important;
font-weight: 600 !important;
}
.x-column-header-trigger {
border-color: var(--pm-border-subtle) !important;
}
.x-grid-item, .x-column-header-default, .x-grid-cell-row-numberer {
color: var(--pm-text) !important;
background-color: var(--pm-bg-base) !important;
}
.x-grid-cell-special {
border-color: var(--pm-border-subtle) !important;
}
.x-grid-group-hd {
background-color: var(--pm-bg-base) !important;
border-color: var(--pm-border-subtle) !important;
}
.x-grid-group-title {
color: var(--pm-text) !important;
}
.x-grid-header-ct {
background-color: var(--pm-bg-surface) !important;
border: 1px solid var(--pm-border-subtle) !important;
border-radius: var(--pm-radius-lg) var(--pm-radius-lg) 0 0 !important;
}
.x-grid-item-alt {
background-color: rgba(15, 23, 42, 0.5) !important;
}
.x-grid-with-row-lines .x-grid-item {
border-color: var(--pm-border-subtle) !important;
}
.x-grid-cell {
border-bottom: 1px solid rgba(48, 54, 61, 0.4) !important;
}
.x-grid-item-over, .x-grid-with-row-lines .x-grid-item.x-grid-item-over {
background-color: var(--pm-hover-overlay) !important;
}
.x-grid-item-selected, .x-grid-with-row-lines .x-grid-item.x-grid-item-selected {
background-color: var(--pm-select-overlay) !important;
}
.x-column-header-over, .x-column-header-open {
background-color: var(--pm-hover-overlay) !important;
}
.x-column-header-sort-ASC, .x-column-header-sort-DESC {
background-color: var(--pm-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(--pm-bg-base) !important;
border-color: var(--pm-border-subtle);
}
.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(--pm-border-subtle) !important;
}
.x-dd-drag-proxy {
background-color: var(--pm-bg-surface);
border-color: var(--pm-border-subtle);
color: var(--pm-text);
}
.x-keyboard-mode .x-grid-item-focused {
background-color: var(--pm-hover-overlay) !important;
color: var(--pm-text) !important;
}
/* Remove focus outlines */
.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(--pm-bg-base) !important;
color: var(--pm-text-muted) !important;
}
.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 */
.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(--pm-bg-surface) !important;
border: 1px solid var(--pm-border) !important;
border-radius: var(--pm-radius-lg) !important;
box-shadow: 0 8px 24px rgba(15, 23, 42, 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(--pm-text) !important;
}
.x-menu-icon-separator-default {
display: none !important;
}
/* Menu item layout (Issue #24 fix) */
.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(--pm-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(--pm-text-muted) !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(--pm-border-subtle) !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(--pm-bg-elevated) !important;
color: var(--pm-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(--pm-text) !important;
}
.x-menu-item-active .x-menu-item-icon-default,
.x-menu-item-focus .x-menu-item-icon-default {
color: var(--pm-info) !important;
}
/* ===== PROGRESS BARS ===== */
.x-container[id^="pmxInfoWidget"], .x-container.x-box-layout-ct {
overflow: visible !important;
}
.x-progress, .x-progress-default {
background-color: var(--pm-bg-surface) !important;
border-radius: 5px !important;
}
.x-progress-default .x-progress-bar-default {
background-color: var(--pm-accent) !important;
border-radius: 5px !important;
transition: width 0.4s ease !important;
}
.x-progress-default .x-progress-text {
color: var(--pm-text) !important;
}
.x-progress-bar .x-progress-text {
color: #fff !important;
}
.x-progress.warning .x-progress-bar {
background-color: var(--pm-warning) !important;
}
.x-progress.critical .x-progress-bar {
background-color: var(--pm-error) !important;
}
/* ===== TABS ===== */
.x-tab-bar, .x-tab-bar-default {
background-color: var(--pm-bg-base) !important;
border-radius: 0 !important;
border-bottom: 1px solid var(--pm-border-subtle) !important;
padding-bottom: 0 !important;
}
.x-tab-bar .x-box-inner, .x-tab-bar .x-box-target,
.x-tab-bar-body, .x-tab-bar-body-default {
overflow: visible !important;
}
.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;
}
.x-tab::after {
display: none !important;
}
.x-tab-inner-default {
color: var(--pm-text-muted) !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(--pm-text) !important;
}
.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;
}
/* Blue underline indicator */
.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(--pm-accent) !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(--pm-text) !important;
font-weight: 600 !important;
}
.x-tab-default.x-tab.x-tab-disabled {
background-color: transparent !important;
border: none !important;
color: var(--pm-text-muted) !important;
margin-bottom: 0 !important;
}
.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(--pm-accent) !important;
z-index: 10 !important;
pointer-events: none !important;
}
.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;
}
.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(--pm-bg-elevated) !important;
border: 1px solid var(--pm-border) !important;
border-radius: var(--pm-radius-md) !important;
box-shadow: 0 4px 12px rgba(15, 23, 42, 0.5);
}
.x-tip-body-default {
color: var(--pm-text) !important;
}
.x-tip-form-invalid {
background-color: var(--pm-bg-elevated) !important;
border-color: var(--pm-error) !important;
}
.x-tip-body-form-invalid {
color: var(--pm-error) !important;
}
/* ===== TREE NAVIGATION (Sidebar) ===== */
.x-treelist-item {
background-color: var(--pm-bg-base) !important;
border-radius: var(--pm-radius-md) !important;
}
.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;
}
.x-treelist-item-text {
margin-left: 28px !important;
}
.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(--pm-text-dim) !important;
}
.x-treelist-row-over {
background-color: transparent !important;
}
.x-treelist-row-over::before {
background-color: var(--pm-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(--pm-text) !important;
}
.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(--pm-accent) !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: #fff !important;
}
.x-treelist-pve-nav {
background-color: var(--pm-bg-base) !important;
border-color: var(--pm-border-subtle) !important;
}
.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;
}
.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;
}
/* ===== TREE EXPANDER ARROWS ===== */
.x-tree-expander {
background-image: none !important;
position: relative !important;
width: 18px !important;
height: 18px !important;
margin-right: 4px !important;
vertical-align: middle !important;
}
.x-tree-expander::before {
content: "\f054" !important;
font-family: "FontAwesome" !important;
font-size: 11px !important;
color: var(--pm-text-muted) !important;
position: absolute !important;
top: -2px !important;
left: 3px !important;
transition: transform 0.2s ease, color 0.15s ease !important;
}
.x-grid-tree-node-expanded .x-tree-expander::before {
transform: rotate(90deg) !important;
color: var(--pm-text-dim) !important;
}
tr:not(.x-grid-tree-node-expanded) .x-tree-expander::before {
transform: rotate(0deg) !important;
}
.x-tree-expander:hover::before {
color: var(--pm-accent) !important;
}
/* ===== WINDOWS / MODALS ===== */
.x-window, .x-window-default {
background-color: var(--pm-bg-base) !important;
border: 1px solid var(--pm-border-subtle) !important;
border-radius: var(--pm-radius-lg) !important;
box-shadow: 0 8px 24px rgba(15, 23, 42, 0.6) !important;
overflow: hidden !important;
}
.x-window .x-window-header, .x-window-header-default {
background-color: var(--pm-bg-surface) !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(15, 23, 42, 0.7);
}
.x-window .x-window-body, .x-window-body-default {
background-color: var(--pm-bg-base) !important;
border-color: var(--pm-border-subtle) !important;
color: var(--pm-text) !important;
border-radius: 0 0 var(--pm-radius-lg) var(--pm-radius-lg) !important;
}
.x-window-ghost {
background-color: var(--pm-bg-base) !important;
}
.x-window-header-default .x-tool-img {
background-color: transparent;
}
.x-message-box .x-window-body {
background-color: var(--pm-bg-surface) !important;
}
/* Respect display:none on hidden 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 */
.x-window:has(#pveloginrealm) .x-panel-body {
border: none !important;
background: transparent !important;
width: auto !important;
}
/* ===== CONSOLE / TERMINAL ===== */
div.monitor {
border-color: var(--pm-border-subtle);
}
.install-mask {
background-color: var(--pm-bg-base);
color: var(--pm-text-muted);
}
.x-window.install-mask {
box-shadow: rgba(15, 23, 42, 0.5) 0 4px 20px !important;
}
/* ===== LEGEND / CHARTS ===== */
.x-legend-container {
background-color: var(--pm-bg-base) !important;
}
.x-legend-horizontal .x-legend-item {
background-color: var(--pm-bg-surface) !important;
color: var(--pm-text) !important;
border: 1px solid var(--pm-border-subtle) !important;
}
div[id*="rrdchart"], .pve-rrddatastore, .pmx-panel-rrd {
background-color: var(--pm-bg-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(--pm-bg-base) !important;
}
.x-surface text, svg text {
fill: var(--pm-text) !important;
}
/* ===== PROXMOX-SPECIFIC OVERRIDES ===== */
img[id^="proxmoxlogo-"][id$="-img"],
img[id^="proxmoxLogoSvg-"][id$="-img"] {
filter: invert(1) hue-rotate(180deg);
}
.proxmox-invalid-row {
background-color: rgba(239, 68, 68, 0.15) !important;
}
.proxmox-warning-row {
background-color: rgba(245, 158, 11, 0.15) !important;
}
.proxmox-disabled-row td {
color: var(--pm-text-muted) !important;
}
.pmx-hint {
background-color: rgba(245, 158, 11, 0.15) !important;
white-space: nowrap !important;
}
.pmx-hint a {
color: var(--pm-info) !important;
}
.info-blue {
color: var(--pm-info) !important;
}
.critical {
color: var(--pm-error) !important;
}
a {
color: var(--pm-info) !important;
}
/* Markdown content */
.pmx-md code {
background-color: var(--pm-bg-surface) !important;
color: var(--pm-accent-light) !important;
border-radius: var(--pm-radius-sm) !important;
}
.pmx-md pre code {
border-color: var(--pm-border-subtle) !important;
background-color: var(--pm-bg-base) !important;
}
.pmx-md a {
color: var(--pm-info) !important;
}
.pmx-md table {
border-color: var(--pm-border-subtle) !important;
}
.pmx-md th {
background-color: var(--pm-bg-surface) !important;
border-color: var(--pm-border-subtle) !important;
}
.pmx-md td {
border-color: var(--pm-border-subtle) !important;
}
/* APT repos */
.proxmox-apt-repos .x-grid-group-hd {
background-color: var(--pm-bg-base) !important;
border: none !important;
}
.proxmox-apt-repos .x-grid-group-title {
color: var(--pm-text) !important;
}
/* Tags */
.pve-edit-tag {
border-radius: var(--pm-radius-md) !important;
}
.pve-edit-tag.editable span {
background-color: var(--pm-bg-surface) !important;
color: var(--pm-text) !important;
border-color: var(--pm-border-subtle) !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 */
.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(--pm-accent) !important;
border: none !important;
}
.x-btn.x-btn-default-small:has(.fa-check).x-btn-disabled {
background-color: transparent !important;
border: 1px solid var(--pm-border-subtle) !important;
opacity: 0.5 !important;
}
.x-btn.x-btn-default-small:has(.fa-check) .fa-check {
color: #fff !important;
}
.x-btn.x-btn-default-small:has(.fa-check).x-btn-disabled .fa-check {
color: var(--pm-text-muted) !important;
}
.x-btn.x-btn-default-small:has(.fa-check):not(.x-btn-disabled):hover {
background-color: var(--pm-accent-light) !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(--pm-bg-base) !important;
color: var(--pm-text) !important;
border-color: transparent !important;
}
.x-datepicker-header, .x-datepicker-footer, .x-monthpicker-buttons {
background-color: var(--pm-bg-surface) !important;
}
.x-datepicker-date, .x-monthpicker-item-inner {
color: var(--pm-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(--pm-hover-overlay) !important;
color: var(--pm-text) !important;
}
.x-datepicker-today .x-datepicker-date {
border-color: var(--pm-accent) !important;
}
.x-datepicker-disabled .x-datepicker-date {
color: var(--pm-text-muted) !important;
}
.x-datepicker-prev-day .x-datepicker-date,
.x-datepicker-next-day .x-datepicker-date {
color: var(--pm-text-muted) !important;
}
/* Usage bars */
.usage-wrapper, .usage {
border-radius: 2px !important;
}
.usage {
background-color: var(--pm-text-muted) !important;
}
/* ===== TOOL ICONS - FontAwesome Replacements ===== */
.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;
}
.x-tool-tool-el.x-tool-close, .x-tool-img.x-tool-close {
font-size: 20px !important;
}
.x-tool-tool-el.x-tool-minus::before, .x-tool-img.x-tool-minus::before {
content: "\f010" !important;
}
.x-tool-tool-el.x-tool-collapse-right::before, .x-tool-img.x-tool-collapse-right::before {
content: "\f054" !important;
}
.x-tool-tool-el.x-tool-expand-left::before, .x-tool-img.x-tool-expand-left::before {
content: "\f053" !important;
}
.x-tool-tool-el.x-tool-collapse-left::before, .x-tool-img.x-tool-collapse-left::before {
content: "\f053" !important;
}
.x-tool-tool-el.x-tool-expand-right::before, .x-tool-img.x-tool-expand-right::before {
content: "\f054" !important;
}
.x-tool-tool-el.x-tool-maximize::before, .x-tool-img.x-tool-maximize::before {
content: "\f065" !important;
}
.x-tool-tool-el.x-tool-restore::before, .x-tool-img.x-tool-restore::before {
content: "\f066" !important;
}
.x-tool-tool-el.x-tool-gear::before, .x-tool-img.x-tool-gear::before {
content: "\f013" !important;
}
.x-tool-tool-el.x-tool-refresh::before, .x-tool-img.x-tool-refresh::before {
content: "\f021" !important;
}
.x-tool-tool-el.x-tool-close::before, .x-tool-img.x-tool-close::before {
content: "\f00d" !important;
}
/* Hover state */
.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;
}
.x-tool-disabled .x-tool-tool-el, .x-tool-disabled .x-tool-img {
opacity: 0.4 !important;
cursor: default !important;
}
/* Inline FA tools */
.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;
}
/* ===== SCROLLBARS ===== */
::-webkit-scrollbar {
width: 8px;
height: 8px;
}
::-webkit-scrollbar-track {
background: var(--pm-bg-base);
border-radius: var(--pm-radius-sm);
}
::-webkit-scrollbar-thumb {
background: var(--pm-border);
border-radius: var(--pm-radius-sm);
border: 1px solid transparent;
background-clip: padding-box;
}
::-webkit-scrollbar-thumb:hover {
background: var(--pm-text-muted);
}
::-webkit-scrollbar-corner {
background: var(--pm-bg-base);
}
* {
scrollbar-width: thin;
scrollbar-color: var(--pm-border) var(--pm-bg-base);
}
/* ===== SELECTION HIGHLIGHT ===== */
::selection {
background-color: rgba(59, 130, 246, 0.3);
color: var(--pm-text);
}
/* ===== TRANSITIONS ===== */
.x-grid-item {
transition: background-color 0.15s ease !important;
}
.x-treelist-row::before {
transition: background-color 0.15s ease !important;
}
.x-menu-item-default > .x-menu-item-link {
transition: background-color 0.12s ease !important;
}
.x-boundlist-item {
transition: background-color 0.12s ease !important;
}
.x-tab {
transition: color 0.15s ease !important;
}
.x-splitter {
transition: background-color 0.15s ease !important;
}
.x-tip {
transition: opacity 0.15s ease !important;
}
.x-progress-bar {
transition: width 0.4s ease !important;
}
.x-tool-img {
transition: filter 0.15s ease !important;
}