Admin UI Shell Redesign

Review Request #10332 — Created Nov. 22, 2018 and updated

Review Board
reviewboard, students

Update the Admin Shell UI to a more modern look in accordance with
the provided mockup. This redesign updates the color schemes and
makes UI elements more flat and readable. No major functionality
is impacted and changes are visual in nature.

Manual testing of updated pages and tabbed navbar.

Loading file attachments...

  • 2
  • 0
  • 9
  • 2
  • 13
Description From Last Updated
This is a repeated rule (.module has it already). brennie brennie
.module.recent-actions should be specific enough to override .module without !important, unless something else is overriding it? brennie brennie
  2. Hey Jeff! I'm liking the progress your making on this, I just have a tiny nitpick.

    Shouldn't this stick to the length units you were using everywhere else?

    In this case:
    font-size: 120%; --> font-size: 1.2em;

    1. You're absolutely right that I should be! In my exploratory stage, I'm making haphazard and hardcoded changes in order to confirm that I can get things looking the way I want them to - then I'll be going back through and cleaning up for consistency, correctness, modularity, and so on.

  1. Redesign is coming along nicely!

  2. We don't use named HTML colours; instead, we use hex values.

  3. Is this the yellow at the top of the admin page? This should probably be a constant in defs.less.

  4. You probably already realize this but we will want some way of making the other tabs .active.

  5. reviewboard/templates/admin/base_site.html (Diff revision 1)

    I don't know how old this code is, but we should probably update from using view import paths to view names in the {% url %} tags here.

    If that isn't a thing we can do easily, don't worry about it.

  2. This property is out of alphabetical order. I know you didn't add it, but could you fix that?

  3. calc(@admin-sidebar-width - 1.5em)

    Fun fact: LESS will evaluate calc() statements so they are constants in the resulting CSS file.

  4. This is a repeated rule (.module has it already).

    1. In .module I set border: 1px solid @box-border-color followed by border-top: none (no border on top in the general case) whereas in .recent actions I want to bring back the top border. Please let me know if there is a better way to do this.

  5. .module.recent-actions should be specific enough to override .module without !important, unless something else is overriding it?

    1. It gets overridden by #content-related .module which is why I put in the !important.

  6. This should be either border-top: none or border-top-width: 0px.

  7. Can you format as &:first-of-type > h2 ? It makes it more readable.

  8. While you're here, can you format this asfieldset > h2? Much more readable.

  9. calc(@admin-sidebar-width - 0.1em

Review request changed

Change Summary:

Update summary


-Admin Shell UI Redesign
+Admin UI Shell Redesign