commonsScrollbar.scss 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154
  1. /* 滚动 */
  2. .commonsScrollbar {
  3. overflow-y: scroll;
  4. overflow-x: visible;
  5. }
  6. /* 滚动槽 【 由于被全局其他的地方影响,这里另外单独处理 】*/
  7. .commonsScrollbar::-webkit-scrollbar-track {
  8. -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0);
  9. }
  10. /* 滚动条滑块 【 由于被全局其他的地方影响,这里另外单独处理 】 */
  11. .commonsScrollbar::-webkit-scrollbar-thumb {
  12. -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0);
  13. }
  14. /* 滚动条整体样式 */
  15. .commonsScrollbar::-webkit-scrollbar {
  16. width: 1px;
  17. height: 1px;
  18. -webkit-border-radius: 5px;
  19. -moz-border-radius: 5px;
  20. border-radius: 5px;
  21. }
  22. .commonsScrollbar::scrollbar {
  23. width: 1px;
  24. height: 1px;
  25. -webkit-border-radius: 5px;
  26. -moz-border-radius: 5px;
  27. border-radius: 5px;
  28. }
  29. .commonsScrollbar::-moz-scrollbar {
  30. width: 1px;
  31. height: 1px;
  32. -webkit-border-radius: 5px;
  33. -moz-border-radius: 5px;
  34. border-radius: 5px;
  35. }
  36. .commonsScrollbar::-ms-scrollbar {
  37. width: 1px;
  38. height: 1px;
  39. -webkit-border-radius: 5px;
  40. -moz-border-radius: 5px;
  41. border-radius: 5px;
  42. }
  43. .commonsScrollbar::-o-scrollbar {
  44. width: 1px;
  45. height: 1px;
  46. -webkit-border-radius: 5px;
  47. -moz-border-radius: 5px;
  48. border-radius: 5px;
  49. }
  50. /* 滚动条里面小方块 */
  51. .commonsScrollbar::-webkit-scrollbar-thumb {
  52. /* background-color: #EAEAEA;*/
  53. background-color: #D9D9D9;
  54. background-clip: padding-box;
  55. -webkit-border-radius: 5px;
  56. -moz-border-radius: 5px;
  57. border-radius: 5px;
  58. min-height: 1px;
  59. }
  60. .commonsScrollbar::scrollbar-thumb {
  61. /* background-color: #EAEAEA;*/
  62. background-color: #D9D9D9;
  63. background-clip: padding-box;
  64. -webkit-border-radius: 5px;
  65. -moz-border-radius: 5px;
  66. border-radius: 5px;
  67. min-height: 1px;
  68. }
  69. .commonsScrollbar::-moz-scrollbar-thumb {
  70. /* background-color: #EAEAEA;*/
  71. background-color: #D9D9D9;
  72. background-clip: padding-box;
  73. -webkit-border-radius: 5px;
  74. -moz-border-radius: 5px;
  75. border-radius: 5px;
  76. min-height: 1px;
  77. }
  78. .commonsScrollbar::-ms-scrollbar-thumb {
  79. /* background-color: #EAEAEA;*/
  80. background-color: #D9D9D9;
  81. background-clip: padding-box;
  82. -webkit-border-radius: 5px;
  83. -moz-border-radius: 5px;
  84. border-radius: 5px;
  85. min-height: 1px;
  86. }
  87. .commonsScrollbar::-o-scrollbar-thumb {
  88. /* background-color: #EAEAEA;*/
  89. background-color: #D9D9D9;
  90. background-clip: padding-box;
  91. -webkit-border-radius: 5px;
  92. -moz-border-radius: 5px;
  93. border-radius: 5px;
  94. min-height: 1px;
  95. }
  96. /* 滚动条里面轨道 */
  97. .commonsScrollbar::-webkit-scrollbar-thumb:hover {
  98. /* background-color: #EAEAEA;*/
  99. background-color: #D9D9D9;
  100. -webkit-border-radius: 5px;
  101. -moz-border-radius: 5px;
  102. border-radius: 5px;
  103. }
  104. .commonsScrollbar::scrollbar-thumb:hover {
  105. /* background-color: #EAEAEA;*/
  106. background-color: #D9D9D9;
  107. -webkit-border-radius: 5px;
  108. -moz-border-radius: 5px;
  109. border-radius: 5px;
  110. }
  111. .commonsScrollbar::-moz-scrollbar-thumb:hover {
  112. /* background-color: #EAEAEA;*/
  113. background-color: #D9D9D9;
  114. -webkit-border-radius: 5px;
  115. -moz-border-radius: 5px;
  116. border-radius: 5px;
  117. }
  118. .commonsScrollbar::-ms-scrollbar-thumb:hover {
  119. /* background-color: #EAEAEA;*/
  120. background-color: #D9D9D9;
  121. -webkit-border-radius: 5px;
  122. -moz-border-radius: 5px;
  123. border-radius: 5px;
  124. }
  125. .commonsScrollbar::-o-scrollbar-thumb:hover {
  126. /* background-color: #EAEAEA;*/
  127. background-color: #D9D9D9;
  128. -webkit-border-radius: 5px;
  129. -moz-border-radius: 5px;
  130. border-radius: 5px;
  131. }