Advertisement
Guest User

Untitled

a guest
May 19th, 2019
184
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.17 KB | None | 0 0
  1. /* AGENT_SHEET */
  2.  
  3. @-moz-document regexp("(?!(chrome:)).*"){
  4. html scrollbar:not(#foo)
  5. {
  6. z-index: 2147483647 !important;
  7. position: relative !important;
  8. transition: all 0s !important;
  9. }
  10. html scrollbar:not(#foo),
  11. html scrollbar:not(#foo) *
  12. {
  13. -moz-appearance: none !important;
  14. background: none !important;
  15. margin: 0px !important;
  16. padding: 0px !important;
  17. border: 0px !important;
  18. box-shadow: none !important;
  19. }
  20.  
  21. html :not(select)>scrollbar[orient="vertical"]:not(#foo),
  22. html>scrollbar[orient="vertical"]:not(#foo)
  23. {
  24. -moz-margin-start: -12px !important;
  25. max-width: 12px !important;
  26. min-width: 12px !important;
  27. }
  28.  
  29. html scrollbar[orient="horizontal"]:not(#foo)
  30. {
  31. margin-top: -12px !important;
  32. max-height: 12px !important;
  33. min-height: 12px !important;
  34. }
  35.  
  36. html:not(#foo) scrollbar:not(#foo) thumb[orient="vertical"]:not(#foo)
  37. {
  38. min-height: 24px !important;
  39. width: 12px !important;
  40. min-width: 12px !important;
  41. max-width: 12px !important;
  42. }
  43.  
  44. html scrollbar:not(#foo) thumb[orient="horizontal"]
  45. {
  46. min-width: 24px !important;
  47. height: 12px !important;
  48. min-height: 12px !important;
  49. max-height: 12px !important;
  50. }
  51.  
  52. html scrollbar:not(#foo) thumb
  53. {
  54. border-radius: 6px !important;
  55. background: transparent !important;
  56. border: 2px solid rgba(0,255,255,0) !important;
  57. box-shadow: 0 0 0 8px rgba(128,128,128,.4) inset !important;
  58. transition: all 0s !important;
  59. opacity: 1 !important;
  60. }
  61.  
  62. html scrollbar:hover:not(#foo) thumb
  63. {
  64. box-shadow: 0 0 0 8px rgba(128,128,128,.7) inset !important;
  65. transition: all .5s !important;
  66. }
  67.  
  68. html scrollbar:not(#foo) thumb:active
  69. {
  70. box-shadow: 0 0 0 8px rgba(128,128,128,1) inset !important;
  71. transition: all .5s !important;
  72. }
  73.  
  74. /* no buttons */
  75. html scrollbar:not(#foo) scrollbarbutton{
  76. min-height: 0px !important;
  77. min-width: 0px !important;
  78. max-height: 12px !important;
  79. max-width: 12px !important;
  80. height: 0px !important;
  81. width: 0px !important;
  82. }
  83.  
  84. /* autohide */
  85. html:not(#foo) :not(select):not(:hover)>scrollbar:not(:hover),
  86. html:not(#foo) > scrollbar:not(#foo):not(:hover)
  87. {
  88. opacity: 0 !important;
  89. transition: all .5s !important;
  90. }
  91.  
  92. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement