Opened 12 years ago

Last modified 10 years ago

#6240 closed defect

put DND CSS classes into theme — at Version 3

Reported by: bill Owned by: nonken
Priority: high Milestone: 1.5
Component: Dijit - LnF Version: 1.0
Keywords: Cc: Eugene Lazutkin
Blocked By: Blocking:

Description (last modified by Eugene Lazutkin)

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.

Change History (3)

comment:1 Changed 12 years ago by bill

Description: modified (diff)

comment:2 Changed 12 years ago by bill

Component: DijitDijit - LnF

comment:3 Changed 12 years ago by Eugene Lazutkin

Description: modified (diff)

#6395 is the dup. But it assumes the default DnD CSS, which will be overridden by themes.

Note: See TracTickets for help on using tickets.