et parce que je ne suis pas si bête que ça, une antépénultième solution aux SEARCHPLUGINS en remplaçant les icônes par l'emblème du site, qu'ottomar m'a dit que c'était pas si laid !
hein que c'est mignon !
Code : Tout sélectionner
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
/* antépénultième solution */
#searchbar-dropmarker .box-inherit
{
-moz-appearance: none !important;
background-color: white !important;
/* largeur de l'image la plus... large */
max-width: 87px !important;
min-width: 87px !important;
/* éradication de la bête = somme des hauteurs des images */
/* plus le margin-top moins le séparateur */
max-height: 160px !important;
min-height: 160px !important;
}
#searchbar-dropmarker menuitem
{
-moz-appearance: none !important;
background-image: none !important;
opacity: 0.3 !important;
margin-top: 4px !important;
}
/* suppression de l'icône normale */
#searchbar-dropmarker menuitem[label="Google"] .menu-iconic-icon,
#searchbar-dropmarker menuitem[label="Yahoo"] .menu-iconic-icon,
#searchbar-dropmarker menuitem[label="MediaDICO"] .menu-iconic-icon,
#searchbar-dropmarker menuitem[label="MozillaZine Forums"] .menu-iconic-ico
#searchbar-dropmarker menuitem[label="Ubuntu-fr"] .menu-iconic-ico
{
display: none !important;
}
#searchbar-dropmarker menuitem[label="Google"],
#searchbar-dropmarker menuitem[label="Yahoo"],
#searchbar-dropmarker menuitem[label="MediaDICO"],
#searchbar-dropmarker menuitem[label="MozillaZine Forums"],
#searchbar-dropmarker menuitem[label="Ubuntu-fr"]
{
-moz-appearance: none !important;
margin-top: 2px !important;
background-image: none !important;
background-repeat: no-repeat !important;
color: white !important;
/* pour cacher le label du serchplugin */
/* correspond à la largeur max */
padding-left: 87px !important;
}
/* les searchplugins en spécifiant la hauteur */
#searchbar-dropmarker menuitem[label="Google"]
{
background-image: url("http://www.google.fr/images/firefox/google.gif") !important;
height: 32px !important;
}
#searchbar-dropmarker menuitem[label="Yahoo"]
{
background-image: url("http://us.i1.yimg.com/us.yimg.com/i/ws/w2/yahoo_logo.gif") !important;
height: 16px !important;
}
#searchbar-dropmarker menuitem[label="MediaDICO"]
{
background-image: url("http://www.wtb.free.fr/blog/images/mediadico.jpg") !important;
height: 35px !important;
}
#searchbar-dropmarker menuitem[label="MozillaZine Forums"]
{
background-image: url("http://osuosl.org/images/partners/mozillazine.png") !important;
height: 15px !important;
}
#searchbar-dropmarker menuitem[label="Ubuntu-fr"]
{
background-image: url("http://ubuntuforums.org/images/ubuntu-small.gif") !important;
height: 47px !important;
}
/* :hover en jouant sur l'opacité */
#searchbar-dropmarker menuitem:hover
{
background-color: white !important;
opacity: 1 !important;
}