« MediaWiki:Timeless.css » : différence entre les versions
De WikiPerche
Aucun résumé des modifications |
Aucun résumé des modifications |
||
| Ligne 1 : | Ligne 1 : | ||
```css | ```css | ||
/* Tout CSS placé ici sera chargé avec les pages accédées par les utilisateurs | |||
de l'habillage Timeless */ | |||
/* ========================================================================== | /* ========================================================================== | ||
THÈME "PERCHE" — | THÈME "PERCHE" — TIMELESS | ||
Palette originale conservée | Palette originale conservée | ||
========================================================================== */ | ========================================================================== */ | ||
/* ========================================================================== | /* ========================================================================== | ||
PALETTE | 1. PALETTE | ||
========================================================================== */ | ========================================================================== */ | ||
:root { | :root { | ||
--perche- | --perche-bg: #F7F3EA; | ||
--perche- | --perche-white: #FFFFFF; | ||
--perche- | --perche-sand: #E9E0CC; | ||
--perche- | --perche-green-dark: #3B5B3E; | ||
--perche- | --perche-green: #5C7A4E; | ||
--perche- | --perche-green-light: #7A9471; | ||
--perche- | --perche-brown: #8A4B2E; | ||
--perche- | --perche-brown-dark: #6B3A22; | ||
--perche- | --perche-text: #2C2A26; | ||
} | } | ||
/* ========================================================================== | /* ========================================================================== | ||
FOND GÉNÉRAL | 2. FOND GÉNÉRAL | ||
========================================================================== */ | ========================================================================== */ | ||
| Ligne 42 : | Ligne 43 : | ||
/* ========================================================================== | /* ========================================================================== | ||
CONTENU PRINCIPAL | 3. CONTENU PRINCIPAL | ||
========================================================================== */ | ========================================================================== */ | ||
| Ligne 52 : | Ligne 53 : | ||
/* ========================================================================== | /* ========================================================================== | ||
EN-TÊTE | 4. EN-TÊTE | ||
========================================================================== */ | ========================================================================== */ | ||
| Ligne 67 : | Ligne 68 : | ||
} | } | ||
/* Texte et liens | /* Texte et liens dans l'en-tête */ | ||
.mw-header, | .mw-header, | ||
.mw-header a, | .mw-header a, | ||
| Ligne 84 : | Ligne 85 : | ||
/* ========================================================================== | /* ========================================================================== | ||
MENU PERSONNEL | 5. MENU PERSONNEL | ||
========================================================================== */ | ========================================================================== */ | ||
| Ligne 108 : | Ligne 109 : | ||
/* ========================================================================== | /* ========================================================================== | ||
PIED DE PAGE | 6. PIED DE PAGE | ||
========================================================================== */ | ========================================================================== */ | ||
| Ligne 129 : | Ligne 130 : | ||
/* ========================================================================== | /* ========================================================================== | ||
SIDEBARS / NAVIGATION | 7. SIDEBARS / NAVIGATION | ||
========================================================================== */ | ========================================================================== */ | ||
| Ligne 149 : | Ligne 150 : | ||
/* ========================================================================== | /* ========================================================================== | ||
LIENS DES SIDEBARS | 8. LIENS DES SIDEBARS | ||
========================================================================== */ | ========================================================================== */ | ||
| Ligne 192 : | Ligne 193 : | ||
/* ========================================================================== | /* ========================================================================== | ||
LIENS DANS LE CONTENU | 9. LIENS DANS LE CONTENU | ||
========================================================================== */ | ========================================================================== */ | ||
| Ligne 208 : | Ligne 209 : | ||
} | } | ||
/* ========================================================================== | |||
10. RÉFÉRENCES / SOURCES | |||
========================================================================== */ | |||
#content .reference a:hover, | |||
#content .reference a:focus, | |||
#content sup.reference a:hover, | |||
#content sup.reference a:focus, | |||
#content .mw-references a:hover, | |||
#content .mw-references a:focus { | |||
color: #3B5B3E !important; | |||
} | |||
/* ========================================================================== | |||
11. BORDURES ET SÉPARATEURS | |||
========================================================================== */ | |||
#content, | |||
.sidebar-inner, | |||
#mw-site-navigation { | |||
border-color: #7A9471 !important; | |||
} | |||
hr { | |||
border-color: #7A9471 !important; | |||
} | |||
/* ========================================================================== | |||
12. ÉLÉMENTS TECHNIQUES DU HEADER TIMELESS | |||
========================================================================== */ | |||
#mw-head-base, | |||
#mw-page-base { | |||
background-color: #3B5B3E !important; | |||
} | |||
.mw-header-container, | |||
.mw-header-wrapper { | |||
background-color: #3B5B3E !important; | |||
} | |||
/* ========================================================================== | |||
13. BARRE DE COULEUR SOUS L'EN-TÊTE | |||
========================================================================== */ | |||
.color-bar { | |||
background-color: #7A9471 !important; | |||
} | |||
.color-middle, | |||
.color-middle-container { | |||
background-color: #5C7A4E !important; | |||
} | |||
.color-left, | |||
.color-right { | |||
background-color: #E9E0CC !important; | |||
} | |||
/* ========================================================================== | |||
14. TITRES | |||
========================================================================== */ | |||
#content h1, | |||
#content h2 { | |||
border-bottom-color: #7A9471 !important; | |||
} | |||
/* ========================================================================== | |||
15. ONGLETS DE PAGE | |||
========================================================================== */ | |||
#mw-page-header-links .mw-portlet li.selected, | |||
#mw-page-header-links .mw-portlet li.selected a, | |||
#mw-page-header-links .mw-portlet li a:hover, | |||
#mw-page-header-links .mw-portlet li a:focus { | |||
border-bottom-color: #7A9471 !important; | |||
} | |||
#p-associated-pages li.selected, | |||
#p-views li.selected { | |||
border-bottom-color: #7A9471 !important; | |||
} | |||
/* ========================================================================== | |||
16. SOMMAIRE | |||
========================================================================== */ | |||
.toctogglecheckbox:not(:checked) + .toctitle .toctogglelabel::after { | |||
color: #8A4B2E; | |||
} | |||
.toctogglecheckbox:checked + .toctitle .toctogglelabel::after { | |||
color: #8A4B2E; | |||
} | |||
.toctitle .toctogglelabel:hover::after { | |||
color: #3B5B3E; | |||
text-decoration: underline; | |||
cursor: pointer; | |||
} | |||
/* ========================================================================== | |||
17. RECHERCHE — SUGGESTIONS | |||
========================================================================== */ | |||
.mw-searchSuggest-link:hover, | |||
.mw-searchSuggest-link:hover *, | |||
.mw-searchSuggest-link.mw-searchSuggest-active, | |||
.mw-searchSuggest-link.mw-searchSuggest-active * { | |||
background-color: #E9E0CC !important; | |||
color: #2C2A26 !important; | |||
} | |||
.suggestions-result-current, | |||
.suggestions-result-current .mw-searchSuggest-link, | |||
.suggestions-result-current * { | |||
background-color: #E9E0CC !important; | |||
color: #2C2A26 !important; | |||
} | |||
/* ========================================================================== | |||
18. CHAMPS DE RECHERCHE | |||
========================================================================== */ | |||
#simpleSearch { | |||
border-color: #7A9471 !important; | |||
} | |||
#searchInput { | |||
color: #2C2A26; | |||
} | |||
/* ========================================================================== | |||
19. TABLEAUX MEDIAWIKI | |||
========================================================================== */ | |||
.wikitable { | |||
border-color: #7A9471 !important; | |||
} | |||
.wikitable > tr > th, | |||
.wikitable > * > tr > th { | |||
background-color: #E9E0CC !important; | |||
color: #3B5B3E; | |||
border-color: #7A9471 !important; | |||
} | |||
.wikitable > tr > td, | |||
.wikitable > * > tr > td { | |||
border-color: #7A9471 !important; | |||
} | |||
/* ========================================================================== | /* ========================================================================== | ||
20. IMAGES / MINIATURES | |||
========================================================================== */ | ========================================================================== */ | ||
.thumbinner { | |||
background-color: #F7F3EA !important; | |||
border-color: #7A9471 !important; | |||
} | |||
/* ========================================================================== | |||
21. CODE | |||
========================================================================== */ | |||
pre, | |||
code { | |||
background-color: #F7F3EA; | |||
color: #2C2A26; | |||
border-color: #7A9471; | |||
} | |||
/* ========================================================================== | |||
22. BOUTONS MEDIAWIKI | |||
========================================================================== */ | |||
/* | |||
* Boutons MediaWiki classiques. | |||
* | |||
* On ne cible PAS .oo-ui-buttonElement-button globalement : | |||
* OOUI est utilisé partout dans VisualEditor. | |||
*/ | |||
.mw-ui-button { | .mw-ui-button { | ||
| Ligne 225 : | Ligne 418 : | ||
} | } | ||
/* Survol | /* Survol */ | ||
.mw-ui-button:hover, | .mw-ui-button:hover, | ||
.mw-ui-button:focus, | .mw-ui-button:focus, | ||
| Ligne 235 : | Ligne 428 : | ||
} | } | ||
/* | /* Désactivé */ | ||
.mw-ui-button:disabled, | .mw-ui-button:disabled, | ||
.mw-ui-button.disabled { | .mw-ui-button.disabled { | ||
| Ligne 242 : | Ligne 435 : | ||
border-color: #7A9471 !important; | border-color: #7A9471 !important; | ||
} | } | ||
/* ========================================================================== | /* ========================================================================== | ||
VISUALEDITOR — | 23. VISUALEDITOR — BOUTON « ENREGISTRER LES MODIFICATIONS » | ||
========================================================================== */ | ========================================================================== */ | ||
/* | /* | ||
* IMPORTANT : | |||
* | |||
* Le bouton de sauvegarde de VisualEditor appartient au groupe | |||
* "save". On cible uniquement ce groupe. | |||
* | |||
* Pas de règle OOUI globale afin de ne pas modifier les autres | |||
* boutons et contrôles de VisualEditor. | |||
*/ | |||
/* -------------------------------------------------------------------------- | |||
Fond du bouton | |||
-------------------------------------------------------------------------- */ | |||
.ve-ui-toolbar-group-save .oo-ui-tool-link, | |||
.ve-ui-toolbar-group-save { | .ve-ui-toolbar-group-save .oo-ui-tool, | ||
.ve-ui-toolbar-group-save .oo-ui-buttonElement-button { | |||
background-color: #5C7A4E !important; | background-color: #5C7A4E !important; | ||
background-image: none !important; | |||
border-color: #3B5B3E !important; | |||
box-shadow: none !important; | |||
} | } | ||
/* | |||
.ve-ui-toolbar-group-save | /* -------------------------------------------------------------------------- | ||
.ve-ui-toolbar-group-save | Texte du bouton | ||
.ve-ui-toolbar-group-save | -------------------------------------------------------------------------- */ | ||
/* | |||
* Plusieurs éléments OOUI peuvent porter le libellé. | |||
* On cible donc les éléments internes du bouton. | |||
*/ | |||
.ve-ui-toolbar-group-save .oo-ui-tool-link, | |||
.ve-ui-toolbar-group-save .oo-ui-tool-link *, | |||
.ve-ui-toolbar-group-save .oo-ui-tool, | |||
.ve-ui-toolbar-group-save .oo-ui-tool *, | |||
.ve-ui-toolbar-group-save .oo-ui-buttonElement-button, | |||
.ve-ui-toolbar-group-save .oo-ui-buttonElement-button * { | |||
color: #FFFFFF !important; | color: #FFFFFF !important; | ||
} | } | ||
/* | /* -------------------------------------------------------------------------- | ||
.ve-ui-toolbar-group-save .oo-ui- | Cas spécifique du titre OOUI | ||
-------------------------------------------------------------------------- */ | |||
.ve-ui-toolbar-group-save .oo-ui-tool-title, | |||
.ve-ui-toolbar-group-save .oo-ui-tool-title *, | |||
.ve-ui-toolbar-group-save .oo-ui-labelElement-label, | |||
.ve-ui-toolbar-group-save .oo-ui-labelElement-label * { | |||
color: #FFFFFF !important; | color: #FFFFFF !important; | ||
} | } | ||
/* Survol */ | /* -------------------------------------------------------------------------- | ||
Survol | |||
-------------------------------------------------------------------------- */ | |||
.ve-ui-toolbar-group-save .oo-ui-tool-link:hover, | |||
.ve-ui-toolbar-group-save .oo-ui-tool:hover, | |||
.ve-ui-toolbar-group-save .oo-ui-buttonElement-button:hover { | .ve-ui-toolbar-group-save .oo-ui-buttonElement-button:hover { | ||
background-color: #3B5B3E !important; | background-color: #3B5B3E !important; | ||
background-image: none !important; | |||
border-color: #3B5B3E !important; | |||
color: #FFFFFF !important; | color: #FFFFFF !important; | ||
} | } | ||
.ve-ui-toolbar-group-save .oo-ui-buttonElement-button:hover .oo-ui- | .ve-ui-toolbar-group-save .oo-ui-tool-link:hover *, | ||
.ve-ui-toolbar-group-save .oo-ui- | .ve-ui-toolbar-group-save .oo-ui-tool:hover *, | ||
.ve-ui-toolbar-group-save .oo-ui-buttonElement-button:hover *, | |||
.ve-ui-toolbar-group-save .oo-ui-tool-title:hover, | |||
.ve-ui-toolbar-group-save .oo-ui-labelElement-label:hover { | |||
color: #FFFFFF !important; | color: #FFFFFF !important; | ||
} | } | ||
/* Focus / | |||
/* -------------------------------------------------------------------------- | |||
Focus / actif | |||
-------------------------------------------------------------------------- */ | |||
.ve-ui-toolbar-group-save .oo-ui-tool-link:focus, | |||
.ve-ui-toolbar-group-save .oo-ui-tool:focus, | |||
.ve-ui-toolbar-group-save .oo-ui-buttonElement-button:focus, | .ve-ui-toolbar-group-save .oo-ui-buttonElement-button:focus, | ||
.ve-ui-toolbar-group-save .oo-ui-tool-link:active, | |||
.ve-ui-toolbar-group-save .oo-ui-tool:active, | |||
.ve-ui-toolbar-group-save .oo-ui-buttonElement-button:active { | .ve-ui-toolbar-group-save .oo-ui-buttonElement-button:active { | ||
background-color: #3B5B3E !important; | background-color: #3B5B3E !important; | ||
background-image: none !important; | |||
border-color: #3B5B3E !important; | |||
color: #FFFFFF !important; | color: #FFFFFF !important; | ||
} | } | ||
.ve-ui-toolbar-group-save .oo-ui-buttonElement-button:focus .oo-ui- | .ve-ui-toolbar-group-save .oo-ui-tool-link:focus *, | ||
.ve-ui-toolbar-group-save .oo-ui- | .ve-ui-toolbar-group-save .oo-ui-tool:focus *, | ||
.ve-ui-toolbar-group-save .oo-ui-buttonElement-button:focus *, | |||
.ve-ui-toolbar-group-save .oo-ui-tool-link:active *, | |||
.ve-ui-toolbar-group-save .oo-ui-tool:active *, | |||
.ve-ui-toolbar-group-save .oo-ui-buttonElement-button:active * { | |||
color: #FFFFFF !important; | color: #FFFFFF !important; | ||
} | } | ||
/* ========================================================================== | |||
24. FOCUS DES LIENS | |||
========================================================================== */ | |||
#content a:focus, | |||
#mw-site-navigation a:focus, | |||
#mw-page-tools a:focus, | |||
#mw-related-navigation a:focus, | |||
.sidebar-inner a:focus { | |||
outline-color: #5C7A4E; | |||
} | |||
/* ========================================================================== | /* ========================================================================== | ||
25. FIN — PROTECTION DU LAYOUT TIMELESS | |||
========================================================================== */ | ========================================================================== */ | ||
/* | /* | ||
* Aucun changement volontaire de : | |||
* | |||
* - position | |||
* - display | |||
* - width | |||
* - height | |||
* - margin | |||
* - padding | |||
* - flex | |||
* - grid | |||
* - overflow | |||
* | |||
* Le layout natif de Timeless reste maître de la mise en page. | |||
*/ | |||
``` | ``` | ||
Version du 3 octobre 2026 à 14:03
```css
/* Tout CSS placé ici sera chargé avec les pages accédées par les utilisateurs
de l'habillage Timeless */
/* ==========================================================================
THÈME "PERCHE" — TIMELESS
Palette originale conservée
========================================================================== */
/* ==========================================================================
1. PALETTE
========================================================================== */
:root {
--perche-bg: #F7F3EA;
--perche-white: #FFFFFF;
--perche-sand: #E9E0CC;
--perche-green-dark: #3B5B3E;
--perche-green: #5C7A4E;
--perche-green-light: #7A9471;
--perche-brown: #8A4B2E;
--perche-brown-dark: #6B3A22;
--perche-text: #2C2A26;
}
/* ==========================================================================
2. FOND GÉNÉRAL
========================================================================== */
html {
background-color: #F7F3EA;
}
body {
background-color: #F7F3EA;
color: #2C2A26;
min-height: 100%;
}
/* ==========================================================================
3. CONTENU PRINCIPAL
========================================================================== */
#content {
background-color: #FFFFFF;
color: #2C2A26;
}
/* ==========================================================================
4. EN-TÊTE
========================================================================== */
#p-logo,
.mw-header,
#mw-header-container,
header#mw-header {
background-color: #3B5B3E !important;
}
/* Logo */
#p-logo.mw-portlet {
background-color: #E9E0CC !important;
}
/* Texte et liens dans l'en-tête */
.mw-header,
.mw-header a,
#mw-header-container a {
color: #F7F3EA !important;
}
/* Survol des liens de l'en-tête */
.mw-header a:hover,
.mw-header a:focus,
#mw-header-container a:hover,
#mw-header-container a:focus {
color: #FFFFFF !important;
}
/* ==========================================================================
5. MENU PERSONNEL
========================================================================== */
#personal-inner.dropdown {
background-color: #FFFFFF;
color: #2C2A26 !important;
}
#personal-inner.dropdown a {
color: #2C2A26 !important;
}
#personal-inner.dropdown a:visited {
color: #6B3A22 !important;
}
#personal-inner.dropdown a:hover,
#personal-inner.dropdown a:focus {
background-color: #E9E0CC !important;
color: #3B5B3E !important;
}
/* ==========================================================================
6. PIED DE PAGE
========================================================================== */
#mw-footer-container,
#footer {
background-color: #3B5B3E !important;
color: #F7F3EA !important;
}
#footer a,
#mw-footer-container a {
color: #F7F3EA !important;
}
#footer a:hover,
#mw-footer-container a:hover {
color: #FFFFFF !important;
}
/* ==========================================================================
7. SIDEBARS / NAVIGATION
========================================================================== */
#mw-site-navigation,
#mw-page-tools,
.sidebar-inner,
#mw-related-navigation {
background-color: #E9E0CC !important;
color: #2C2A26;
}
/* Cadre interne des portlets */
.sidebar-chunk {
background-color: #E9E0CC !important;
border: none !important;
box-shadow: none !important;
}
/* ==========================================================================
8. LIENS DES SIDEBARS
========================================================================== */
#mw-site-navigation a,
#mw-site-navigation .mw-portlet-body a,
#mw-related-navigation a,
#mw-related-navigation .mw-portlet-body a,
#mw-page-tools a,
#mw-page-tools .mw-portlet-body a,
.sidebar-inner a,
.sidebar-inner .mw-portlet-body a,
.sidebar-chunk a {
color: #8A4B2E !important;
}
#mw-site-navigation a:visited,
#mw-site-navigation .mw-portlet-body a:visited,
#mw-related-navigation a:visited,
#mw-related-navigation .mw-portlet-body a:visited,
#mw-page-tools a:visited,
#mw-page-tools .mw-portlet-body a:visited,
.sidebar-inner a:visited,
.sidebar-inner .mw-portlet-body a:visited,
.sidebar-chunk a:visited {
color: #6B3A22 !important;
}
/* Survol des liens */
#mw-site-navigation a:hover,
#mw-site-navigation a:focus,
#mw-related-navigation a:hover,
#mw-related-navigation a:focus,
#mw-page-tools a:hover,
#mw-page-tools a:focus,
.sidebar-inner a:hover,
.sidebar-inner a:focus,
.sidebar-chunk a:hover,
.sidebar-chunk a:focus {
color: #3B5B3E !important;
}
/* ==========================================================================
9. LIENS DANS LE CONTENU
========================================================================== */
#content a {
color: #8A4B2E;
}
#content a:visited {
color: #6B3A22;
}
#content a:hover,
#content a:focus {
color: #3B5B3E;
}
/* ==========================================================================
10. RÉFÉRENCES / SOURCES
========================================================================== */
#content .reference a:hover,
#content .reference a:focus,
#content sup.reference a:hover,
#content sup.reference a:focus,
#content .mw-references a:hover,
#content .mw-references a:focus {
color: #3B5B3E !important;
}
/* ==========================================================================
11. BORDURES ET SÉPARATEURS
========================================================================== */
#content,
.sidebar-inner,
#mw-site-navigation {
border-color: #7A9471 !important;
}
hr {
border-color: #7A9471 !important;
}
/* ==========================================================================
12. ÉLÉMENTS TECHNIQUES DU HEADER TIMELESS
========================================================================== */
#mw-head-base,
#mw-page-base {
background-color: #3B5B3E !important;
}
.mw-header-container,
.mw-header-wrapper {
background-color: #3B5B3E !important;
}
/* ==========================================================================
13. BARRE DE COULEUR SOUS L'EN-TÊTE
========================================================================== */
.color-bar {
background-color: #7A9471 !important;
}
.color-middle,
.color-middle-container {
background-color: #5C7A4E !important;
}
.color-left,
.color-right {
background-color: #E9E0CC !important;
}
/* ==========================================================================
14. TITRES
========================================================================== */
#content h1,
#content h2 {
border-bottom-color: #7A9471 !important;
}
/* ==========================================================================
15. ONGLETS DE PAGE
========================================================================== */
#mw-page-header-links .mw-portlet li.selected,
#mw-page-header-links .mw-portlet li.selected a,
#mw-page-header-links .mw-portlet li a:hover,
#mw-page-header-links .mw-portlet li a:focus {
border-bottom-color: #7A9471 !important;
}
#p-associated-pages li.selected,
#p-views li.selected {
border-bottom-color: #7A9471 !important;
}
/* ==========================================================================
16. SOMMAIRE
========================================================================== */
.toctogglecheckbox:not(:checked) + .toctitle .toctogglelabel::after {
color: #8A4B2E;
}
.toctogglecheckbox:checked + .toctitle .toctogglelabel::after {
color: #8A4B2E;
}
.toctitle .toctogglelabel:hover::after {
color: #3B5B3E;
text-decoration: underline;
cursor: pointer;
}
/* ==========================================================================
17. RECHERCHE — SUGGESTIONS
========================================================================== */
.mw-searchSuggest-link:hover,
.mw-searchSuggest-link:hover *,
.mw-searchSuggest-link.mw-searchSuggest-active,
.mw-searchSuggest-link.mw-searchSuggest-active * {
background-color: #E9E0CC !important;
color: #2C2A26 !important;
}
.suggestions-result-current,
.suggestions-result-current .mw-searchSuggest-link,
.suggestions-result-current * {
background-color: #E9E0CC !important;
color: #2C2A26 !important;
}
/* ==========================================================================
18. CHAMPS DE RECHERCHE
========================================================================== */
#simpleSearch {
border-color: #7A9471 !important;
}
#searchInput {
color: #2C2A26;
}
/* ==========================================================================
19. TABLEAUX MEDIAWIKI
========================================================================== */
.wikitable {
border-color: #7A9471 !important;
}
.wikitable > tr > th,
.wikitable > * > tr > th {
background-color: #E9E0CC !important;
color: #3B5B3E;
border-color: #7A9471 !important;
}
.wikitable > tr > td,
.wikitable > * > tr > td {
border-color: #7A9471 !important;
}
/* ==========================================================================
20. IMAGES / MINIATURES
========================================================================== */
.thumbinner {
background-color: #F7F3EA !important;
border-color: #7A9471 !important;
}
/* ==========================================================================
21. CODE
========================================================================== */
pre,
code {
background-color: #F7F3EA;
color: #2C2A26;
border-color: #7A9471;
}
/* ==========================================================================
22. BOUTONS MEDIAWIKI
========================================================================== */
/*
* Boutons MediaWiki classiques.
*
* On ne cible PAS .oo-ui-buttonElement-button globalement :
* OOUI est utilisé partout dans VisualEditor.
*/
.mw-ui-button {
background-color: #5C7A4E !important;
color: #FFFFFF !important;
border-color: #3B5B3E !important;
}
/* Liens utilisés comme boutons */
a.mw-ui-button {
background-color: #5C7A4E !important;
color: #FFFFFF !important;
}
/* Survol */
.mw-ui-button:hover,
.mw-ui-button:focus,
a.mw-ui-button:hover,
a.mw-ui-button:focus {
background-color: #3B5B3E !important;
color: #FFFFFF !important;
border-color: #3B5B3E !important;
}
/* Désactivé */
.mw-ui-button:disabled,
.mw-ui-button.disabled {
background-color: #7A9471 !important;
color: #F7F3EA !important;
border-color: #7A9471 !important;
}
/* ==========================================================================
23. VISUALEDITOR — BOUTON « ENREGISTRER LES MODIFICATIONS »
========================================================================== */
/*
* IMPORTANT :
*
* Le bouton de sauvegarde de VisualEditor appartient au groupe
* "save". On cible uniquement ce groupe.
*
* Pas de règle OOUI globale afin de ne pas modifier les autres
* boutons et contrôles de VisualEditor.
*/
/* --------------------------------------------------------------------------
Fond du bouton
-------------------------------------------------------------------------- */
.ve-ui-toolbar-group-save .oo-ui-tool-link,
.ve-ui-toolbar-group-save .oo-ui-tool,
.ve-ui-toolbar-group-save .oo-ui-buttonElement-button {
background-color: #5C7A4E !important;
background-image: none !important;
border-color: #3B5B3E !important;
box-shadow: none !important;
}
/* --------------------------------------------------------------------------
Texte du bouton
-------------------------------------------------------------------------- */
/*
* Plusieurs éléments OOUI peuvent porter le libellé.
* On cible donc les éléments internes du bouton.
*/
.ve-ui-toolbar-group-save .oo-ui-tool-link,
.ve-ui-toolbar-group-save .oo-ui-tool-link *,
.ve-ui-toolbar-group-save .oo-ui-tool,
.ve-ui-toolbar-group-save .oo-ui-tool *,
.ve-ui-toolbar-group-save .oo-ui-buttonElement-button,
.ve-ui-toolbar-group-save .oo-ui-buttonElement-button * {
color: #FFFFFF !important;
}
/* --------------------------------------------------------------------------
Cas spécifique du titre OOUI
-------------------------------------------------------------------------- */
.ve-ui-toolbar-group-save .oo-ui-tool-title,
.ve-ui-toolbar-group-save .oo-ui-tool-title *,
.ve-ui-toolbar-group-save .oo-ui-labelElement-label,
.ve-ui-toolbar-group-save .oo-ui-labelElement-label * {
color: #FFFFFF !important;
}
/* --------------------------------------------------------------------------
Survol
-------------------------------------------------------------------------- */
.ve-ui-toolbar-group-save .oo-ui-tool-link:hover,
.ve-ui-toolbar-group-save .oo-ui-tool:hover,
.ve-ui-toolbar-group-save .oo-ui-buttonElement-button:hover {
background-color: #3B5B3E !important;
background-image: none !important;
border-color: #3B5B3E !important;
color: #FFFFFF !important;
}
.ve-ui-toolbar-group-save .oo-ui-tool-link:hover *,
.ve-ui-toolbar-group-save .oo-ui-tool:hover *,
.ve-ui-toolbar-group-save .oo-ui-buttonElement-button:hover *,
.ve-ui-toolbar-group-save .oo-ui-tool-title:hover,
.ve-ui-toolbar-group-save .oo-ui-labelElement-label:hover {
color: #FFFFFF !important;
}
/* --------------------------------------------------------------------------
Focus / actif
-------------------------------------------------------------------------- */
.ve-ui-toolbar-group-save .oo-ui-tool-link:focus,
.ve-ui-toolbar-group-save .oo-ui-tool:focus,
.ve-ui-toolbar-group-save .oo-ui-buttonElement-button:focus,
.ve-ui-toolbar-group-save .oo-ui-tool-link:active,
.ve-ui-toolbar-group-save .oo-ui-tool:active,
.ve-ui-toolbar-group-save .oo-ui-buttonElement-button:active {
background-color: #3B5B3E !important;
background-image: none !important;
border-color: #3B5B3E !important;
color: #FFFFFF !important;
}
.ve-ui-toolbar-group-save .oo-ui-tool-link:focus *,
.ve-ui-toolbar-group-save .oo-ui-tool:focus *,
.ve-ui-toolbar-group-save .oo-ui-buttonElement-button:focus *,
.ve-ui-toolbar-group-save .oo-ui-tool-link:active *,
.ve-ui-toolbar-group-save .oo-ui-tool:active *,
.ve-ui-toolbar-group-save .oo-ui-buttonElement-button:active * {
color: #FFFFFF !important;
}
/* ==========================================================================
24. FOCUS DES LIENS
========================================================================== */
#content a:focus,
#mw-site-navigation a:focus,
#mw-page-tools a:focus,
#mw-related-navigation a:focus,
.sidebar-inner a:focus {
outline-color: #5C7A4E;
}
/* ==========================================================================
25. FIN — PROTECTION DU LAYOUT TIMELESS
========================================================================== */
/*
* Aucun changement volontaire de :
*
* - position
* - display
* - width
* - height
* - margin
* - padding
* - flex
* - grid
* - overflow
*
* Le layout natif de Timeless reste maître de la mise en page.
*/
```
