Guest User

ff newtab style

a guest
Jun 9th, 2014
229
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 2.87 KB | None | 0 0
  1. /*@namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul);*/
  2.  
  3. @-moz-document url("about:newtab") {
  4.     .newtab-link[href*="youtube.com"] > .newtab-thumbnail {
  5.         background-image: url("file://c:/Users/Marek/AppData/Roaming/Mozilla/Firefox/Profiles/6jmi87vr.default/chrome/youtube.png") !important;
  6.     }
  7.     .newtab-link[href*="seznam.cz"] > .newtab-thumbnail {
  8.         background-image: url("file://c:/Users/Marek/AppData/Roaming/Mozilla/Firefox/Profiles/6jmi87vr.default/chrome/seznam.png") !important;
  9.     }
  10.     .newtab-link[href*="facebook.com"] > .newtab-thumbnail {
  11.         background-image: url("file://c:/Users/Marek/AppData/Roaming/Mozilla/Firefox/Profiles/6jmi87vr.default/chrome/facebook.png") !important;
  12.     }
  13.     .newtab-link[href*="myanimelist.net"] > .newtab-thumbnail {
  14.         background-image: url("file://c:/Users/Marek/AppData/Roaming/Mozilla/Firefox/Profiles/6jmi87vr.default/chrome/mal.png") !important;
  15.     }
  16.     .newtab-link[href*="wikipedia.org"] > .newtab-thumbnail {
  17.         background-image: url("file://c:/Users/Marek/AppData/Roaming/Mozilla/Firefox/Profiles/6jmi87vr.default/chrome/wiki.png") !important;
  18.     }
  19.     .newtab-link[href*="tv.sms.cz"] > .newtab-thumbnail {
  20.         background-image: url("file://c:/Users/Marek/AppData/Roaming/Mozilla/Firefox/Profiles/6jmi87vr.default/chrome/program.png") !important;
  21.     }
  22.     .newtab-link[href*="anichart.net"] > .newtab-thumbnail {
  23.         background-image: url("file://c:/Users/Marek/AppData/Roaming/Mozilla/Firefox/Profiles/6jmi87vr.default/chrome/anichart.png") !important;
  24.     }
  25.     .newtab-link[href*="slovnik.cz"] > .newtab-thumbnail {
  26.         background-image: url("file://c:/Users/Marek/AppData/Roaming/Mozilla/Firefox/Profiles/6jmi87vr.default/chrome/slovnik.png") !important;
  27.     }
  28.     .newtab-link[href*="twitter.com"] > .newtab-thumbnail {
  29.         background-image: url("file://c:/Users/Marek/AppData/Roaming/Mozilla/Firefox/Profiles/6jmi87vr.default/chrome/twitter.png") !important;
  30.     }
  31.     .newtab-link[href="http://www.reddit.com/"] > .newtab-thumbnail {
  32.         background-image: url("file://c:/Users/Marek/AppData/Roaming/Mozilla/Firefox/Profiles/6jmi87vr.default/chrome/reddit.png") !important;
  33.     }
  34.     #newtab-scrollbox {
  35.         background-image: url("file://c:/Users/Marek/AppData/Roaming/Mozilla/Firefox/Profiles/6jmi87vr.default/chrome/back.jpg") !important;
  36.         background-size: cover !important;
  37.         background-position: center !important;
  38.     }
  39.     .newtab-thumbnail {
  40.         background-size: 100% !important;
  41.         background-color: #FFF !important;
  42.         opacity: 1;
  43.     }
  44.     .newtab-cell {
  45.         background-color: rgba(255, 255, 255, 0);
  46.     }
  47.     .newtab-site:hover > .newtab-link > .newtab-thumbnail {
  48.         opacity: 1;
  49.     }
  50.     .newtab-site {
  51.         opacity: 0.3;
  52.     }
  53.     .newtab-site:hover {
  54.         opacity: 1;
  55.     }
  56. }
Add Comment
Please, Sign In to add comment