Prohledat stránky podpory

Vyhněte se podvodům. Za účelem poskytnutí podpory vás nikdy nežádáme, abyste zavolali nebo poslali SMS na nějaké telefonní číslo nebo abyste sdělili své osobní údaje. Jakékoliv podezřelé chování nám prosím nahlaste pomocí odkazu „Nahlásit zneužití“.

Learn More

userChrome.css: notification-animation

  • 2 odpovědi
  • 1 má tento problém
  • 6 zobrazení
  • Poslední odpověď od mrtodfod

more options

Version: 66.0.4 (64-bit) fedora -1.0 (linux fedora 28) I can't get following to work: @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");

@-moz-document url("chrome://global/content/alerts/alert.xul") {

       #alertBox[animate] {
               animation-duration: 999s !important;
       }

}

I also tried: @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");

  • { animation-duration: 999s !important;}

The file is correctly put under: .mozilla/firefox/0b1lldqo.default-1468459052444/chrome and named: userChrome.css

notify-send -t 440000 "hello"  : works just fine.

Thanks a lot, appreciate any help.

MR

Version: 66.0.4 (64-bit) fedora -1.0 (linux fedora 28) I can't get following to work: @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); @-moz-document url("chrome://global/content/alerts/alert.xul") { #alertBox[animate] { animation-duration: 999s !important; } } I also tried: @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); * { animation-duration: 999s !important;} The file is correctly put under: .mozilla/firefox/0b1lldqo.default-1468459052444/chrome and named: userChrome.css notify-send -t 440000 "hello" : works just fine. Thanks a lot, appreciate any help. MR

Všechny odpovědi (2)

more options

What do you want to achieve with this code in userChrome.css ?

Do you want the notification to stay on the window for a longer time?

more options

Yes, I want it to stay for longer, or until I click. Thanks.