decembre

STY - TEST GM - Scroll Saver

Oct 16th, 2025 (edited)
366
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 5.08 KB | None | 0 0
  1. /* TEST GM - Scroll Saver
  2. https://greasyfork.org/fr/scripts/552727-scroll-saver
  3. === */
  4.  
  5.  
  6. /* ALL */
  7. html:has(#scroll-jump-btn)  button[style="position: fixed; bottom: 20px; right: 100px; z-index: 9999; padding: 8px 12px; font-size: 14px; background-color: rgb(51, 51, 51); color: rgb(255, 255, 255); border: medium; border-radius: 6px; cursor: pointer; opacity: 1;"] ,
  8. html:has(#scroll-jump-btn)  button[style="position: fixed; bottom: 20px; right: 100px; z-index: 9999; padding: 8px 12px; font-size: 14px; background-color: rgb(51, 51, 51); color: rgb(255, 255, 255); border: medium; border-radius: 6px; cursor: pointer; opacity: 0.6;"] ,
  9.  
  10. #scroll-jump-btn ,
  11. #scroll-show-height  {
  12.     position: fixed !important;
  13.     right: -20% !important;
  14.     bottom: -18vh !important;
  15.     padding: 0px 0px !important;
  16.     font-size: 0px !important;
  17. }
  18.  
  19. /* 📌 SAVE */
  20. #scroll-show-height:before  {
  21.     content: "📌" !important;
  22.     position: fixed !important;
  23.     bottom: 0vh !important;
  24.     right: 4.5% !important;
  25.     height: 2vh !important;
  26.     line-height: 2vh !important;
  27.     margin: 0px 0 0px 0px !important;
  28.     padding: 0px 5px !important;
  29.     font-size: 15px !important;
  30.     border-radius: 5px 5px 0 0 !important;
  31.     background: green ;
  32. }
  33. #scroll-show-height  {
  34.     width: auto !important;
  35.     height: 2vh !important;
  36.     line-height: 2vh !important;
  37.     bottom:  0 !important;
  38.     padding: 0px 0px !important;
  39.     font-size: 0px !important;
  40.     background: green ;
  41. }
  42. #scroll-show-height:hover:after  {
  43.     content: "📌 save" !important;
  44.     position: fixed !important;
  45.     height: 2vh !important;
  46.     line-height: 1.8vh !important;
  47.     bottom: 2.2vh !important;
  48.     right: 0% !important;
  49.     margin: 0vh 0 0px 0px !important;
  50.     padding: 0px 5px !important;
  51.     font-size: 15px !important;
  52.     border-radius: 5px !important;
  53.     background: red ;
  54. }
  55.  
  56.  
  57. /* ꜛꜜ JUMP TO */
  58. #scroll-jump-btn:before  {
  59.     content: "ꜛꜜ" !important;
  60.     position: fixed !important;
  61.     bottom: 0vh !important;
  62.     right: 2.2% !important;
  63.     height: 2vh !important;
  64.     line-height: 4.5vh !important;
  65.     margin: 0px 0 0px 0px !important;
  66.     padding: 0px 5px !important;
  67.     font-size: 32px !important;
  68.     border-radius: 5px 5px 0 0 !important;
  69.     background: green ;
  70. }
  71. #scroll-show-height  {
  72.     width: auto !important;
  73.     height: auto !important;
  74.     line-height: 2vh !important;
  75.     bottom:  0 !important;
  76.     padding: 0px 0px !important;
  77.     font-size: 0px !important;
  78.     background: green ;
  79. }
  80. /* HOVER */
  81. #scroll-jump-btn:hover:after  {
  82.     content: "⏏ Jump to" !important;
  83.     position: fixed !important;
  84.     height: 2vh !important;
  85.     line-height: 1.8vh !important;
  86.     bottom: 2.2vh !important;
  87.     right: 0% !important;
  88.     margin: 0vh 0 0px 0px !important;
  89.     padding: 0px 5px !important;
  90.     font-size: 15px !important;
  91.     border-radius: 5px !important;
  92.     background: green ;
  93. }
  94.  
  95. /* ❌ CLEAR */
  96. html:has(#scroll-jump-btn)  button[style="position: fixed; bottom: 20px; right: 100px; z-index: 9999; padding: 8px 12px; font-size: 14px; background-color: rgb(51, 51, 51); color: rgb(255, 255, 255); border: medium; border-radius: 6px; cursor: pointer; opacity: 1;"]:before ,
  97. html:has(#scroll-jump-btn)  button[style="position: fixed; bottom: 20px; right: 100px; z-index: 9999; padding: 8px 12px; font-size: 14px; background-color: rgb(51, 51, 51); color: rgb(255, 255, 255); border: medium; border-radius: 6px; cursor: pointer; opacity: 0.6;"]:before {
  98.     content: "❌" !important;
  99.     position: fixed !important;
  100.     bottom: 0vh !important;
  101.     right: 0% !important;
  102.     margin: 0 0 0px 0px !important;
  103.     padding: 0px 5px !important;
  104.     font-size: 15px !important;
  105.     border-radius: 5px 5px 0 0 !important;
  106.     background: green ;
  107. }
  108. html:has(#scroll-jump-btn)  button[style="position: fixed; bottom: 20px; right: 100px; z-index: 9999; padding: 8px 12px; font-size: 14px; background-color: rgb(51, 51, 51); color: rgb(255, 255, 255); border: medium; border-radius: 6px; cursor: pointer; opacity: 1;"] ,
  109. html:has(#scroll-jump-btn)  button[style="position: fixed; bottom: 20px; right: 100px; z-index: 9999; padding: 8px 12px; font-size: 14px; background-color: rgb(51, 51, 51); color: rgb(255, 255, 255); border: medium; border-radius: 6px; cursor: pointer; opacity: 0.6;"] {
  110.     width: auto !important;
  111.     height: auto !important;
  112.     line-height: 2vh !important;
  113.     bottom:  0 !important;
  114.     padding: 0px 0px !important;
  115.     font-size: 0px !important;
  116. background: green
  117. }
  118.  
  119. /* HOVER */
  120. html:has(#scroll-jump-btn)  button[style="position: fixed; bottom: 20px; right: 100px; z-index: 9999; padding: 8px 12px; font-size: 14px; background-color: rgb(51, 51, 51); color: rgb(255, 255, 255); border: medium; border-radius: 6px; cursor: pointer; opacity: 1;"]:after  {
  121.     content: "❌ clear" !important;
  122.     position: fixed !important;
  123.     bottom: 2.2vh !important;
  124.     right: 0% !important;
  125.     margin: 0vh 0 0px 0px !important;
  126.     padding: 0px 5px !important;
  127.     font-size: 15px !important;
  128.     border-radius: 5px !important;
  129.     background: green ;
  130. }
  131.  
  132.  
Advertisement
Add Comment
Please, Sign In to add comment