Ticket #6240 (assigned defect)
put DND CSS classes into theme
| Reported by: | bill | Owned by: | nonken |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.4 |
| Component: | Dijit - LnF | Version: | 1.0 |
| Severity: | normal | Keywords: | |
| Cc: | elazutkin |
Description (last modified by elazutkin) (diff)
Currently the unofficial "theme" for DND is defined in source:dojo/trunk/tests/dndDefaults.css but it should be part of each theme for dijit.
Also, could cleanup the CSS some. For example, the avatar has a rectangle surrounded by a rounded rectangle (Eugene says this looks really bad.)
It's also possible using simple CSS rules that during drag, to tone down all irrelevant elements on the page highlighting all valid targets, which is a good usability feature especially for visually impaired .
Note that the themes do already have some DnD classes, see source:dijit/trunk/themes/tundra/Common.css, but it doesn't define things like dojoDndItemSelected. In any case, source:dijit/trunk/tests/test_Tree_Notification_API_Support.html and source:dijit/trunk/tests/tree/test_Tree_DnD.html should not be importing dndDefault.css.