APmanageur Wi-Fi V1.0

This commit is contained in:
yoannmultigaming committed 2026-11-18 21:02:46 +01:00
1 parent 441c0db0c2
commit 7d04d142e4
2 files changed
+226 -10

No files matched your search

+108 -1
View File
@@ -632,13 +632,120 @@
user-select: none;
}
.check input[type="checkbox"],
.check input[type="radio"] {
width: auto !important;
margin: 0 !important;
flex-shrink: 0;
}
/* Windows 11 Fluent Design Toggle Switch pour les checkboxes */
input[type="checkbox"] {
appearance: none !important;
-webkit-appearance: none !important;
position: relative !important;
display: inline-block !important;
width: 40px !important;
height: 20px !important;
min-width: 40px !important;
max-width: 40px !important;
border-radius: 9999px !important;
background-color: rgba(255, 255, 255, 0.08) !important;
border: 1px solid var(--line, rgba(255, 255, 255, 0.35)) !important;
cursor: pointer !important;
outline: none !important;
vertical-align: middle !important;
margin: 0 !important;
flex-shrink: 0 !important;
box-sizing: border-box !important;
transition: background-color 0.2s cubic-bezier(0.4, 0, 0.2, 1),
border-color 0.2s cubic-bezier(0.4, 0, 0.2, 1),
box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
}
input[type="checkbox"]::before {
content: "" !important;
position: absolute !important;
top: 3px !important;
left: 3px !important;
width: 12px !important;
height: 12px !important;
border-radius: 50% !important;
background-color: var(--muted, #9aa8c5) !important;
transition: transform 0.2s cubic-bezier(0.2, 0.8, 0.4, 1),
width 0.15s ease,
background-color 0.2s ease !important;
}
/* Hover état désactivé */
input[type="checkbox"]:hover {
background-color: rgba(255, 255, 255, 0.14) !important;
border-color: rgba(255, 255, 255, 0.55) !important;
}
input[type="checkbox"]:hover::before {
background-color: var(--text, #ffffff) !important;
}
/* Clic maintenu (effet d'étirement Fluent Win11) */
input[type="checkbox"]:active::before {
width: 15px !important;
}
/* État Activé (Checked) */
input[type="checkbox"]:checked {
background-color: var(--blue, #38bdf8) !important;
border-color: var(--blue, #38bdf8) !important;
}
input[type="checkbox"]:checked::before {
transform: translateX(20px) !important;
background-color: #000000 !important;
}
input[type="checkbox"]:checked:hover {
filter: brightness(1.08) !important;
}
input[type="checkbox"]:checked:active::before {
transform: translateX(17px) !important;
width: 15px !important;
}
/* Focus navigation clavier */
input[type="checkbox"]:focus-visible {
box-shadow: 0 0 0 2px var(--bg, #071326), 0 0 0 4px var(--blue, #38bdf8) !important;
}
/* Disabled */
input[type="checkbox"]:disabled {
opacity: 0.4 !important;
cursor: not-allowed !important;
}
/* Adaptation thème clair */
html[data-theme="light"] input[type="checkbox"] {
background-color: rgba(0, 0, 0, 0.06) !important;
border-color: rgba(0, 0, 0, 0.28) !important;
}
html[data-theme="light"] input[type="checkbox"]::before {
background-color: #5c5c5c !important;
}
html[data-theme="light"] input[type="checkbox"]:hover {
background-color: rgba(0, 0, 0, 0.1) !important;
border-color: rgba(0, 0, 0, 0.45) !important;
}
html[data-theme="light"] input[type="checkbox"]:checked {
background-color: var(--blue, #0066da) !important;
border-color: var(--blue, #0066da) !important;
}
html[data-theme="light"] input[type="checkbox"]:checked::before {
background-color: #ffffff !important;
}
.settings-nav {
display: flex;
flex-wrap: wrap;