I just realized that Mac OS X shows different scrollbars in the browsers when a USB mouse is connected or not. I tried the code below and it looks ok, but now when I disconnect the mouse it applies to the wireless settings as well, which I was happy with already (scrollbars only showing when scrolling or hovering it).
::-webkit-scrollbar {
-webkit-appearance: none;
width: 15px;
background-clip: padding-box;
border: 4px solid rgba(0, 0, 0, 0);
-webkit-border-radius: 7px;
background-color: rgba(0, 0, 0, 0.15);
-webkit-box-shadow: inset -1px -1px 0px rgba(0, 0, 0, 0.05), inset 1px 1px 0px rgba(0, 0, 0, 0.05);
}
::-webkit-scrollbar-thumb {
border: 4px solid rgba(0, 0, 0, 0);
background-clip: padding-box;
-webkit-border-radius: 7px;
background-color: rgba(255, 255, 255, 0.8);
-webkit-box-shadow: inset -1px -1px 0px rgba(0, 0, 0, 0.05), inset 1px 1px 0px rgba(0, 0, 0, 0.05);
}
Can I: 1. Write CSS for the USB mouse only? 2. Do something that makes the USB mouse look/act like the wireless mouse.
Thank you!
To do this, click the menu icon, go to Preferences > App, and tick the Start at login box. Scroll Reverser will now launch whenever you boot up, providing automatic scrolling separation for your mouse and trackpad. If you want more control over your system, you can add, remove, and delay your Mac's startup items.
Click the System Preferences icon in the Mac's desktop dock, or go to the Apple Menu and choose System Preferences. When the System Preferences box opens, click the General icon in the top row. In the General box, go to the “Show scroll bars” section and click the button next to Always.
Enable Mac Mouse Reverse Scroll Open System Preferences from the dropdown menu. Select Mouse, since you are using an external mouse rather than the trackpad. Press Point and Click. Uncheck the box marked Scroll direction: Natural to invert the direction of the mouse scroll.
To invert scrolling on a Mac, click the Apple icon → Click "System Preferences" → Click either the "Trackpad" or "Mouse" icon → Click the "Scroll direction: Natural" check box to uncheck it.
Here is what I found: OSX: Remove scrollbars that appear when using a mouse
Fortunately the solution lay in the General preferences pane. All that's needed is to change "Show scroll bars" to "When scrolling" instead of "Automatically based on mouse or trackpad.
Conclusion: I think the solution is beyond our/developers' control. Just leave it to the user.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With