Advertisement
Guest User

Untitled

a guest
Jun 25th, 2016
496
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 2.49 KB | None | 0 0
  1. /* AGENT_SHEET */
  2. /** transparent scrollbars for Firefox
  3. /*  http://userstyles.org/styles/84530/
  4. /*  update 2013-1219
  5. */
  6.  
  7. scrollbar, scrollcorner
  8. {
  9. -moz-appearance: none !important;
  10. background: none !important;
  11. /* padding: 0 !important;  */
  12. border: 0 !important;
  13. margin: 0 !important;
  14. }
  15.  
  16. scrollbar[orient="vertical"]
  17. {
  18. margin-left: -10px !important;
  19. /* padding-right: 4px !important; */
  20. /* padding-top: 4px !important; */
  21. /* padding-bottom: 4px !important; */
  22. }
  23. scrollbar[orient="horizontal"]
  24. {
  25. margin-top: -10px !important;
  26. /* padding-bottom: 4px !important; */
  27. /* padding-left: 4px !important; */
  28. /* padding-right: 4px !important; */
  29. }
  30.  
  31. scrollbar:hover thumb[orient="vertical"],
  32. scrollbar:hover thumb[orient="horizontal"],
  33. scrollbar:hover scrollbarbutton
  34. { background-color: rgba(95,95,95,0.8) !important; }
  35.  
  36.  
  37. scrollbar thumb[orient="vertical"],
  38. textbox scrollbar thumb[orient="vertical"]
  39. { -moz-appearance: none !important;
  40. opacity: 1 !important;
  41. min-height: 30px !important;
  42. border: none !important;
  43. border-radius: 100px;
  44. background-color: rgba(95,95,95,0.2) !important;
  45. }
  46.  
  47. scrollbar thumb[orient="horizontal"],
  48. textbox scrollbar thumb[orient="horizontal"]
  49. { -moz-appearance: none !important;
  50. min-width: 30px !important;
  51. opacity: 1 !important;
  52. border: none !important;
  53. border-radius: 100px;
  54. background-color: rgba(95,95,95,0.2) !important;
  55. }
  56.  
  57. scrollbar {
  58.  
  59. }
  60. scrollbar:hover {
  61.   opacity: 1;
  62. }
  63. scrollbar[orient="vertical"]
  64. {
  65.   padding: 4px 4px 4px 0px;
  66. min-width: 12px !important;
  67. max-width: 12px !important;
  68. }
  69.  
  70. html>scrollbar[orient="vertical"]
  71. {
  72. margin-left: -12px !important;
  73. position: relative !important;
  74. z-index: 99999999 !important;
  75. }
  76.  
  77. scrollbar[orient="horizontal"]
  78. {
  79.   padding: 0px 4px 4px;
  80. max-height: 12px !important;
  81. min-height: 12px !important;
  82. }
  83. html>scrollbar[orient="horizontal"]
  84. {
  85. position: relative !important;
  86. z-index: 99999999 !important;
  87. }
  88.  
  89. scrollbarbutton
  90. { -moz-appearance: none !important;
  91. border: none !important;
  92. background: #666 !important;
  93. opacity: .25 !important;
  94. border-radius: 0;
  95. max-height:10px  !important;
  96. min-height:10px  !important;
  97. max-width:10px  !important;
  98. min-width:10px  !important;
  99. margin: 0px  !important;
  100.   display: none;
  101. }
  102.  
  103. /**** so scrollbar won't block links, other scrollbars, etc *****/
  104. /* @-moz-document url-prefix(http){
  105. body
  106. {
  107. padding-right: 10px !important;
  108. max-width: calc(100% - 10px)  !important;
  109. }
  110. } */
  111.  
  112.  
  113.  
  114. /* *************** end scrollbars ***************** */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement