Skip to content

Commit e34deb5

Browse files
committed
set border colors globally on dark theme
Signed-off-by: Michael Gnehr <[email protected]>
1 parent de9b398 commit e34deb5

File tree

2 files changed

+59
-0
lines changed

2 files changed

+59
-0
lines changed

public/css/theme-arc-green.css

Lines changed: 6 additions & 0 deletions
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+
*,body,html{scrollbar-width:thin;scrollbar-color:#2a2a2a #fff}
16+
body ::-webkit-scrollbar,body::-webkit-scrollbar,html ::-webkit-scrollbar,html::-webkit-scrollbar{-webkit-appearance:none;width:10px;height:10px}
17+
body ::-webkit-scrollbar-track,body::-webkit-scrollbar-track,html ::-webkit-scrollbar-track,html::-webkit-scrollbar-track{border-radius:0;background:rgba(255,255,255,.1)}
18+
body ::-webkit-scrollbar-thumb,body::-webkit-scrollbar-thumb,html ::-webkit-scrollbar-thumb,html::-webkit-scrollbar-thumb{cursor:pointer;border-radius:5px;transition:color .2s ease;background:rgba(255,255,255,.25)}
19+
body ::-webkit-scrollbar-thumb:window-inactive,body::-webkit-scrollbar-thumb:window-inactive,html ::-webkit-scrollbar-thumb:window-inactive,html::-webkit-scrollbar-thumb:window-inactive{background:rgba(255,255,255,.15)}
20+
body ::-webkit-scrollbar-thumb:hover,body::-webkit-scrollbar-thumb:hover,html ::-webkit-scrollbar-thumb:hover,html::-webkit-scrollbar-thumb:hover{background:rgba(255,255,255,.35)}
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

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,59 @@ body {
8585
color: #9e9e9e;
8686
}
8787

88+
/* firefox scroll bars */
89+
90+
html,
91+
body,
92+
* {
93+
scrollbar-width: thin;
94+
scrollbar-color: #2a2a2a #ffffff;
95+
}
96+
97+
/* webkit scrollbars */
98+
99+
html::-webkit-scrollbar,
100+
body::-webkit-scrollbar,
101+
html ::-webkit-scrollbar,
102+
body ::-webkit-scrollbar {
103+
-webkit-appearance: none;
104+
width: 10px;
105+
height: 10px;
106+
}
107+
108+
html::-webkit-scrollbar-track,
109+
body::-webkit-scrollbar-track,
110+
html ::-webkit-scrollbar-track,
111+
body ::-webkit-scrollbar-track {
112+
border-radius: 0;
113+
background: rgba(255,255,255,0.1);
114+
}
115+
116+
html::-webkit-scrollbar-thumb,
117+
body::-webkit-scrollbar-thumb,
118+
html ::-webkit-scrollbar-thumb,
119+
body ::-webkit-scrollbar-thumb {
120+
cursor: pointer;
121+
border-radius: 5px;
122+
-webkit-transition: color 0.2s ease;
123+
transition: color 0.2s ease;
124+
background: rgba(255,255,255,0.25);
125+
}
126+
127+
html::-webkit-scrollbar-thumb:window-inactive,
128+
body::-webkit-scrollbar-thumb:window-inactive,
129+
html ::-webkit-scrollbar-thumb:window-inactive,
130+
body ::-webkit-scrollbar-thumb:window-inactive {
131+
background: rgba(255,255,255,0.15);
132+
}
133+
134+
html::-webkit-scrollbar-thumb:hover,
135+
body::-webkit-scrollbar-thumb:hover,
136+
html ::-webkit-scrollbar-thumb:hover,
137+
body ::-webkit-scrollbar-thumb:hover {
138+
background: rgba(255,255,255,0.35);
139+
}
140+
88141
a {
89142
color: #87ab63;
90143
}

0 commit comments

Comments
 (0)