Closed Speravir closed 6 years ago
Thanks,
I will add your changes on next update.
Now online in 1.0.3.
Thanks, I will look at it.
I do not know, how important you think it is to publish another update:
chrome://global/skin/scrollbars.css
for scrollbarbutton and scrollcorner the value is 16px. Does the scrollbar not adapt to this value?I don't mind uploading a new zip file or pushing new commits. Its not like this would require someones approval like on AMO ;-)
16px are set inside CSS, but if you take a screenshot and zoom into it, you will see buttons and thumb are 15px wide having a 1px "space" left and right (Windows). I used 17px for wide scrollbars in NewScrollbars add-on back then and it "replaced" the default scrollbar without moving/jumping anything, if I remember correctly.
No need to worry about decimals. Pixel values get rounded automatically in Firefox and IE.
10px = 10px
10.1px = 10px
...
10.5px = 11px
...
10.9px = 11px
11px = 11px
Chrome, Safari, Opera etc. just ignore everything after the dot .
(e.g. 10.7px=10px).
OK.
Feature request with suggested code
I locally enhanced custom_scrollbars.uc.js according to method 2 in the following way:
cs_background_image
,cs_thumb_image
,cs_thumb_hover_image
,cs_buttons_image
andcs_buttons_hover_image
into vertical and horizontal versions.The background image code creates a cross. Maybe someone likes it more with only one diagonal line, then it should be
Of course, the CSS code has to be adapted, as well. Note, that I merged all
-moz-appearance: none !important;
into one.Following all together starting from (in file version 1.0.2) line 42 until line 121 (there are no later changes) – the new code is about 30 lines longer: