Custom style for menu button
-
- Posts: 4
- Joined: November 11th, 2015, 9:24 am
Custom style for menu button
Dear all,
I want to create a customized css for chrome theme, I want to hide some elements and I'm looking for their element-id to write a css stylesheet to add to my firefox profile.
What is the ID of the menu button (main menu on right of toolbar) of firefox?
More general, how can I be autonomous to find them for other elements?
Thanks
I want to create a customized css for chrome theme, I want to hide some elements and I'm looking for their element-id to write a css stylesheet to add to my firefox profile.
What is the ID of the menu button (main menu on right of toolbar) of firefox?
More general, how can I be autonomous to find them for other elements?
Thanks
- DanRaisch
- Moderator
- Posts: 127243
- Joined: September 23rd, 2004, 8:57 pm
- Location: Somewhere on the right coast
Re: Custom style for menu button
Moving to Firefox Support.
-
- Posts: 4480
- Joined: March 19th, 2005, 10:51 am
Re: Custom style for menu button
its called the "hamburger button". and no - there is no current extension present, to find those nodes. you need to investigate how to work with the inspector
https://developer.mozilla.org/de/docs/T ... _Inspector
https://developer.mozilla.org/de/docs/T ... _Inspector
-
- Posts: 6434
- Joined: February 3rd, 2009, 6:29 pm
Re: Custom style for menu button
The toolbar button id is "PanelUI-menu-button".
I found the id using the tooltip text.
http://dxr.mozilla.org/mozilla-release/ ... en+menu%22
http://dxr.mozilla.org/mozilla-release/ ... nu.tooltip
I found the id using the tooltip text.
http://dxr.mozilla.org/mozilla-release/ ... en+menu%22
http://dxr.mozilla.org/mozilla-release/ ... nu.tooltip
- lovemyfoxy
- Posts: 2337
- Joined: December 11th, 2009, 11:23 am
- Location: USA
Re: Custom style for menu button
The hamburger has spread. I've seen it on other sites with a similar meaning. If it had onion slices there would be 4 layers. With cheese--5 layers
@tobiascapin--do you think it will take longer than 3 months to complete?
@tobiascapin--do you think it will take longer than 3 months to complete?
2 Desktops--Win 7 Ult.SP1 x64/6GB RAM /Firefox 52.9ESR/Waterfox64 2022.11/Thunderbird 52.9ESR/BitWarden PW Manager/Verizon FIOS wired network
- Reflective
- Posts: 2283
- Joined: February 15th, 2007, 11:13 am
Re: Custom style for menu button
Add the following bookmark to your collection and keep an eye on its progress. It might save you some time: https://www.reddit.com/r/firefox/commen ... _lands_if/
- lovemyfoxy
- Posts: 2337
- Joined: December 11th, 2009, 11:23 am
- Location: USA
Re: Custom style for menu button
I think the discussions of that topic on Mzine are a better barometer of what's going on.Reflective wrote:Add the following bookmark to your collection and keep an eye on its progress. It might save you some time: https://www.reddit.com/r/firefox/commen ... _lands_if/
Last edited by lovemyfoxy on August 12th, 2017, 11:53 am, edited 1 time in total.
2 Desktops--Win 7 Ult.SP1 x64/6GB RAM /Firefox 52.9ESR/Waterfox64 2022.11/Thunderbird 52.9ESR/BitWarden PW Manager/Verizon FIOS wired network
- Frank Lion
- Posts: 21178
- Joined: April 23rd, 2004, 6:59 pm
- Location: ... The Exorcist....United Kingdom
- Contact:
Re: Custom style for menu button
From that link -LoveMyFoxy wrote:I think the discussions of that topic on Mz are a better barometer of what's going on.Reflective wrote:Add the following bookmark to your collection and keep an eye on its progress. It might save you some time: https://www.reddit.com/r/firefox/commen ... _lands_if/
Wrong...and I stopped reading at that point.[–]rSdar 3 points 1 month ago
there's some content that can't be customized ie:scrollbars
"The only thing necessary for the triumph of evil, is for good men to do nothing." - Edmund Burke (attrib.)
.
.
- lovemyfoxy
- Posts: 2337
- Joined: December 11th, 2009, 11:23 am
- Location: USA
Re: Custom style for menu button
2 Desktops--Win 7 Ult.SP1 x64/6GB RAM /Firefox 52.9ESR/Waterfox64 2022.11/Thunderbird 52.9ESR/BitWarden PW Manager/Verizon FIOS wired network
-
- Posts: 4
- Joined: November 11th, 2015, 9:24 am
Re: Custom style for menu button
Thanks, it works!morat wrote:The toolbar button id is "PanelUI-menu-button".
I'm also looking for the new Tab button:
I tried your method, searching tooltips text, but I could not find it.
I use a lot the inspector to develope js/css, but I have never see elements outside the window element.Brummelchen wrote: its called the "hamburger button". and no - there is no current extension present, to find those nodes. you need to investigate how to work with the inspector
https://developer.mozilla.org/de/docs/T ... _Inspector
Sorry, I cannot understand, what are you talking about?LoveMyFoxy wrote:@tobiascapin--do you think it will take longer than 3 months to complete?
-
- Posts: 4
- Joined: November 11th, 2015, 9:24 am
Re: Custom style for menu button
I found its class (I don't know its id): .tabs-newtab-buttontobiascapin wrote:I'm also looking for the new Tab button:
I tried your method, searching tooltips text, but I could not find it.
-
- Posts: 6434
- Joined: February 3rd, 2009, 6:29 pm
Re: Custom style for menu button
It is an anonymous element. It has no id. It has an anonid.
Code: Select all
/* Firefox userChrome.css */
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
toolbarbutton[anonid="tabs-newtab-button"] {
background-color: pink !important;
}
- lovemyfoxy
- Posts: 2337
- Joined: December 11th, 2009, 11:23 am
- Location: USA
Re: Custom style for menu button
It might cease to work after version 56 in November.tobiascapin wrote:Sorry, I cannot understand, what are you talking about?LoveMyFoxy wrote:@tobiascapin--do you think it will take longer than 3 months to complete?
https://www.tnhonline.com/2017/04/06/mo ... interface/
2 Desktops--Win 7 Ult.SP1 x64/6GB RAM /Firefox 52.9ESR/Waterfox64 2022.11/Thunderbird 52.9ESR/BitWarden PW Manager/Verizon FIOS wired network
- lovemyfoxy
- Posts: 2337
- Joined: December 11th, 2009, 11:23 am
- Location: USA
Re: Custom style for menu button
[quote="morat"]It is an anonymous element. It has no id. It has an anonid./quote]
Anonid sounds like a sinus condition.
Anonid sounds like a sinus condition.
2 Desktops--Win 7 Ult.SP1 x64/6GB RAM /Firefox 52.9ESR/Waterfox64 2022.11/Thunderbird 52.9ESR/BitWarden PW Manager/Verizon FIOS wired network
-
- Posts: 6434
- Joined: February 3rd, 2009, 6:29 pm
Re: Custom style for menu button
I thought of taxonomy, but alas there is no anonidae family.LoveMyFoxy wrote:Anonid sounds like a sinus condition.
canid - member of canidae family e.g. dog
iguanid - member of iguanidae family e.g. lizard
ranid - member of ranidae family e.g. frog
http://en.wikipedia.org/wiki/canidae
http://en.wikipedia.org/wiki/iguanidae
http://en.wikipedia.org/wiki/ranidae