Przeszukaj pomoc

Unikaj oszustw związanych z pomocą.Nigdy nie będziemy prosić Cię o dzwonienie na numer telefonu, wysyłanie SMS-ów ani o udostępnianie danych osobowych. Zgłoś podejrzaną aktywność, korzystając z opcji „Zgłoś nadużycie”.

Więcej informacji

How do I use the titlebar color provided by windows via CSS?

  • 5 odpowiedzi
  • 1 osoba ma ten problem
  • 3 wyświetlenia
  • Ostatnia odpowiedź od dqeswn@gmail.com

more options

I want to use this color. Some elements of the default them already use it by being transparent. This way the colors change as the titlebar color changes. (Which changes because of the desktop background) But I want to use it on such elements for which this doesn't work. Is there a special "-moz-whatever" color for this? Something else?

I want to use this color. Some elements of the default them already use it by being transparent. This way the colors change as the titlebar color changes. (Which changes because of the desktop background) But I want to use it on such elements for which this doesn't work. Is there a special "-moz-whatever" color for this? Something else?

Wszystkie odpowiedzi (5)

more options

Supposedly, -moz-win-borderless-glass does this, but I don't use windows, so I can't verify.

more options

Hmm. To me it's not accepted as a color. Stylish gives an error.

more options

Sorry for being unclear, you don't use it like a standard color. You would use it by adding the following css property:

   -moz-appearance: -moz-win-borderless-glass
more options

Also, this only works on windows. For mac, you would need:

   -moz-appearance: -moz-window-titlebar;

Zmodyfikowany przez user293 w dniu

more options

So it works if I try it with #urlbar.

But for some reason not with .autocomplete-richlistitem or .autocomplete-richlistbox or #PopupAutoCompleteRichResult or such

I actually wanted to change the background and the highlights color of the urlbar results. But it doesn't work on these elements.