Advertisement
Guest User

Untitled

a guest
Jun 1st, 2012
122
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.38 KB | None | 0 0
  1. @namespace html url(http://www.w3.org/1999/xhtml);
  2. @namespace xul url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul);
  3.  
  4.  
  5. @-moz-document url-prefix(http://), url-prefix(https://), url-prefix(ftp://), url-prefix(file://) {
  6.  
  7.  
  8. /*No background images. try to exclude icons, other misc items. */
  9.  
  10. *:not(:empty):not([onclick*="open"]):not(SPAN):not([class*="stars"]):not([id*="stars"]):not([id="rating"]):not([class="rating"]):not([class*="SPRITE"]):not([id*="SPRITE"]):not([id*="lbImage"])
  11.  
  12. { background-image: none !important }
  13.  
  14. /* Basic Bodies */
  15. HTML, BODY { background: none #272c2d !important }
  16.  
  17. /* Make descendents of the body element transparent. Formerly "DIV + SPAN" rules. */
  18. BODY * {background-color:transparent !important}
  19.  
  20. /* Give id's BG hopefully */
  21. DIV[id] {background-color: inherit !important}
  22.  
  23. /* Filter non-icons */
  24. SPAN:not(:empty):not([class*="icon"]):not([id*="icon"]):not([class*="star"]):not([id*="star"]):not([id*="rating"]):not([class*="rating"]):not([class*="Sprite"]):not([class*="sprite"]) {
  25.  
  26. background: none transparent !important;
  27. border-color: #3f3f3f !important}
  28.  
  29.  
  30.  
  31.  
  32. /* :::::::: Text Presentation :::::::: */
  33.  
  34. SUMMARY, DETAILS {background-color: inherit !important}
  35.  
  36. ABBR, PROGRESS, TIME, LABEL,
  37. .date {color: #adadad !important}
  38.  
  39. MARK,
  40. CODE, PRE,
  41. BLOCKQUOTE,
  42. [class*="quote"],
  43. TD[style*="inset"][class="alt2"] { background-color: #2e3436 !important }
  44.  
  45.  
  46. /* :::::::: Headings + Header :::::::: */
  47.  
  48. /* Header gradient rules */
  49.  
  50. H1, h1 a, H2, h2 a, H3, h3 a, H4, h4 a, H5, h5 a, H6, h6 a {
  51. color: #5ca84f !important;
  52. background: none # !important;
  53. }
  54. .statuspanel-label
  55. {-moz-appearance: tooltip !important;
  56. color: red InfoText !important;
  57. margin: 3px !important; }
  58.  
  59. #statusbar-display
  60. {min-width: 0 !important; color:red}
  61. #statusbar-display:not([label^="Looking"]):not([label^="Connecting"]):not([label^="Connected"]):not([label^="Transferring"]):not([label^="Waiting"]):not([label^="Read"])
  62. {opacity: 0 !important; }
  63.  
  64. @namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul);
  65.  
  66. #statusbar-display[label^="Looking"],
  67. #statusbar-display[label^="Connecting"],
  68. #statusbar-display[label^="Connected"],
  69. #statusbar-display[label^="Transferring"],
  70. #statusbar-display[label^="Waiting"],
  71. #statusbar-display[label^="Read"] {
  72. display: none !important;
  73. }
  74.  
  75.  
  76. /* :::::::: Tables, cells :::::::: */
  77.  
  78. TABLE {background-color: #272c2d !important; border-color: #3f3f3 !important}
  79.  
  80.  
  81. TH, CAPTION {background-color: #3f3f3f !important}
  82.  
  83. /* :::::::: Input :::::::: */
  84.  
  85. /*Basic*/
  86.  
  87. INPUT *, TEXTAREA * {color: #adadad !important;} /* anonymous divs */
  88.  
  89. HTML BODY INPUT:not([type="image"]), button,
  90. HTML BODY TEXTAREA {
  91.  
  92. background: none #2e3436 !important;
  93. -moz-appearance: none !important;
  94. -webkit-appearance: none !important;
  95. color: #adadad !important;
  96. border: solid 1px #3f3f3f !important;
  97. border-radius: 0 !important;
  98. -moz-border-radius: 0 !important;
  99. -webkit-border-radius: 0 !important;
  100. }
  101.  
  102.  
  103. /* :::::::: Custom styling :::::::: */
  104.  
  105. HTML:root INPUT[type="button"],
  106. HTML:root INPUT[type="submit"],
  107. HTML:root INPUT[type="reset"],
  108. HTML:root BUTTON {
  109.  
  110. color: #adadad !important;
  111. background-color: #2e3436 !important;
  112. }
  113.  
  114. HTML:root INPUT[type="button"]:hover,
  115. HTML:root INPUT[type="submit"]:hover,
  116. HTML:root INPUT[type="reset"]:hover,
  117. HTML:root BUTTON:hover {
  118.  
  119. color: #adadad !important;
  120. background-color: #2e3436 !important;
  121. border-color: #3f3f3f !important;}
  122.  
  123. HTML:root INPUT[type="image"] {opacity: .85 !important}
  124. HTML:root INPUT[type="image"]:hover {opacity: .95 !important}
  125.  
  126. /* Drop-down menu */
  127.  
  128. SELECT, OPTION, optgroup{
  129.  
  130. background: none #2e3436 !important;
  131. border-color:#3f3f3f !important;
  132. color:#adadad !important;
  133. -moz-appearance: none !important;}
  134.  
  135. /* :::::::: Misc :::::::: */
  136.  
  137. ADDRESS {background: none #333 !important}
  138. HR {background: none #444 !important}
  139. .current {color: #adadad !important;} /*currently viewed page*/
  140.  
  141. /* Remove Rounded Corners, Borders, Spacer, Padding images */
  142.  
  143. IMG[src*="spacer"]:empty,
  144. [id*="round"]:empty,
  145. [id*="bottom"]:empty, [class*="bottom"]:empty, [class*="Bottom"]:empty,
  146. [id*="top"]:empty, [class*="top"]:empty, [class*="Top"]:empty,
  147. [class*="spacer"]:empty
  148.  
  149. {background-image: none !important;}
  150.  
  151. /* Menus and Navigation */
  152.  
  153. NAV,
  154. MENU,
  155.  
  156. /*Common naming conventions - in case previous declarations fail to give solid BG*/
  157.  
  158. HTML BODY [class*="open"],
  159. HTML BODY [id*="Dropdown"],
  160. HTML BODY [id*="dropdown"],
  161. HTML BODY [class*="Dropdown"],
  162. HTML BODY [class*="dropdown"],
  163. HTML BODY [id*="menu"]:not(SELECT),
  164. HTML BODY [class*="menu"]:NOT(SELECT),
  165. HTML BODY [class*="tooltip"],
  166. HTML BODY [class*="popup"],
  167. HTML BODY [id*="popup"],
  168.  
  169. /* Notes, details, etc. Maybe useful */
  170.  
  171. HTML BODY [class*="note"],
  172. HTML BODY [class*="detail"],
  173. HTML BODY [class*="description"],
  174. HTML BODY [class*="title"]
  175. {background-color: #3f3f3f !important}
  176.  
  177. /* Headers, Logos */
  178.  
  179. [id*="masthead"] a,[id*="header"] a,
  180. [id*="logo"] a, [class*="logo"] a
  181.  
  182. {text-indent: 0 !important;}
  183.  
  184. /* Instead of increasing specificity rating by using :not, set rules separately */
  185.  
  186. HTML:root BODY [class*="layer"],
  187. HTML:root BODY #lightbox-nav,
  188. HTML:root BODY #imageContainer {background-color: transparent !important}
  189.  
  190. /*::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::*/
  191.  
  192. /* Universal - sets color of text, border */
  193.  
  194. * {
  195. color: #adadad !important;
  196. border-color: #3f3f3f !important;
  197. outline-color: #3f3f3f !important;
  198. text-shadow: none !important;}
  199.  
  200. html *:after,
  201. html *:before
  202.  
  203. {color: #adadad !important;
  204. border-color: #272c2d !important;
  205. background: none transparent !important}
  206.  
  207.  
  208. /* Link */
  209.  
  210. a:link,
  211. a:link *:not(IMG){
  212.  
  213. color: #729fcf !important;
  214. background-color: transparent !important;
  215. border-color: #666 !important;}
  216.  
  217. a:visited,
  218. a:visited * {color:#729fcf!important;}
  219.  
  220. a:hover,
  221. a:hover *:not(IMG){
  222.  
  223. color: #729fcf !important;
  224. }
  225.  
  226. html [href*="#"]:hover {color: #729fcf !important; background-color: transparent !important;}
  227.  
  228.  
  229. /* Make images transparent */
  230.  
  231. IMG { opacity: .5 !important;}
  232. IMG:hover { opacity: 1 !important; }
  233.  
  234. /* :::::::: Specific Fixes :::::::: */
  235.  
  236. /* google search link fix */
  237. .g .r {background-color: transparent !important;}
  238.  
  239. /* google result hover highlight*/
  240. div.vsc:hover > .vspi, div.vso > .vspi {background: none transparent !important; border: none !important;}
  241. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement