Fungovanie tejto stránky je z dôvodu údržby dočasne obmedzené. Ak článok nevyrieši váš problém a chcete položiť otázku, napíšte našej komunite podpory na Twitter @FirefoxSupport alebo Reddit /r/firefox.

Vyhľadajte odpoveď

Vyhnite sa podvodom s podporou. Nikdy vás nebudeme žiadať, aby ste zavolali alebo poslali SMS na telefónne číslo alebo zdieľali osobné informácie. Nahláste prosím podozrivú aktivitu použitím voľby “Nahlásiť zneužitie”.

Ďalšie informácie

Can I edit maximize, minimize and cancel button using userChrome.css on Windows 7?

  • 3 odpovede
  • 2 majú tento problém
  • 4 zobrazenia
  • Posledná odpoveď od GM79

more options

I edited navbar on titlebar so it can fit on my firefox. But one more question is that when I swich theme between Aero and High Contrast, navbar will block the maximize, minimize and cancel button.

http://i.imgur.com/Kyhgy.png http://i.imgur.com/45x7f.png

Can CSS detect theme changing and edit -moz-margin-end? Or just edit the buttons? Thanks

I edited navbar on titlebar so it can fit on my firefox. But one more question is that when I swich theme between Aero and High Contrast, navbar will block the maximize, minimize and cancel button. http://i.imgur.com/Kyhgy.png http://i.imgur.com/45x7f.png Can CSS detect theme changing and edit -moz-margin-end? Or just edit the buttons? Thanks

Všetky odpovede (3)

more options

The caption buttons are not drawn by Firefox, so they can't be affected by userChrome.css. If you try inspecting them with DOM Inspector, you'll notice their function is triggered and DOM Inspector won't display anything new.

If you were making a full-fledged theme, then you could specify a different appearance for Aero and Classic. But as far as I can tell, there's no way to differentiate between the two in a user style. From what I see, the only difference is in the width and height attributes of the window, and that's only if you don't keep Firefox maximized.

If you don't get another answer here, you may want to repeat your question on http://forum.userstyles.org, if you haven't already.

more options

Which code do you currently have in userChrome.css ?

Did you try to set a negative margin-right for that toolbar?

more options

thanks, i think i just switch another file.