Basculer le menu
Changer de menu des préférences
Basculer le menu personnel
Non connecté(e)
Votre adresse IP sera visible au public si vous faites des modifications.

« Modèle:SocialButton/styles.css » : différence entre les versions

De Nefald
Agrado (discussion | contributions)
Annulation des modifications 4345 de Agrado (discussion)
Balise : Annulation
Agrado (discussion | contributions)
Aucun résumé des modifications
Ligne 11 : Ligne 11 :
   gap: 14px;
   gap: 14px;


   padding: 14px 16px;
   padding: 12px 16px;
   border-radius: 12px;
   border-radius: 12px;


   background: transparent;
   background: transparent;
   box-shadow: none;
   box-shadow: none;
   overflow: visible;
 
  /* IMPORTANT : évite le scroll/grey wrapper du skin */
  flex-wrap: nowrap;
   overflow: hidden;
}
}


Ligne 25 : Ligne 28 :
   font-size: 1.05rem;
   font-size: 1.05rem;
   white-space: nowrap;
   white-space: nowrap;
  flex: 0 0 auto;
}
}


/* Spacer */
/* (Spacer supprimé) */
.sb-spacer{ flex: 1 1 auto; }
.sb-spacer{ display: none !important; }


/* Groupes */
/* Groupes */
Ligne 36 : Ligne 40 :
   gap: 10px;
   gap: 10px;
   flex-wrap: nowrap;
   flex-wrap: nowrap;
  flex: 0 0 auto;
}
}


Ligne 53 : Ligne 58 :
   box-shadow: 0 2px 8px rgba(0,0,0,.10);
   box-shadow: 0 2px 8px rgba(0,0,0,.10);
   transition: all .3s cubic-bezier(.4,0,.2,1);
   transition: all .3s cubic-bezier(.4,0,.2,1);
  flex: 0 0 auto;
}
}


Ligne 75 : Ligne 82 :
/* Support : base */
/* Support : base */
.sb-support{
.sb-support{
   height: 45px;          /* objectif : même hauteur que les icônes */
   height: 45px;          /* même hauteur que les icônes */
   padding: 0;
   padding: 0;
   width: auto;
   width: auto;
Ligne 110 : Ligne 117 :
/* =========================================
/* =========================================
   HELLOASSO : mêmes largeurs + ultra compact à 45px
   HELLOASSO : mêmes largeurs + ultra compact à 45px
  (ne touche PAS aux boutons réseaux sociaux)
   ========================================= */
   ========================================= */


/* Les 2 boutons HelloAsso ont la même largeur */
.sb-buttons--support{
.sb-buttons--support{
   display: flex;
   display: flex;
   gap: 10px;
   gap: 10px;
  flex: 0 0 auto;
}
}
.sb-buttons--support .sb-btn.sb-support{
.sb-buttons--support .sb-btn.sb-support{
   flex: 1 1 0;
   flex: 0 0 auto;
   max-width: 190px;     /* ajuste si besoin */
   width: 190px;         /* fixe pour éviter les variations de wrap */
   height: 45px;         /* verrouille la hauteur à 45px */
   height: 45px;
}
}


/* Layout vertical compact, sans padding vertical */
.sb-buttons--support .sb-btn.sb-support > a{
.sb-buttons--support .sb-btn.sb-support > a{
   width: 100% !important;
   width: 100% !important;
Ligne 132 : Ligne 138 :
   align-items: center;
   align-items: center;


   padding: 0 22px !important; /* air gauche/droite, 0 en haut/bas */
   padding: 0 18px !important; /* un peu plus compact */
   gap: 3px;
   gap: 3px;


Ligne 139 : Ligne 145 :
}
}


/* Logo HelloAsso : visuellement plus gros, sans “air” */
.sb-buttons--support .sb-btn.sb-support img{
.sb-buttons--support .sb-btn.sb-support img{
   height: 18px !important;   /* on contrôle uniquement la hauteur */
   height: 18px !important;
   width: auto !important;   /* conserve les proportions naturelles */
   width: auto !important;


   transform: scale(2);       /* zoom visuel */
   transform: scale(2);
   transform-origin: center;
   transform-origin: center;


Ligne 151 : Ligne 156 :
}
}


/* Texte HelloAsso : compact verticalement */
.sb-buttons--support .sb-btn.sb-support b,
.sb-buttons--support .sb-btn.sb-support b,
.sb-buttons--support .sb-btn.sb-support strong{
.sb-buttons--support .sb-btn.sb-support strong{
   line-height: 1;
   line-height: 1;
   margin: 0;
   margin: 0;
   font-size: 0.7rem;           /* garde ton réglage actuel */
   font-size: 0.7rem;
   font-weight: 600;
   font-weight: 600;
   white-space: nowrap;
   white-space: nowrap;
Ligne 184 : Ligne 188 :
   background: transparent !important;
   background: transparent !important;
}
}
/* (Sécurité) Images dans support : pas de taille globale ici,
  tout est piloté par le bloc HelloAsso ci-dessus */


/* =========================================
/* =========================================
Ligne 216 : Ligne 217 :
.sb-footer .sb-btn.button-link--tiktok:before    { background: #000; }
.sb-footer .sb-btn.button-link--tiktok:before    { background: #000; }
.sb-footer .sb-btn.button-link--helloasso:before { background: #5a2ca0; }
.sb-footer .sb-btn.button-link--helloasso:before { background: #5a2ca0; }
/* =========================================
  COMPTEURS (à droite) — compact + anti-style skin
  ========================================= */
.sb-counters{
  margin-left: auto;              /* pousse à droite */
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  flex: 0 0 auto;
  /* évite toute boîte scrollable ajoutée */
  min-width: 0;
}
/* Reset ciblé : on neutralise l'apparence "code" sans casser le reste */
.sb-counters,
.sb-counters *{
  font-family: inherit !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  text-decoration: none !important;
}
/* Si le skin injecte code/pre */
.sb-counters code,
.sb-counters pre{
  font-family: inherit !important;
  background: transparent !important;
  padding: 0 !important;
  border: 0 !important;
}
/* Cartes compteurs */
.sb-counter{
  display: flex;
  align-items: center;
  gap: 6px;
  height: 45px;
  padding: 0 10px;              /* compact pour tenir en 1 ligne */
  border-radius: 12px;
  background: rgba(0,0,0,.05);
  line-height: 1;
  font-size: 0.85rem;
}
.sb-counter__num{
  font-weight: 800;
  font-size: 1.0rem;
}
.sb-counter__label{
  font-weight: 600;
  opacity: .7;
}


/* =========================================
/* =========================================
Ligne 225 : Ligne 286 :
     flex-wrap: wrap;
     flex-wrap: wrap;
     align-items: flex-start;
     align-items: flex-start;
    overflow: visible;          /* on autorise le wrap sur petit écran */
   }
   }
  .sb-spacer{ display: none; }
 
   .sb-buttons{ flex-wrap: wrap; }
   .sb-buttons{ flex-wrap: wrap; }
  /* compteurs passent sur la ligne suivante, sans casser */
  .sb-counters{
    margin-left: 0;
    width: 100%;
    justify-content: flex-start;
    margin-top: 6px;
  }
}
}

Version du 5 février 2026 à 11:10

/* =========================================
   BANDEAU FOOTER SOCIAL
   ========================================= */

.sb-footer{
  width: 100%;
  box-sizing: border-box;

  display: flex;
  align-items: center;
  gap: 14px;

  padding: 12px 16px;
  border-radius: 12px;

  background: transparent;
  box-shadow: none;

  /* IMPORTANT : évite le scroll/grey wrapper du skin */
  flex-wrap: nowrap;
  overflow: hidden;
}

/* Titres */
.sb-title{
  color: #000 !important;
  font-weight: 700;
  font-size: 1.05rem;
  white-space: nowrap;
  flex: 0 0 auto;
}

/* (Spacer supprimé) */
.sb-spacer{ display: none !important; }

/* Groupes */
.sb-buttons{
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap;
  flex: 0 0 auto;
}

/* =========================================
   BOUTONS (fond garanti via :before)
   ========================================= */

.sb-footer .sb-btn{
  position: relative;
  border-radius: 12px;
  overflow: hidden;

  display: flex;
  align-items: center;
  justify-content: center;

  box-shadow: 0 2px 8px rgba(0,0,0,.10);
  transition: all .3s cubic-bezier(.4,0,.2,1);

  flex: 0 0 auto;
}

.sb-footer .sb-btn:before{
  content: "";
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  z-index: 0;

  background: transparent;
  pointer-events: none;
}

.sb-footer .sb-btn:hover{
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,0,.20);
}

/* Tailles */
.sb-icon{ width: 45px; height: 45px; }

/* Support : base */
.sb-support{
  height: 45px;          /* même hauteur que les icônes */
  padding: 0;
  width: auto;
  flex: 0 0 auto;
}

/* =========================================
   Lien plein bouton, au-dessus du fond
   ========================================= */

.sb-footer .sb-btn > a{
  position: relative;
  z-index: 1;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  width: 100%;
  height: 100%;

  margin: 0 !important;
  padding: 0 !important;

  color: #fff !important;
  text-decoration: none !important;

  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* =========================================
   HELLOASSO : mêmes largeurs + ultra compact à 45px
   ========================================= */

.sb-buttons--support{
  display: flex;
  gap: 10px;
  flex: 0 0 auto;
}

.sb-buttons--support .sb-btn.sb-support{
  flex: 0 0 auto;
  width: 190px;          /* fixe pour éviter les variations de wrap */
  height: 45px;
}

.sb-buttons--support .sb-btn.sb-support > a{
  width: 100% !important;

  flex-direction: column;
  justify-content: center;
  align-items: center;

  padding: 0 18px !important; /* un peu plus compact */
  gap: 3px;

  line-height: 1;
  text-align: center;
}

.sb-buttons--support .sb-btn.sb-support img{
  height: 18px !important;
  width: auto !important;

  transform: scale(2);
  transform-origin: center;

  display: block;
  margin: 0 !important;
}

.sb-buttons--support .sb-btn.sb-support b,
.sb-buttons--support .sb-btn.sb-support strong{
  line-height: 1;
  margin: 0;
  font-size: 0.7rem;
  font-weight: 600;
  white-space: nowrap;
}

/* =========================================
   Neutraliser wrappers MediaWiki (fichiers)
   ========================================= */

.sb-footer .sb-btn .mw-file-description,
.sb-footer .sb-btn .mw-file-element,
.sb-footer .sb-btn .mw-file-description a,
.sb-footer .sb-btn .mw-file-element a{
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* Images icônes réseaux sociaux */
.sb-icon img{
  width: 28px !important;
  height: 28px !important;
  object-fit: contain;
  display: block;
  background: transparent !important;
}

/* =========================================
   Supprimer icônes externes (skins)
   ========================================= */

.sb-footer a:after,
.sb-footer a:before,
.sb-footer a.external:after,
.sb-footer a.external:before{
  display: none !important;
  content: none !important;
}

.sb-footer a.external{
  background-image: none !important;
  padding-right: 0 !important;
}

/* =========================================
   COULEURS (fond via :before)
   ========================================= */

.sb-footer .sb-btn.button-link--discord:before   { background: #5865f2; }
.sb-footer .sb-btn.button-link--twitter:before   { background: #1da1f2; }
.sb-footer .sb-btn.button-link--instagram:before {
  background: linear-gradient(45deg,#f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
}
.sb-footer .sb-btn.button-link--tiktok:before    { background: #000; }
.sb-footer .sb-btn.button-link--helloasso:before { background: #5a2ca0; }

/* =========================================
   COMPTEURS (à droite) — compact + anti-style skin
   ========================================= */

.sb-counters{
  margin-left: auto;              /* pousse à droite */
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  flex: 0 0 auto;

  /* évite toute boîte scrollable ajoutée */
  min-width: 0;
}

/* Reset ciblé : on neutralise l'apparence "code" sans casser le reste */
.sb-counters,
.sb-counters *{
  font-family: inherit !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  text-decoration: none !important;
}

/* Si le skin injecte code/pre */
.sb-counters code,
.sb-counters pre{
  font-family: inherit !important;
  background: transparent !important;
  padding: 0 !important;
  border: 0 !important;
}

/* Cartes compteurs */
.sb-counter{
  display: flex;
  align-items: center;
  gap: 6px;

  height: 45px;
  padding: 0 10px;               /* compact pour tenir en 1 ligne */
  border-radius: 12px;

  background: rgba(0,0,0,.05);
  line-height: 1;
  font-size: 0.85rem;
}

.sb-counter__num{
  font-weight: 800;
  font-size: 1.0rem;
}

.sb-counter__label{
  font-weight: 600;
  opacity: .7;
}

/* =========================================
   RESPONSIVE
   ========================================= */

@media (max-width: 900px){
  .sb-footer{
    flex-wrap: wrap;
    align-items: flex-start;
    overflow: visible;          /* on autorise le wrap sur petit écran */
  }

  .sb-buttons{ flex-wrap: wrap; }

  /* compteurs passent sur la ligne suivante, sans casser */
  .sb-counters{
    margin-left: 0;
    width: 100%;
    justify-content: flex-start;
    margin-top: 6px;
  }
}
Les témoins (''cookies'') nous aident à fournir nos services. En utilisant nos services, vous acceptez notre utilisation de témoins.