Closed Bug 1218271 Opened 9 years ago Closed 9 years ago

panel specific styles should be defined in app.css or separated css

Categories

(Firefox OS Graveyard :: Gaia::Settings, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(tracking-b2g:backlog)

RESOLVED FIXED
tracking-b2g backlog

People

(Reporter: gasolin, Assigned: gasolin)

References

Details

Attachments

(1 file)

Currently there are some panel specific styles defined in settings.css. 

We could move those panel specific styles into app.css so we can benefit from the lazyload of app.css.
Assignee: nobody → gasolin
Comment on attachment 8679341 [details] [review]
[gaia] gasolin:issue-1218271 > mozilla-b2g:master

The patch may save some loadtime by lazy load 670 lines of styles.


1. moves inner panel styles into app.css (not change the original structure so we can make sure nothing is missing during migration)
2. fix wallpaper styles in settings_large.css (wallpaper has been moved to homescreens panel)

Will file a followup to re-organize styles in app.css
Attachment #8679341 - Flags: review?(yzenevich)
note: #mediaStorage and .wallpaper are customized in settings_large.css, lazy load them in app.css may broke the tablet style (well I suppose it was somewhat broken now...). Therefore I left it in settings.css in this initial patch.
Comment on attachment 8679341 [details] [review]
[gaia] gasolin:issue-1218271 > mozilla-b2g:master

Looks good see comment in PR. THanks!
Attachment #8679341 - Flags: review?(yzenevich) → review+
Blocks: 1181023
See Also: → 1219159
file bug 1219159 to fix developer HUD related issue

merged https://github.com/mozilla-b2g/gaia/commit/1419469702856533a82a3ce3069aad3403e09b00

thanks!
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: