Closed
Bug 1192854
Opened 9 years ago
Closed 9 years ago
change tabs on user preferences from horizontal to vertical layout
Categories
(bugzilla.mozilla.org :: User Interface, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: glob, Assigned: dkl)
References
Details
Attachments
(1 file, 1 obsolete file)
3.32 KB,
patch
|
glob
:
review+
|
Details | Diff | Splinter Review |
the current count of tabs on the user preferences page is large, and causes layout issues on smaller screens. it would look much better if the page selectors were vertical on the left hand side of the page.
Assignee | ||
Updated•9 years ago
|
Assignee: nobody → dkl
Status: NEW → ASSIGNED
Assignee | ||
Comment 1•9 years ago
|
||
Attachment #8646130 -
Flags: review?(glob)
Comment on attachment 8646130 [details] [diff] [review] 1192854_1.patch Review of attachment 8646130 [details] [diff] [review]: ----------------------------------------------------------------- this looks like a great start (i really like the 50% opaque menu background) - the background of the main content should be white - there's a unnecessary 40px left padding on the <ul> element - the menu should be flush with the left border of bugzilla-body - the menu is too wide; 175px looks about right to me (with a 5px gap between it and the content) ::: skins/standard/admin.css @@ +185,5 @@ > + margin-top: -1em; > +} > + > +#prefnav li { > + font-size: 12px; i think it would be better to leave the font-size as the default, and tighten up the padding/margins to gain more content space. ::: template/en/default/account/prefs/tabs.html.tmpl @@ +17,5 @@ > + # > + # Contributor(s): Gervase Markham <gerv@gerv.net> > + # Myk Melez <myk@mozilla.org> > + # Marc Schumann <wurblzap@gmail.com> > + #%] this is the wrong license @@ +35,5 @@ > + [% IF tab.name == current_tab_name %] > + <li class="selected">[% tab.label FILTER html %]</li> > + [% ELSE %] > + <li><a href="[% tab.link FILTER html %]">[% tab.label FILTER html %]</a></li> > + [% END %] i've been wanting to see something changed here for ages .. since we're touching this code can you make the selected tab's name clickable please. it should look the same as the current (eg. black text).
Attachment #8646130 -
Flags: review?(glob) → review-
Assignee | ||
Comment 3•9 years ago
|
||
Attachment #8646130 -
Attachment is obsolete: true
Attachment #8646545 -
Flags: review?(glob)
Comment on attachment 8646545 [details] [diff] [review] 1192854_2.patch Review of attachment 8646545 [details] [diff] [review]: ----------------------------------------------------------------- this looks great, r=glob with comments addressed on commit. ::: skins/standard/admin.css @@ +184,5 @@ > +} > + > +#prefnav { > + width: 14em; > + float:left; you're missing a space after that : @@ +196,5 @@ > +} > + > +#prefnav li { > + padding: .6em 1em; > + background: rgba(255, 255, 255, 0.5) none repeat scroll 0% 0%; this should just be: > background: rgba(255, 255, 255, 0.5) @@ +209,5 @@ > + text-decoration: underline; > +} > + > +#prefnav li.selected { > + background: #FFF none repeat scroll 0% 0%; that should be > background: #fff using the classic theme it's impossible to determine which <li> is selected, and it's barely possible with dusk. adding "font-weight: bold" appears to be sufficient. @@ +216,5 @@ > +#prefcontent { > + margin-left: 15em; > + padding: .2em 1.5em 1.5em 1.5em; > + box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.1); > + background: #FFF none repeat scroll 0% 0%; > background: #fff ::: template/en/default/filterexceptions.pl @@ +202,5 @@ > ], > > +'account/prefs/tabs.html.tmpl' => [ > + 'content', > +], instead of a filter exception, please change tabs.html.tmpl to use "content FILTER none".
Attachment #8646545 -
Flags: review?(glob) → review+
Assignee | ||
Comment 5•9 years ago
|
||
Thanks! To ssh://gitolite3@git.mozilla.org/webtools/bmo/bugzilla.git 56c61ae..b109a7d master -> master
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•