« MediaWiki:Gadget-explorer.css » : différence entre les versions
Page de l’interface de MediaWiki
Autres actions
mAucun résumé des modifications |
mAucun résumé des modifications Balise : Révocation manuelle |
||
| (27 versions intermédiaires par le même utilisateur non affichées) | |||
| Ligne 10 : | Ligne 10 : | ||
background: transparent; | background: transparent; | ||
border: 0; | border: 0; | ||
padding: 0.5em 0. | padding: 0.5em 0.25em; | ||
font-size: 1. | font-size: 1.2em; | ||
line-height: 1; | line-height: 1; | ||
cursor: pointer; | cursor: pointer; | ||
color: inherit; | color: inherit; | ||
font-weight: 100; | |||
place-items: center; | |||
width: var(--header-button-size); | |||
height: var(--header-button-size); | |||
contain: strict; | |||
border-radius: var(--border-radius-base); | |||
} | } | ||
.explorer-trigger:hover, | .explorer-trigger:hover, | ||
.explorer-trigger:focus { | .explorer-trigger:focus { | ||
background-color: var(--background-color-button-quiet--hover); | |||
} | } | ||
| Ligne 72 : | Ligne 78 : | ||
width: 100%; | width: 100%; | ||
font-family: 'Spectral SC',serif; | font-family: 'Spectral SC',serif; | ||
font-size: 1.2rem; | font-size: 1.2rem; | ||
padding: 0.75rem; | padding: 0.75rem; | ||
background: #4f586e; | |||
color: #dbdeea; | |||
text-align: start; | |||
} | } | ||
.explorer-menu-label:hover { | .explorer-menu-label:hover { | ||
background: | background: #3c4559; | ||
} | } | ||
| Ligne 85 : | Ligne 93 : | ||
.explorer-menu-pane { | .explorer-menu-pane { | ||
display: none; | display: none; | ||
width: 100%; | width: 100%; | ||
text-align: start; | |||
border: 40px solid transparent; | |||
border-image-source: url(/images/1/16/Bg-sun-aos.png); | |||
border-image-slice: 120 120 120 120; | |||
border-image-width: 60px; | |||
border-image-outset: 5px; | |||
font-weight: 400; | |||
} | } | ||
| Ligne 114 : | Ligne 125 : | ||
margin-top: 1em; | margin-top: 1em; | ||
} | } | ||
.explorer-trees .CategoryTreeItem > span:last-child { | |||
display: none; | |||
} | |||
.explorer-trees .CategoryTreeTag * { | |||
margin-bottom: 7px; | |||
} | |||
.explorer-trees span.CategoryTreeBullet { | |||
margin-right: 5px; | |||
} | |||
.explorer-trees .CategoryTreeTag a { | |||
color: #005173; | |||
} | |||
.explorer-trees i.CategoryTreeNotice { | |||
display: none; | |||
} | |||
/* --- Updates panes ---------------------------------------------------- */ | /* --- Updates panes ---------------------------------------------------- */ | ||
.explorer-menu-item[data-chunk="updates"] | .explorer-menu-item[data-chunk="updates"] ul.smw-format { | ||
margin-left: 0; | |||
} | } | ||
.explorer-menu-item[data-chunk="updates"] . | .explorer-menu-item[data-chunk="updates"] li.smw-row { | ||
font-size: 0; | font-size: 0; | ||
display: flex; | |||
align-items: center; | |||
flex-flow: row-reverse; | |||
margin-bottom: 5px; | |||
} | } | ||
.explorer-menu-item[data-chunk="updates"] .explorer-menu- | .explorer-menu-item[data-chunk="updates"] li.smw-row > :first-child, | ||
.explorer-menu-item[data-chunk="updates"] li.smw-row > :last-child .smw-value { | |||
font-size: 1rem; | font-size: 1rem; | ||
color: #4f586e; | |||
} | |||
.explorer-menu-item[data-chunk="updates"] li.smw-row > :last-child .smw-value { | |||
font-weight: 300; | |||
} | |||
.explorer-menu-item[data-chunk="updates"] li.smw-row > :first-child { | |||
flex: 1; | |||
margin-left: 1rem; | |||
} | |||
.explorer-menu-item[data-chunk="updates"] a.external.text { | |||
display: none; | |||
} | |||
.explorer-menu-item[data-chunk="updates"] li.smw-row > :first-child a { | |||
color: #005173; | |||
} | |||
.explorer-menu-pane .smw-ul-furtherresults { | |||
display: none; | |||
} | |||
/* --- Tree node style ---------------------------------------------------- */ | |||
.CategoryTreeToggle.CategoryTreeToggleHandlerAttached { | |||
mask: none !important; | |||
overflow: visible; | |||
position: relative; | |||
background: none; | |||
} | |||
.CategoryTreeToggle.CategoryTreeToggleHandlerAttached::before { | |||
content: "\f107"; | |||
mask: none !important; | |||
overflow: visible; | |||
position: absolute; | |||
inset: 0 0 0 0; | |||
text-align: center; | |||
display: flex; | |||
align-items: center; | |||
justify-content: center; | |||
font-style: normal; | |||
font-weight: bold; | |||
font-variant: normal; | |||
text-rendering: auto; | |||
font-family: "Font Awesome 7 Free"; | |||
color: #c6ba9e; | |||
} | } | ||
. | .CategoryTreeToggle.CategoryTreeToggleHandlerAttached:hover::before { | ||
color: #a19374; | |||
} | } | ||
Dernière version du 6 juin 2026 à 14:08
/* MediaWiki:Gadget-explorer.css
* Styles de base de l'explorateur — fonctionnels, non décoratifs.
* À remplacer par le thème custom une fois la mécanique validée.
*/
/* --- Bouton déclencheur ------------------------------------------------- */
.explorer-trigger {
appearance: none;
background: transparent;
border: 0;
padding: 0.5em 0.25em;
font-size: 1.2em;
line-height: 1;
cursor: pointer;
color: inherit;
font-weight: 100;
place-items: center;
width: var(--header-button-size);
height: var(--header-button-size);
contain: strict;
border-radius: var(--border-radius-base);
}
.explorer-trigger:hover,
.explorer-trigger:focus {
background-color: var(--background-color-button-quiet--hover);
}
/* --- Panneau racine (overlay plein écran) ------------------------------ */
.explorer-root {
position: fixed;
inset: 0;
z-index: 1000;
background: rgba(0, 0, 0, 0.85);
color: #fff;
overflow-y: auto;
padding: 2em;
}
.explorer-root[data-state="closed"] {
display: none;
}
.explorer-root[data-state="open"] {
display: block;
}
/* --- Liste des rubriques ----------------------------------------------- */
.explorer-menu {
max-width: 60em;
margin: 0 auto;
display: flex;
flex-direction: column;
gap: 0.5em;
}
.explorer-menu-item {
display: flex;
flex-flow: column;
justify-content: center;
align-items: center;
text-align: center;
overflow: hidden;
background: linear-gradient(transparent 50%, white 75%, #ffffff42, #26242414 98%, white), radial-gradient(at center, #ffffff 0%, #ffffff 55%, #4f586e4a 100%) white;
--content-margin: calc(calc(95% - calc(var(--width-layout) + var(--width-toc))) / 2);
border-radius: 10px;
font-weight: 500;
color: #060f3e;
}
.explorer-menu-label {
display: block;
cursor: pointer;
font-weight: normal;
width: 100%;
font-family: 'Spectral SC',serif;
font-size: 1.2rem;
padding: 0.75rem;
background: #4f586e;
color: #dbdeea;
text-align: start;
}
.explorer-menu-label:hover {
background: #3c4559;
}
/* --- Pane détaillé d'une rubrique (caché par défaut) ------------------ */
.explorer-menu-pane {
display: none;
width: 100%;
text-align: start;
border: 40px solid transparent;
border-image-source: url(/images/1/16/Bg-sun-aos.png);
border-image-slice: 120 120 120 120;
border-image-width: 60px;
border-image-outset: 5px;
font-weight: 400;
}
.explorer-menu-item[data-active] > .explorer-menu-pane {
display: block;
}
/* --- Fiche immersive --------------------------------------------------- */
.explorer-fiche {
margin-bottom: 1.5em;
}
.explorer-fiche-title {
font-size: 1.1em;
font-weight: bold;
margin-bottom: 0.5em;
display: none;
}
/* --- Conteneur du chunk ------------------------------------------------ */
.explorer-chunk-content {
margin-top: 1em;
}
.explorer-trees .CategoryTreeItem > span:last-child {
display: none;
}
.explorer-trees .CategoryTreeTag * {
margin-bottom: 7px;
}
.explorer-trees span.CategoryTreeBullet {
margin-right: 5px;
}
.explorer-trees .CategoryTreeTag a {
color: #005173;
}
.explorer-trees i.CategoryTreeNotice {
display: none;
}
/* --- Updates panes ---------------------------------------------------- */
.explorer-menu-item[data-chunk="updates"] ul.smw-format {
margin-left: 0;
}
.explorer-menu-item[data-chunk="updates"] li.smw-row {
font-size: 0;
display: flex;
align-items: center;
flex-flow: row-reverse;
margin-bottom: 5px;
}
.explorer-menu-item[data-chunk="updates"] li.smw-row > :first-child,
.explorer-menu-item[data-chunk="updates"] li.smw-row > :last-child .smw-value {
font-size: 1rem;
color: #4f586e;
}
.explorer-menu-item[data-chunk="updates"] li.smw-row > :last-child .smw-value {
font-weight: 300;
}
.explorer-menu-item[data-chunk="updates"] li.smw-row > :first-child {
flex: 1;
margin-left: 1rem;
}
.explorer-menu-item[data-chunk="updates"] a.external.text {
display: none;
}
.explorer-menu-item[data-chunk="updates"] li.smw-row > :first-child a {
color: #005173;
}
.explorer-menu-pane .smw-ul-furtherresults {
display: none;
}
/* --- Tree node style ---------------------------------------------------- */
.CategoryTreeToggle.CategoryTreeToggleHandlerAttached {
mask: none !important;
overflow: visible;
position: relative;
background: none;
}
.CategoryTreeToggle.CategoryTreeToggleHandlerAttached::before {
content: "\f107";
mask: none !important;
overflow: visible;
position: absolute;
inset: 0 0 0 0;
text-align: center;
display: flex;
align-items: center;
justify-content: center;
font-style: normal;
font-weight: bold;
font-variant: normal;
text-rendering: auto;
font-family: "Font Awesome 7 Free";
color: #c6ba9e;
}
.CategoryTreeToggle.CategoryTreeToggleHandlerAttached:hover::before {
color: #a19374;
}