Tu peux te balader au hasard ou découvrir quelques mots emblématiques.

MediaWiki

« Foreground.css » : différence entre les versions

sur le Dico des Ados : ton dictionnaire collaboratif, libre et gratuit !

Vivian (discussion | contributions)
On réessaie
Balise : Révoqué
Vivian (discussion | contributions)
m Révocation de 3 modifications réalisées par Vivian (discussion) et restauration de la dernière version réalisée par Seb35
Balise : Révocation
 
Ligne 1 : Ligne 1 :
/******************************************************************
.top-bar,
*  DicoAdo • Feuille CSS unifiée                                  *
.top-bar-section ul,
*  Version : juillet 2025                                          *
.top-bar-section ul li,
*  Auteur : refonte collaborative                                *
.top-bar-section ul li.active > a,
******************************************************************/
.top-bar-section li a:not(.button),
.top-bar-section .has-form {
    background-color: #fff;
    color: #222;
}
 
.top-bar-logo {    margin-top: .3rem;}
 
/* ---- Help button style ---- */
.dico-help-modal .content {
    max-width:300px;
    padding: 1rem;
}
 
.dico-help-modal .content ul {
    list-style: none;
    margin: 0;
}
 
.dico-help-modal {
    position:fixed;
    bottom: 100px;
    left:20px;
}
 
.dico-help-btn {
    background: rgb(90,156,230);
    background: linear-gradient(90deg,rgba(90,156,230,1) 0%,rgba(32,109,194,1) 100%);
    border-radius: 100px;
    padding: .8rem 1rem .8rem 5rem;
    color: #fff;
    position:relative;
    width: fit-content;
}
 
.dico-help-btn-img {
background-image:url('https://fr.dicoado.org/w/images/2/24/Help-icon.png');
    display: block;
    width: 68px;
    height: 95px;
    position: absolute;
    top: -20px;
    left: 10px;
}


/* -------- 1. Variables globales -------- */
/* ---- Top bar style ---- */
:root{
.top-bar.expanded .title-area {background:#fff;}
    /* Couleurs de base */
    --clr-bg          : #ffffff;
    --clr-text        : #222222;
    --clr-accent      : #3498db;
    --clr-accent-dark : #206dc2;
    --clr-border      : #cfd9e8;
    --clr-panel-bg    : #f4f7fc;
    --clr-notif      : #345478;


     /* Rayons */
.top-bar .toggle-topbar.menu-icon a {
     --radius-s : 3px;
     color: #222;
     --radius-m : 5px;
}
     --radius-l : 10px;
 
.top-bar .toggle-topbar.menu-icon a span::after {
box-shadow : 0 0 0 1px #000000, 0 7px 0 1px #000000, 0 14px 0 1px #000000;
}
 
#pt-notifications-alert .mw-echo-notifications-badge.mw-echo-notifications-badge-all-read, #pt-notifications-notice .mw-echo-notifications-badge.mw-echo-notifications-badge-all-read {
     opacity: 1;
}
 
.group {margin-top:1.5rem}
 
.mainmedia {margin-bottom:1.5rem; text-align: center;}
 
.mainmedia img {border-radius:5px;}
 
.dico-btn a,
span.dico-btn {
    padding: .8rem 1rem;
    border: 1px solid #CFD9E8;
    border-radius: 3px;
     color: #181818;
}
 
.margin-bottom-0 {
    margin-bottom:0 !important;
}
 
.pfTreeInput {
    background: #fff;
     border: 1px solid #ccc;
width: 100% !important;
border-radius : 5px;
}


     /* Font – Vector utilise déjà system-ui, on garde l’héritage */
.articlebox {
     width: 100%;
    padding: 1.5rem;
    border: 1px solid #ccc;
    border-radius: 10px;
    margin-bottom: 1.5rem;
}
}


/* -------- 2. Base / reset minimal -------- */
.mediabox {margin: 0 0 1.5rem 0; width: 100%;}
*,
*::before,
*::after{box-sizing:border-box;}


body{
.top-bar-section li.active:not(.has-form) a:not(.button), .top-bar-section li.active:not(.has-form) a:hover:not(.button) {
     color:var(--clr-text);
     background-color: inherit;
     background:var(--clr-bg);
}
.top-bar-section li.active:not(.has-form) a:not(.button), .top-bar-section li.active:not(.has-form) a:hover:not(.button) {
    background-color: inherit;
     color: #222;
}
@media only screen and (min-width: 40.0625em) {
.top-bar-section li.active:not(.has-form) a:not(.button) {
font-size:.9rem;
line-height:3.5rem;
}
}
}


a{color:var(--clr-accent);text-decoration:none;}
.form-bar {
a:hover,
  position: relative;
a:focus{color:#fff;background:var(--clr-accent);}
  padding: 9px 0 !important;
}


/* -------- 3. Composants -------- */
.form-bar:hover {
  background:transparent !important;
}


/* 3.1 Barre de navigation (Vector Top Bar) ---------------------- */
.form-bar input {
nav.top-bar{
     height: auto;
     background:var(--clr-bg);
     line-height: unset;
     box-shadow:0 2px 10px rgb(0 0 0 / .15);
     border: 1px solid #ccc !important;
     display:flex;
     padding-left: 30px;
     align-items:center;
     border-radius: 5px;
     padding:0 .5rem;
  background:#f1f1f1;
}
}


.top-bar-logo{margin:.3rem 1rem;}
.form-bar input:active,.form-bar input:focus {
  background:#fff;
}


.top-bar-section ul{
.form-bar .button.search {
     list-style:none;
  color:transparent;
  width: 29px;
  position: absolute;
  left: 4px;
  overflow:hidden;
  background-color: transparent;
  background-image: linear-gradient(transparent,transparent),url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTgiIGhlaWdodD0iMTgiIHZpZXdCb3g9IjAgMCAxOCAxOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTguMTY2NjcgMTQuODMzM0MxMS44NDg2IDE0LjgzMzMgMTQuODMzMyAxMS44NDg2IDE0LjgzMzMgOC4xNjY2N0MxNC44MzMzIDQuNDg0NzcgMTEuODQ4NiAxLjUgOC4xNjY2NyAxLjVDNC40ODQ3NyAxLjUgMS41IDQuNDg0NzcgMS41IDguMTY2NjdDMS41IDExLjg0ODYgNC40ODQ3NyAxNC44MzMzIDguMTY2NjcgMTQuODMzM1oiIHN0cm9rZT0iIzcyNzc3RCIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiLz4KPHBhdGggZD0iTTE2LjUgMTYuNUwxMi44NzUgMTIuODc1IiBzdHJva2U9IiM3Mjc3N0QiIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+Cjwvc3ZnPgo=");
     border-radius: 0;
     margin:0;
     margin:0;
    height: 100%;
    bottom: 0;
    background-position: center;
    background-repeat: no-repeat;
}
nav.top-bar {
    box-shadow: 0px 2px 10px 0 rgb(0 0 0 / 15%);
}
a#actions-button {z-index: 1}
.form-panel {
padding: 1rem;
background: #F4F7FC;
border: 1px solid #CFD9E8;
border-radius: 10px;
margin-top: 2rem;
}
.form-panel-multiple .multipleTemplateInstance {
    padding: 1rem;
    background: #F4F7FC !important;
    border: 1px solid #CFD9E8 !important;
    border-radius: 10px;
    margin-top: 1rem;
    margin-bottom: 1rem;
}
.mw-special-FormEdit footer,
.action-formedit footer {
  visibility:hidden;
}
}


.top-bar-section li,
.top-bar-section ul #echo-notifications li {
.top-bar-section li a,
     margin: 0 !important;
.top-bar-section .has-form{
     background:var(--clr-bg);
    color:var(--clr-text);
}
}


.top-bar-section li a{
.top-bar-section ul #echo-notifications a {
     padding:.8rem 1rem;
     background-color: transparent;
    border-radius:var(--radius-s);
     overflow: hidden;
     transition:background .2s,color .2s;
}
}


.top-bar-section li a:hover{
.top-bar-section .has-dropdown > a:after {
     background:var(--clr-accent);
    content:unset;
     color:#fff;
}
 
.top-bar-section .has-dropdown > a {
    padding-right: 15px !important;
}
 
.top-bar-section > ul > .divider,
.top-bar-section > ul > [role="separator"] {
  border-color: black;
}
 
#navwrapper {
    background-color: #fff;
}
 
ul#top-bar-left li:hover,
ul#top-bar-left li a:hover,
ul#top-bar-right li:hover:not(.has-form),
ul#top-bar-right li a:hover {
    background-color: #3498db;
    color: #fff;
    /* font: bold; */
}
ul#top-bar-right i {
    font-size: 1.1rem;
    transform: translateY(3px);
}
.top-bar-section .has-dropdown > a:hover:after {
    border-color: #fff transparent transparent transparent;
}
.top-bar-section .has-dropdown > a:hover:after {
    border-color: #333 transparent transparent transparent;
}
li#echo-notifications {color:#3498db;}
 
#catlinks {
    border-style: solid none none;
}
 
#catlinks .label{
    background-color: #008CBA;
}
 
.button.secondary {
    background-color: #f1f3f4;
    color: #008cba;
}
 
button.secondary:hover, button.secondary:focus, .button.secondary:hover, .button.secondary:focus  {
    background-color: #008cba;
    color: #ffffff;
}
 
.show-for-medium-up {
    font-family: 'Poppins',sans-serif;
}
 
#pt-notifications-alert .mw-echo-notifications-badge, #pt-notifications-notice .mw-echo-notifications-badge {
    height: 56px;
    margin: 0;
    background-repeat: no-repeat;
    background-position: center;
    text-indent: unset;
    border-radius: 0px;
    cursor: pointer;
    top:0px;
    text-decoration: none;
    line-height: unset;
    -webkit-box-sizing: unset;
    -moz-box-sizing: unset;
    box-sizing: unset;
}
@media (max-width: 639px) {
     #pt-notifications-alert .mw-echo-notifications-badge, #pt-notifications-notice .mw-echo-notifications-badge {
        font-size: .8rem;
    }
}
 
#pt-notifications-notice .mw-echo-notifications-badge {
background-image: linear-gradient(transparent,transparent),url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2220%22 height=%2220%22 viewBox=%220 0 20 20%22%3E%3Ctitle%3Etray%3C/title%3E%3Cpath d=%22M3 1a2 2 0 00-2 2v14a2 2 0 002 2h14a2 2 0 002-2V3a2 2 0 00-2-2zm14 12h-4l-1 2H8l-1-2H3V3h14z%22/%3E%3C/svg%3E");
     color: transparent !important;
}
 
#pt-notifications-alert .mw-echo-notifications-badge {
background-image: linear-gradient(transparent,transparent),url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2220%22 height=%2220%22 viewBox=%220 0 20 20%22%3E%3Ctitle%3Ebell%3C/title%3E%3Cpath d=%22M16 7a5.38 5.38 0 00-4.46-4.85C11.6 1.46 11.53 0 10 0S8.4 1.46 8.46 2.15A5.38 5.38 0 004 7v6l-2 2v1h16v-1l-2-2zm-6 13a3 3 0 003-3H7a3 3 0 003 3z%22/%3E%3C/svg%3E");
    color: transparent !important;
}
 
#top-bar-right #echo-notifications-notice:hover #pt-notifications-notice .mw-echo-notifications-badge {
background-image: linear-gradient(transparent,transparent),url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2220%22 height=%2220%22 fill=%22white%22 viewBox=%220 0 20 20%22%3E%3Ctitle%3Etray%3C/title%3E%3Cpath d=%22M3 1a2 2 0 00-2 2v14a2 2 0 002 2h14a2 2 0 002-2V3a2 2 0 00-2-2zm14 12h-4l-1 2H8l-1-2H3V3h14z%22/%3E%3C/svg%3E");
}
 
#top-bar-right #echo-notifications-alerts:hover #pt-notifications-alert .mw-echo-notifications-badge {
background-image: linear-gradient(transparent,transparent),url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2220%22 height=%2220%22 fill=%22white%22 viewBox=%220 0 20 20%22%3E%3Ctitle%3Ebell%3C/title%3E%3Cpath d=%22M16 7a5.38 5.38 0 00-4.46-4.85C11.6 1.46 11.53 0 10 0S8.4 1.46 8.46 2.15A5.38 5.38 0 004 7v6l-2 2v1h16v-1l-2-2zm-6 13a3 3 0 003-3H7a3 3 0 003 3z%22/%3E%3C/svg%3E");
}
 
#pt-notifications-alert .mw-echo-notifications-badge:focus, #pt-notifications-notice .mw-echo-notifications-badge:focus {
  -webkit-box-shadow: 0;
    box-shadow: none;
}
 
/* clear fix */
.grid:after {
  content: '';
  display: block;
  clear: both;
}
}


/* États actifs (sans sur-spécification) */
/* ---- .grid-item ---- */
.top-bar-section li.active a{
 
    background:inherit;
.grid-sizer,
    color:var(--clr-text);
.grid-item {
  width: 33.333%;
}
}


/* Menu hamburger (mobile) */
.grid-item {
.top-bar .toggle-topbar.menu-icon a{color:var(--clr-text);}
  float: left;
.top-bar .toggle-topbar.menu-icon a span::after{
    padding-left: 0.9375rem;
     box-shadow:0 0 0 1px #000,
     padding-right: 0.9375rem;
              0 7px 0 1px #000,
              0 14px 0 1px #000;
}
}


/* Notifications -------------------------------------------------- */
.grid-item.item-img img.illustration {
li#echo-notifications{color:var(--clr-accent);}
  display: block;
#pt-notifications-alert .mw-echo-notifications-badge,
  width: 100%;
#pt-notifications-notice .mw-echo-notifications-badge{
    height:56px;
    margin:0;
    background-repeat:no-repeat;
    background-position:center;
    text-indent:0;
    border-radius:0;
    cursor:pointer;
}
}


/* Icônes SVG inline pour sobriété ; état “toutes lues” */
@media screen and (max-width: 768px) {
#pt-notifications-alert .mw-echo-notifications-badge-all-read,
  /* 5 columns for larger screens */
#pt-notifications-notice .mw-echo-notifications-badge-all-read{opacity:1;}
  .grid-item { width: 100%; }
 
.dico-help-modal {display:none;}


/* 3.2 Bouton d’aide flottant ------------------------------------- */
.mw-special-FormEdit .dico-save-bar #wpMinoredit + label,
.dico-help{
.action-formedit .dico-save-bar #wpMinoredit + label {
     position:fixed;
    width: calc(100% - 55px);
     left:20px;
    text-align: left;
     bottom:100px;
    margin-bottom: 10px;
     z-index:100;
}
 
#pt-notifications-alert .mw-echo-notifications-badge,
#pt-notifications-notice .mw-echo-notifications-badge {
     background: 0;
     color: #222 !important;
     width: auto;
     height: auto;
}
}


.dico-help__btn{
#top-bar-right #echo-notifications-alerts:hover #pt-notifications-alert .mw-echo-notifications-badge,
    display:inline-flex;
#top-bar-right #echo-notifications-notice:hover #pt-notifications-notice .mw-echo-notifications-badge {
    align-items:center;
     background-image:none;
    gap:.5rem;
    padding:.8rem 1rem .8rem 4.5rem;
    background:linear-gradient(90deg,#5a9ce6 0%,#206dc2 100%);
    color:#fff;
     border-radius:100px;
    width:fit-content;
}
}


.dico-help__icon{
#echo-notifications-alerts {
     position:absolute;
     float: none !important;
    left:10px;top:-20px;
    width:68px;height:95px;
    background:url('https://fr.dicoado.org/w/images/2/24/Help-icon.png')
              center/contain no-repeat;
}
}


/* Fenêtre modale d’aide */
#pt-notifications-alert .mw-echo-notifications-badge:after, #pt-notifications-notice .mw-echo-notifications-badge:after {
.dico-help-modal{
display:none;
    position:fixed;
    left:20px;bottom:100px;
    max-width:300px;
    padding:1rem;
    background:var(--clr-bg);
    border:1px solid var(--clr-border);
    border-radius:var(--radius-m);
}
}
.dico-help-modal .content ul{list-style:none;margin:0;}


/* 3.3 Boutons et liens “Dico” ------------------------------------ */
#pfForm {margin-bottom:5rem;}
.dico-btn a,
span.dico-btn{
    padding:.8rem 1rem;
    border:1px solid var(--clr-border);
    border-radius:var(--radius-s);
    color:var(--clr-text);
}
}


/* 3.4 Cartouches media ------------------------------------------- */
.multipleTemplateList + p {text-align:center;}
.mainmedia{margin-bottom:1.5rem;text-align:center;}
.mainmedia img{border-radius:var(--radius-m);}


.mediabox,
.multipleTemplateAdder {
.articlebox{
     color: #345478;
     width:100%;
     border: 1px solid #CFD9E8;
    padding:1.5rem;
     border-radius: 50px;
     border:1px solid #ccc;
     padding: 1rem 1.5rem .9rem;
     border-radius:var(--radius-l);
    font-size: 1rem;
     margin-bottom:1.5rem;
    background:#fff;
    cursor: pointer;
}
}


/* 3.5 Formulaire de recherche dans la barre ---------------------- */
/* OOUI Hide */
.form-bar{
.multipleTemplateAdder a.oo-ui-buttonElement-button {
     position:relative;
     border: none !important;
     padding:9px 0!important;
     background: #fff !important;
}
}
.form-bar input{
 
    width:100%;
@media screen and (min-width: 768px) {
    height:auto;
#pfForm .dico-save-bar input#wpSummary {
    padding-left:30px;
max-width:250px !important;
    background:#f1f1f1;
    border:1px solid #ccc!important;
    border-radius:var(--radius-s);
    line-height:normal;
}
}
.form-bar input:focus{background:var(--clr-bg);}
.form-bar .button.search{
    position:absolute;
    left:4px;top:0;bottom:0;
    width:29px;
    background:transparent center/18px no-repeat;
    background-image:
      url("data:image/svg+xml;base64,PHN2ZyB3aW... (icône loupe)...");
    border:none;
    color:transparent;
}
}


/* 3.6 Barres de sauvegarde (Page Forms) --------------------------- */
.mw-special-FormEdit .dico-save-bar,
.mw-special-FormEdit .dico-save-bar,
.action-formedit .dico-save-bar{
.action-formedit .dico-save-bar {
     position:fixed;
     position: fixed;
     left:0;right:0;bottom:0;
     bottom: 0;
     padding:1rem 0;
    background: #345478;
     background:var(--clr-notif);
    left: 0;
     box-shadow:0 0 10px rgb(0 0 0 / .5);
    z-index: 2;
     z-index:2;
     right: 0;
     padding: 1rem 0;
     box-shadow: 0 0 10px rgb(0 0 0 / 50%);
     margin:0;
}
}
.dico-save-bar label,
.dico-save-bar a,
.dico-save-bar .fas{color:#fff;}


.dico-save-bar #wpSummary{
.mw-special-FormEdit .dico-save-bar label,
    max-width:300px;
.mw-special-FormEdit .dico-save-bar a,
    display:inline-block;
.mw-special-FormEdit .dico-save-bar .fas,
    border-radius:var(--radius-s);
.action-formedit .dico-save-bar label,
.action-formedit .dico-save-bar a,
.action-formedit .dico-save-bar .fas {
    color:#fff;
}
}


/* 3.7 Champ “pfTreeInput” ---------------------------------------- */
.mw-special-FormEdit .dico-save-bar #wpSummary,
.pfTreeInput{
.action-formedit .dico-save-bar #wpSummary {
     width:100%!important;
     max-width: 300px;
     background:var(--clr-bg);
     display: inline-block;
     border:1px solid #ccc;
     border-radius: 3px;
     border-radius:var(--radius-m);
     margin:0;
}
}


/* 3.8 Bouton “Ajouter” dans Page Forms --------------------------- */
.mw-special-FormEdit .dico-save-bar #wpMinoredit,
.multipleTemplateAdder{
.action-formedit .dico-save-bar #wpMinoredit {
    display:inline-block;
     margin:0;
    padding:1rem 1.5rem .9rem;
    background:var(--clr-bg);
    border:1px solid var(--clr-border);
    border-radius:50px;
    color:#345478;
    cursor:pointer;
     font-size:1rem;
}
}


/* -------- 4. Utilitaires & Helpers -------- */
@media (hover: none), (pointer: none), (pointer: coarse) {
.margin-bottom-0{margin-bottom:0!important;}
td.instanceAddAbove, td.instanceRemove {
.group{margin-top:1.5rem;}
    position: absolute;
.grid:after{content:"";display:block;clear:both;}
}
}


/* Masonry items */
.oo-ui-popupToolGroup-tools .oo-ui-tool-link .oo-ui-tool-accel, .oo-ui-popupToolGroup-tools .oo-ui-tool-link .oo-ui-tool-title {
.grid-sizer,
    display: inline-block;
.grid-item{width:33.333%;}
    padding-left: 2.3rem;
.grid-item{float:left;padding:0 .9375rem;}
}
.grid-item.item-img img.illustration{width:100%;display:block;}


/* -------- 5. Media Queries -------- */
/* ---- Barre du formulaire ---- */
/* Alignement des éléments de la barre */
.mw-special-FormEdit .container-fields-form,
.mw-special-FormEdit .container-fields-form .oo-ui-fieldLayout-body,
.action-formedit .container-fields-form,
.action-formedit .container-fields-form .oo-ui-fieldLayout-body {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}
.mw-special-FormEdit .container-fields-form .oo-ui-fieldLayout-body,
.action-formedit .container-fields-form .oo-ui-fieldLayout-body {
    display: flex;
    align-items: center;
}


/* ≥ 641 px -------------------------------------------------------- */
/* Supression des expacements déformants */
@media (min-width:40.0625em){
.mw-special-FormEdit .container-fields-form .minorform div,
     .top-bar-section li.active a{font-size:.9rem;line-height:3.5rem;}
.mw-special-FormEdit .container-fields-form .oo-ui-fieldLayout-body span.oo-ui-fieldLayout-header,
.action-formedit .container-fields-form .minorform div,
.action-formedit .container-fields-form .oo-ui-fieldLayout-body span.oo-ui-fieldLayout-header {
    padding: 0 !important;
}
.action-formedit .container-fields-form .oo-ui-layout.oo-ui-labelElement.oo-ui-fieldLayout,
.action-formedit .container-fields-form .oo-ui-layout.oo-ui-labelElement.oo-ui-fieldLayout {
     margin: 0;
}
}


/* ≤ 639 px -------------------------------------------------------- */
/* Espace entre le résumé et son label */
@media (max-width:639px){
.mw-special-FormEdit .container-fields-form .oo-ui-fieldLayout-body .oo-ui-fieldLayout-header,
    /* Menu notifications texte + suppression des SVG chargés */
.action-formedit .container-fields-form .oo-ui-fieldLayout-body .oo-ui-fieldLayout-header {
    #pt-notifications-alert .mw-echo-notifications-badge,
     margin-right: 0.5rem;
    #pt-notifications-notice .mw-echo-notifications-badge{
        width:auto;height:auto;
        background:none;
        color:var(--clr-text)!important;
    }
    #echo-notifications-alerts{float:none!important;}
     #pfForm{margin-bottom:5rem;}
    .dico-help-modal{display:none;}  /* on masque la bulle d’aide */
}
}


/* ≤ 768 px -------------------------------------------------------- */
/* Espace entre la checkbox et son label */
@media (max-width:768px){
.mw-special-FormEdit .container-fields-form #wpMinoredit,
    .grid-item{width:100%;}
.action-formedit .container-fields-form #wpMinoredit {
    /* Barre de sauvegarde : formulaire en colonne */
     margin-right: 13px;
    .mw-special-FormEdit .container-fields-form,
    .action-formedit .container-fields-form{
        flex-direction:column;align-items:flex-end;
     }
    .oo-ui-inputWidget-input{width:300px!important;}
}
}


/* ≥ 768 px -------------------------------------------------------- */
/* Listes à puces, notamment dans le formulaire d’édition d’un mot, section "Liens externes pertinents" */
@media (min-width:768px){
.mw-special-FormEdit ul,
    #pfForm .dico-save-bar #wpSummary{max-width:250px!important;}
.action-formedit ul {
    list-style: none;
}
}
.mw-special-FormEdit ul li div.pf-checkbox-input-container,
.action-formedit ul li div.pf-checkbox-input-container {
    display: inline-block;
}
/* Responsivité */
@media (max-width: 820px) {
    /* Alignement en colonne des éléments */
    .mw-special-FormEdit .container-fields-form,
    .mw-special-FormEdit .container-fields-form .oo-ui-fieldLayout-body,
    .action-formedit .container-fields-form,
    .action-formedit .container-fields-form .oo-ui-fieldLayout-body {
            flex-direction: column;
            align-items: flex-end;
    }


/* ≤ 820 px -------------------------------------------------------- */
     /* Rectification de la taille du label de la checkbox */
@media (max-width:820px){
     /* Ajustements Page Forms */
     .mw-special-FormEdit .dico-save-bar #wpMinoredit + label,
     .mw-special-FormEdit .dico-save-bar #wpMinoredit + label,
     .action-formedit .dico-save-bar #wpMinoredit + label{width:auto;}
     .action-formedit .dico-save-bar #wpMinoredit + label {
}
        width: auto;
    }


/* -------- 6. Impressions (facultatif) -------- */
    /* Agrandissement du champ de résumé */
@media print{
     .oo-ui-inputWidget-input {
     nav.top-bar,
        width: 300px !important;
    .dico-help,
    }
    .dico-save-bar{display:none;}
}
}

Dernière version du 9 juillet 2025 à 08:57

.top-bar, 
.top-bar-section ul, 
.top-bar-section ul li,
.top-bar-section ul li.active > a, 
.top-bar-section li a:not(.button), 
.top-bar-section .has-form {
    background-color: #fff;
    color: #222;
}

.top-bar-logo {    margin-top: .3rem;}

/* ---- Help button style ---- */
.dico-help-modal .content {
    max-width:300px;
    padding: 1rem;
}

.dico-help-modal .content ul {
    list-style: none;
    margin: 0;
}

.dico-help-modal {
    position:fixed;
    bottom: 100px;
    left:20px;
}

.dico-help-btn {
    background: rgb(90,156,230);
    background: linear-gradient(90deg,rgba(90,156,230,1) 0%,rgba(32,109,194,1) 100%);
    border-radius: 100px;
    padding: .8rem 1rem .8rem 5rem;
    color: #fff;
    position:relative;
    width: fit-content;
}

.dico-help-btn-img {
background-image:url('https://fr.dicoado.org/w/images/2/24/Help-icon.png');
    display: block;
    width: 68px;
    height: 95px;
    position: absolute;
    top: -20px;
    left: 10px;
}

/* ---- Top bar style ---- */
.top-bar.expanded .title-area {background:#fff;}

.top-bar .toggle-topbar.menu-icon a {
    color: #222;
}

.top-bar .toggle-topbar.menu-icon a span::after {
box-shadow : 0 0 0 1px #000000, 0 7px 0 1px #000000, 0 14px 0 1px #000000;
}

#pt-notifications-alert .mw-echo-notifications-badge.mw-echo-notifications-badge-all-read, #pt-notifications-notice .mw-echo-notifications-badge.mw-echo-notifications-badge-all-read {
    opacity: 1;
}

.group {margin-top:1.5rem}

.mainmedia {margin-bottom:1.5rem; text-align: center;}

.mainmedia img {border-radius:5px;}

.dico-btn a,
span.dico-btn {
    padding: .8rem 1rem;
    border: 1px solid #CFD9E8;
    border-radius: 3px;
    color: #181818;
}

.margin-bottom-0 {
    margin-bottom:0 !important;
}

.pfTreeInput {
    background: #fff;
    border: 1px solid #ccc;
width: 100% !important;
border-radius : 5px;
}

.articlebox {
    width: 100%;
    padding: 1.5rem;
    border: 1px solid #ccc;
    border-radius: 10px;
    margin-bottom: 1.5rem;
}

.mediabox {margin: 0 0 1.5rem 0; width: 100%;}

.top-bar-section li.active:not(.has-form) a:not(.button), .top-bar-section li.active:not(.has-form) a:hover:not(.button) {
    background-color: inherit;
}
.top-bar-section li.active:not(.has-form) a:not(.button), .top-bar-section li.active:not(.has-form) a:hover:not(.button) {
    background-color: inherit;
    color: #222;
}
@media only screen and (min-width: 40.0625em) {
.top-bar-section li.active:not(.has-form) a:not(.button) {
font-size:.9rem;
line-height:3.5rem;
}
}

.form-bar {
  position: relative;
  padding: 9px 0 !important;
}

.form-bar:hover {
  background:transparent !important;
}

.form-bar input {
    height: auto;
    line-height: unset;
    border: 1px solid #ccc !important;
    padding-left: 30px;
    border-radius: 5px;
   background:#f1f1f1;
}

.form-bar input:active,.form-bar input:focus {
   background:#fff;
}

.form-bar .button.search {
   color:transparent;
   width: 29px;
   position: absolute;
   left: 4px;
   overflow:hidden;
   background-color: transparent;
  background-image: linear-gradient(transparent,transparent),url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTgiIGhlaWdodD0iMTgiIHZpZXdCb3g9IjAgMCAxOCAxOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTguMTY2NjcgMTQuODMzM0MxMS44NDg2IDE0LjgzMzMgMTQuODMzMyAxMS44NDg2IDE0LjgzMzMgOC4xNjY2N0MxNC44MzMzIDQuNDg0NzcgMTEuODQ4NiAxLjUgOC4xNjY2NyAxLjVDNC40ODQ3NyAxLjUgMS41IDQuNDg0NzcgMS41IDguMTY2NjdDMS41IDExLjg0ODYgNC40ODQ3NyAxNC44MzMzIDguMTY2NjcgMTQuODMzM1oiIHN0cm9rZT0iIzcyNzc3RCIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiLz4KPHBhdGggZD0iTTE2LjUgMTYuNUwxMi44NzUgMTIuODc1IiBzdHJva2U9IiM3Mjc3N0QiIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+Cjwvc3ZnPgo=");
    border-radius: 0;
    margin:0;
    height: 100%;
    bottom: 0;
    background-position: center;
    background-repeat: no-repeat;
}

nav.top-bar {
    box-shadow: 0px 2px 10px 0 rgb(0 0 0 / 15%);
}

a#actions-button {z-index: 1}

.form-panel {
 padding: 1rem;
 background: #F4F7FC;
 border: 1px solid #CFD9E8;
 border-radius: 10px;
 margin-top: 2rem;
}

.form-panel-multiple .multipleTemplateInstance {
    padding: 1rem;
    background: #F4F7FC !important;
    border: 1px solid #CFD9E8 !important;
    border-radius: 10px;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.mw-special-FormEdit footer,
.action-formedit footer {
  visibility:hidden;
}

.top-bar-section ul #echo-notifications li {
    margin: 0 !important;
}

.top-bar-section ul #echo-notifications a {
    background-color: transparent;
    overflow: hidden;
}

.top-bar-section .has-dropdown > a:after {
    content:unset;
}

.top-bar-section .has-dropdown > a {
    padding-right: 15px !important;
}

.top-bar-section > ul > .divider,
.top-bar-section > ul > [role="separator"] {
  border-color: black;
}

#navwrapper {
    background-color: #fff;
}

ul#top-bar-left li:hover,
ul#top-bar-left li a:hover,
ul#top-bar-right li:hover:not(.has-form),
ul#top-bar-right li a:hover {
    background-color: #3498db;
    color: #fff;
    /* font: bold; */
}
ul#top-bar-right i {
    font-size: 1.1rem;
    transform: translateY(3px);
}
.top-bar-section .has-dropdown > a:hover:after {
    border-color: #fff transparent transparent transparent;
}
.top-bar-section .has-dropdown > a:hover:after {
    border-color: #333 transparent transparent transparent;
}
li#echo-notifications {color:#3498db;}

#catlinks {
    border-style: solid none none;
}

#catlinks .label{
    background-color: #008CBA;
}

.button.secondary {
    background-color: #f1f3f4;
    color: #008cba;
}

button.secondary:hover, button.secondary:focus, .button.secondary:hover, .button.secondary:focus  {
    background-color: #008cba;
    color: #ffffff;
}

.show-for-medium-up {
    font-family: 'Poppins',sans-serif;
}

#pt-notifications-alert .mw-echo-notifications-badge, #pt-notifications-notice .mw-echo-notifications-badge {
    height: 56px;
    margin: 0;
    background-repeat: no-repeat;
    background-position: center;
    text-indent: unset;
    border-radius: 0px;
    cursor: pointer;
    top:0px;
    text-decoration: none;
    line-height: unset;
    -webkit-box-sizing: unset;
    -moz-box-sizing: unset;
    box-sizing: unset;
}
@media (max-width: 639px) {
    #pt-notifications-alert .mw-echo-notifications-badge, #pt-notifications-notice .mw-echo-notifications-badge {
        font-size: .8rem;
    }
}

#pt-notifications-notice .mw-echo-notifications-badge {
background-image: linear-gradient(transparent,transparent),url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2220%22 height=%2220%22 viewBox=%220 0 20 20%22%3E%3Ctitle%3Etray%3C/title%3E%3Cpath d=%22M3 1a2 2 0 00-2 2v14a2 2 0 002 2h14a2 2 0 002-2V3a2 2 0 00-2-2zm14 12h-4l-1 2H8l-1-2H3V3h14z%22/%3E%3C/svg%3E");
    color: transparent !important;
}

#pt-notifications-alert .mw-echo-notifications-badge {
background-image: linear-gradient(transparent,transparent),url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2220%22 height=%2220%22 viewBox=%220 0 20 20%22%3E%3Ctitle%3Ebell%3C/title%3E%3Cpath d=%22M16 7a5.38 5.38 0 00-4.46-4.85C11.6 1.46 11.53 0 10 0S8.4 1.46 8.46 2.15A5.38 5.38 0 004 7v6l-2 2v1h16v-1l-2-2zm-6 13a3 3 0 003-3H7a3 3 0 003 3z%22/%3E%3C/svg%3E");
    color: transparent !important;
}

#top-bar-right #echo-notifications-notice:hover #pt-notifications-notice .mw-echo-notifications-badge {
background-image: linear-gradient(transparent,transparent),url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2220%22 height=%2220%22 fill=%22white%22 viewBox=%220 0 20 20%22%3E%3Ctitle%3Etray%3C/title%3E%3Cpath d=%22M3 1a2 2 0 00-2 2v14a2 2 0 002 2h14a2 2 0 002-2V3a2 2 0 00-2-2zm14 12h-4l-1 2H8l-1-2H3V3h14z%22/%3E%3C/svg%3E");
}

#top-bar-right #echo-notifications-alerts:hover #pt-notifications-alert .mw-echo-notifications-badge {
background-image: linear-gradient(transparent,transparent),url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2220%22 height=%2220%22 fill=%22white%22 viewBox=%220 0 20 20%22%3E%3Ctitle%3Ebell%3C/title%3E%3Cpath d=%22M16 7a5.38 5.38 0 00-4.46-4.85C11.6 1.46 11.53 0 10 0S8.4 1.46 8.46 2.15A5.38 5.38 0 004 7v6l-2 2v1h16v-1l-2-2zm-6 13a3 3 0 003-3H7a3 3 0 003 3z%22/%3E%3C/svg%3E");
}

#pt-notifications-alert .mw-echo-notifications-badge:focus, #pt-notifications-notice .mw-echo-notifications-badge:focus {
   -webkit-box-shadow: 0;
    box-shadow: none;
}

/* clear fix */
.grid:after {
  content: '';
  display: block;
  clear: both;
}

/* ---- .grid-item ---- */

.grid-sizer,
.grid-item {
  width: 33.333%;
}

.grid-item {
  float: left;
    padding-left: 0.9375rem;
    padding-right: 0.9375rem;
}

.grid-item.item-img img.illustration {
  display: block;
  width: 100%;
}

@media screen and (max-width: 768px) {
  /* 5 columns for larger screens */
  .grid-item { width: 100%; }

.dico-help-modal {display:none;}

.mw-special-FormEdit .dico-save-bar #wpMinoredit + label,
.action-formedit .dico-save-bar #wpMinoredit + label {
    width: calc(100% - 55px);
    text-align: left;
    margin-bottom: 10px;
}

#pt-notifications-alert .mw-echo-notifications-badge,
#pt-notifications-notice .mw-echo-notifications-badge {
    background: 0;
    color: #222 !important;
    width: auto;
    height: auto;
}

#top-bar-right #echo-notifications-alerts:hover #pt-notifications-alert .mw-echo-notifications-badge,
#top-bar-right #echo-notifications-notice:hover #pt-notifications-notice .mw-echo-notifications-badge {
    background-image:none;
}

#echo-notifications-alerts {
    float: none !important;
}

#pt-notifications-alert .mw-echo-notifications-badge:after, #pt-notifications-notice .mw-echo-notifications-badge:after {
display:none;
}

#pfForm {margin-bottom:5rem;}
}

.multipleTemplateList + p {text-align:center;}

.multipleTemplateAdder {
    color: #345478;
    border: 1px solid #CFD9E8;
    border-radius: 50px;
    padding: 1rem 1.5rem .9rem;
    font-size: 1rem;
    background:#fff;
    cursor: pointer;
}

/* OOUI Hide */
.multipleTemplateAdder a.oo-ui-buttonElement-button {
    border: none !important;
    background: #fff !important;
}

@media screen and (min-width: 768px) {
#pfForm .dico-save-bar input#wpSummary {
max-width:250px !important;
}
}

.mw-special-FormEdit .dico-save-bar,
.action-formedit .dico-save-bar {
    position: fixed;
    bottom: 0;
    background: #345478;
    left: 0;
    z-index: 2;
    right: 0;
    padding: 1rem 0;
    box-shadow: 0 0 10px rgb(0 0 0 / 50%);
    margin:0;
}

.mw-special-FormEdit .dico-save-bar label,
.mw-special-FormEdit .dico-save-bar a,
.mw-special-FormEdit .dico-save-bar .fas,
.action-formedit .dico-save-bar label,
.action-formedit .dico-save-bar a,
.action-formedit .dico-save-bar .fas {
    color:#fff;
}

.mw-special-FormEdit .dico-save-bar #wpSummary,
.action-formedit .dico-save-bar #wpSummary {
    max-width: 300px;
    display: inline-block;
    border-radius: 3px;
    margin:0;
}

.mw-special-FormEdit .dico-save-bar #wpMinoredit,
.action-formedit .dico-save-bar #wpMinoredit {
    margin:0;
}

@media (hover: none), (pointer: none), (pointer: coarse) {
td.instanceAddAbove, td.instanceRemove {
    position: absolute;
}
}

.oo-ui-popupToolGroup-tools .oo-ui-tool-link .oo-ui-tool-accel, .oo-ui-popupToolGroup-tools .oo-ui-tool-link .oo-ui-tool-title {
    display: inline-block;
    padding-left: 2.3rem;
}

/* ---- Barre du formulaire ---- */
/* Alignement des éléments de la barre */
.mw-special-FormEdit .container-fields-form,
.mw-special-FormEdit .container-fields-form .oo-ui-fieldLayout-body,
.action-formedit .container-fields-form,
.action-formedit .container-fields-form .oo-ui-fieldLayout-body {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}
.mw-special-FormEdit .container-fields-form .oo-ui-fieldLayout-body,
.action-formedit .container-fields-form .oo-ui-fieldLayout-body {
    display: flex;
    align-items: center;
}

/* Supression des expacements déformants */
.mw-special-FormEdit .container-fields-form .minorform div,
.mw-special-FormEdit .container-fields-form .oo-ui-fieldLayout-body span.oo-ui-fieldLayout-header,
.action-formedit .container-fields-form .minorform div,
.action-formedit .container-fields-form .oo-ui-fieldLayout-body span.oo-ui-fieldLayout-header {
    padding: 0 !important;
}
.action-formedit .container-fields-form .oo-ui-layout.oo-ui-labelElement.oo-ui-fieldLayout,
.action-formedit .container-fields-form .oo-ui-layout.oo-ui-labelElement.oo-ui-fieldLayout {
    margin: 0;
}

/* Espace entre le résumé et son label */
.mw-special-FormEdit .container-fields-form .oo-ui-fieldLayout-body .oo-ui-fieldLayout-header,
.action-formedit .container-fields-form .oo-ui-fieldLayout-body .oo-ui-fieldLayout-header {
    margin-right: 0.5rem;
}

/* Espace entre la checkbox et son label */
.mw-special-FormEdit .container-fields-form #wpMinoredit,
.action-formedit .container-fields-form #wpMinoredit {
    margin-right: 13px;
}

/* Listes à puces, notamment dans le formulaire d’édition d’un mot, section "Liens externes pertinents" */
.mw-special-FormEdit ul,
.action-formedit ul {
    list-style: none;
}
.mw-special-FormEdit ul li div.pf-checkbox-input-container,
.action-formedit ul li div.pf-checkbox-input-container {
    display: inline-block;
}

/* Responsivité */
@media (max-width: 820px) {
    /* Alignement en colonne des éléments */
    .mw-special-FormEdit .container-fields-form,
    .mw-special-FormEdit .container-fields-form .oo-ui-fieldLayout-body,
    .action-formedit .container-fields-form,
    .action-formedit .container-fields-form .oo-ui-fieldLayout-body {
            flex-direction: column;
            align-items: flex-end;
    }

    /* Rectification de la taille du label de la checkbox */
    .mw-special-FormEdit .dico-save-bar #wpMinoredit + label,
    .action-formedit .dico-save-bar #wpMinoredit + label {
        width: auto;
    }

    /* Agrandissement du champ de résumé */
    .oo-ui-inputWidget-input {
        width: 300px !important;
    }
}