mirror of
https://git.sr.ht/~emersion/gamja
synced 2024-11-14 19:25:26 -05:00
Set scrollbar style
This commit is contained in:
parent
e38f35c578
commit
9224ab9d0d
1 changed files with 12 additions and 2 deletions
14
style.css
14
style.css
|
@ -40,6 +40,10 @@
|
|||
}
|
||||
}
|
||||
|
||||
html {
|
||||
scrollbar-color: #8e8e8e transparent;
|
||||
}
|
||||
|
||||
html, body {
|
||||
height: 100%;
|
||||
padding: 0;
|
||||
|
@ -104,7 +108,7 @@ button.danger:hover {
|
|||
}
|
||||
|
||||
.expander {
|
||||
visibility: collapse;
|
||||
display: none;
|
||||
cursor: pointer;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
|
@ -135,6 +139,7 @@ button.danger:hover {
|
|||
flex: 1 0 auto;
|
||||
overflow-x: hidden;
|
||||
overflow-y: auto;
|
||||
scrollbar-width: thin;
|
||||
}
|
||||
#buffer-list li a {
|
||||
display: inline-block;
|
||||
|
@ -253,6 +258,7 @@ button.danger:hover {
|
|||
flex-grow: 1;
|
||||
overflow-x: hidden;
|
||||
overflow-y: auto;
|
||||
scrollbar-width: thin;
|
||||
}
|
||||
#member-list li a {
|
||||
display: inline-block;
|
||||
|
@ -502,6 +508,10 @@ kbd {
|
|||
}
|
||||
|
||||
@media (prefers-color-scheme: dark) {
|
||||
html {
|
||||
scrollbar-color: var(--gray) transparent;
|
||||
}
|
||||
|
||||
#buffer-list li.active a {
|
||||
color: var(--sidebar-background);
|
||||
background-color: white;
|
||||
|
@ -617,7 +627,7 @@ kbd {
|
|||
|
||||
@media(max-width: 640px) {
|
||||
.expander {
|
||||
visibility: visible;
|
||||
display: block;
|
||||
}
|
||||
|
||||
#buffer-list ul, #member-list > section {
|
||||
|
|
Loading…
Reference in a new issue