These elements were identified and organized by David Scotson, and their first listing can be found here: https://moodle.org/mod/forum/discuss.php?d=216519 The content types are based on components in Twitter Bootstrap. In each case, we should implement a single class, and if possible eliminate unnecessary extra classes and IDs.
====Alert====
The following elements all present alert-type elements. DS chose to associate them with Bootstrap's alert class, which can be viewed here: http://twitter.github.com/bootstrap/components.html#alerts
#page-admin-roles-assign h2 + .box.generalbox,
|
div.notifysuccess,
|
div.notifyproblem,
|
body.admin div.info,
|
div.box.copyright,
|
body.pagelayout-report div.info,
|
div.redirectmessage,
|
div.adminwarning,
|
div.forumnodiscuss,
|
div#notice p,
|
div.performanceinfo.pageinfo,
|
div.noticebox,
|
div#helppopupbox,
|
div.releasenoteslink,
|
.errorbox
|
====Error Alert====
The following elements all present error alert-type elements. DS chose to associate them with Bootstrap's alert-error class, which can be viewed here: http://twitter.github.com/bootstrap/components.html#alerts
#page-admin-roles-assign h2 + .box.generalbox,
|
div.notifyproblem,
|
.errorbox
|
====Info Alert====
The following elements all present info alert-type elements. DS chose to associate them with Bootstrap's alert-info class, which can be viewed here: http://twitter.github.com/bootstrap/components.html#alerts
body.admin div.info,
|
div.box.copyright,
|
div#helppopupbox,
|
div.redirectmessage,
|
body.pagelayout-report div.info,
|
div.releasenoteslink,
|
div.performanceinfo.pageinfo
|
We should probably establish alert classes for these three alert types, and implement these classes in place of the various markup identified above.