/* ----- DO NOT EDIT ANYTHING ABOVE THIS LINE -------------------------------------------- */

/*
 * This file can be used to apply a style to all web pages you view
 * Rules without !important are overruled by author rules if the
 * author sets any.  Rules with !important overrule author rules.
 */

/*
 * example: use OS colors if none are specified (like IE)
 *
 * body * { color: inherit; background-color: transparent; }
 * html > *, input, textarea { color: WindowText; background-color: Window; }
 */

/*
 * example: make K-Meleon center pages' images and linked images
 *
 * body.km_DocInfo_lstLinkedImages li, body.km_DocInfo_lstImages li { text-align: center; }
 */

/*
 * example: make K-Meleon not enumerate pages' images and linked images
 *
 * body.km_DocInfo_lstLinkedImages ol, body.km_DocInfo_lstImages ol { list-style-type: none; }
 */

/*
 * example: give all tables a 2px border
 *
 * table { border: 2px solid; }
 */

/*
 * example: make search fields on www.mozilla.org black-on-white
 *
 * @-moz-document url-prefix(http://www.mozilla.org/) {
 *   #q { background: white ! important; color: black ! important; }
 * }
 */

/* 
 * For more examples see http://www.mozilla.org/unix/customizing.html
 */

/* ----- DO NOT EDIT ANYTHING BELOW THIS LINE -------------------------------------------- */

/* ==================== BROKEN IMAGES - show all in KM1.6 (Gecko 1.9) ====================
*
Recommended prefs in F2 > Page Display > Images: 1) Icons ON 3) Placeholders OFF!!
The "placeholder" pref decides whether you can see at least the Alt-Text, if an image has no size!
Test it on KM-forum or on these pages:
https://bug58646.bugzilla.mozilla.org/attachment.cgi?id=72516
http://lab.gmtplusone.com/image-placeholder/
http://mrs260.fenfanfair.com/folder/scorpio.html
*/

/* Image size is known from the page code? Show that real size as placeholder: */
img[width][height]:-moz-broken,
img[width][height]:-moz-user-disabled {
-moz-force-broken-image-icon: 1 !important;
}

/* Image size unknown? Show no icon but Alt-Text. Put a little border around it as marker */
img:-moz-broken:not([width]),
img:-moz-broken:not([height]),
img:-moz-user-disabled:not([width]),
img:-moz-user-disabled:not([height]) {
-moz-force-broken-image-icon: 0 !important;
border: 1px solid !important;
border-color: green gold orange blue !important;
}

/* Image size unknown, and no Alt-Text either? Show a 24px placeholder, keep border: */
img:-moz-broken:not([width]):not([alt]),
img:-moz-broken:not([height]):not([alt]),
img:-moz-user-disabled:not([width]):not([alt]),
img:-moz-user-disabled:not([height]):not([alt]),
img[alt=""]:-moz-broken:not([width]),
img[alt=""]:-moz-broken:not([height]),
img[alt=""]:-moz-user-disabled:not([width]),
img[alt=""]:-moz-user-disabled:not([height]) {
-moz-force-broken-image-icon: 1 !important;
width: 24px !important;
height: 24px !important;
}

/* ====================================================================================== */ 
