view website/wiki/static/roundup/css/msie.css @ 7800:2d4684e4702d

fix: enhancement to history command output and % template fix. Rather than using the key field, use the label field for descriptions. Call cls.labelprop(default_to_id=True) so it returns id rather than the first sorted property name. If labelprop() returns 'id' or 'title', we return nothing. 'id' means there is no label set and no properties named 'name' or 'title'. So have the caller do whatever it wants (prepend classname for example) when there is no human readable name. This prevents %(name)s%(key)s from producing: 23(23). Also don't accept the 'title' property. Titles can be too long. Arguably we could: '%(name)20s' to limit the title length. However without ellipses or something truncating the title might be confusing. So again pretend there is no human readable name.
author John Rouillard <rouilj@ieee.org>
date Tue, 12 Mar 2024 11:52:17 -0400
parents 86c38b5aed66
children
line wrap: on
line source

/*  msie.css - MoinMoin MS Internet explorer bug workarounds */

/* IE6 and IE7 both suck with :before */
a.www { padding-left: 14px; background: url(../img/moin-www.png) left center no-repeat; }
a.http { padding-left: 14px; background: url(../img/moin-www.png) left center no-repeat; }
a.https { padding-left: 14px; background: url(../img/moin-www.png) left center no-repeat; }
a.file { padding-left: 14px; background: url(../img/moin-ftp.png) left center no-repeat; }
a.ftp { padding-left: 14px; background: url(../img/moin-ftp.png) left center no-repeat; }
a.nntp { padding-left: 14px; background: url(../img/moin-news.png) left center no-repeat; }
a.news { padding-left: 14px; background: url(../img/moin-news.png) left center no-repeat; }
a.telnet, a.ssh { padding-left: 14px; background: url(../img/moin-telnet.png) left center no-repeat; }
a.irc, a.ircs  { padding-left: 14px; background: url(../img/moin-telnet.png) left center no-repeat; }
a.mailto { padding-left: 14px; background: url(../img/moin-email.png) left center no-repeat; }
a.attachment { padding-left: 14px; background: url(../img/moin-attach.png) left center no-repeat; }
a.badinterwiki { padding-left: 14px; background: url(../img/moin-inter.png) left center no-repeat; }
a.interwiki { padding-left: 14px; background: url(../img/moin-inter.png) left center no-repeat; }
#message .warning { padding-left: 20px; background: url(../img/alert.png) left center no-repeat; }
#message .error { padding-left: 20px; background: url(../img/icon-error.png) left center no-repeat; }

#pagetrail li, #pagelocation li {
    border-left: 1px solid #AAA;
    padding: 0 0.3em;
}

/* Spans for line-anchors - needed for IE6 and IE7 where omitting the "display: none" triggers rendering bugs. */
span.anchor { display: none; }

/* Fix for PeekABoo Bug */
#page { min-height: 1%; }

/* Some * html hacks for IE6 and below only (IE7 ignores * html) */

/* IE6 has a bug with rendering of float elements. We workaround this bug by
 * assigning those elements a height attribute because we currently don't know
 * a better solution. This results in IE calculating the correct height of the
 * characters and displaying them correctly. We don't know any negative side
 * effects of this workaround:
 */
* html div#page, * html div#header { height: 0.001%; }


Roundup Issue Tracker: http://roundup-tracker.org/