Skip to content

Commit ed676f9

Browse files
Cherrgtechknowlogick
authored andcommitted
dark theme scrollbars (#7269)
1 parent 87404d7 commit ed676f9

File tree

2 files changed

+42
-0
lines changed

2 files changed

+42
-0
lines changed

public/css/theme-arc-green.css

+6
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,12 @@
1212
.repository .ui.segment.sub-menu .list .item a{color:#dbdbdb}
1313
.ui.horizontal.segments>.segment{background-color:#383c4a}
1414
body{background:#383c4a;color:#9e9e9e}
15+
*{scrollbar-width:thin;scrollbar-color:#87ab63 rgba(255,255,255,.1)}
16+
::-webkit-scrollbar{-webkit-appearance:none!important;width:10px!important;height:10px!important}
17+
::-webkit-scrollbar-track{border-radius:0!important;background:rgba(255,255,255,.1)!important}
18+
::-webkit-scrollbar-thumb{cursor:pointer!important;border-radius:5px!important;transition:color .2s ease!important;background:#87ab63!important}
19+
::-webkit-scrollbar-thumb:window-inactive{background:#87ab63!important}
20+
::-webkit-scrollbar-thumb:hover{background:#87ab63!important}
1521
a{color:#87ab63}
1622
a:hover{color:#a0cc75}
1723
.ui.card>.extra a:not(.ui):hover,.ui.cards>.card>.extra a:not(.ui):hover{color:#a0cc75}

public/less/themes/arc-green.less

+36
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,42 @@ body {
8585
color: #9e9e9e;
8686
}
8787

88+
/* firefox scroll bars */
89+
90+
* {
91+
scrollbar-width: thin;
92+
scrollbar-color: #87ab63 rgba(255, 255, 255, 0.1);
93+
}
94+
95+
/* webkit scrollbars */
96+
97+
::-webkit-scrollbar {
98+
-webkit-appearance: none !important;
99+
width: 10px !important;
100+
height: 10px !important;
101+
}
102+
103+
::-webkit-scrollbar-track {
104+
border-radius: 0 !important;
105+
background: rgba(255, 255, 255, 0.1) !important;
106+
}
107+
108+
::-webkit-scrollbar-thumb {
109+
cursor: pointer !important;
110+
border-radius: 5px !important;
111+
-webkit-transition: color 0.2s ease !important;
112+
transition: color 0.2s ease !important;
113+
background: #87ab63 !important;
114+
}
115+
116+
::-webkit-scrollbar-thumb:window-inactive {
117+
background: #87ab63 !important;
118+
}
119+
120+
::-webkit-scrollbar-thumb:hover {
121+
background: #87ab63 !important;
122+
}
123+
88124
a {
89125
color: #87ab63;
90126
}

0 commit comments

Comments
 (0)