File tree Expand file tree Collapse file tree 2 files changed +21
-14
lines changed
Expand file tree Collapse file tree 2 files changed +21
-14
lines changed Original file line number Diff line number Diff line change 1010 .decl {
1111 background-color: var(--sl-color-gray-6);
1212 border-bottom: 1px solid var(--sl-color-gray-5);
13- overflow: scroll ;
13+ overflow: auto ;
1414 margin: 0;
1515 padding: 0 1em;
1616 }
Original file line number Diff line number Diff line change 3030}
3131
3232/* Custom scrollbar */
33- : root [data-theme = "light" ] ::-webkit-scrollbar-track {
34- background : # f1f1f1 ;
33+ ::-webkit-scrollbar {
34+ width : 4px ;
35+ }
36+
37+ ::-webkit-scrollbar-track {
38+ background-color : # e6f3ff ;
39+ border-radius : 2px ;
3540}
3641
37- : root [data-theme = "light" ] ::-webkit-scrollbar-thumb {
38- background : # 888 ;
42+ ::-webkit-scrollbar-thumb {
43+ background-color : # 87ceeb ;
44+ border-radius : 2px ;
3945}
4046
41- : root [ data-theme = "light" ] : :-webkit-scrollbar-thumb : hover {
42- background : # 555 ;
47+ ::-webkit-scrollbar-thumb : hover {
48+ background-color : # 4682b4 ;
4349}
4450
4551: root [data-theme = "dark" ] ::-webkit-scrollbar-track {
46- background : # 2a2a2a ;
52+ background-color : # 1e3a5f ;
4753}
4854
4955: root [data-theme = "dark" ] ::-webkit-scrollbar-thumb {
50- background : # 666 ;
56+ background-color : # 4a90e2 ;
5157}
5258
5359: root [data-theme = "dark" ] ::-webkit-scrollbar-thumb : hover {
54- background : # aaa ;
60+ background-color : # 5b9bd5 ;
5561}
5662
57- ::-webkit-scrollbar {
58- width : 8px ;
63+ * {
64+ scrollbar-width : thin;
65+ scrollbar-color : # 87ceeb # e6f3ff ;
5966}
6067
61- :: -webkit-scrollbar-thumb {
62- border-radius : 4 px ;
68+ : root [ data-theme = "dark" ] * {
69+ scrollbar-color : # 4a90e2 # 1e3a5f ;
6370}
You can’t perform that action at this time.
0 commit comments