Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 291604

Clean up look of summary and details to remove visual noise

$
0
0

Visual noise and the psychological effect known as "the tyranny of small decisions are at play in the admin UI where:

a) All details wrappers are expanded by default on pageload nullifying their utility (their purpose is to collapse information until it is needed.
b) Every details element has a border around it creating excessive visual noise.

The proposal is very compact and simple and includes just four things:

  • Make the default state of all of the summary and details elements "closed"
  • Remove the border from the details element and add it to the details wrapper
  • Add outline none to the details element since it is not an input and does not require a focus effect (The effect is also confusing and obtrusive because it surrounds only the summary and not the details wrapper which is where the user action will occur)
  • Override the default closed details wrapper for the first summary/details element on any form in which all content is wrapped in summary/details

Examples

Admin/content on load (current):

Image 8

admin/content on load (proposed):

image 9

Misplaced focus:

Image 5

admin/configuration/site_information (current):

image 3

admin/configuration/site_information (proposed):

imag 2

Changes to system.theme.css

summary {
cursor: pointer;
+ padding: 0.2em 1em .2em 0;
+ outline: none;
}

details {
- border: 1px solid #ccc;
margin-top: 1em;
margin-bottom: 1em;
}

.details-wrapper {
+ padding: 1em 1.5em;
+ border: 1px solid #ddd;
}

I don't know how to make the details closed by default. Perhaps someone who does could add that to the above CSS and make this a patch. :)

AttachmentSizeStatusTest resultOperations
Screen Shot 2013-06-13 at 10.30.01 AM.png53.81 KBIgnored: Check issue status.NoneNone
Screen Shot 2013-06-13 at 10.28.01 AM.png33.64 KBIgnored: Check issue status.NoneNone
Screen Shot 2013-06-13 at 10.27.16 AM.png88.54 KBIgnored: Check issue status.NoneNone
Screen Shot 2013-06-13 at 10.26.57 AM.png7 KBIgnored: Check issue status.NoneNone
focus.png55.21 KBIgnored: Check issue status.NoneNone
Screen Shot 2013-06-13 at 10.10.59 AM.png50.05 KBIgnored: Check issue status.NoneNone
Screen Shot 2013-06-13 at 10.10.44 AM.png40.43 KBIgnored: Check issue status.NoneNone
Screen Shot 2013-06-13 at 10.10.30 AM.png56.47 KBIgnored: Check issue status.NoneNone

Viewing all articles
Browse latest Browse all 291604

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>