Accompanies r69481. Style changes for the new search placeholder text
[lhc/web/wiklou.git] / skins / vector / main-rtl.css
index 7788731..32bccf9 100644 (file)
@@ -25,40 +25,41 @@ body {
 }
 body {
        background-color: #f3f3f3;
-       background-image: url(images/page-base.png);
+       background-image: url(images/page-base.png?1);
 }
 /* Content */
-#content {
+div#content {
        margin-right: 10em;
        padding: 1em;
-       background-image: url(images/border.png);
+       background-image: url(images/border.png?1);
        background-position: top right;
        background-repeat: repeat-y;
        background-color: white;
+       color: black;
 }
 /* Head */
-#page-base {
+#mw-page-base {
        height: 5em;
        background-color: white;
-       background-image: url(images/page-fade.png);
+       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;
-       background-image: url(images/border.png);
+       background-image: url(images/border.png?1);
        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;
 }
@@ -70,6 +71,7 @@ body {
        #p-personal {
                position: absolute;
                top: 0;
+               padding-right: 10em;
                left: 0.75em;
        }
        #p-personal h5 {
@@ -85,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.7em;
+               font-size: 0.75em;
+               white-space: nowrap;
        }
        /* Navigation Containers */
        #left-navigation {
@@ -109,9 +113,10 @@ body {
        /* @noflip */
        div.vectorTabs {
                float: left;
+               height: 2.5em;
        }
        div.vectorTabs {
-               background-image: url(images/tab-break.png);
+               background-image: url(images/tab-break.png?1);
                background-position: bottom right;
                background-repeat: no-repeat;
                padding-right: 1px;
@@ -138,33 +143,33 @@ body {
                margin: 0;
                padding: 0;
                background-color: #f3f3f3;
-               background-image: url(images/tab-normal-fade.png);
+               background-image: url(images/tab-normal-fade.png?1);
                background-position: bottom right;
                background-repeat: repeat-x;
+               white-space:nowrap;
        }
        /* IGNORED BY IE6 */
        div.vectorTabs ul > li {
                display: block;
        }
        div.vectorTabs li.selected {
-               background-image: url(images/tab-current-fade.png);
+               background-image: url(images/tab-current-fade.png?1);
        }
        /* OVERRIDDEN BY COMPLIANT BROWSERS */
        div.vectorTabs li a {
                display: inline-block;
-               height: 2.5em;
-               padding-right: 0.4em;
-               padding-left: 0.4em;
-               background-image: url(images/tab-break.png);
+               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 */
@@ -172,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 */
@@ -200,32 +201,52 @@ body {
        div.vectorMenu {
                direction: ltr;
                float: left;
-               background-image: url(images/arrow-down-icon.png);
-               background-position: center center;
+               background-image: url(images/arrow-down-icon.png?1);
+               background-position: 100% 60%;
                background-repeat: no-repeat;
+               cursor: pointer;
        }
+       /* @noflip */
        body.rtl div.vectorMenu {
                direction: rtl;
        }
+       /* OVERRIDDEN BY COMPLIANT BROWSERS */
        /* @noflip */
-       #head div.vectorMenu h5 {
+       div#mw-head div.vectorMenu h5 {
                float: left;
-               background-image: url(images/tab-break.png);
-               background-position: bottom left;
+               background-image: url(images/tab-break.png?1);
                background-repeat: no-repeat;
-               padding-left: 1px;
-               margin-left: -1px;
+       }
+       /* IGNORED BY IE6 */
+       div#mw-head div.vectorMenu > h5 {
+               background-image: none;
+       }
+       div#mw-head div.vectorMenu h5 {
+               background-position: bottom right;
+               margin-right: -1px;
+       }
+       div#mw-head div.vectorMenu h4 {
+               display: inline-block;
+               float: right;
+               font-size: 0.8em;
+               padding-right: 0.5em;
+               padding-top: 1.375em;
+               font-weight: normal;
+               border: none;
        }
        /* OVERRIDDEN BY COMPLIANT BROWSERS */
+       /* @noflip */
        div.vectorMenu h5 a {
                display: inline-block;
                width: 24px;
                height: 2.5em;
                text-decoration: none;
-               background-image: url(images/tab-break.png);
-               background-position: bottom left;
+               background-image: url(images/tab-break.png?1);
                background-repeat: no-repeat;
        }
+       div.vectorMenu h5 a{
+               background-position: bottom left;
+       }
        /* IGNORED BY IE6 */
        div.vectorMenu h5 > a {
                display: block;
@@ -237,17 +258,20 @@ body {
                text-align: right;
        }
        /* OVERRIDDEN BY COMPLIANT BROWSERS */
+       /* @noflip */
        body.rtl div.vectorMenu div.menu {
                margin-left: 24px;
        }
        /* IGNORED BY IE6 */
+       /* @noflip */
        body.rtl div.vectorMenu > div.menu {
                margin-left: auto;
        }
        /* Fixes old versions of FireFox */
+       /* @noflip */
        body.rtl div.vectorMenu > div.menu,
        x:-moz-any-link {
-               margin-left: 24px;
+               margin-left: 23px;
        }
        div.vectorMenu:hover div.menu {
                display: block;
@@ -319,67 +343,68 @@ 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);
+               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;
-               background-image: url(images/search-rtl.png);
+               background-image: url(images/search-rtl.png?1);
                background-position: center center;
                background-repeat: no-repeat;
        }
-       /* IGNORED BY IE6 */
-       #simpleSearch > button#searchButton {
-               height: 100%;
-       }
-       .suggestions-special .special-label {
-               font-size: 0.8em;
-               color: gray;
-       }
-       .suggestions-special .special-query {
-               color: black;
-               font-style: italic;
-       }
-       .suggestions-special .special-hover {
-               background-color: silver;
-       }
 /* 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;
@@ -387,54 +412,54 @@ body {
                padding-right: 1.75em;
                cursor: default;
                border: none;
-               font-size: 0.7em;
+               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;
-               background-image: url(images/portal-break-rtl.png);
+               background-image: url(images/portal-break.png?1);
                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;
                margin: 0;
                overflow: hidden;
-               font-size: 0.7em;
+               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;
-       background-image: url(images/border.png);
+       background-image: url(images/border.png?1);
        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;
@@ -442,21 +467,22 @@ body {
        color: #333333;
        font-size: 0.7em;
 }
-#footer #footer-icons {
+div#footer #footer-icons {
        float: left;
 }
-#footer #footer-places {
-       float: right;
+/* @noflip */
+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;
@@ -493,7 +519,7 @@ body {
        clear: both;
        margin: 0 !important;
        padding: 0 !important;
-       background-image: url(images/preferences-break.png);
+       background-image: url(images/preferences-break.png?1);
        background-position: bottom right;
        background-repeat: no-repeat;
 }
@@ -507,7 +533,7 @@ body {
                white-space: nowrap;
                list-style-type: none;
                list-style-image: none;
-               background-image: url(images/preferences-break.png);
+               background-image: url(images/preferences-break.png?1);
                background-position: bottom left;
                background-repeat: no-repeat;
        }
@@ -529,7 +555,7 @@ body {
                text-decoration: underline;
        }
        #preftoc li.selected a {
-               background-image: url(images/preferences-fade.png);
+               background-image: url(images/preferences-fade.png?1);
                background-position: bottom;
                background-repeat: repeat-x;
                color: #333333;
@@ -543,7 +569,7 @@ body {
        clear: both;
        border: solid 1px #cccccc;
        background-color: #f9f9f9;
-       background-image: url(images/preferences-base.png);
+       background-image: url(images/preferences-base.png?1);
 }
 #preferences fieldset.prefsection {
        border: none;
@@ -576,12 +602,28 @@ body {
        margin-left: 0.25em;
 }
 
+/* 
+ * Styles for the user login and create account forms
+ */
+#userlogin, #userloginForm {
+       border: solid 1px #cccccc;
+       padding: 1.2em;
+       margin: .5em;
+       float: right;
+}
+
+#userlogin {
+       min-width: 20em;
+       max-width: 90%;
+       width: 40em;
+}
+
 /*
  * 
  * The following code is slightly modified from monobook
  * 
  */
-#content {
+div#content {
        line-height: 1.5em;
 }
 #bodyContent {
@@ -684,6 +726,13 @@ blockquote {
        font-family: Times, "Times New Roman", serif;
        font-style: italic;
 }*/
+pre, code, tt {
+       /*
+        * 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;
 }
@@ -699,7 +748,7 @@ ul {
        list-style-type: square;
        margin: .3em 1.5em 0 0;
        padding: 0;
-       list-style-image: url(images/bullet-icon.png);
+       list-style-image: url(images/bullet-icon.png?1);
 }
 ol {
        line-height: 1.5em;
@@ -853,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;
 }
@@ -886,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;
@@ -955,79 +1003,79 @@ h3, h4, h5 {
        font-size: 1.6em;
        padding-bottom: 0;
 }
-#content a.external,
-#content a[href ^="gopher://"] {
-       background: url(images/external-link-rtl-icon.png) center left no-repeat;
+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) center left no-repeat;
-       padding: 0 0 0 18px;
+       background: url(images/lock-icon.png?2) center left no-repeat;
+       padding: 0 0 0 13px;
 }
-#content a[href ^="mailto:"],
+div#content a[href ^="mailto:"],
 .link-mailto {
-       background: url(images/mail-icon.png) center left no-repeat;
-       padding: 0 0 0 18px;
+       background: url(images/mail-icon.png?2) center left no-repeat;
+       padding: 0 0 0 13px;
 }
-#content a[href ^="news://"] {
-       background: url(images/news-icon.png) center left no-repeat;
-       padding: 0 0 0 18px;
+div#content a[href ^="news://"] {
+       background: url(images/news-icon.png?2) center left no-repeat;
+       padding: 0 0 0 13px;
 }
-#content a[href ^="ftp://"],
+div#content a[href ^="ftp://"],
 .link-ftp {
-       background: url(images/file-icon.png) center left no-repeat;
-       padding: 0 0 0 18px;
+       background: url(images/file-icon.png?2) center left no-repeat;
+       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) 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"],
+       background: url(images/talk-icon.png?2) center left no-repeat;
+       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") center left no-repeat;
-       padding: 0 0 0 18px;
+       background: url("images/audio-icon.png?2") center left no-repeat;
+       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") center left no-repeat;
-       padding: 0 0 0 18px;
+       background: url("images/video-icon.png?2") center left no-repeat;
+       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") center left no-repeat;
-       padding: 0 0 0 18px;
+       background: url("images/document-icon.png?2") center left no-repeat;
+       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 */
 #pt-userpage,
 #pt-anonuserpage,
 #pt-login {
-       background: url(images/user-icon.png) right top no-repeat;
+       background: url(images/user-icon.png?1) right top no-repeat;
        padding-right: 15px !important;
        text-transform: none;
 }
@@ -1041,4 +1089,56 @@ h3, h4, h5 {
 #bodyContent {
        position: relative;
        width: 100%;
-}
\ No newline at end of file
+}
+#mw-js-message {
+       font-size: 0.8em;
+}
+div#bodyContent {
+       line-height: 1.5em;
+}
+
+/* Watch/Unwatch Icon Styling */
+#ca-unwatch.icon,
+#ca-watch.icon {
+       margin-left:1px;
+}
+#ca-unwatch.icon a,
+#ca-watch.icon a {
+       margin: 0;
+       padding: 0;
+       outline: none;
+       display: block;
+       width: 26px;
+       height: 3.1em;
+       text-indent: -9999px;
+}
+#ca-unwatch.icon a {
+       background-image: url(images/watch-icons.png?1);
+       background-position: -43px 60%;
+}
+#ca-watch.icon a {
+       background-image: url(images/watch-icons.png?1);
+       background-position: 5px 60%;
+}
+#ca-unwatch.icon a:hover {
+       background-image: url(images/watch-icons.png?1);
+       background-position: -67px 60%;
+}
+#ca-watch.icon a:hover {
+       background-image: url(images/watch-icons.png?1);
+       background-position: -19px 60%;
+}
+#ca-unwatch.icon a.loading,
+#ca-watch.icon a.loading {
+       background-image: url(images/watch-icon-loading.gif?1);
+       background-position: center 60%;
+}
+#ca-unwatch.icon a span,
+#ca-watch.icon a span {
+       display: none;
+}
+div.vectorTabs ul {
+       background-image:url(images/tab-break.png?1);
+       background-position:left bottom;
+       background-repeat:no-repeat;
+}