Files
apmanageur/themes/winxp.css
T

451 lines
15 KiB
CSS

/* ============================================================
Thème Windows XP (Luna Edition) - Variables
============================================================ */
html[data-theme="winxp"] {
--bg: #225ad9;
--panel: #ece9d8;
--panel2: #ffffff;
--line: #7f9db9;
--text: #000000;
--muted: #49546a;
--blue: #0055ea;
--blue-text: #ffffff;
--red: #cc1111;
--green: #2e8b22;
--yellow: #f57c00;
}
/* ============================================================
Thème Windows XP (Luna Edition)
============================================================ */
html[data-theme="winxp"] body {
background: #1c52b5 linear-gradient(180deg, #1855a8 0%, #2f75d6 28%, #5da2e7 52%, #8ec0ee 64%, #4ea824 64.2%, #388a1b 76%, #286612 100%) fixed no-repeat !important;
background-size: cover !important;
font-family: 'Tahoma', 'Segoe UI', system-ui, sans-serif !important;
color: #000000 !important;
}
html[data-theme="winxp"] header {
background: linear-gradient(180deg, #0058e6 0%, #3b88fc 12%, #2c6cf5 40%, #004fe4 88%, #0036a4 100%) !important;
padding: 12px 18px !important;
border-radius: 8px 8px 0 0 !important;
border: 1px solid #002277 !important;
border-bottom: 2px solid #002277 !important;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.45) !important;
color: #ffffff !important;
}
html[data-theme="winxp"] header h1 {
color: #ffffff !important;
font-weight: 700 !important;
text-shadow: 1px 1px 2px #001f5c !important;
font-family: 'Tahoma', 'Segoe UI', sans-serif !important;
}
html[data-theme="winxp"] header .sub {
color: #d6e5ff !important;
text-shadow: 1px 1px 1px #001f5c !important;
}
html[data-theme="winxp"] nav:not(.stepper-nav) {
background: linear-gradient(180deg, #245edb 0%, #3a79f6 10%, #1e52c8 90%, #0d3aa9 100%) !important;
padding: 8px 12px !important;
border-radius: 0 0 6px 6px !important;
border: 1px solid #002277 !important;
border-top: 0 !important;
box-shadow: 0 3px 8px rgba(0, 0, 0, 0.35) !important;
}
/* Barre d'étapes du Setup en thème Windows XP (contraste élevé) */
html[data-theme="winxp"] nav.stepper-nav {
background: transparent !important;
border: none !important;
box-shadow: none !important;
padding: 0 !important;
}
html[data-theme="winxp"] .step-item {
border-radius: 4px !important;
border: 1px solid transparent !important;
}
html[data-theme="winxp"] .step-item .step-label {
color: #49546a !important;
}
html[data-theme="winxp"] .step-item .step-title-text {
color: #000000 !important;
}
html[data-theme="winxp"] .step-item.active {
background: linear-gradient(180deg, #316ac5 0%, #1f55b8 100%) !important;
border: 1px solid #003c74 !important;
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 1px 4px rgba(0, 0, 0, 0.2) !important;
}
html[data-theme="winxp"] .step-item.active .step-label {
color: #dbe8ff !important;
}
html[data-theme="winxp"] .step-item.active .step-title-text {
color: #ffffff !important;
text-shadow: 0 1px 1px rgba(0, 31, 92, 0.65) !important;
}
html[data-theme="winxp"] .step-item.active .step-badge {
background: #ffffff !important;
color: #0055ea !important;
border-color: #ffffff !important;
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25) !important;
}
html[data-theme="winxp"] nav button,
html[data-theme="winxp"] nav button.secondary {
background: linear-gradient(180deg, #ffffff 0%, #ecebe5 15%, #d8d6c7 85%, #b4b2a3 100%) !important;
color: #000000 !important;
border: 1px solid #003c74 !important;
border-radius: 3px !important;
font-weight: 600 !important;
box-shadow: inset 0 1px 0 #ffffff !important;
}
html[data-theme="winxp"] nav button.active {
background: linear-gradient(180deg, #3c9c37 0%, #46bd41 12%, #389e34 75%, #257820 100%) !important;
color: #ffffff !important;
border: 1px solid #1a5715 !important;
border-radius: 4px !important;
text-shadow: 1px 1px 2px #0f3d0c !important;
box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.65), 0 2px 6px rgba(0, 0, 0, 0.3) !important;
}
html[data-theme="winxp"] .card {
background: #ece9d8 !important;
border: 1px solid #0055ea !important;
border-radius: 6px !important;
box-shadow: 2px 2px 12px rgba(0, 0, 0, 0.35), inset 1px 1px 0 #ffffff !important;
color: #000000 !important;
}
html[data-theme="winxp"] h2,
html[data-theme="winxp"] h3,
html[data-theme="winxp"] .card-title,
html[data-theme="winxp"] .label {
color: #003399 !important;
font-family: 'Tahoma', 'Segoe UI', sans-serif !important;
font-weight: 700 !important;
}
html[data-theme="winxp"] button,
html[data-theme="winxp"] .header-actions button {
background: linear-gradient(180deg, #ffffff 0%, #ecebe5 15%, #d8d6c7 85%, #b4b2a3 100%) !important;
color: #000000 !important;
border: 1px solid #003c74 !important;
border-radius: 4px !important;
box-shadow: inset 0 1px 0 #ffffff, inset 0 -1px 0 #d8d6c7, 0 1px 2px rgba(0, 0, 0, 0.15) !important;
font-family: 'Tahoma', 'Segoe UI', sans-serif !important;
font-weight: 600 !important;
transition: none !important;
}
html[data-theme="winxp"] button:hover:not(:disabled),
html[data-theme="winxp"] .header-actions button:hover:not(:disabled) {
background: linear-gradient(180deg, #fff7d8 0%, #fedc84 50%, #fec85a 51%, #ffbe43 100%) !important;
border-color: #e59700 !important;
box-shadow: inset 0 1px 0 #fffdf0, 0 1px 3px rgba(229, 151, 0, 0.35) !important;
color: #000000 !important;
}
html[data-theme="winxp"] button:active:not(:disabled),
html[data-theme="winxp"] .header-actions button:active:not(:disabled) {
background: linear-gradient(180deg, #d3d1c1 0%, #e2dfcf 40%, #eae8dc 100%) !important;
box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.25) !important;
}
html[data-theme="winxp"] button.secondary {
background: linear-gradient(180deg, #ffffff 0%, #ecebe5 15%, #d8d6c7 85%, #b4b2a3 100%) !important;
color: #000000 !important;
border: 1px solid #7f9db9 !important;
}
html[data-theme="winxp"] #authSubmit,
html[data-theme="winxp"] #saveCustomization,
html[data-theme="winxp"] .btn-primary {
background: linear-gradient(180deg, #3c9c37 0%, #46bd41 14%, #389e34 70%, #257820 100%) !important;
border: 1px solid #1a5715 !important;
color: #ffffff !important;
font-weight: 700 !important;
text-shadow: 1px 1px 2px #0f3d0c !important;
box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.65), 0 2px 4px rgba(0, 0, 0, 0.3) !important;
}
html[data-theme="winxp"] #authSubmit:hover,
html[data-theme="winxp"] #saveCustomization:hover,
html[data-theme="winxp"] .btn-primary:hover {
background: linear-gradient(180deg, #4ec248 0%, #59db53 14%, #44b63f 70%, #2c9126 100%) !important;
border-color: #1e6417 !important;
color: #ffffff !important;
}
html[data-theme="winxp"] #btnStop,
html[data-theme="winxp"] button.danger,
html[data-theme="winxp"] .btn-danger {
background: linear-gradient(180deg, #f48074 0%, #e04434 15%, #c82818 70%, #9a180a 100%) !important;
border: 1px solid #7a1005 !important;
color: #ffffff !important;
text-shadow: 1px 1px 1px #5a0a04 !important;
}
html[data-theme="winxp"] input[type="text"],
html[data-theme="winxp"] input[type="password"],
html[data-theme="winxp"] input[type="number"],
html[data-theme="winxp"] select,
html[data-theme="winxp"] textarea {
background: #ffffff !important;
border: 1px solid #7f9db9 !important;
color: #000000 !important;
border-radius: 2px !important;
box-shadow: inset 1px 1px 2px rgba(0, 0, 0, 0.15) !important;
font-family: 'Tahoma', 'Segoe UI', sans-serif !important;
}
html[data-theme="winxp"] input:focus,
html[data-theme="winxp"] select:focus,
html[data-theme="winxp"] textarea:focus {
outline: none !important;
border-color: #0055ea !important;
box-shadow: inset 1px 1px 2px rgba(0, 0, 0, 0.2), 0 0 3px rgba(0, 85, 234, 0.5) !important;
}
html[data-theme="winxp"] table {
background: #ffffff !important;
border: 1px solid #7f9db9 !important;
color: #000000 !important;
}
html[data-theme="winxp"] th {
background: linear-gradient(180deg, #ffffff 0%, #ebe9d8 100%) !important;
color: #000000 !important;
border-right: 1px solid #d4d0c8 !important;
border-bottom: 2px solid #7f9db9 !important;
font-weight: 700 !important;
}
html[data-theme="winxp"] td {
border-bottom: 1px solid #e0dfd6 !important;
color: #000000 !important;
}
html[data-theme="winxp"] tr:hover td {
background: #316ac5 !important;
color: #ffffff !important;
}
html[data-theme="winxp"] tr:hover td a,
html[data-theme="winxp"] tr:hover td span:not([class*="badge"]):not([class*="pill"]):not([class*="proto"]) {
color: #ffffff !important;
}
html[data-theme="winxp"] .modal-overlay {
background: rgba(0, 30, 80, 0.45) !important;
backdrop-filter: blur(2px) !important;
}
html[data-theme="winxp"] .modal-card {
background: #ece9d8 !important;
border: 3px solid #0055ea !important;
border-radius: 8px 8px 3px 3px !important;
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.55), inset 1px 1px 0 #ffffff !important;
color: #000000 !important;
}
html[data-theme="winxp"] #authView .card,
html[data-theme="winxp"] #setupView .card {
background: #ece9d8 !important;
border: 3px solid #0055ea !important;
border-radius: 8px !important;
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5) !important;
color: #000000 !important;
font-family: 'Tahoma', 'Segoe UI', sans-serif !important;
}
html[data-theme="winxp"] #authView h1,
html[data-theme="winxp"] #authView h2,
html[data-theme="winxp"] #authView .sub {
color: #003399 !important;
font-family: 'Tahoma', 'Segoe UI', sans-serif !important;
font-weight: 700 !important;
text-shadow: none !important;
}
html[data-theme="winxp"] #authView .muted,
html[data-theme="winxp"] #authView label,
html[data-theme="winxp"] #authView .label {
color: #333333 !important;
font-family: 'Tahoma', sans-serif !important;
}
html[data-theme="winxp"] #authView input[type="text"],
html[data-theme="winxp"] #authView input[type="password"],
html[data-theme="winxp"] #authThemeSelect {
background: #ffffff !important;
border: 1px solid #7f9db9 !important;
border-radius: 3px !important;
color: #000000 !important;
font-family: 'Tahoma', sans-serif !important;
box-shadow: inset 1px 1px 2px rgba(0, 0, 0, 0.15) !important;
}
html[data-theme="winxp"] #toggleAuthPassword {
background: linear-gradient(180deg, #ffffff 0%, #ecebe5 15%, #d8d6c7 85%, #b4b2a3 100%) !important;
border: 1px solid #003c74 !important;
border-radius: 3px !important;
color: #000000 !important;
box-shadow: inset 0 1px 0 #ffffff, inset 0 -1px 0 #d8d6c7, 0 1px 2px rgba(0, 0, 0, 0.15) !important;
}
html[data-theme="winxp"] #toggleAuthPassword:hover {
background: linear-gradient(180deg, #fff2be 0%, #ffdf79 12%, #ffcf45 75%, #f6b509 100%) !important;
border-color: #e5a000 !important;
}
html[data-theme="winxp"] #authSubmit {
background: linear-gradient(180deg, #3c9c37 0%, #46bd41 12%, #389e34 75%, #257820 100%) !important;
border: 1px solid #1a5715 !important;
border-radius: 4px !important;
color: #ffffff !important;
font-family: 'Tahoma', 'Segoe UI', sans-serif !important;
font-weight: 700 !important;
text-shadow: 1px 1px 1px #0f3d0c !important;
box-shadow: inset 1px 1px 0 rgba(255, 255, 255, 0.45), 0 2px 4px rgba(0, 0, 0, 0.3) !important;
}
html[data-theme="winxp"] #authSubmit:hover {
background: linear-gradient(180deg, #4ed348 0%, #54d84f 12%, #42b23d 75%, #2d9226 100%) !important;
box-shadow: inset 1px 1px 0 rgba(255, 255, 255, 0.6), 0 0 8px rgba(70, 189, 65, 0.6) !important;
}
html[data-theme="winxp"] #authPasskeyDivider span {
color: #49546a !important;
font-family: 'Tahoma', sans-serif !important;
font-size: 11px !important;
}
html[data-theme="winxp"] #authPasskeyDivider div {
background: #7f9db9 !important;
}
html[data-theme="winxp"] #btnAuthPasskey {
background: linear-gradient(180deg, #ffffff 0%, #ecebe5 15%, #d8d6c7 85%, #b4b2a3 100%) !important;
border: 1px solid #003c74 !important;
border-radius: 4px !important;
color: #003399 !important;
font-family: 'Tahoma', 'Segoe UI', sans-serif !important;
font-weight: 700 !important;
box-shadow: inset 0 1px 0 #ffffff, inset 0 -1px 0 #d8d6c7, 0 1px 2px rgba(0, 0, 0, 0.15) !important;
}
html[data-theme="winxp"] #btnAuthPasskey:hover {
background: linear-gradient(180deg, #fff2be 0%, #ffdf79 12%, #ffcf45 75%, #f6b509 100%) !important;
border-color: #e5a000 !important;
color: #000000 !important;
box-shadow: inset 0 1px 0 #ffffff, 0 0 6px rgba(246, 181, 9, 0.5) !important;
}
html[data-theme="winxp"] #authPasskeyInfo {
color: #49546a !important;
font-family: 'Tahoma', sans-serif !important;
}
html[data-theme="winxp"] .settings-nav-btn {
background: linear-gradient(180deg, #ffffff 0%, #ecebe5 15%, #d8d6c7 85%, #b4b2a3 100%) !important;
color: #000000 !important;
border: 1px solid #7f9db9 !important;
}
html[data-theme="winxp"] .settings-nav-btn.active {
background: linear-gradient(180deg, #3c9c37 0%, #46bd41 12%, #389e34 75%, #257820 100%) !important;
color: #ffffff !important;
border: 1px solid #1a5715 !important;
text-shadow: 1px 1px 1px #0f3d0c !important;
}
html[data-theme="winxp"] .notice {
background: #ffffdf !important;
border: 1px solid #dcd9a0 !important;
color: #333300 !important;
border-radius: 4px !important;
}
html[data-theme="winxp"] .pill,
html[data-theme="winxp"] .badge {
border: 1px solid #7f9db9 !important;
font-family: 'Tahoma', sans-serif !important;
}
html[data-theme="winxp"] #updated,
html[data-theme="winxp"] #topoUpdated,
html[data-theme="winxp"] #statsChartUpdated,
html[data-theme="winxp"] #statsTrafficUpdated,
html[data-theme="winxp"] #statsHistoryUpdated,
html[data-theme="winxp"] #captureUpdated,
html[data-theme="winxp"] #logsUpdated,
html[data-theme="winxp"] #blockedUpdated,
html[data-theme="winxp"] .pill-updated,
html[data-theme="winxp"] .pill-green {
background: #d4f0d0 !important;
color: #1a5715 !important;
border: 1px solid #388a1b !important;
}
html[data-theme="winxp"] .lang-card {
background: #ffffff !important;
border: 1px solid #7f9db9 !important;
color: #000000 !important;
}
html[data-theme="winxp"] .lang-card.active {
border: 2px solid #0055ea !important;
background: #eef3ff !important;
box-shadow: 0 0 8px rgba(0, 85, 234, 0.3) !important;
}
html[data-theme="winxp"] .topo-map-card,
html[data-theme="winxp"] .topo-client-body {
background: #ffffff !important;
color: #000000 !important;
border-color: #7f9db9 !important;
}
html[data-theme="winxp"] ::-webkit-scrollbar {
width: 16px;
height: 16px;
}
html[data-theme="winxp"] ::-webkit-scrollbar-track {
background: #ece9d8;
border: 1px solid #d4d0c8;
}
html[data-theme="winxp"] ::-webkit-scrollbar-thumb {
background: linear-gradient(180deg, #ffffff 0%, #ecebe5 15%, #d8d6c7 85%, #b4b2a3 100%);
border: 1px solid #7f9db9;
border-radius: 2px;
box-shadow: inset 1px 1px 0 #ffffff;
}
html[data-theme="winxp"] ::-webkit-scrollbar-thumb:hover {
background: linear-gradient(180deg, #fff7d8 0%, #fedc84 50%, #fec85a 51%, #ffbe43 100%);
border-color: #e59700;
}
html[data-theme="winxp"] .stats-range-btn.active,
html[data-theme="winxp"] .filter-chip.active,
html[data-theme="winxp"] .pagination-btns button.active,
html[data-theme="winxp"] .pagination button.active {
background: linear-gradient(180deg, #316ac5 0%, #1f55b8 100%) !important;
border-color: #003c74 !important;
color: #ffffff !important;
font-weight: 700 !important;
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35) !important;
}