Advertisement
Guest User

Untitled

a guest
Aug 21st, 2015
723
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.76 KB | None | 0 0
  1. @namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul);
  2.  
  3. @-moz-document url(chrome://browser/content/browser.xul){
  4.  
  5. /* Tabs toolbar tab close button (Fx31+) */
  6. #main-window #navigator-toolbox #TabsToolbar #tabbrowser-tabs .tabbrowser-tab .tab-close-button,
  7. #navigator-toolbox #TabsToolbar #tabs-closebutton,
  8. #navigator-toolbox #TabsToolbar #ctraddon_tabs-closebutton{
  9. list-style-image: url("chrome://classic_theme_restorer/content/images/close_alt.png") !important;
  10. -moz-image-region: rect(0, 16px, 16px, 0) !important;
  11. }
  12. #main-window #navigator-toolbox #TabsToolbar #tabbrowser-tabs .tabbrowser-tab .tab-close-button:hover,
  13. #navigator-toolbox #TabsToolbar #tabs-closebutton:hover,
  14. #navigator-toolbox #TabsToolbar #ctraddon_tabs-closebutton:hover{
  15. -moz-image-region: rect(0, 32px, 16px, 16px) !important;
  16. }
  17. #main-window #navigator-toolbox #TabsToolbar #tabbrowser-tabs .tabbrowser-tab .tab-close-button:hover:active,
  18. #navigator-toolbox #TabsToolbar #tabs-closebutton:hover:active,
  19. #navigator-toolbox #TabsToolbar #ctraddon_tabs-closebutton:hover:active {
  20. -moz-image-region: rect(0, 48px, 16px, 32px) !important;
  21. }
  22.  
  23. #main-window #navigator-toolbox #TabsToolbar #tabbrowser-tabs .tabbrowser-tab:not([selected]):not(:hover) .tab-close-button{
  24. opacity: .7 !important;
  25. }
  26.  
  27. #TabsToolbar .close-icon > .toolbarbutton-icon {
  28. width: 16px !important;
  29. }
  30.  
  31. }
  32.  
  33.  
  34. =========================================================
  35.  
  36. @namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul);
  37.  
  38. @-moz-document url(chrome://browser/content/browser.xul){
  39.  
  40. /* Tabs toolbar tab close button (Fx31+) */
  41. #navigator-toolbox #TabsToolbar #ctraddon_tabs-closebutton{
  42. -moz-image-region: rect(0, 16px, 16px, 0) !important;
  43. -moz-appearance: none !important;
  44. border: none !important;
  45. padding: 0px !important;
  46. list-style-image: url("chrome://classic_theme_restorer/content/images/close.png") !important;
  47. }
  48. #navigator-toolbox #TabsToolbar #ctraddon_tabs-closebutton:hover{
  49. -moz-image-region: rect(0, 32px, 16px, 16px) !important;
  50. }
  51. #navigator-toolbox #TabsToolbar #ctraddon_tabs-closebutton:hover:active {
  52. -moz-image-region: rect(0, 48px, 16px, 32px) !important;
  53. }
  54.  
  55. /* Tab close button */
  56. #main-window #navigator-toolbox #TabsToolbar #tabbrowser-tabs .tabbrowser-tab:not([pinned]):not([protected]):not([autoReload]) .tab-close-button {
  57. -moz-appearance: none !important;
  58. -moz-image-region: rect(0, 64px, 16px, 48px) !important;
  59. border: none !important;
  60. padding: 0px !important;
  61. list-style-image: url("chrome://classic_theme_restorer/content/images/close.png") !important;
  62. }
  63.  
  64. #main-window #navigator-toolbox #TabsToolbar #tabbrowser-tabs .tabbrowser-tab:not([pinned]):not([protected]):not([autoReload]) .tab-close-button:hover,
  65. #main-window #navigator-toolbox #TabsToolbar #tabbrowser-tabs .tabbrowser-tab:not([pinned]):not([protected]):not([autoReload]) .tab-close-button:hover[selected="true"] {
  66. -moz-image-region: rect(0, 32px, 16px, 16px) !important;
  67. }
  68.  
  69. #main-window #navigator-toolbox #TabsToolbar #tabbrowser-tabs .tabbrowser-tab:not([pinned]):not([protected]):not([autoReload]) .tab-close-button:hover:active,
  70. #main-window #navigator-toolbox #TabsToolbar #tabbrowser-tabs .tabbrowser-tab:not([pinned]):not([protected]):not([autoReload]) .tab-close-button:hover:active[selected="true"] {
  71. -moz-image-region: rect(0, 48px, 16px, 32px) !important;
  72. }
  73.  
  74. #main-window #navigator-toolbox #TabsToolbar #tabbrowser-tabs .tabbrowser-tab:not([pinned]):not([protected]):not([autoReload]) .tab-close-button[selected="true"] {
  75. -moz-image-region: rect(0, 16px, 16px, 0) !important;
  76. }
  77.  
  78. #main-window #navigator-toolbox #TabsToolbar #tabbrowser-tabs .tabbrowser-tab .tab-close-button{
  79. opacity: 1.0 !important;
  80. }
  81.  
  82. #TabsToolbar .close-icon > .toolbarbutton-icon {
  83. width: 16px !important;
  84. }
  85.  
  86. }
  87.  
  88. =========================================================
  89.  
  90. @namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul);
  91.  
  92. @-moz-document url(chrome://browser/content/browser.xul){
  93.  
  94. /* Tabs toolbar tab close button (Fx31+) */
  95. #main-window #navigator-toolbox #TabsToolbar #tabbrowser-tabs .tabbrowser-tab .tab-close-button,
  96. #navigator-toolbox #TabsToolbar #tabs-closebutton,
  97. #navigator-toolbox #TabsToolbar #ctraddon_tabs-closebutton{
  98. list-style-image: url("chrome://classic_theme_restorer/content/images/close_w10.png") !important;
  99. -moz-image-region: rect(0, 20px, 20px, 0) !important;
  100. }
  101. #main-window #navigator-toolbox #TabsToolbar #tabbrowser-tabs .tabbrowser-tab .tab-close-button:hover,
  102. #navigator-toolbox #TabsToolbar #tabs-closebutton:hover,
  103. #navigator-toolbox #TabsToolbar #ctraddon_tabs-closebutton:hover{
  104. -moz-image-region: rect(0, 40px, 20px, 20px) !important;
  105. }
  106. #main-window #navigator-toolbox #TabsToolbar #tabbrowser-tabs .tabbrowser-tab .tab-close-button:hover:active,
  107. #navigator-toolbox #TabsToolbar #tabs-closebutton:hover:active,
  108. #navigator-toolbox #TabsToolbar #ctraddon_tabs-closebutton:hover:active {
  109. -moz-image-region: rect(0, 60px, 20px, 40px) !important;
  110. }
  111.  
  112. #main-window #navigator-toolbox #TabsToolbar #tabbrowser-tabs .tabbrowser-tab .tab-close-button{
  113. opacity: 1.0 !important;
  114. }
  115.  
  116. #TabsToolbar .close-icon > .toolbarbutton-icon {
  117. width: 16px !important;
  118. }
  119.  
  120. }
  121.  
  122. =========================================================
  123.  
  124. @namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul);
  125.  
  126. @-moz-document url(chrome://browser/content/browser.xul){
  127.  
  128. /* Tabs toolbar tab close button (Fx31+) */
  129. #main-window #navigator-toolbox #TabsToolbar #tabbrowser-tabs .tabbrowser-tab .tab-close-button,
  130. #navigator-toolbox #TabsToolbar #tabs-closebutton,
  131. #navigator-toolbox #TabsToolbar #ctraddon_tabs-closebutton{
  132. list-style-image: url("chrome://classic_theme_restorer/content/images/close_w10i.png") !important;
  133. -moz-image-region: rect(0, 20px, 20px, 0) !important;
  134. }
  135. #main-window #navigator-toolbox #TabsToolbar #tabbrowser-tabs .tabbrowser-tab .tab-close-button:hover,
  136. #navigator-toolbox #TabsToolbar #tabs-closebutton:hover,
  137. #navigator-toolbox #TabsToolbar #ctraddon_tabs-closebutton:hover{
  138. -moz-image-region: rect(0, 40px, 20px, 20px) !important;
  139. }
  140. #main-window #navigator-toolbox #TabsToolbar #tabbrowser-tabs .tabbrowser-tab .tab-close-button:hover:active,
  141. #navigator-toolbox #TabsToolbar #tabs-closebutton:hover:active,
  142. #navigator-toolbox #TabsToolbar #ctraddon_tabs-closebutton:hover:active {
  143. -moz-image-region: rect(0, 60px, 20px, 40px) !important;
  144. }
  145.  
  146. #main-window #navigator-toolbox #TabsToolbar #tabbrowser-tabs .tabbrowser-tab .tab-close-button{
  147. opacity: 1.0 !important;
  148. }
  149.  
  150. #TabsToolbar .close-icon > .toolbarbutton-icon {
  151. width: 16px !important;
  152. }
  153.  
  154. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement