Advertisement
antijingoist

Signal Scrollbars & Optional hide gif/video

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