r10203 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r10202‎ | r10203 | r10204 >
Date:09:54, 19 July 2005
Author:hashar
Status:old
Tags:
Comment:
Bring back "chick" skin that missed the 1.4 skin system file (Chick.php)
Modified paths:
  • /trunk/phase3/skins/Chick.php (added) (history)
  • /trunk/phase3/skins/chick/IE50Fixes.css (added) (history)
  • /trunk/phase3/skins/chick/IE55Fixes.css (added) (history)
  • /trunk/phase3/skins/chick/IE60Fixes.css (added) (history)

Diff [purge]

Index: trunk/phase3/skins/chick/IE50Fixes.css
@@ -0,0 +1,67 @@
 2+/*
 3+** IE5.0 Fix Stylesheet
 4+*/
 5+
 6+#column-content {
 7+ margin: 0 !important;
 8+ float: none;
 9+}
 10+#column-content #content {
 11+ margin-top: 3em;
 12+ height: 1%;
 13+}
 14+#column-one {
 15+ position: absolute;
 16+ overflow: visible;
 17+ top: 0;
 18+ left: 0;
 19+ z-index: 3;
 20+}
 21+#footer {
 22+ margin: 0 0 0 13.6em;
 23+}
 24+
 25+/* IE 5 & 5.5 interpret keyword sizes one off */
 26+body { font-size: xx-small; }
 27+/*
 28+** the edit tabs
 29+*/
 30+#p-cactions li {
 31+ float: left;
 32+ padding-top: 0;
 33+ padding-bottom: 0 !important;
 34+ height: 0.9em;
 35+}
 36+#p-cactions li a {
 37+ display: block;
 38+ padding-bottom: 0.045em;
 39+}
 40+#p-cactions li.selected a {
 41+ padding-bottom: 0.17em;
 42+}
 43+#p-cactions li a:hover {
 44+ padding-bottom: 0.17em;
 45+}
 46+/* 5.0 doesn't like the background icon for external links and user */
 47+.link-external,
 48+.external {
 49+ background: none;
 50+ padding: 0;
 51+}
 52+#p-personal ul { float: right }
 53+#p-personal li { float: left }
 54+li#pt-userpage,
 55+li#pt-anonuserpage,
 56+li#pt-login,
 57+li#pt-logout {
 58+ background: none;
 59+ padding-left: none;
 60+}
 61+.visualClear {
 62+ width:100%;
 63+ height: 0px;
 64+ padding:0;
 65+ margin:0;
 66+}
 67+.firstHeading { margin-bottom: 0.3em; }
 68+/*div{ border:1px solid Red !important;}*/
Property changes on: trunk/phase3/skins/chick/IE50Fixes.css
___________________________________________________________________
Added: svn:eol-style
169 + native
Added: svn:keywords
270 + Author Date Id Revision
Index: trunk/phase3/skins/chick/IE60Fixes.css
@@ -0,0 +1,79 @@
 2+/* 6.0 - only fixes */
 3+/* content area */
 4+/* workaround for various ie float bugs */
 5+#column-content {
 6+ float: none;
 7+ margin-left: 0;
 8+ height: 1%;
 9+}
 10+#column-content #content {
 11+ margin-left: 12.2em;
 12+ margin-top: 3em;
 13+ height: 1%;
 14+}
 15+#column-one {
 16+ position: absolute;
 17+ top: 0;
 18+ left: 0;
 19+ z-index: 4;
 20+}
 21+#footer {
 22+ margin-left: 13.6em;
 23+ border-left: 1px solid #fabd23;
 24+}
 25+
 26+/* the tabs */
 27+
 28+#p-cactions {
 29+ z-index: 3;
 30+}
 31+
 32+#p-cactions li {
 33+ padding-bottom: 0 !important;
 34+ border: none;
 35+ background-color: transparent;
 36+ cursor: default;
 37+ float: none !important;
 38+}
 39+#p-cactions li a {
 40+ display: inline-block !important;
 41+ vertical-align: top;
 42+ padding-bottom: 0;
 43+ border: solid #aaa;
 44+ border-width: 1px 1px 0;
 45+}
 46+#p-cactions li.selected a {
 47+ border-color: #fabd23;
 48+ padding-bottom: 0.17em;
 49+}
 50+#p-cactions li a:hover {
 51+ padding-bottom: 0.17em;
 52+}
 53+#portal-personaltools {
 54+ padding-bottom: 0.1em;
 55+}
 56+#bodyContent a.external {
 57+ background: url(external.png) center right no-repeat;
 58+ padding-right: 13px;
 59+}
 60+
 61+/* show the hand */
 62+#p-logo a,
 63+#p-logo a:hover {
 64+ cursor: pointer;
 65+}
 66+div.visualClear {
 67+ width:100%;
 68+ line-height: 0;
 69+}
 70+textarea {
 71+ width: 96%;
 72+}
 73+
 74+div.editsection,
 75+#catlinks,
 76+div.tright,
 77+div.tleft {
 78+ position: relative;
 79+}
 80+/*{ border:1px solid Red !important;}*/
Property changes on: trunk/phase3/skins/chick/IE60Fixes.css
___________________________________________________________________
Added: svn:eol-style
181 + native
Added: svn:keywords
282 + Author Date Id Revision
Index: trunk/phase3/skins/chick/IE55Fixes.css
@@ -0,0 +1,81 @@
 2+/* IE5.5/win- only fixes */
 3+
 4+#column-content {
 5+ float: none;
 6+ margin-left: 0;
 7+ height: 1%;
 8+}
 9+#column-content #content {
 10+ position: relative;
 11+ z-index: 5;
 12+ margin-left: 12.2em;
 13+ margin-top: 3em;
 14+ height: 1%;
 15+}
 16+#column-one {
 17+ position: absolute;
 18+ top: 0;
 19+ left: 0;
 20+ z-index: 4;
 21+ width: 100%;
 22+}
 23+#footer {
 24+ margin-left: 13.6em;
 25+ border-left: 1px solid #fabd23;
 26+}
 27+
 28+/*#bodyContent div,
 29+#bodyContent pre { overflow: auto; }*/
 30+
 31+#p-personal { padding-bottom: 0.1em; }
 32+
 33+body { font-size: xx-small; }
 34+
 35+#p-cactions {
 36+ width: 76% !important;
 37+ z-index: 3 !important;
 38+ float: none;
 39+}
 40+#p-cactions li {
 41+ padding-bottom: 0 !important;
 42+ border: none;
 43+ background-color: transparent;
 44+ cursor: default;
 45+ float: none !important;
 46+}
 47+#p-cactions li a {
 48+ display: inline-block !important;
 49+ vertical-align: top;
 50+ padding-bottom: 0;
 51+ border: solid #aaa;
 52+ border-width: 1px 1px 0;
 53+}
 54+#p-cactions li.selected a {
 55+ border-color: #fabd23;
 56+ padding-bottom: 0.17em;
 57+}
 58+#p-cactions li a:hover {
 59+ padding-bottom: 0.17em;
 60+}
 61+.portlet {
 62+ overflow:hidden;
 63+}
 64+#bodyContent a.external {
 65+ background: url(external.png) center right no-repeat;
 66+ padding-right: 13px;
 67+}
 68+/* show the hand */
 69+#p-logo a,
 70+#p-logo a:hover {
 71+ cursor: pointer;
 72+}
 73+.visualClear {
 74+ width:90%;
 75+ height: 1px;
 76+ padding:0;
 77+ margin:0;
 78+}
 79+
 80+#editform {
 81+ width: 100%;
 82+}
Property changes on: trunk/phase3/skins/chick/IE55Fixes.css
___________________________________________________________________
Added: svn:eol-style
183 + native
Added: svn:keywords
284 + Author Date Id Revision
Index: trunk/phase3/skins/Chick.php
@@ -0,0 +1,30 @@
 2+<?php
 3+/**
 4+ * See skin.txt
 5+ *
 6+ * @todo document
 7+ * @package MediaWiki
 8+ * @subpackage Skins
 9+ */
 10+
 11+if( !defined( 'MEDIAWIKI' ) )
 12+ die();
 13+
 14+/** */
 15+require_once('MonoBook.php');
 16+
 17+/**
 18+ * @todo document
 19+ * @package MediaWiki
 20+ * @subpackage Skins
 21+ */
 22+class SkinChick extends SkinTemplate {
 23+ function initPage( &$out ) {
 24+ SkinTemplate::initPage( $out );
 25+ $this->skinname = 'chick';
 26+ $this->stylename = 'chick';
 27+ $this->template = 'MonoBookTemplate';
 28+ }
 29+}
 30+
 31+?>
Property changes on: trunk/phase3/skins/Chick.php
___________________________________________________________________
Added: svn:eol-style
132 + native
Added: svn:keywords
233 + Author Date Id Revision

Status & tagging log