Accompanies r69481. Style changes for the new search placeholder text
[lhc/web/wiklou.git] / skins / vector / main-rtl.css
index 43b510b..32bccf9 100644 (file)
@@ -28,7 +28,7 @@ body {
        background-image: url(images/page-base.png?1);
 }
 /* Content */
-#content {
+div#content {
        margin-right: 10em;
        padding: 1em;
        background-image: url(images/border.png?1);
@@ -38,14 +38,14 @@ body {
        color: black;
 }
 /* Head */
-#page-base {
+#mw-page-base {
        height: 5em;
        background-color: white;
        background-image: url(images/page-fade.png?1);
        background-position: bottom right;
        background-repeat: repeat-x;
 }
-#head-base {
+#mw-head-base {
        margin-top: -5em;
        margin-right: 10em;
        height: 5em;
@@ -53,13 +53,13 @@ body {
        background-position: bottom right;
        background-repeat: repeat-x;
 }
-#head {
+div#mw-head {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
 }
-#head h5 {
+div#mw-head h5 {
        margin: 0;
        padding: 0;
 }
@@ -71,7 +71,7 @@ body {
        #p-personal {
                position: absolute;
                top: 0;
-               margin-right: 10em;
+               padding-right: 10em;
                left: 0.75em;
        }
        #p-personal h5 {
@@ -87,10 +87,12 @@ body {
                line-height: 1.125em;
                float: left;
        }
+       /* This one flips! */
        #p-personal li {
                margin-right: 0.75em;
                margin-top: 0.5em;
                font-size: 0.75em;
+               white-space: nowrap;
        }
        /* Navigation Containers */
        #left-navigation {
@@ -111,6 +113,7 @@ body {
        /* @noflip */
        div.vectorTabs {
                float: left;
+               height: 2.5em;
        }
        div.vectorTabs {
                background-image: url(images/tab-break.png?1);
@@ -155,19 +158,18 @@ body {
        /* OVERRIDDEN BY COMPLIANT BROWSERS */
        div.vectorTabs li a {
                display: inline-block;
-               height: 2.5em;
-               padding-right: 0.4em;
-               padding-left: 0.4em;
+               height: 1.9em;
+               padding-right: 0.5em;
+               padding-left: 0.5em;
                background-image: url(images/tab-break.png?1);
                background-position: bottom left;
                background-repeat: no-repeat;
        }
-       div.vectorTabs li a,
-       div.vectorTabs li a span {
+       div.vectorTabs li a{
                color: #0645ad;
                cursor: pointer;
        }
-       div.vectorTabs li a span {
+       div.vectorTabs li a  {
                font-size: 0.8em;
        }
        /* IGNORED BY IE6 */
@@ -175,27 +177,23 @@ body {
                display: block;
        }
        /* OVERRIDDEN BY COMPLIANT BROWSERS */
-       div.vectorTabs a span {
+       div.vectorTabs span a  {
                display: inline-block;
                padding-top: 1.25em;
        }
        /* IGNORED BY IE6 */
        /* @noflip */
-       div.vectorTabs a > span {
+       div.vectorTabs span > a {
                float: left;
                display: block;
        }
        div.vectorTabs li.selected a,
-       div.vectorTabs li.selected a span,
-       div.vectorTabs li.selected a:visited
-       div.vectorTabs li.selected a:visited span {
+       div.vectorTabs li.selected a:visited{
                color: #333333;
                text-decoration: none;
        }
        div.vectorTabs li.new a,
-       div.vectorTabs li.new a span,
-       div.vectorTabs li.new a:visited,
-       div.vectorTabs li.new a:visited span {
+       div.vectorTabs li.new a:visited{
                color: #a55858;
        }
        /* Variants and Actions */
@@ -214,20 +212,20 @@ body {
        }
        /* OVERRIDDEN BY COMPLIANT BROWSERS */
        /* @noflip */
-       #head div.vectorMenu h5 {
+       div#mw-head div.vectorMenu h5 {
                float: left;
                background-image: url(images/tab-break.png?1);
                background-repeat: no-repeat;
        }
        /* IGNORED BY IE6 */
-       #head div.vectorMenu > h5 {
+       div#mw-head div.vectorMenu > h5 {
                background-image: none;
        }
-       #head div.vectorMenu h5 {
+       div#mw-head div.vectorMenu h5 {
                background-position: bottom right;
                margin-right: -1px;
        }
-       #head div.vectorMenu h4 {
+       div#mw-head div.vectorMenu h4 {
                display: inline-block;
                float: right;
                font-size: 0.8em;
@@ -345,34 +343,49 @@ body {
                margin: 0;
                margin-top: 0.4em;
        }
-       #simpleSearch {
-               margin-top: 0.5em;
+       div#simpleSearch {
+               margin-top: 0.65em;
                position: relative;
+               min-height: 1px; /* Gotta trigger hasLayout for IE7 */
                border: solid 1px #AAAAAA;
                background-color: white;
                background-image: url(images/search-fade.png?1);
                background-position: top right;
                background-repeat: repeat-x;
        }
-       #simpleSearch label {
-               font-size: 0.8em;
+       div#simpleSearch label {
+               /*
+                * DON'T PANIC! Browsers that won't scale this properly are the same browsers that have JS issues that prevent
+                * this from ever being shown anyways.
+               */
+               font-size: 13px;
                top: 0.25em;
        }
-       #simpleSearch input#searchInput {
+       div#simpleSearch .placeholder {
+               color: #999999;
+       }
+       div#simpleSearch input::-webkit-input-placeholder { 
+               color: #999999;
+       }
+       div#simpleSearch input#searchInput {
                margin: 0;
                border-width: 0;
-               padding: 0.25em;
-               line-height: 1em;
-               font-size: 0.8em;
-               width: 9em;
+               padding: 3px;
+               vertical-align: top;
+               /*
+                * DON'T PANIC! Browsers that won't scale this properly are the same browsers that have JS issues that prevent
+                * this from ever being shown anyways.
+               */
+               font-size: 13px;
+               width: 14em;
                background-color: transparent;
        }
        /* OVERRIDDEN BY COMPLIANT BROWSERS */
-       #simpleSearch button#searchButton {
-               margin: 0;
+       div#simpleSearch button#searchButton {
                padding: 0;
-               width: 1.75em;
-               height: 1.5em;
+               margin: 5px 5px 0 5px;
+               height: 13px;
+               width: 12px;
                border: none;
                cursor: pointer;
                background-color: transparent;
@@ -380,22 +393,18 @@ body {
                background-position: center center;
                background-repeat: no-repeat;
        }
-       /* IGNORED BY IE6 */
-       #simpleSearch > button#searchButton {
-               height: 100%;
-       }
 /* Panel */
-#panel {
+div#mw-panel {
        position: absolute;
        top: 160px;
        padding-top: 1em;
        width: 10em;
        right: 0;
 }
-       #panel div.portal {
+       div#mw-panel div.portal {
                padding-bottom: 1.5em;
        }
-       #panel div.portal h5 {
+       div#mw-panel div.portal h5 {
                font-weight: normal;
                color: #444444;
                padding: 0.25em;
@@ -405,7 +414,7 @@ body {
                border: none;
                font-size: 0.75em;
        }
-       #panel div.portal div.body {
+       div#mw-panel div.portal div.body {
                margin: 0;
                padding-top: 0.5em;
                margin-right: 1.25em;
@@ -413,14 +422,14 @@ body {
                background-repeat: no-repeat;
                background-position: top right;
        }
-       #panel div.portal div.body ul {
+       div#mw-panel div.portal div.body ul {
                list-style: none;
                list-style-image: none;
                list-style-type: none;
                padding: 0;
                margin: 0;
        }
-       #panel div.portal div.body ul li {
+       div#mw-panel div.portal div.body ul li {
                line-height: 1.125em;
                padding: 0;
                padding-bottom: 0.5em;
@@ -428,14 +437,14 @@ body {
                overflow: hidden;
                font-size: 0.75em;
        }
-       #panel div.portal div.body ul li a {
+       div#mw-panel div.portal div.body ul li a {
                color: #0645ad;
        }
-       #panel div.portal div.body ul li a:visited {
+       div#mw-panel div.portal div.body ul li a:visited {
                color: #0b0080;
        }
 /* Footer */
-#footer {
+div#footer {
        margin-right: 10em;
        margin-top: 0;
        padding: 0.75em;
@@ -443,14 +452,14 @@ body {
        background-position: top right;
        background-repeat: repeat-x;
 }
-#footer ul {
+div#footer ul {
        list-style: none;
        list-style-image: none;
        list-style-type: none;
        margin: 0;
        padding: 0;
 }
-#footer ul li {
+div#footer ul li {
        margin: 0;
        padding: 0;
        padding-top: 0.5em;
@@ -458,22 +467,22 @@ body {
        color: #333333;
        font-size: 0.7em;
 }
-#footer #footer-icons {
+div#footer #footer-icons {
        float: left;
 }
 /* @noflip */
-body.ltr #footer #footer-places {
+body.ltr div#footer #footer-places {
        float: left;
 }
-#footer #footer-info li {
+div#footer #footer-info li {
        line-height: 1.4em;
 }
-#footer #footer-icons li {
+div#footer #footer-icons li {
        float: right;
        margin-right: 0.5em;
        line-height: 2em;
 }
-#footer #footer-places li {
+div#footer #footer-places li {
        float: right;
        margin-left: 1em;
        line-height: 2em;
@@ -614,7 +623,7 @@ body.ltr #footer #footer-places {
  * The following code is slightly modified from monobook
  * 
  */
-#content {
+div#content {
        line-height: 1.5em;
 }
 #bodyContent {
@@ -718,7 +727,11 @@ blockquote {
        font-style: italic;
 }*/
 pre, code, tt {
-       font-family: monospace, sans-serif;
+       /*
+        * It's important for this rule to first reference an actual font name, some browsers will render the monospace text
+        * too small otherwise, namely Firefox, Chrome and Safari
+        */
+       font-family: monospace, "Courier New";
 }
 code {
        background-color: #f9f9f9;
@@ -889,17 +902,19 @@ div.magnify a, div.magnify img {
        border: none !important;
        background: none !important;
 }
+/* @noflip */
 div.tright {
-       clear: left;
-       float: left;
-       border-width: .5em 1.4em .8em 0;
-}
-div.tleft {
-       float: right;
        clear: right;
-       margin-left: .5em;
+       float: right;
        border-width: .5em 0 .8em 1.4em;
 }
+/* @noflip */
+div.tleft {
+       float: left;
+       clear: left;
+       margin-right: .5em;
+       border-width: .5em 1.4em .8em 0;
+}
 img.thumbborder {
        border: 1px solid #dddddd;
 }
@@ -922,18 +937,15 @@ img.thumbborder {
        padding: .5em 1em;
        vertical-align: middle;
 }
-/* Site Notice */
+/* Site Notice (includes notices from CentralNotice extension) */
 #siteNotice {
        text-align: center;
        font-size: 0.8em;
        margin: 0;
 }
-       #siteNotice div,
-       #siteNotice p {
-               margin: 0;
-               padding: 0;
-               margin-bottom: 0.9em;
-       }
+#localNotice {
+       margin-bottom: 0.9em;
+}
 /* Categories */
 .catlinks {
        border: 1px solid #aaa;
@@ -991,72 +1003,72 @@ h3, h4, h5 {
        font-size: 1.6em;
        padding-bottom: 0;
 }
-#content a.external,
-#content a[href ^="gopher://"] {
+div#content a.external,
+div#content a[href ^="gopher://"] {
        background: url(images/external-link-rtl-icon.png?2) center left no-repeat;
        padding: 0 0 0 13px;
 }
-#content a[href ^="https://"],
+div#content a[href ^="https://"],
 .link-https {
        background: url(images/lock-icon.png?2) center left no-repeat;
-       padding: 0 0 0 18px;
+       padding: 0 0 0 13px;
 }
-#content a[href ^="mailto:"],
+div#content a[href ^="mailto:"],
 .link-mailto {
        background: url(images/mail-icon.png?2) center left no-repeat;
-       padding: 0 0 0 18px;
+       padding: 0 0 0 13px;
 }
-#content a[href ^="news://"] {
+div#content a[href ^="news://"] {
        background: url(images/news-icon.png?2) center left no-repeat;
-       padding: 0 0 0 18px;
+       padding: 0 0 0 13px;
 }
-#content a[href ^="ftp://"],
+div#content a[href ^="ftp://"],
 .link-ftp {
        background: url(images/file-icon.png?2) center left no-repeat;
-       padding: 0 0 0 18px;
+       padding: 0 0 0 13px;
 }
-#content a[href ^="irc://"],
-#content a.extiw[href ^="irc://"],
+div#content a[href ^="irc://"],
+div#content a.extiw[href ^="irc://"],
 .link-irc {
        background: url(images/talk-icon.png?2) center left no-repeat;
-       padding: 0 0 0 18px;
-}
-#content a.external[href $=".ogg"], #content a.external[href $=".OGG"],
-#content a.external[href $=".mid"], #content a.external[href $=".MID"],
-#content a.external[href $=".midi"], #content a.external[href $=".MIDI"],
-#content a.external[href $=".mp3"], #content a.external[href $=".MP3"],
-#content a.external[href $=".wav"], #content a.external[href $=".WAV"],
-#content a.external[href $=".wma"], #content a.external[href $=".WMA"],
+       padding: 0 0 0 13px;
+}
+div#content a.external[href $=".ogg"], div#content a.external[href $=".OGG"],
+div#content a.external[href $=".mid"], div#content a.external[href $=".MID"],
+div#content a.external[href $=".midi"], div#content a.external[href $=".MIDI"],
+div#content a.external[href $=".mp3"], div#content a.external[href $=".MP3"],
+div#content a.external[href $=".wav"], div#content a.external[href $=".WAV"],
+div#content a.external[href $=".wma"], div#content a.external[href $=".WMA"],
 .link-audio {
        background: url("images/audio-icon.png?2") center left no-repeat;
-       padding: 0 0 0 18px;
+       padding: 0 0 0 13px;
 }
-#content a.external[href $=".ogm"], #content a.external[href $=".OGM"],
-#content a.external[href $=".avi"], #content a.external[href $=".AVI"],
-#content a.external[href $=".mpeg"], #content a.external[href $=".MPEG"],
-#content a.external[href $=".mpg"], #content a.external[href $=".MPG"],
+div#content a.external[href $=".ogm"], div#content a.external[href $=".OGM"],
+div#content a.external[href $=".avi"], div#content a.external[href $=".AVI"],
+div#content a.external[href $=".mpeg"], div#content a.external[href $=".MPEG"],
+div#content a.external[href $=".mpg"], div#content a.external[href $=".MPG"],
 .link-video {
        background: url("images/video-icon.png?2") center left no-repeat;
-       padding: 0 0 0 18px;
+       padding: 0 0 0 13px;
 }
-#content a.external[href $=".pdf"], #content a.external[href $=".PDF"],
-#content a.external[href *=".pdf#"], #content a.external[href *=".PDF#"],
-#content a.external[href *=".pdf?"], #content a.external[href *=".PDF?"],
+div#content a.external[href $=".pdf"], div#content a.external[href $=".PDF"],
+div#content a.external[href *=".pdf#"], div#content a.external[href *=".PDF#"],
+div#content a.external[href *=".pdf?"], div#content a.external[href *=".PDF?"],
 .link-document {
        background: url("images/document-icon.png?2") center left no-repeat;
-       padding: 0 0 0 18px;
+       padding: 0 0 0 13px;
 }
 /* Interwiki Styling  (Disabled) */
-#content a.extiw,
-#content a.extiw:active {
+div#content a.extiw,
+div#content a.extiw:active {
        color: #36b;
        background: none;
        padding: 0;
 }
-#content a.external {
+div#content a.external {
        color: #36b;
 }
-#content .printfooter {
+div#content .printfooter {
        display: none;
 }
 /* Icon for Usernames */
@@ -1097,7 +1109,8 @@ div#bodyContent {
        outline: none;
        display: block;
        width: 26px;
-       height: 2.5em;
+       height: 3.1em;
+       text-indent: -9999px;
 }
 #ca-unwatch.icon a {
        background-image: url(images/watch-icons.png?1);
@@ -1128,4 +1141,4 @@ div.vectorTabs ul {
        background-image:url(images/tab-break.png?1);
        background-position:left bottom;
        background-repeat:no-repeat;
-}
\ No newline at end of file
+}