MwPtSkin
Heavily based on PatternSkin, tweaked to incorporate some good things from MediaWiki.
Preview this topic with its own skin
Effect: Each web has its own WebTopBar
File: twiki.pattern.tmpl
Definition: %TMPL:DEF{"topbar"}%
Change: Replaced %INCLUDE{"%TWIKIWEB%.WebTopBar"}% by %INCLUDE{"%WEB%.WebTopBar"}%.
Effect: Automatically add type-specific icons to links (e.g. external, https or mailto links)
File: style.css
Add:
.twikiTopic a[href ^="http://"] {
background: url(external_icon.png) center right no-repeat;
padding-right: 13px;
}
and similar for other types. This relies on CSS3, at least it works fine in Mozilla and Firefox.
Examples:
http://www.justatest-donotclick.it
https://safe.server.nu/foobar/rc-1/bar
mail@domain.com
ftp://ftpserver.ext/releases/foobar
| META FILEATTACHMENT | layout.css | attr="" comment="layout CSS (for positioning elements)" date="1098994287" path="layout.css" size="1824" user="ArthurVanDam" version="1.1" |
| META FILEATTACHMENT | style.css | attr="" comment="style CSS (for markup)" date="1098994307" path="style.css" size="26700" user="ArthurVanDam" version="1.1" |
| META FILEATTACHMENT | external_icon.png | attr="" comment="icon for external links" date="1098994383" path="external_icon.png" size="267" user="ArthurVanDam" version="1.1" |
| META FILEATTACHMENT | file_icon.gif | attr="" comment="icon for files/ftp links" date="1098994409" path="file_icon.gif" size="921" user="ArthurVanDam" version="1.1" |
| META FILEATTACHMENT | mail_icon.gif | attr="" comment="icon for mailto links" date="1098994427" path="mail_icon.gif" size="918" user="ArthurVanDam" version="1.1" |
| META FILEATTACHMENT | lock_icon.gif | attr="" comment="icon for https/secure links" date="1098994455" path="lock_icon.gif" size="918" user="ArthurVanDam" version="1.1" |
| META FILEATTACHMENT | i_arrow_down.gif | attr="" comment="Icon: down arrow; used for Table Of Contents" date="1098996229" path="i_arrow_down.gif" size="56" user="ArthurVanDam" version="1.1" |
|