Skip to content

Commit

Permalink
Future proof, hopefully
Browse files Browse the repository at this point in the history
  • Loading branch information
kckarnige committed Apr 8, 2024
1 parent 48c4d8c commit fb5cbe5
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 25 deletions.
24 changes: 6 additions & 18 deletions base.css
Original file line number Diff line number Diff line change
@@ -1,19 +1,7 @@
.none__51a8f {
scrollbar-width: auto !important;
overflow-y: scroll !important;
overflow-x: hidden !important;
margin-right: 2px;
}

.none__51a8f:hover::-webkit-scrollbar {
width: 0.30em !important;
border-radius: 25px;
height: 0px !important;
background: transparent !important;

}

.none__51a8f::-webkit-scrollbar-thumb {
background: var(--background-accent);
border-radius: 25px;
nav[class*="guilds_"]>ul[class*="tree_"]>div[class*="none_"]:hover {
scrollbar-width: thin;
scrollbar-color: var(--scrollbar-thin-thumb) var(--scrollbar-thin-track);
}
nav[class*="guilds_"]>ul[class*="tree_"]>div[class*="none_"] {
margin-right: -2px;
}
6 changes: 3 additions & 3 deletions index.user.css
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
/* ==UserStyle==
@name Server List Scrollbar
@namespace https://github.com/kckarnige/server-scroll
@version 1.0.0
@description A neat little Discord theme that a adds a scrollbar to the server list
@version 2.0.0
@description A neat little Discord theme that a adds a scrollbar to your server list
@author KayoticCarnige
==/UserStyle== */

@-moz-document domain("discord.com"), domain("dev.fosscord.com") {
@-moz-document domain("discord.com") {
@import url('https://raw.githack.com/kckarnige/server-scroll/main/base.css');
}
4 changes: 2 additions & 2 deletions readme.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<h3 align="center">Server List Scrollbar - Discord Theme</h3>


<p align="center"><i>I lost my mouse, so I made this :)</i></p>
<p align="center"><i>Because consistency matters.</i></p>

<p align="center">
<img src="https://user-images.githubusercontent.com/32397453/135127387-617377eb-1cd5-4903-9e25-6f4b8f2f36e5.png" width="620px">
Expand All @@ -16,4 +16,4 @@ If you want to add this to your theme, put this into your base CSS file:

[<img src="https://kckarnige.github.io/res/stylus_icon.svg" height="14px" width="14px"> Stylus Theme Install](https://github.com/kckarnige/server-scroll/raw/main/index.user.css)

[<img src="https://kckarnige.github.io/res/bd_icon.svg" height="14px" width="14px"> BetterDiscord Theme Download](https://betterdiscord.net/ghdl/?url=https://raw.githubusercontent.com/kckarnige/server-scroll/main/serverlistscroll.theme.css)
[<img src="https://kckarnige.github.io/res/bd_icon.svg" height="14px" width="14px"> BetterDiscord Theme Download](https://github.com/kckarnige/server-scroll/raw/main/serverlistscroll.theme.css)
4 changes: 2 additions & 2 deletions serverlistscroll.theme.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* @name Server List Scrollbar
* @version 1.0.0
* @description A neat little Discord theme that a adds a scrollbar to the server list
* @version 2.0.0
* @description A neat little Discord theme that a adds a scrollbar to your server list
* @author KayoticCarnige
* @source https://github.com/kckarnige/server-scroll
**/
Expand Down

0 comments on commit fb5cbe5

Please sign in to comment.