Advertisement
antijingoist

Discord CSS with aqua scrollbars

Aug 21st, 2024 (edited)
221
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 4.58 KB | Source Code | 0 0
  1. body {
  2.     font-family: "opendyslexic";
  3.     text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.15)
  4. }
  5.  
  6. .scroller_fea3ef::-webkit-scrollbar {
  7.     width: 10px !important;
  8. }
  9.  
  10. .scroller_fea3ef::-webkit-scrollbar-button {
  11.     display: none;
  12. }
  13.  
  14. ::-webkit-scrollbar {
  15.     width: 20px !important;
  16.     height: 20px !important;
  17. }
  18.  
  19. ::-webkit-scrollbar-button {
  20.     display: block;
  21.     height: 20px;
  22.     background-size: 10px;
  23.     background-repeat: no-repeat;
  24.     color: black
  25. }
  26.  
  27. ::-webkit-scrollbar-button:active {
  28.     background: #9ef;
  29.     background-size: 10px;
  30.     background-repeat: no-repeat;
  31. }
  32.  
  33. ::-webkit-scrollbar {
  34.     background: linear-gradient(to right, #ccc, #fff 20%, #ddd);
  35.     cursor: default;
  36. }
  37.  
  38. ::-webkit-scrollbar:horizontal {
  39.     background: linear-gradient(to bottom, #ccc, #fff 20%, #ddd);
  40.     cursor: default;
  41. }
  42.  
  43. ::-webkit-scrollbar-track:vertical {
  44.     background: linear-gradient(to right, #eee, #fff);
  45.     border-left: 1px solid #ccc;
  46.     border-top: 1px solid #bbb;
  47.     border-bottom: 1px solid #ddd;
  48.     width: 16px;
  49.     border-radius: 100px;
  50.     box-shadow: inset 2px 0 3px #0002, inset 0 -2px 3px #0003, inset 0 2px 3px #0003;
  51. }
  52.  
  53. ::-webkit-scrollbar-track:vertical:window-inactive {
  54.     box-shadow: inset 2px 0 3px #0041, inset 0 -2px 3px #0041, inset 0 2px 3px #0041;
  55. }
  56.  
  57. ::-webkit-scrollbar-track:horizontal {
  58.     background: linear-gradient(to bottom, #eee, #fff);
  59.     border-top: 1px solid #ccc;
  60.     border-left: 1px solid #bbb;
  61.     border-right: 1px solid #ddd;
  62.     width: 16px;
  63.     border-radius: 100px;
  64.     box-shadow: inset 0 2px 3px #0002, inset -2px 0 3px #0003, inset 2px 0 3px #0003;
  65. }
  66.  
  67. ::-webkit-scrollbar-track:horizontal:window-inactive {
  68.     box-shadow: inset 0 2px 3px #0041, inset -2px 0 3px #0041, inset 2px 0 3px #0041;
  69. }
  70.  
  71. ::-webkit-scrollbar-thumb:vertical {
  72.     background: linear-gradient(to right, #6af 10%, #fff4 20%, #6af 30%, #9ef), linear-gradient(to bottom, #6af 5px, #6af0 10px), linear-gradient(to top, #6af 5px, #6af0 10px);
  73.     border: 1px solid #ccc;
  74.     box-sizing: border-box;
  75.     box-shadow: inset 0 0 4px #004;
  76.     min-height: 30px;
  77.     -webkit-border-radius: 100px;
  78. }
  79.  
  80. ::-webkit-scrollbar-thumb:vertical:window-inactive {
  81.     background: linear-gradient(to bottom, #eee 5px, #eee0 10px), linear-gradient(to top, #eee 5px, #eee0 10px), linear-gradient(to right, #ddd 10%, #fff 20%, #eee 30%, #fff);
  82.     box-shadow: inset 0 0 4px #0044;
  83. }
  84.  
  85. ::-webkit-scrollbar-thumb:horizontal {
  86.     background: linear-gradient(to bottom, #6af 10%, #fff4 20%, #6af 30%, #9ef), linear-gradient(to right, #6af 5px, #6af0 10px), linear-gradient(to left, #6af 5px, #6af0 10px);
  87.     border: 1px solid #ccc;
  88.     box-sizing: border-box;
  89.     box-shadow: inset 0 0 4px #004;
  90.     min-width: 30px;
  91.     -webkit-border-radius: 100px;
  92. }
  93.  
  94. ::-webkit-scrollbar-thumb:horizontal:window-inactive {
  95.     background: linear-gradient(to right, #eee 5px, #eee0 10px), linear-gradient(to left, #eee 5px, #eee0 10px), linear-gradient(to bottom, #ddd 10%, #fff 20%, #eee 30%, #fff);
  96.     box-shadow: inset 0 0 4px #0044;
  97. }
  98.  
  99. ::-webkit-scrollbar-thumb:active {
  100.     box-shadow: inset 0 0 7px #004;
  101. }
  102.  
  103. ::-webkit-scrollbar-corner {
  104.     background: linear-gradient(to right, #ccc, #fff 20%, #ddd);
  105. }
  106.  
  107. ::-webkit-scrollbar-button {
  108.     background: linear-gradient(to right, #ccc, #fff 20%, #ddd);
  109.     display: block;
  110.     height: 20px;
  111.     background-size: 10px;
  112.     background-repeat: no-repeat;
  113. }
  114.  
  115. ::-webkit-scrollbar-button:active {
  116.     background: rgb(151, 189, 237);
  117.     background-size: 10px;
  118.     background-repeat: no-repeat;
  119. }
  120.  
  121. ::-webkit-scrollbar-button:vertical:decrement {
  122.     background-position: center 4px;
  123.     background-image: url("data:image/svg+xml;utf8,<svg xmlns=!string!width=!string!height=!string!fill=!string!><polygon points=!string!/></svg>");
  124. }
  125.  
  126. ::-webkit-scrollbar-button:vertical:decrement:active {
  127.     background-position: center 4px;/* background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100' height='100' fill='white'><polygon points='50,00 0,50 100,50'/></svg>"); */
  128. }
  129.  
  130. /* Down */
  131. ::-webkit-scrollbar-button:vertical:increment {
  132.     background-position: center 4px;
  133.     background-image: url("data:image/svg+xml;utf8,<svg xmlns=!string!width=!string!height=!string!fill=!string!><polygon points=!string!/></svg>");
  134. }
  135.  
  136. ::-webkit-scrollbar-button:vertical:increment:active {
  137.     background-position: center 4px;/* background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100' height='100' fill='white'><polygon points='0,0 100,0 50,50'/></svg>"); */
  138. }
  139.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement