From cc0c036f792040f41c36ef3a6e95f9dbd7af0829 Mon Sep 17 00:00:00 2001 From: LukasDoesDev Date: Wed, 9 Dec 2020 23:10:52 +0200 Subject: [PATCH] Change main scrollbar colors. (Only for Firefox) Example: https://imgur.com/a/pjJ0wuL --- app/frontend/static/assets/css/crafty.css | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/app/frontend/static/assets/css/crafty.css b/app/frontend/static/assets/css/crafty.css index fd2c0852..ecea77ad 100644 --- a/app/frontend/static/assets/css/crafty.css +++ b/app/frontend/static/assets/css/crafty.css @@ -62,4 +62,17 @@ } .term-nav-item { padding: 1%; -} \ No newline at end of file +} + +/* Fix body scrollbar color */ +body { background-color: var(--dark) !important; /* Firefox */ } + +/* Webkit */ +/* Didn't really work out +::-webkit-scrollbar { background-color: #202538; } +::-webkit-scrollbar-button { background-color: #1D212F; } +::-webkit-scrollbar-thumb { background-color: #777A86; } +::-webkit-scrollbar-thumb:hover { background-color: #646773; } + +::-webkit-scrollbar-track { background-color: #202538; } +::-webkit-scrollbar-corner { background-color: #202538; }*/ \ No newline at end of file