X
Érintse meg, ha az oldal mobil verziójára kíván váltani.

Támogatói fórum

A témacsoportot lezárták és archiválták. Tegyen fel új kérdést, ha segítségre van szüksége.

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

Beküldve

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?

További rendszeradatok

Telepített bővítmények

  • Next Generation Java Plug-in 11.20.2 for Mozilla browsers
  • Shockwave Flash 18.0 d0
  • SumatraPDF Browser Plugin

Alkalmazás

  • Felhasználói ügynök: Mozilla/5.0 (Windows NT 6.3; Win64; x64; rv:41.0) Gecko/20100101 Firefox/41.0

További információk

user293 39 megoldás 279 válasz

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

[https://developer.mozilla.org/en-US/docs/Web/CSS/-moz-appearance Supposedly], -moz-win-borderless-glass does this, but I don't use windows, so I can't verify.

Kérdés tulajdonosa

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

Hmm. To me it's not accepted as a color. Stylish gives an error.
user293 39 megoldás 279 válasz

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
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
user293 39 megoldás 279 válasz

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

   -moz-appearance: -moz-window-titlebar;
Also, this only works on windows. For mac, you would need: -moz-appearance: -moz-window-titlebar;

Módosította: user293,

Kérdés tulajdonosa

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.

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.