zeniko wrote:I didn't know that dropmarkers couldn't have their own tooltip.
So then we both learned something today
zeniko wrote:dougeeebear wrote:If possible, I would like it to say "Tab History" for the single button setup.
Is there a way to create such a tooltip for it with css?
None that I know of. If you absolutely want this, you'll have to modify the file unibafo.xml and add the attribute tooltiptext="Tab History" right after class="toolbarbutton-menubutton-dropmarker" (ugly hack ).Branstrom wrote:Can the buttons be layed out on top of each other, so the disabled state could be showed for either button?
Sure. Add <a href="data:text/css,%2F*%20Drop-down%20only%20button%20for%20Unified%20Back-%2FForward%20Button%20(default%20theme)%20*%2F%0A%0A%23unibafo%20%3E%20toolbarbutton%20%7B%0A%09display%3A%20none%20!important%3B%0A%7D%0A%23unibafo%20%3E%20dropmarker%20%7B%0A%09list-style-image%3A%20url(chrome%3A%2F%2Fbrowser%2Fskin%2FToolbar.png)%20!important%3B%0A%09-moz-image-region%3A%20rect(0px%2C%2048px%2C%2024px%2C%200px)%20!important%3B%0A%7D%0A%23unibafo%5Bdisabled1%3D%22true%22%5D%20%3E%20dropmarker%20%7B%0A%09-moz-image-region%3A%20rect(0px%2C%2048px%2C%2024px%2C%2024px)%20!important%3B%0A%7D%0A%23unibafo%5Bdisabled2%3D%22true%22%5D%20%3E%20dropmarker%20%7B%0A%09-moz-image-region%3A%20rect(0px%2C%2024px%2C%2024px%2C%200px)%20!important%3B%0A%7D%0A%23unibafo%3Ahover%20%3E%20dropmarker%20%7B%0A%09-moz-image-region%3A%20rect(24px%2C%2048px%2C%2048px%2C%200px)%20!important%3B%0A%7D%0A%23unibafo%5Bdisabled1%3D%22true%22%5D%3Ahover%20%3E%20dropmarker%20%7B%0A%09-moz-image-region%3A%20rect(24px%2C%2048px%2C%2048px%2C%2024px)%20!important%3B%0A%7D%0A%23unibafo%5Bdisabled2%3D%22true%22%5D%3Ahover%20%3E%20dropmarker%20%7B%0A%09-moz-image-region%3A%20rect(24px%2C%2024px%2C%2048px%2C%200px)%20!important%3B%0A%7D%0A%23unibafo%5Bdisabled%3D%22true%22%5D%20%3E%20dropmarker%20%7B%0A%09-moz-image-region%3A%20rect(48px%2C%2048px%2C%2072px%2C%200px)%20!important%3B%0A%7D%0A">these lines</a> to your userChrome.css and adapt them to your own image(s).Branstrom wrote:But then the left click to show the menu would be gone... maybe you could hack that into the extension? Just as an option?
Why would I want to add such ugly hacks to my extensions? Anyway, the CSS I gave you above preserves the left-clicking hack you already use.
dougeeebear wrote:I am trying to understand how the fast forward/rewind entries actually function.
Code: Select all
#unibafo menuitem[quicknav="true"] {
font-style: italic;
list-style-image: url("rewind.png") !important;
}
#unibafo[chromedir="rtl"] menuitem[quicknav="true"] {
list-style-image: url("fast-forward.png") !important;
}
Code: Select all
#unibafo menuitem[quicknav="true"]:first-child { /* first fast rewind entry */ }
#unibafo menuitem[quicknav="true"]:first-child + menuitem[quicknav="true"] {
/* second fast rewind entry */
}
#unibafo menuitem[quicknav="true"]:first-child + menuitem[quicknav="true"] + menuitem[quicknav="true"] {
/* third fast rewind entry */
}
/* and so on (adding each time `+ menuitem[quicknav="true"]´) until you have extensions.unibafo.max_quicknav entries */