Je pense que le titre n'est pas super clair

Donc :
J'ai installé une extension qui affiche le nombre d'onglets ouverts dans la barre d'outils.
J'aimerais que cet affichage apparaisse uniquement quand le nombre d'onglets est supérieur à 18
(ne me demandez pas pourquoi, compliqué à expliqué)
Et donc je ne sais pas comment faire, mais je pense que c'est possible.
Ce module a un ID CSS, d'ailleurs le dev de l'extension demande de rajouter ceci dans userchrome.css
Code : Tout sélectionner
/* Normally has right/left-padding of 1px - remove it all */
toolbarbutton#tab-counter-wide_jmmerz_github-browser-action {
padding-left: 0px !important;
padding-right: 0px !important;
}
/* Normally has right/left-padding of 6px - remove it all */
toolbarbutton#tab-counter-wide_jmmerz_github-browser-action > .toolbarbutton-badge-stack {
padding-top: 0px !important;
padding-bottom: 0px !important;
padding-left: 0px !important;
padding-right: 0px !important;
}
/* Standard height/width is 16px/16px. Tabbar height is 28px so that's pretty fixed,
* but we can adjust width as needed. These should match the icon dimensions in the code. */
toolbarbutton#tab-counter-wide_jmmerz_github-browser-action > .toolbarbutton-badge-stack > .toolbarbutton-icon {
height: 29px !important;
width: 31px !important;
}