Skip to content

Instantly share code, notes, and snippets.

@teramako
Created November 29, 2010 05:11
Show Gist options
  • Save teramako/719604 to your computer and use it in GitHub Desktop.
Save teramako/719604 to your computer and use it in GitHub Desktop.
Change background-image of Panorama for Firefox 4.0
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
@namespace html url("http://www.w3.org/1999/xhtml");
@-moz-document url("chrome://browser/content/tabview.html") {
html|div#bg {
background-image: url(file:///C:/........./panorama_bg.jpg) !important;
background-size:100% auto !important;
background-position:0 0 !important;
}
}
/* For Vimperator User
style -name panorama chrome://browser/content/tabview.html <<EOM
#bg {
background-image: url(file:///...../panorama_bg.jpg) !important;
background-size:100% auto !important;
background-position:0 0 !important;
}
EOM
" vim: sw=2 ts=2 et:
*/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment