66
77/* sidebar colors */
88/* dark mode */
9- [data-bs-theme = dark ] # content {
9+ [data-bs-theme = dark ] # content_area {
1010 color : # f8f9fa ;
1111 background-color : # 212529 ;
1212}
1919}
2020[data-bs-theme = dark ] # footer {
2121 color : # f8f9fa ;
22- background-color : # 000 ;
2322}
2423[data-bs-theme = dark ] # contextmenu {
2524 color : # f8f9fa ;
3635}
3736
3837/* light mode */
39- [data-bs-theme = light ] # content {
38+ [data-bs-theme = light ] # content_area {
4039 color : # 212529 ;
4140 background-color : # f8f9fa ;
4241}
4948}
5049[data-bs-theme = light ] # footer {
5150 color : # 212529 ;
52- background-color : # f8f9fa ;
5351}
5452[data-bs-theme = light ] # contextmenu {
5553 color : # 212529 ;
@@ -107,14 +105,46 @@ select.form-control.referencebrowser[multiple=multiple] + .referencebrowser_trig
107105 width : 100% ;
108106}
109107
108+ ::-webkit-scrollbar {
109+ width : 6px ;
110+ height : 6px ;
111+ }
112+
113+ ::-webkit-scrollbar-track {
114+ background : transparent;
115+ }
116+
117+ ::-webkit-scrollbar-thumb {
118+ background : var (--bs-primary );
119+ border-radius : 3px ;
120+ }
121+
122+ @supports (-moz-appearance : none) {
123+ * {
124+ scrollbar-width : auto;
125+ scrollbar-color : var (--bs-primary ) transparent;
126+ }
127+ }
128+ # footer-spacer {
129+ flex : 1 ;
130+ }
131+
110132/* content */
111133# content {
112134 container : main-content/inline-size;
113- height : calc ( 100% - 40 px ) ;
135+ height : 100% ;
114136 width : 100% ;
115137 position : relative;
116138}
117139
140+ # content_area {
141+ height : 100% ;
142+ }
143+
144+ # content_area .has-pathbar {
145+ height : calc (100% - 40px );
146+ }
147+
118148# main-area {
119149 width : 0 !important ; /* prevent 'jumping' between 1400 and 1440px */
120150}
@@ -356,7 +386,7 @@ tr.selectable td {
356386
357387/* sidebar colors */
358388/* dark mode */
359- [data-bs-theme = dark ] # content {
389+ [data-bs-theme = dark ] # content_area {
360390 color : # f8f9fa ;
361391 background-color : # 212529 ;
362392}
@@ -369,7 +399,6 @@ tr.selectable td {
369399}
370400[data-bs-theme = dark ] # footer {
371401 color : # f8f9fa ;
372- background-color : # 000 ;
373402}
374403[data-bs-theme = dark ] # contextmenu {
375404 color : # f8f9fa ;
@@ -386,7 +415,7 @@ tr.selectable td {
386415}
387416
388417/* light mode */
389- [data-bs-theme = light ] # content {
418+ [data-bs-theme = light ] # content_area {
390419 color : # 212529 ;
391420 background-color : # f8f9fa ;
392421}
@@ -399,7 +428,6 @@ tr.selectable td {
399428}
400429[data-bs-theme = light ] # footer {
401430 color : # 212529 ;
402- background-color : # f8f9fa ;
403431}
404432[data-bs-theme = light ] # contextmenu {
405433 color : # 212529 ;
@@ -437,7 +465,7 @@ tr.selectable td {
437465}
438466# sidebar_left .lock-state , # sidebar_right .lock-state {
439467 position : relative;
440- top : calc (100% - 4.5 rem );
468+ top : calc (100% - 2 rem );
441469 width : min-content;
442470 height : 0 ;
443471 z-index : 100 ;
@@ -508,7 +536,7 @@ tr.selectable td {
508536}
509537# sidebar_left # sidebar_collapse .collapse_btn , # sidebar_right # sidebar_collapse .collapse_btn {
510538 position : absolute;
511- bottom : 0 px ;
539+ top : 100 % ;
512540 border-radius : 100% ;
513541 z-index : 1000 ;
514542}
@@ -522,6 +550,12 @@ tr.selectable td {
522550# sidebar_left .collapsed # sidebar_collapse .collapse_btn .btn-open , # sidebar_right .collapsed # sidebar_collapse .collapse_btn .btn-open {
523551 display : none;
524552}
553+ # sidebar_left .collapsed .sidebar-controls , # sidebar_right .collapsed .sidebar-controls {
554+ display : none;
555+ }
556+ # sidebar_left .responsive-collapsed : not (.expanded ) .sidebar-controls , # sidebar_right .responsive-collapsed : not (.expanded ) .sidebar-controls {
557+ display : none;
558+ }
525559# sidebar_left .expanded # sidebar_collapse .collapse_btn .btn-closed , # sidebar_right .expanded # sidebar_collapse .collapse_btn .btn-closed {
526560 display : none;
527561}
0 commit comments