X
Tryk her for at gå til webstedets mobilversion.

Supportforum

userChrome.css: notification-animation

Skrevet

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
Citér

Yderligere systemdetaljer

Program

  • User Agent: Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:66.0) Gecko/20100101 Firefox/66.0

Yderligere information

Luk
cor-el
  • Top 10 Contributor
  • Moderator
17465 løsninger 157833 svar

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?

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?
Fandt du dette nyttigt?
Citér

Spørgsmålsstiller

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

Yes, I want it to stay for longer, or until I click. Thanks.
Fandt du dette nyttigt?
Citér
Stil et spørgsmål

Du skal logge ind på din konto for at svare på et indlæg. Start et nyt spørgsmål, hvis du ikke har en konto endnu.