From: Aaron Schulz Date: Thu, 5 Mar 2009 22:28:59 +0000 (+0000) Subject: Add "daddio" from user metawiki styles gallery with fixes and various tweaks. X-Git-Tag: 1.31.0-rc.0~42597 X-Git-Url: http://git.cyclocoop.org/?a=commitdiff_plain;h=887e896b101e086f0e035c311d148b90ee7f2df9;p=lhc%2Fweb%2Fwiklou.git Add "daddio" from user metawiki styles gallery with fixes and various tweaks. --- diff --git a/skins/Daddio.deps.php b/skins/Daddio.deps.php new file mode 100644 index 0000000000..ba26a05162 --- /dev/null +++ b/skins/Daddio.deps.php @@ -0,0 +1,13 @@ +skinname = 'daddio'; + $this->stylename = 'daddio'; + $this->template = 'DaddioTemplate'; + } +} + +/** + * @todo document + * @addtogroup Skins + */ +class DaddioTemplate extends QuickTemplate { + /** + * Template filter callback for Daddio skin. + * Takes an associative array of data set from a SkinTemplate-based + * class, and a wrapper for MediaWiki's localization database, and + * outputs a formatted page. + * + * @access private + */ + function execute() { + global $wgUser; + $skin = $wgUser->getSkin(); + + // Suppress warnings to prevent notices about missing indexes in $this->data + wfSuppressWarnings(); + +?> +data['xhtmlnamespaces'] as $tag => $ns) { + ?>xmlns:xml:lang="text('lang') ?>" lang="text('lang') ?>" dir="text('dir') ?>"> + + + html('headlinks') ?> + html('csslinks') ?> + <?php $this->text('pagetitle') ?> + + data['printable']) ) { ?>media="print" href="text('stylepath') ?>/text('stylename') ?>/print.css?" /> + + + data ); ?> + + + +html('headscripts') ?> +data['jsvarurl' ]) { ?> + + +data['pagecss' ]) { ?> + +data['usercss' ]) { ?> + +data['userjs' ]) { ?> + +data['userjsprev']) { ?> + +data['trackbackhtml']) print $this->data['trackbackhtml']; ?> + +data['body_ondblclick']) { ?> ondblclick="text('body_ondblclick') ?>" +data['body_onload' ]) { ?> onload="text('body_onload') ?>" + class="mediawiki text('nsclass') ?> text('dir') ?> text('pageclass') ?>"> + + + +
+
+ +
+
msg('views') ?>
+
+ +
+
+ + +
+ +
+
+ +
msg('tagline') ?>
+ data['newtalk'] ) { + ?>
html('newtalk') ?>
+ + data['sitenotice']) { + ?>
html('sitenotice') ?>
+ +
+

data['displaytitle']!=""?$this->html('title'):$this->text('title') ?>

+
html('subtitle') ?>
+ + data['undelete']) { ?>
html('undelete') ?>
+ data['showjumplinks']) { ?> + + html('bodytext') ?> +
+ data['catlinks']) { $this->html('catlinks'); } ?> + html('dataAfterContent') ?> +
+
+
+ +
+ + + data['sidebar'] as $bar => $cont) { ?> +
tooltip('p-'.$bar) ?>> + +
+ +
+
+ + + + + + +
+
+

msg('toolbox') ?>

+
+
+ +
+
+ + +data['language_urls'] ) { ?> +
+
msg('otherlanguages') ?>
+
+
    +data['language_urls'] as $langlink) { ?> +

    + +
+
+
+ + +
+ + +
+ +
+ + +
+
msg('personaltools') ?>
+
+ +
+
+ + +
+ + + + + html('bottomscripts'); /* JS call to runBodyOnloadHook */ ?> +html('reporttime') ?> +data['debug'] ): ?> + + +
+ + diff --git a/skins/daddio/audio.png b/skins/daddio/audio.png new file mode 100644 index 0000000000..1c56bdc8d8 Binary files /dev/null and b/skins/daddio/audio.png differ diff --git a/skins/daddio/bullet.gif b/skins/daddio/bullet.gif new file mode 100644 index 0000000000..b43de48a47 Binary files /dev/null and b/skins/daddio/bullet.gif differ diff --git a/skins/daddio/buttonred.png b/skins/daddio/buttonred.png new file mode 100644 index 0000000000..15a02e4474 Binary files /dev/null and b/skins/daddio/buttonred.png differ diff --git a/skins/daddio/discussionitem_icon.gif b/skins/daddio/discussionitem_icon.gif new file mode 100644 index 0000000000..baec471afc Binary files /dev/null and b/skins/daddio/discussionitem_icon.gif differ diff --git a/skins/daddio/edit.png b/skins/daddio/edit.png new file mode 100644 index 0000000000..820b5da25b Binary files /dev/null and b/skins/daddio/edit.png differ diff --git a/skins/daddio/external.png b/skins/daddio/external.png new file mode 100644 index 0000000000..419c06fb96 Binary files /dev/null and b/skins/daddio/external.png differ diff --git a/skins/daddio/file_icon.gif b/skins/daddio/file_icon.gif new file mode 100644 index 0000000000..847f6485ef Binary files /dev/null and b/skins/daddio/file_icon.gif differ diff --git a/skins/daddio/footer-grad.png b/skins/daddio/footer-grad.png new file mode 100644 index 0000000000..6f61d61659 Binary files /dev/null and b/skins/daddio/footer-grad.png differ diff --git a/skins/daddio/link_icon.gif b/skins/daddio/link_icon.gif new file mode 100644 index 0000000000..815ccb1b1c Binary files /dev/null and b/skins/daddio/link_icon.gif differ diff --git a/skins/daddio/lock_icon.gif b/skins/daddio/lock_icon.gif new file mode 100644 index 0000000000..8a87e28330 Binary files /dev/null and b/skins/daddio/lock_icon.gif differ diff --git a/skins/daddio/mail_icon.gif b/skins/daddio/mail_icon.gif new file mode 100644 index 0000000000..50a87a9a06 Binary files /dev/null and b/skins/daddio/mail_icon.gif differ diff --git a/skins/daddio/main.css b/skins/daddio/main.css new file mode 100644 index 0000000000..987888775d --- /dev/null +++ b/skins/daddio/main.css @@ -0,0 +1,1131 @@ +body { + margin: 0 0 0 0; + padding: 0 0 0 0; + font-size: x-small; + font-family: sans-serif; + color: black; + background-color: #f0f0f0; +} +ul { + line-height: 1.3em; + list-style-type: square; + margin: .3em 0 0 1.3em; + padding: 0; + list-style-image: url(bullet.gif); +} +ol { + line-height: 1.3em; + margin: .3em 0 0 3.2em; + padding: 0; + list-style-image: none; +} +li { + margin-bottom: .1em; +} +dt { + font-weight: bold; + margin-bottom: .1em; +} +dl { + margin-top: .2em; + margin-bottom: .5em; +} + + +#mw_main, +#p-personal, +#mw_header { + font-size: 130%; +} + +#mw_header { + margin: 0 0 0 0; + padding: 0 0em 0 0em; + text-decoration: none; + border: none; + height: 2em; + width: 100%; +} + +#firstHeading { + font-weight:bold; + text-decoration: none; +} + +#mw_header h1 { + margin: 0 0 0 0; + padding: 0 0 0 0; + text-decoration: none; + border: 0; + font-size: 150%; +} + +div.portlet_top { + padding: 0.5em 0 1.5em 0; + margin: 0 0 0 0; +} + +#p-personal { + position: absolute; + top: 0em; + left: 0em; + margin: 0 0 0 0; + padding: 0 0 0 0; + width: 100%; +} + +#p-personal div.pBody { + margin: 0 0 0 0; + padding: 0 0 0 0; + font-variant: small-caps; +} + +#p-personal h5 { + display: none; +} +#p-personal ul { + margin: 0 0 0 0; + padding: 0 0 0 0; + display: block; + height: 25px; + background: url(toolbar-bg.png); +} + +#p-personal li { + display: block; float: left; + height: 25px; + margin: 0 0 0 0; + font-weight: bold; + text-transform: lowercase; +} + +#p-personal li a { + text-decoration: none; + color: white; + padding: 0 1em 0 1em; +} + +#p-personal li a:hover { + text-decoration: none; + color: white; +} + +#p-personal li:hover { + background: url(buttonred.png); +} + +#jump-to-nav { + display: none; +} + +#mw_contentwrapper { + width: 100%; + margin: 0 0 0 -14em; + float: right; +} + +#mw_content { + margin: 0 0 0 14em; + background-color: white; + border-top: solid 1px #bbbbbb; + border-left: solid 1px #bbbbbb; + border-bottom: solid 1px #bbbbbb; + line-height: 1.3em; + padding: 0 1em 1em 1em; +} + +#mw_portlets { + width: 14em; + border-right: solid 1px #bbbbbb; +} + +#mw_main { + padding: 0 0 0 0; + margin: 0 0 0 0; + margin-top: 25px; + background-color: #F5FBEF; +} + +div.mw_clear { + margin: 0 0 0 0; + padding: 0 0 0 0; + clear: both; +} + +div.portlet { + padding: 0.5em 0 0.5em 0; + margin: 0 0 0 0; + border-top: solid 7px #f0f0f0; + border-bottom: solid 4px #f0f0f0; +} + +div.portlet h5 { + padding: 0.1em 0 0.3em 1em; + margin: 0 0 0 0; + background-color: #dddddd; + font-weight: bold; + border-bottom: solid 1px #3c78b5; + height: 1em; +} + +div.portlet h4 { + padding: 0.1em 0 0.3em 1em; + margin: 0 0 0 0; + font-weight: bold; + height: 1.1em; +} + +div.portlet P { + margin-top: 0; + line-height: 0.5em; +} + +div.navbox { + padding: 0 0 0 0; + margin: 0 0 0 0; + width: 90%; + height: 64px; + background: url(navbox.png) center right no-repeat; +} +div.searchbox { + padding: 0 0 0 0; + margin: 0 0 0 0; + width: 90%; + height: 64px; + background: url(searchbox.png) center right no-repeat; +} + +div.toolbox { + padding: 0 0 0 0; + margin: 0 0 0 0; + width: 90%; + height: 64px; + background: url(toolbox.png) center right no-repeat; +} + +textarea { + width: 100%; + padding: .1em; +} + +#searchBody { + text-align: center; +} + +#searchInput { + display: block; + margin-left: auto; + margin-right: auto; +} + +#p-cactions { + height: 1.3em; + padding: 0 0 0 0; + margin: 0 0 0 14em; + background: url(edit.png) center right no-repeat; + background-color: #E9E9E9; + border: solid 1px #bbbbbb; +} + +#p-cactions div.pBody { + margin: 0 0 0 0; + padding: 0 0 0 0; +} + +#p-cactions ul { + display: inline; + margin: 0 0 0 0; + padding: 0 0 0 0; +} + +#p-cactions li { + margin: 0 0.5em 0 0.5em; + padding: 0 0.2em 0 0.2em; + display: block; + float: left; + height: 1.3em; + text-transform: lowercase; +} + +#p-cactions li.selected { + background-color: #bbbbbb; +} + +#p-cactions li a, +#p-cactions li a:hover, +#p-cactions li a:visited { + color: #003366; +} + +#p-cactions li.selected a, +#p-cactions li.selected a:hover, +#p-cactions li.selected a:visited { + text-decoration: none; + color: white; +} + +#p-cactions h5 { + display: none; +} + +#siteSub { + display: none; +} + +#mw_bottom { + background-color: #f0f0f0; + height: 100%; +} + +#footer { + background-color: #f0f0f0; + background: url(footer-grad.png) repeat-x 0 0; + padding: 10px 1em 1em 1em; + clear:both; + color: #444444; +} + +#footer a, +#footer a:hover, +#footer a:visited { + color: #444444; + text-decoration: underline; +} + +img { + border: none; +} + +#footer li { + display: inline; + list-style-type: none; + padding: 0 0 0 0; + margin: 0 0 0 0; +} + +#footer ul { + padding: 0 0 0 0; + margin: 0 0 0 0; +} + +div.printfooter { + display: none; +} + +p { + margin: 1em 0 1em 0; +} + +#contentSub { + color: #888; + font-size: small; + padding-left: 2em; +} + +#mw_portlets form { + margin: 0 0 0 0; + padding: 0 0 0 0; +} + +a { + text-decoration: none; + color: #003366; + background: none; +} +a:visited { + color: #5a3696; +} +a:active { + color: #faa700; +} +a:hover { + text-decoration: underline; +} +a.stub { + color: #772233; +} +a.new { + color: #ba0000; +} +a.new:visited { + color: #a55858; +} + +span.editsection { + font-size: small; +} + +h1, h2 { + border-bottom: solid 1px #003366; +} + +#preftoc { + width: 100%; + margin: 0 0 0 0; + padding: 0 0 0 0; + height: 1.3em; + clear: right; +} + +#preftoc li { + margin: 0 0.5em 0 0.5em; + padding: 0 0.2em 0 0.2em; + display: block; + float: left; + height: 1.3em; + text-transform: lowercase; +} + +#preferences { + margin: 0 0 0 0; + padding: 0em 1em 1em 1em; + border: solid 1px #bbbbbb; +} + +#preferences fieldset { + margin-top: 0; + border: none; +} + +#preferences h2 { +} + +.mainLegend { + display: none; +} + +#preftoc li.selected { + background-color: #bbbbbb; +} + +#preftoc li a, +#preftoc li a:hover, +#preftoc li a:visited { + text-decoration: underline; + color: #003366; +} + +#preftoc li.selected a, +#preftoc li.selected a:hover, +#preftoc li.selected a:visited { + text-decoration: none; + color: white; +} + +#mw_content a.external, +#mw_content a[href ^="gopher://"] { + background: url(external.png) center right no-repeat; + padding-right: 13px; +} +#mw_content a[href ^="https://"], +.link-https { + background: url(lock_icon.gif) center right no-repeat; + padding-right: 16px; +} +#mw_content a[href ^="mailto:"], +.link-mailto { + background: url(mail_icon.gif) center right no-repeat; + padding-right: 18px; +} +#mw_content a[href ^="news://"] { + background: url(news_icon.png) center right no-repeat; + padding-right: 18px; +} +#mw_content a[href ^="ftp://"], +.link-ftp { + background: url(file_icon.gif) center right no-repeat; + padding-right: 18px; +} +#mw_content a[href ^="irc://"], +.link-irc { + background: url(discussionitem_icon.gif) center right no-repeat; + padding-right: 18px; +} + +#mw_content a.external[href $=".ogg"], #mw_content a.external[href $=".OGG"], +#mw_content a.external[href $=".mid"], #mw_content a.external[href $=".MID"], +#mw_content a.external[href $=".midi"], #mw_content a.external[href $=".MIDI"], +#mw_content a.external[href $=".mp3"], #mw_content a.external[href $=".MP3"], +#mw_content a.external[href $=".wav"], #mw_content a.external[href $=".WAV"], +#mw_content a.external[href $=".wma"], #mw_content a.external[href $=".WMA"], +.link-audio { + background: url("audio.png") center right no-repeat; + padding-right: 13px; +} +#mw_content a.external[href $=".ogm"], #mw_content a.external[href $=".OGM"], +#mw_content a.external[href $=".avi"], #mw_content a.external[href $=".AVI"], +#mw_content a.external[href $=".mpeg"], #mw_content a.external[href $=".MPEG"], +#mw_content a.external[href $=".mpg"], #mw_content a.external[href $=".MPG"], +.link-video { + background: url("video.png") center right no-repeat; + padding-right: 13px; +} +#mw_content a.external[href $=".pdf"], #mw_content a.external[href $=".PDF"], +#mw_content a.external[href *=".pdf#"], #mw_content a.external[href *=".PDF#"], +#mw_content a.external[href *=".pdf?"], #mw_content a.external[href *=".PDF?"], +.link-document { + background: url("document.png") center right no-repeat; + padding-right: 12px; +} + +/* images */ +div.floatright, table.floatright { + clear: right; + float: right; + position: relative; + margin: 0 0 .5em .5em; + border: 0; +/* + border: .5em solid white; + border-width: .5em 0 .8em 1.4em; +*/ +} +div.floatright p { font-style: italic; } +div.floatleft, table.floatleft { + float: left; + clear: left; + position: relative; + margin: 0 .5em .5em 0; + border: 0; +/* + margin: .3em .5em .5em 0; + border: .5em solid white; + border-width: .5em 1.4em .8em 0; +*/ +} +div.floatleft p { font-style: italic; } +/* thumbnails */ +div.thumb { + margin-bottom: .5em; + border-style: solid; + border-color: white; + width: auto; +} +div.thumbinner { + border: 1px solid #ccc; + padding: 3px !important; + background-color: #f9f9f9; + font-size: 94%; + text-align: center; + overflow: hidden; +} +html .thumbimage { + border: 1px solid #ccc; +} +html .thumbcaption { + border: none; + text-align: left; + line-height: 1.4em; + padding: 3px !important; + font-size: 94%; +} +div.magnify { + float: right; + border: none !important; + background: none !important; +} +div.magnify a, div.magnify img { + display: block; + border: none !important; + background: none !important; +} +div.tright { + clear: right; + float: right; + border-width: .5em 0 .8em 1.4em; +} +div.tleft { + float: left; + clear: left; + margin-right: .5em; + border-width: .5em 1.4em .8em 0; +} +img.thumbborder { + border: 1px solid #dddddd; +} +.hiddenStructure { + display: none; +} + +#mw_content .plainlinks a { + background: none !important; + padding: 0 !important; +} + +.mw-warning { + border: 1px solid #aaa; + background-color: #f9f9f9; + padding: 5px; + font-size: 95%; +} + +#toc, +.toc { + margin: 0 0 0 0; + padding: 0 0 0 0; + border-spacing: 0; + background-color: #f0f0f0; + border: solid 1px #bbbbbb; +} + +#toc tr, #toc td { + margin: 0 0 0 0; + padding: 0 0 0 0; +} + +#toctitle { + border-bottom: solid 1px #3c78b5; + background-color: #dddddd; + margin: 0 0 0 0; +} + +#toc h2, +.toc h2 { + display: inline; + border: none; + padding: 0; + font-size: 100%; + font-weight: bold; +} +#toc #toctitle, +.toc #toctitle, +#toc .toctitle, +.toc .toctitle { + text-align: center; +} + +#toc ul, +.toc ul { + list-style-type: none; + list-style-image: none; + margin: 0 1em 0 1em; + padding-left: 0; + text-align: left; +} + +#toc ul ul, +.toc ul ul { + margin: 0 0 0 2em; +} + +#toc .toctoggle, +.toc .toctoggle { + font-size: 94%; +} + +.mw-warning { + margin-left: 50px; + margin-right: 50px; + text-align: center; +} + +#catlinks { + border: solid 1px #bbbbbb; + background-color: #f0f0f0; + padding: 0.5em 0.5em 0.5em 0.5em; + margin: 0 0 0 0; +} + +#catlinks p { + margin: 0 0 0 0; + padding: 0 0 0 0; +} + +#p-personal, +#p-cactions { + overflow: hidden; +} + +span.autocomment { + color: gray; +} + + +#pagehistory span.user { + margin-left: 1.4em; + margin-right: .4em; +} +#pagehistory span.minor { + font-weight: bold; +} +#pagehistory li { + border: 1px solid white; +} +#pagehistory li.selected { + background-color: #f9f9f9; + border: 1px dashed #aaa; +} + +/* disable interwiki styling */ +#mw_content a.extiw, +#mw_content a.extiw:active { + color: #36b; + background: none; + padding: 0; +} +#mw_content a.external { + color: #36b; +} + + + +.redirectText { + font-size: 150%; + margin: 5px; +} + +.printfooter { + display: none; +} + +.not-patrolled { + background-color: #ffa; +} +div.patrollink { + font-size: 75%; + text-align: right; +} +span.newpage, span.minor, span.searchmatch, span.bot { + font-weight: bold; +} +span.unpatrolled { + font-weight: bold; + color: red; +} + +span.searchmatch { + color: red; +} +.sharedUploadNotice { + font-style: italic; +} + +span.updatedmarker { + color: black; + background-color: #0f0; +} + +table.gallery { + border: 1px solid #ccc; + margin: 2px; + padding: 2px; + background-color: white; +} + +table.gallery tr { + vertical-align: top; +} + +table.gallery td { + vertical-align: top; + background-color: #f9f9f9; + border: solid 2px white; +} +/* Keep this temporarily so that cached pages will display right */ +table.gallery td.galleryheader { + text-align: center; + font-weight: bold; +} +table.gallery caption { + font-weight: bold; +} + +div.gallerybox { + margin: 2px; +} + +div.gallerybox div.thumb { + text-align: center; + border: 1px solid #ccc; + margin: 2px; +} + +div.gallerytext { + overflow: hidden; + font-size: 94%; + padding: 2px 4px; +} + +span.comment { + font-style: italic; +} + +span.changedby { + font-size: 95%; +} + +.previewnote { + text-indent: 3em; + color: #c00; + border-bottom: 1px solid #aaa; + padding-bottom: 1em; + margin-bottom: 1em; +} + +.previewnote p { + margin: 0; + padding: 0; +} + +.editExternally { + border: 1px solid gray; + background-color: #ffffff; + padding: 3px; + margin-top: 0.5em; + float: left; + font-size: small; + text-align: center; +} +.editExternallyHelp { + font-style: italic; + color: gray; +} + +.toggle { + margin-left: 2em; + text-indent: -2em; +} + +/* Classes for EXIF data display */ +table.mw_metadata { + font-size: 0.8em; + margin-left: 0.5em; + margin-bottom: 0.5em; + width: 300px; +} + +table.mw_metadata caption { + font-weight: bold; +} + +table.mw_metadata th { + font-weight: normal; +} + +table.mw_metadata td { + padding: 0.1em; +} + +table.mw_metadata { + border: none; + border-collapse: collapse; +} + +table.mw_metadata td, table.mw_metadata th { + text-align: center; + border: 1px solid #aaaaaa; + padding-left: 0.1em; + padding-right: 0.1em; +} + +table.mw_metadata th { + background-color: #f9f9f9; +} + +table.mw_metadata td { + background-color: #fcfcfc; +} + +table.collapsed tr.collapsable { + display: none; +} + + +/* filetoc */ +ul#filetoc { + text-align: center; + border: 1px solid #aaaaaa; + background-color: #f9f9f9; + padding: 5px; + font-size: 95%; + margin-bottom: 0.5em; + margin-left: 0; + margin-right: 0; +} + +#filetoc li { + display: inline; + list-style-type: none; + padding-right: 2em; +} + +input#wpSummary { + width: 80%; +} + +/* @bug 1714 */ +input#wpSave, input#wpDiff { + margin-right: 0.33em; +} + +#editform .editOptions { + display: inline; +} + +#wpSave { + font-weight: bold; +} + +/* Classes for article validation */ + +table.revisionform_default { + border: 1px solid #000000; +} + +table.revisionform_focus { + border: 1px solid #000000; + background-color:#00BBFF; +} + +tr.revision_tr_default { + background-color:#EEEEEE; +} + +tr.revision_tr_first { + background-color:#DDDDDD; +} + +p.revision_saved { + color: green; + font-weight:bold; +} + +#mw_trackbacks { + border: solid 1px #bbbbff; + background-color: #eeeeff; + padding: 0.2em; +} + + +/* Allmessages table */ + +#allmessagestable th { + background-color: #b2b2ff; +} + +#allmessagestable tr.orig { + background-color: #ffe2e2; +} + +#allmessagestable tr.new { + background-color: #e2ffe2; +} + +#allmessagestable tr.def { + background-color: #f0f0ff; +} + + +/* noarticletext */ +div.noarticletext { + border: 1px solid #ccc; + background: #fff; + padding: .2em 1em; + color: #000; +} + +div#searchTargetContainer { + left: 10px; + top: 10px; + width: 90%; + background: white; +} + +div#searchTarget { + padding: 3px; + margin: 5px; + background: #F0F0F0; + border: solid 1px blue; +} + +div#searchTarget ul li { + list-style: none; +} + +div#searchTarget ul li:before { + color: orange; + content: "\00BB \0020"; +} + +div#searchTargetHide { + float:right; + border:solid 1px black; + background:gainsboro; + padding:2px; +} + +div.multipageimagenavbox { + border: solid 1px silver; + padding: 4px; + margin: 1em; + -moz-border-radius: 6px; + background: #f0f0f0; +} + +div.multipageimagenavbox div.thumb { + border: none; + margin-left: 2em; + margin-right: 2em; +} + +div.multipageimagenavbox hr { + margin: 6px; +} + +table.multipageimage td { + text-align: center; +} + +/** Special:Version */ + +table#sv-ext, table#sv-hooks, table#sv-software { + margin: 1em; + padding:0em; +} + +#sv-ext td, #sv-hooks td, #sv-software td, +#sv-ext th, #sv-hooks th, #sv-software th { + border: 1px solid #A0A0A0; + padding: 0 0.15em 0 0.15em; +} +#sv-ext th, #sv-hooks th, #sv-software th { + background-color: #F0F0F0; + color: black; + padding: 0 0.15em 0 0.15em; +} +tr.sv-space{ + height: 0.8em; + border:none; +} +tr.sv-space td { display: none; } + +/* + Table pager (e.g. Special:Imagelist) + - remove underlines from the navigation link + - collapse borders + - set the borders to outsets (similar to Special:Allmessages) + - remove line wrapping for all td and th, set background color + - restore line wrapping for the last two table cells (description and size) +*/ +.TablePager_nav a { text-decoration: none; } +.TablePager { border-collapse: collapse; } +.TablePager, .TablePager td, .TablePager th { + border: 1px solid #aaaaaa; + padding: 0 0.15em 0 0.15em; +} +.TablePager th { background-color: #eeeeff } +.TablePager td { background-color: #ffffff } +.TablePager tr:hover td { background-color: #eeeeff } + +.imagelist td, .imagelist th { white-space: nowrap } +.imagelist .TablePager_col_links { background-color: #eeeeff } +.imagelist .TablePager_col_img_description { white-space: normal } +.imagelist th.TablePager_sort { background-color: #ccccff } + +.templatesUsed { margin-top: 1.3em; } + +.mw-summary-preview { + margin: 0.1em 0; +} + +/* Convenience links on Special:Ipblocklist */ +p.mw-ipb-conveniencelinks { + font-size: 90%; + float: right; +} + +/* Friendlier slave lag warnings */ +div.mw-lag-warn-normal, +div.mw-lag-warn-high { + padding: 3px; + text-align: center; + margin: 3px auto; +} +div.mw-lag-warn-normal { + border: 1px solid #FFCC66; + background-color: #FFFFCC; +} +div.mw-lag-warn-high { + font-weight: bold; + border: 2px solid #FF0033; + background-color: #FFCCCC; +} + +/* Recreating-deleted-page/reupload file warning and log entries */ +div#mw-upload-deleted-warn, +div#mw-recreate-deleted-warn { + padding: 3px; + margin-bottom: 3px; + border: 2px solid #2F6FAB; +} +div#mw-upload-deleted-warn ul li, +div#mw-recreate-deleted-warn ul li { + font-size: 90%; +} +.MediaTransformError { + background-color: #ccc; + padding: 0.1em; +} +.MediaTransformError td { + text-align: center; + vertical-align: middle; + font-size: 90%; +} + +#p-cactions li.new a { + color: #cc2200; +} + +pre { + border: solid 1px #3c78b5; + padding: 0.4em; + background-color: #f0f0f0; +} + +.usermessage { + background-color: #dadaff; +} + +.mw-topboxes { + border-collapse: collapse; + margin: 0 -1em 1em -1em; + padding: 0 0 8px 0; +} + +.mw-topbox p { + padding: 0 0 0 0; + margin: 0 0 0 0; +} + +.mw-topbox { + color: black; + font-weight: bold; + margin: 0 0 0 0; + padding: 0 1em 0 1em; + vertical-align: middle; + border-collapse: collapse; + border-bottom: solid 1px #bbbbbb; +} + +#siteSub { + background-color: #dddddd; +} + +/* emulate center */ +.center { + width:100%; + text-align:center; +} +*.center * { + margin-left:auto; + margin-right:auto; +} + +/* table standards */ +.toccolours { + border:1px solid #bbbbbb; + background-color:#f0f0f0; + border-spacing:0pt; + margin:0pt; + padding:0pt; +} diff --git a/skins/daddio/navbox.png b/skins/daddio/navbox.png new file mode 100644 index 0000000000..f71b44dfd8 Binary files /dev/null and b/skins/daddio/navbox.png differ diff --git a/skins/daddio/news_icon.png b/skins/daddio/news_icon.png new file mode 100644 index 0000000000..dd1541d13c Binary files /dev/null and b/skins/daddio/news_icon.png differ diff --git a/skins/daddio/page.png b/skins/daddio/page.png new file mode 100644 index 0000000000..a4e5468074 Binary files /dev/null and b/skins/daddio/page.png differ diff --git a/skins/daddio/print.css b/skins/daddio/print.css new file mode 100644 index 0000000000..2d5b265e37 --- /dev/null +++ b/skins/daddio/print.css @@ -0,0 +1,9 @@ +#mw_portlets, +#p-cactions, +#p-personal, +#jump-to-nav, +#footer, +span.editsection +{ + display: none; +} diff --git a/skins/daddio/rtl.css b/skins/daddio/rtl.css new file mode 100644 index 0000000000..c92dbcfe8a --- /dev/null +++ b/skins/daddio/rtl.css @@ -0,0 +1,142 @@ +body { + direction: rtl; + unicode-bidi: embed; +} + +.editsection { + float: left; + margin-right: 5px; + margin-left: 0; /* bug 9122: undo default LTR */ +} + +/* Fix alignment */ +.documentByLine, +.portletDetails, +.portletMore { + text-align: left; +} + +div div.thumbcaption { + text-align: right; +} + +div.magnify, +#div.townBox { + left: auto; + right: 0; +} + +/* Fix margins for non-css2 browsers */ +/* top right bottom left */ + +dd { + margin-left: 0; + margin-right: 1.6em; +} +.tocindent { + margin-left: 0; + margin-right: 2em; +} +div.tright, div.floatright, table.floatright { + clear: none; +} +div.tleft, div.floatleft, table.floatleft { + clear: left; +} +div.townBox { + margin-left: 0; + margin-right: 1em; +} +div.townBox dl dd { + margin-left: 0; + margin-right: 1.1em; +} + +/* Fix link icons */ +.external { + padding: 0 !important; + background: none !important; +} + +/* js pref toc */ + +#preftoc { + margin-right: 1em; +} + +.errorbox, .successbox, #preftoc li, .prefsection fieldset { + float: right; +} + +.prefsection { + padding-right: 2em; +} + +/* workaround for moz bug, displayed bullets on left side */ + +#toc ul { + text-align: right; +} + +#toc ul ul { + margin: 0 2em 0 0; +} + +input#wpSave, input#wpDiff { + margin-right: 0; + margin-left: .33em; +} + +#userlogin { + float: right; + margin: 0 0 1em 3em; +} +/* Unblock and Ipblocklist links of Special:Blockip */ +p.mw-ipb-conveniencelinks { + float: left; +} + +.toggle { + margin-left: 0em; + margin-right: 2em; +} +table.filehistory th { + text-align: right; +} + +#mw_contentwrapper { + margin: 0 -15em 0 0; + float: left; +} + +#mw_content { + margin: 0 14em 0 0; + border-left: none; + border-right: solid 1px #bbbbbb; +} + +.portlet ul { + margin: 0 1.5em 0 0; + padding: 0 0 0 0; +} + +.portlet h5 { + padding: 0.1em 1em 0.3em 0; +} + +#p-cactions li { + float: right; +} + +#p-personal li { + float: right; +} + +#p-cactions { + margin: 0 14em 0 0; +} + +#mw_portlets { + border-right: none; + border-left: solid 1px #bbbbbb; +} diff --git a/skins/daddio/searchbox.png b/skins/daddio/searchbox.png new file mode 100644 index 0000000000..264a409e7d Binary files /dev/null and b/skins/daddio/searchbox.png differ diff --git a/skins/daddio/toolbar-bg.png b/skins/daddio/toolbar-bg.png new file mode 100644 index 0000000000..2d0efc4afd Binary files /dev/null and b/skins/daddio/toolbar-bg.png differ diff --git a/skins/daddio/toolbox.png b/skins/daddio/toolbox.png new file mode 100644 index 0000000000..53d940a17a Binary files /dev/null and b/skins/daddio/toolbox.png differ diff --git a/skins/daddio/user.png b/skins/daddio/user.png new file mode 100644 index 0000000000..44ed9b81e6 Binary files /dev/null and b/skins/daddio/user.png differ diff --git a/skins/daddio/video.png b/skins/daddio/video.png new file mode 100644 index 0000000000..38103dac28 Binary files /dev/null and b/skins/daddio/video.png differ