X
Pritisnite ovdje da biste otišli na mobilnu verziju stranice.

Forum podrške

#bookmarksBarContent toolbarbutton modifications in userChrome.css no longer working

Objavljeno

In firefox 3.x I use a userChrome.css in, among other things, I hide the folder icons and the 'drop-down' "arrow" icon in order to reduce space used, with the following:

/* Remove Bookmark Item Icons */
#bookmarksBarContent toolbarbutton:not([type=menu]) image {
display: none !important;
-moz-margin-end: 0px !important;
}
/*Hide Bookmark Folder Icon*/
#bookmarksBarContent toolbarbutton[type=menu] image {
display: none !important;
-moz-margin-end: 0px !important;
}
#bookmarksBarContent toolbarbutton[container="true"] .toolbarbutton-menu-dropmarker {
display: none !important;
}

This is now longer working in firefox 4.0b6. Can someone tell me how to do this in firefox 4 ?

Thanks much

In firefox 3.x I use a userChrome.css in, among other things, I hide the folder icons and the 'drop-down' "arrow" icon in order to reduce space used, with the following: <pre><nowiki>/* Remove Bookmark Item Icons */ #bookmarksBarContent toolbarbutton:not([type=menu]) image { display: none !important; -moz-margin-end: 0px !important; } /*Hide Bookmark Folder Icon*/ #bookmarksBarContent toolbarbutton[type=menu] image { display: none !important; -moz-margin-end: 0px !important; } #bookmarksBarContent toolbarbutton[container="true"] .toolbarbutton-menu-dropmarker { display: none !important; }</nowiki></pre> This is now longer working in firefox 4.0b6. Can someone tell me how to do this in firefox 4 ? Thanks much

Izmjenjeno od strane cor-el

Izabrano rješenje

Use #personal-bookmarks as selector. That should work in both versions.

/* Remove Bookmark Item Icons */
#personal-bookmarks toolbarbutton:not([type=menu]) image {
display: none !important;
-moz-margin-end: 0px !important;
}
/*Hide Bookmark Folder Icon*/
#personal-bookmarks toolbarbutton[type=menu] image {
display: none !important;
-moz-margin-end: 0px !important;
}
#personal-bookmarks toolbarbutton[container="true"] .toolbarbutton-menu-dropmarker {
display: none !important;
}

The menu button have ID #bookmarks-menu-button and the bookmarks have ID #PlacesToolbar

Pročitajte ovaj odgovor sa objašnjenjem 4

Dodatni detalji o sistemu

Instalirani priključci

  • Xine Plugin version 1.0.2, (c) The Xine Project.Windows Media Player / RealPlayer / QuickTime compatible.
  • The Adobe Reader plugin is used to enable viewing of PDF and FDF files from within the browser.
  • This is the DjView-4.5 version of the DjVu plugin.See DjVuLibre.
  • Version 1.1.0 The Luggage, copyright 1996-2007 The VideoLAN Teamhttp://www.videolan.org/
  • Shockwave Flash 10.1 r82
  • The next generation Java plug-in for Mozilla browsers.

Aplikacija

  • Korisnički agent: Mozilla/5.0 (X11; Linux i686; rv:2.0b6) Gecko/20100101 Firefox/4.0b6

Više informacija

cor-el
  • Top 10 Contributor
  • Moderator
17341 rješenja 156764 odgovora

Odabrano rješenje

Use #personal-bookmarks as selector. That should work in both versions.

/* Remove Bookmark Item Icons */
#personal-bookmarks toolbarbutton:not([type=menu]) image {
display: none !important;
-moz-margin-end: 0px !important;
}
/*Hide Bookmark Folder Icon*/
#personal-bookmarks toolbarbutton[type=menu] image {
display: none !important;
-moz-margin-end: 0px !important;
}
#personal-bookmarks toolbarbutton[container="true"] .toolbarbutton-menu-dropmarker {
display: none !important;
}

The menu button have ID #bookmarks-menu-button and the bookmarks have ID #PlacesToolbar

Use #personal-bookmarks as selector. That should work in both versions. <pre><nowiki>/* Remove Bookmark Item Icons */ #personal-bookmarks toolbarbutton:not([type=menu]) image { display: none !important; -moz-margin-end: 0px !important; } /*Hide Bookmark Folder Icon*/ #personal-bookmarks toolbarbutton[type=menu] image { display: none !important; -moz-margin-end: 0px !important; } #personal-bookmarks toolbarbutton[container="true"] .toolbarbutton-menu-dropmarker { display: none !important; }</nowiki></pre> The menu button have ID #bookmarks-menu-button and the bookmarks have ID #PlacesToolbar

Vlasnik pitanja

Thanks Cor-el, works perfectly. I'd just like to say that firefox-4.0b6 is really fast! Very impressive. I hope its not just that being a beta version, additional functionality remains to be added/activated.. this is definitely the fastest/most responsive version of firefox in quite some time.

thanks again

Thanks Cor-el, works perfectly. I'd just like to say that firefox-4.0b6 is really fast! Very impressive. I hope its not just that being a beta version, additional functionality remains to be added/activated.. this is definitely the fastest/most responsive version of firefox in quite some time. thanks again