« MediaWiki:Citizen.css » : différence entre les versions
Page de l’interface de MediaWiki
Autres actions
mAucun résumé des modifications |
TableColors |
||
| Ligne 33 : | Ligne 33 : | ||
} | } | ||
/* === Couleurs de tableaux modernes === */ | |||
/* Transition douce au survol */ | |||
.table-color-cell { | |||
transition: all 0.2s ease; | |||
} | |||
/* Effet au survol - légèrement plus foncé */ | |||
.wikitable tr:hover .table-color-cell { | |||
filter: brightness(0.95); | |||
} | |||
/* Support du mode sombre Citizen */ | |||
@media (prefers-color-scheme: dark) { | |||
.table-color-success { background-color: #1b4332 !important; color: #95d5b2 !important; } | |||
.table-color-danger { background-color: #641220 !important; color: #ffccd5 !important; } | |||
.table-color-warning { background-color: #664d03 !important; color: #ffe69c !important; } | |||
.table-color-info { background-color: #052c65 !important; color: #9ec5fe !important; } | |||
.table-color-secondary { background-color: #41464b !important; color: #e2e3e5 !important; } | |||
} | |||
/* Bordures subtiles */ | |||
.wikitable .table-color-cell { | |||
border-left: 3px solid rgba(0,0,0,0.1); | |||
} | |||
/* Accessibilité - focus clavier */ | |||
.table-color-cell:focus-within { | |||
outline: 2px solid currentColor; | |||
outline-offset: -2px; | |||
} | |||
/* | /* | ||