Discord CSS with aqua scrollbars
antijingoist |
PRO |
08/21/24 10:06:18 PM UTC (Edited) |
0 ⭐ |
7970 👁️ |
Never ⏰ |
[discord, CSS, scrollbars]
body {
font-family: "opendyslexic";
text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.15)
}
.scroller_fea3ef::-webkit-scrollbar {
width: 10px !important;
}
.scroller_fea3ef::-webkit-scrollbar-button {
display: none;
}
::-webkit-scrollbar {
width: 20px !important;
height: 20px !important;
}
::-webkit-scrollbar-button {
display: block;
height: 20px;
background-size: 10px;
background-repeat: no-repeat;
color: black
}
::-webkit-scrollbar-button:active {
background: #9ef;
background-size: 10px;
background-repeat: no-repeat;
}
::-webkit-scrollbar {
background: linear-gradient(to right, #ccc, #fff 20%, #ddd);
cursor: default;
}
::-webkit-scrollbar:horizontal {
background: linear-gradient(to bottom, #ccc, #fff 20%, #ddd);
cursor: default;
}
::-webkit-scrollbar-track:vertical {
background: linear-gradient(to right, #eee, #fff);
border-left: 1px solid #ccc;
border-top: 1px solid #bbb;
border-bottom: 1px solid #ddd;
width: 16px;
border-radius: 100px;
box-shadow: inset 2px 0 3px #0002, inset 0 -2px 3px #0003, inset 0 2px 3px #0003;
}
::-webkit-scrollbar-track:vertical:window-inactive {
box-shadow: inset 2px 0 3px #0041, inset 0 -2px 3px #0041, inset 0 2px 3px #0041;
}
::-webkit-scrollbar-track:horizontal {
background: linear-gradient(to bottom, #eee, #fff);
border-top: 1px solid #ccc;
border-left: 1px solid #bbb;
border-right: 1px solid #ddd;
width: 16px;
border-radius: 100px;
box-shadow: inset 0 2px 3px #0002, inset -2px 0 3px #0003, inset 2px 0 3px #0003;
}
::-webkit-scrollbar-track:horizontal:window-inactive {
box-shadow: inset 0 2px 3px #0041, inset -2px 0 3px #0041, inset 2px 0 3px #0041;
}
::-webkit-scrollbar-thumb:vertical {
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);
border: 1px solid #ccc;
box-sizing: border-box;
box-shadow: inset 0 0 4px #004;
min-height: 30px;
-webkit-border-radius: 100px;
}
::-webkit-scrollbar-thumb:vertical:window-inactive {
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);
box-shadow: inset 0 0 4px #0044;
}
::-webkit-scrollbar-thumb:horizontal {
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);
border: 1px solid #ccc;
box-sizing: border-box;
box-shadow: inset 0 0 4px #004;
min-width: 30px;
-webkit-border-radius: 100px;
}
::-webkit-scrollbar-thumb:horizontal:window-inactive {
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);
box-shadow: inset 0 0 4px #0044;
}
::-webkit-scrollbar-thumb:active {
box-shadow: inset 0 0 7px #004;
}
::-webkit-scrollbar-corner {
background: linear-gradient(to right, #ccc, #fff 20%, #ddd);
}
::-webkit-scrollbar-button {
background: linear-gradient(to right, #ccc, #fff 20%, #ddd);
display: block;
height: 20px;
background-size: 10px;
background-repeat: no-repeat;
}
::-webkit-scrollbar-button:active {
background: rgb(151, 189, 237);
background-size: 10px;
background-repeat: no-repeat;
}
::-webkit-scrollbar-button:vertical:decrement {
background-position: center 4px;
background-image: url("data:image/svg+xml;utf8,<svg xmlns=!string!width=!string!height=!string!fill=!string!><polygon points=!string!/></svg>");
}
::-webkit-scrollbar-button:vertical:decrement:active {
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>"); */
}
/* Down */
::-webkit-scrollbar-button:vertical:increment {
background-position: center 4px;
background-image: url("data:image/svg+xml;utf8,<svg xmlns=!string!width=!string!height=!string!fill=!string!><polygon points=!string!/></svg>");
}
::-webkit-scrollbar-button:vertical:increment:active {
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>"); */
}
Comments
0 B
|0 👍
/0 👎
0 B
|0 👍
/0 👎