MozillaZine

OSX lion scrollbars may require CSS change to themes (Fx24+)

Discuss application theming and theme development.
spohl
 
Posts: 1
Joined: September 9th, 2013, 5:24 pm

Post Posted September 9th, 2013, 8:12 pm

Recently, while working on lion style (overlay) scrollbars for Mac OSX (https://bugzilla.mozilla.org/show_bug.cgi?id=636564), we became aware of an issue that may affect themes. The issue is tracked in https://bugzilla.mozilla.org/show_bug.cgi?id=912686.

When users connect/disconnect an external mouse from MacBooks, the system preference for scrollbars can change from permanently visible to disappearing scrollbars, and vice-versa. The CSS for scrollbars was modified in Firefox to handle this situation and may need to be propagated to themes. Without this change, scrollbars may no longer display correctly on web pages when an external mouse is connected/disconnected from the system until the individual pages are refreshed.

The changed CSS of interest is in nativescrollbars.css between the following lines:
http://hg.mozilla.org/mozilla-central/annotate/218d4334d29e/toolkit/themes/osx/global/nativescrollbars.css#l8
http://hg.mozilla.org/mozilla-central/annotate/218d4334d29e/toolkit/themes/osx/global/nativescrollbars.css#l32

For comparison, here is the file before the necessary changes:
http://hg.mozilla.org/mozilla-central/annotate/7318b2b26843/toolkit/themes/osx/global/nativescrollbars.css

The overlay scrollbars are scheduled to be released in Fx24.

If there is any other info that you think might be helpful to update your themes and become compatible with lion style scrollbars on OSX, please let me know. Thanks!

:spohl

dkgo

User avatar
 
Posts: 56
Joined: January 28th, 2008, 7:27 am

Post Posted September 9th, 2013, 9:27 pm

thanks spohl

mcdavis

User avatar
 
Posts: 3195
Joined: December 9th, 2005, 5:51 am

Post Posted September 10th, 2013, 12:42 am

Thanks spohl, it was nice of you to post.
Theme Development is Radical Participation.
NNL Beta Builds for Current and Up-coming Firefox
Dear User: Your Help is Needed

Robert S.

User avatar
 
Posts: 4399
Joined: April 24th, 2004, 3:04 am
Location: Bay Area, CA

Post Posted September 10th, 2013, 7:32 pm

Thanks for posting the changes!

Return to Theme Development


Who is online

Users browsing this forum: No registered users and 2 guests