TL;DR
There is an easier/better solution at the end of this post
Hi. Sorry to wake this topic, but we still have this problem.
I have also found a workaround, added below.
@Poisony, what extension did you use?
I tried ScrollbarCustomizer (SbC) but it didnât change the scrollbar on our Nextcloud (works on other sites).
A lot of users complain about the small scrollbar with no arrows.
Many users even migrated to Firefox just so they can have a âusableâ scrollbar.
It would be great to have a way to disable the thin scrollbar.
It is also fine on smaller menus on firefox even with the full size scrollbar (not disruptive?).
Most users that complain are people that canât see very well.
So this goes as a usability problem that makes disabled people have a poor experience.
I also miss the arrows on most modern bars.
To me, replacing a usable arrow with a useless blank space can never be better.
This is even more important when you have several scrollbars (no granularity).
What I really canât understand is why we canât have the option to enable all that stuff back to its former glory.
I was almost posting this when I found this github issue about making the bars bigger when hovering it. That is not really a solution for us (we want it always big), but that pointed me where the scrollbar css is set. With that I decided to try and change it with a custom theme. And that works fine.
How I changed the default scrollbar size with theming
enter NC dir
cd /var/www/nextcloud
create new theme dir
sudo -u www-data mkdir -p themes/mytheme/core/css
create styles file with new config
# For NC12 or newer
sudo -u www-data nano themes/mytheme/core/css/server.css
# For NC11 or older (not tested)
sudo -u www-data nano themes/mytheme/core/css/styles.scss
I have just made the bars wider adding this, you can adjust the size
::-webkit-scrollbar {
width: 12px;
height: 12px;
}
Then activate the theme on config.php
sudo -u www-data nano config/config.php
Add/Edit (check if you already have an empty theme set, I had)
'theme' => 'themename(folder name)',
Then reloaded my NC page and it was working!
The original core/css/styles.scss
currently have this as defaults for scrolling
/* SCROLLING */
::-webkit-scrollbar {
width: 5px;
height: 5px;
}
::-webkit-scrollbar-track-piece {
background-color: transparent;
}
::-webkit-scrollbar-thumb {
background: nc-darken($color-main-background, 14%);
border-radius: $border-radius;
}
If you already have a theme you should obviously add to it, instead of creating a new one.
Tested on NC 13.0.4 and Chrome 68.0.3440.106 (Win 64bit).
Now they only complain they canât see the light-gray stuff on top of white
I guess I need a full theme for vision-impaired people.
EDIT
The new/better solution
I am currently back to the stock theme and using
I then just add the custom CSS at the Configuration > Theming
page.
This is my current config for people who canât see very well.
Remove the stuff you donât need, paste there, hit save, youâre golden.
/***************************************************
Mod login page
+ stronger shadows
****************************************************/
p.info, .remember-login-container, .lost-password-container {
text-shadow: 0 0 12px rgba(0, 0, 0, 1);
}
input[type="checkbox"].checkbox--white + label::before {
border-color: #fff;
}
/***************************************************
Mod Scroll Bar Chrome
+ arrows
+ wider scrollbar
****************************************************/
::-webkit-scrollbar {
width: 14px;
height: 14px;
}
::-webkit-scrollbar-button {
background-color: #dbdbdb;
background-size: 8px 7px;
background-repeat: no-repeat;
background-position: center center;
height: 16px;
width: 14px;
-webkit-box-shadow: inset 1px 1px 2px rgba(0,0,0,0.2);
}
::-webkit-scrollbar-thumb {
background: #dbdbdb;
-webkit-box-shadow: inset 1px 1px 2px rgba(0,0,0,0.2);
}
::-webkit-scrollbar-button:end:increment {
background-image: url(data:image/svg+xml;utf8;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMTYuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+CjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgdmVyc2lvbj0iMS4xIiBpZD0iQ2FwYV8xIiB4PSIwcHgiIHk9IjBweCIgd2lkdGg9IjE2cHgiIGhlaWdodD0iMTZweCIgdmlld0JveD0iMCAwIDQwNC4zMDggNDA0LjMwOSIgc3R5bGU9ImVuYWJsZS1iYWNrZ3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Ij4KPGc+Cgk8ZyBpZD0iYXJyb3ctZHJvcC11cCI+CgkJPHBvbHlnb24gcG9pbnRzPSIwLDE5MS4yNSAxMjcuNSw2My43NSAyNTUsMTkxLjI1ICAgIiBmaWxsPSIjMDAwMDAwIi8+Cgk8L2c+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPC9zdmc+Cg==)
}
/***************************************************
Mod calendar
+ darker lines
+ darker fonts
+ bigger fonts
+ some bold fonts
****************************************************/
.fc-unthemed tr td {
border-top-color: #999;
}
.fc-unthemed th, .fc-unthemed td, .fc-unthemed thead, .fc-unthemed tbody, .fc-unthemed .fc-divider, .fc-unthemed .fc-row, .fc-unthemed .fc-popover {
border-color: #999 !important;
}
.fc th, .fc .fc-axis, .fc-day-grid-event .fc-time, .fc-ltr .fc-basic-view .fc-day-number, .fc-ltr .fc-basic-view .fc-week-number, .fc-time-grid-event .fc-time {
opacity: 1;
font-size: 1.060em;
}
#fullcalendar .fc-axis, #fullcalendar .fc-day-header {
opacity: 0.85;
line-height: 2em;
font-weight: bold;
font-size: 1.060em;
}
#fullcalendar .fc-axis {
font-size: 0.98em;
}
.fc-day-top.fc-other-month {
opacity: .45;
}
.fc-unthemed tr:nth-child(2n) td {
border-top-color: #bbb;
}
.fc-unthemed td.fc-today {
border-right: 1px solid #999 !important;
}
input.ng-untouched {
border-top: 1px solid #ababab;
border-right: 1px solid #ababab;
border-bottom: 1px solid #ababab;
}
select, button, .button, input:not([type="range"]), textarea, div[contenteditable="true"], .pager li a {
border: 1px solid #ababab;
}
/* this is fixed to Nextcloud's blue, change if needed */
textarea.events--textarea:focus, textarea.events--textarea:hover {
border: 1px solid #0082c9 !important;
}
/***************************************************
Mod Left Bar
+ Config button
+ Left bar division
****************************************************/
#app-settings {
border-top: 1px solid #ccc;
}
#app-navigation, #app-settings-content, #app-settings-header {
border-right: 1px solid #ccc;
}
/***************************************************
Mod Files App
+ darker progress bar
+ darker file/folder mouse hover
****************************************************/
progress {
background-color: #ccc ! important;
}
#filestable tbody tr:hover {
background-color: #dfdfdf !important;
}
/***************************************************
Mod Config Pages
+ Taller CSS textarea
****************************************************/
#theming-customcss textarea {
height: 500px;
}
Cheers!
Gus