Moving watch/unwatch action out of the drop down
[lhc/web/wiklou.git] / skins / vector / main-ltr.css
index 10b8a00..2b27cfd 100644 (file)
@@ -1,3 +1,19 @@
+/*
+ * main-rtl.css is automatically generated using CSSJanus, a python script for
+ * creating RTL versions of otherwise LTR stylesheets.
+ * 
+ * You may download the tool to rebuild this stylesheet
+ * http://code.google.com/p/cssjanus/
+ * 
+ * An online version of this tool can be used at:
+ * http://cssjanus.commoner.com/
+ * 
+ * The following command is used to generate the RTL version of this file
+ * ./cssjanus.py --swap_ltr_rtl_in_url < main-ltr.css > main-rtl.css 
+ *
+ * Any rules which should not be flipped should be prepended with @noflip in
+ * a comment block.
+ */
 /* Framework */
 html,
 body {
@@ -5,76 +21,84 @@ body {
        margin: 0;
        padding: 0;
        font-family: sans-serif;
-       font-size: small;
+       font-size: 1em;
 }
 body {
        background-color: #f3f3f3;
        background-image: url(images/page-base.png);
 }
 /* Content */
-div#content {
-       margin-left: 12em;
+#content {
+       margin-left: 10em;
        padding: 1em;
-       background-image: url(images/content-base.png);
+       background-image: url(images/border.png);
        background-position: top left;
        background-repeat: repeat-y;
        background-color: white;
 }
 /* Head */
-div#page-base {
-       height: 6em;
+#page-base {
+       height: 5em;
        background-color: white;
        background-image: url(images/page-fade.png);
        background-position: bottom left;
        background-repeat: repeat-x;
 }
-div#head-base {
-       margin-top: -6em;
-       margin-left: 12em;
-       height: 6em;
-       background-image: url(images/head-base.png);
+#head-base {
+       margin-top: -5em;
+       margin-left: 10em;
+       height: 5em;
+       background-image: url(images/border.png);
        background-position: bottom left;
        background-repeat: repeat-x;
 }
-div#head {
+#head {
        position: absolute;
        top: 0;
        right: 0;
        width: 100%;
 }
-div#head h5 {
+#head h5 {
        margin: 0;
        padding: 0;
 }
+       /* Hide empty portlets */
+       div.emptyPortlet {
+               display: none;
+       }
        /* Personal */
-       div#p-personal {
+       #p-personal {
                position: absolute;
                top: 0;
                right: 0.75em;
        }
-       div#p-personal h5 {
+       #p-personal h5 {
                display: none;
        }
-       div#p-personal ul {
+       #p-personal ul {
                list-style: none;
                margin: 0;
                padding: 0;
        }
-       div#p-personal li {
+       /* @noflip */
+       #p-personal li {
+               line-height: 1.125em;
                float: left;
+       }
+       #p-personal li {
                margin-left: 0.75em;
                margin-top: 0.5em;
-               font-size: 0.9em;
+               font-size: 0.75em;
        }
        /* Navigation Containers */
-       div#left-navigation {
+       #left-navigation {
                position: absolute;
-               left: 12em;
-               top: 3em;
+               left: 10em;
+               top: 2.5em;
        }
-       div#right-navigation {
+       #right-navigation {
                float: right;
-               margin-top: 3em;
+               margin-top: 2.5em;
        }
        /* Navigation Labels */
        div.vectorTabs h5,
@@ -82,24 +106,34 @@ div#head h5 {
                display: none;
        }
        /* Namespaces and Views */
+       /* @noflip */
        div.vectorTabs {
                float: left;
+       }
+       div.vectorTabs {
                background-image: url(images/tab-break.png);
                background-position: bottom left;
                background-repeat: no-repeat;
                padding-left: 1px;
        }
+       /* @noflip */
        div.vectorTabs ul {
                float: left;
+       }
+       div.vectorTabs ul {
                height: 100%;
                list-style: none;
                margin: 0;
                padding: 0;
        }
+       /* @noflip */
+       div.vectorTabs ul li {
+               float: left;
+       }
        /* OVERRIDDEN BY COMPLIANT BROWSERS */
        div.vectorTabs ul li {
+               line-height: 1.125em;
                display: inline-block;
-               float: left;
                height: 100%;
                margin: 0;
                padding: 0;
@@ -118,54 +152,75 @@ div#head h5 {
        /* OVERRIDDEN BY COMPLIANT BROWSERS */
        div.vectorTabs li a {
                display: inline-block;
-               height: 3em;
-               padding-left: 0.5em;
-               padding-right: 0.5em;
+               height: 2.5em;
+               padding-left: 0.4em;
+               padding-right: 0.4em;
                background-image: url(images/tab-break.png);
                background-position: bottom right;
                background-repeat: no-repeat;
        }
+       div.vectorTabs li a,
+       div.vectorTabs li a span {
+               color: #0645ad;
+               cursor: pointer;
+       }
+       div.vectorTabs li a span {
+               font-size: 0.8em;
+       }
        /* IGNORED BY IE6 */
        div.vectorTabs li > a {
                display: block;
        }
        /* OVERRIDDEN BY COMPLIANT BROWSERS */
        div.vectorTabs a span {
-               color: #0645ad;
                display: inline-block;
                padding-top: 1.25em;
-               cursor: pointer;
        }
        /* IGNORED BY IE6 */
+       /* @noflip */
        div.vectorTabs a > span {
                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 {
                color: #333333;
-               cursor: default;
                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 {
                color: #a55858;
        }
        /* Variants and Actions */
+       /* @noflip */
        div.vectorMenu {
+               direction: ltr;
                float: left;
                background-image: url(images/arrow-down-icon.png);
                background-position: center center;
                background-repeat: no-repeat;
        }
-       div.vectorMenu h5 {
+       body.rtl div.vectorMenu {
+               direction: rtl;
+       }
+       /* @noflip */
+       #head div.vectorMenu h5 {
                float: left;
+               background-image: url(images/tab-break.png);
+               background-position: bottom left;
+               background-repeat: no-repeat;
+               padding-left: 1px;
+               margin-left: -1px;
        }
        /* OVERRIDDEN BY COMPLIANT BROWSERS */
        div.vectorMenu h5 a {
                display: inline-block;
                width: 24px;
-               height: 3em;
+               height: 2.5em;
                text-decoration: none;
                background-image: url(images/tab-break.png);
                background-position: bottom right;
@@ -176,8 +231,23 @@ div#head h5 {
                display: block;
        }
        div.vectorMenu div.menu {
+               position: relative;
                display: none;
                clear: both;
+               text-align: left;
+       }
+       /* OVERRIDDEN BY COMPLIANT BROWSERS */
+       body.rtl div.vectorMenu div.menu {
+               margin-right: 24px;
+       }
+       /* IGNORED BY IE6 */
+       body.rtl div.vectorMenu > div.menu {
+               margin-right: auto;
+       }
+       /* Fixes old versions of FireFox */
+       body.rtl div.vectorMenu > div.menu,
+       x:-moz-any-link {
+               margin-right: 24px;
        }
        div.vectorMenu:hover div.menu {
                display: block;
@@ -188,58 +258,138 @@ div#head h5 {
                border: solid 1px silver;
                border-top-width: 0;
                list-style: none;
+               list-style-image: none;
+               list-style-type: none;
                padding: 0;
                margin: 0;
                margin-left: -1px;
+               text-align: left;
+       }
+       /* Fixes old versions of FireFox */
+       div.vectorMenu ul,
+       x:-moz-any-link {
+               min-width: 5em;
+       }
+       /* Returns things back to normal in modern versions of FireFox */
+       div.vectorMenu ul,
+       x:-moz-any-link,
+       x:default {
+               min-width: 0;
        }
        div.vectorMenu li {
                padding: 0;
                margin: 0;
+               text-align: left;
+               line-height: 1em;
        }
        /* OVERRIDDEN BY COMPLIANT BROWSERS */
        div.vectorMenu li a {
                display: inline-block;
                padding: 0.5em;
+               white-space: nowrap;
        }
        /* IGNORED BY IE6 */
        div.vectorMenu li > a {
                display: block;
        }
+       div.vectorMenu li a {
+               color: #0645ad;
+               cursor: pointer;
+               font-size: 0.8em;
+       }
+       div.vectorMenu li.selected a,
+       div.vectorMenu li.selected a:visited {
+               color: #333333;
+               text-decoration: none;
+       }
        /* Search */
-       div#p-search h5 {
+       #p-search h5 {
                display: none;
        }
-       div#p-search {
+       /* @noflip */
+       #p-search {
                float: left;
-               margin-right: 0.75em;
        }
-       div#p-search form,
-       div#p-search input {
-               float: left;
+       #p-search {
+               margin-right: 0.5em;
+               margin-left: 0.5em;
+       }
+       #p-search form,
+       #p-search input {
+               margin: 0;
                margin-top: 0.4em;
-               margin-left: 0.25em;
+       }
+       #simpleSearch {
+               margin-top: 0.5em;
+               position: relative;
+               border: solid 1px #AAAAAA;
+               background-color: white;
+               background-image: url(images/search-fade.png);
+               background-position: top left;
+               background-repeat: repeat-x;
+       }
+       #simpleSearch label {
+               font-size: 0.8em;
+       }
+       #simpleSearch input#searchInput {
+               margin: 0;
+               border-width: 0;
+               padding: 0.25em;
+               line-height: 1em;
+               font-size: 0.8em;
+               width: 9em;
+               background-color: transparent;
+       }
+       /* OVERRIDDEN BY COMPLIANT BROWSERS */
+       #simpleSearch button#searchButton {
+               margin: 0;
+               padding: 0;
+               width: 1.75em;
+               height: 1.5em;
+               border: none;
+               cursor: pointer;
+               background-color: transparent;
+               background-image: url(images/search-ltr.png);
+               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 */
-div#panel {
+#panel {
        position: absolute;
-       top: 12em;
-       width: 12em;
+       top: 160px;
+       padding-top: 1em;
+       width: 10em;
        left: 0;
 }
-       div#panel div.portal {
-               padding-top: 1.5em;
+       #panel div.portal {
+               padding-bottom: 1.5em;
        }
-       div#panel div.portal h5 {
+       #panel div.portal h5 {
                font-weight: normal;
                color: #444444;
-               padding: 0.5em;
+               padding: 0.25em;
                padding-top: 0;
-               padding-left: 1.25em;
+               padding-left: 1.75em;
                cursor: default;
                border: none;
-               font-size: 0.9em;
+               font-size: 0.75em;
        }
-       div#panel div.portal div.body {
+       #panel div.portal div.body {
                margin: 0;
                padding-top: 0.5em;
                margin-left: 1.25em;
@@ -247,79 +397,84 @@ div#panel {
                background-repeat: no-repeat;
                background-position: top left;
        }
-       div#panel div.portal div.body ul {
+       #panel div.portal div.body ul {
                list-style: none;
+               list-style-image: none;
+               list-style-type: none;
                padding: 0;
                margin: 0;
        }
-       div#panel div.portal div.body ul li {
+       #panel div.portal div.body ul li {
+               line-height: 1.125em;
                padding: 0;
                padding-bottom: 0.5em;
                margin: 0;
                overflow: hidden;
-               font-size: 0.9em;
+               font-size: 0.75em;
        }
-       div#panel div.portal div.body ul li a {
+       #panel div.portal div.body ul li a {
                color: #0645ad;
        }
-       div#panel div.portal div.body ul li a:visited {
+       #panel div.portal div.body ul li a:visited {
                color: #0b0080;
        }
-/* Foot */
-div#foot {
-       margin-left: 12em;
+/* Footer */
+#footer {
+       margin-left: 10em;
        margin-top: 0;
        padding: 0.75em;
-       background-image: url(images/foot-base.png);
+       background-image: url(images/border.png);
        background-position: top left;
        background-repeat: repeat-x;
 }
-div#foot ul {
+#footer ul {
        list-style: none;
+       list-style-image: none;
+       list-style-type: none;
        margin: 0;
        padding: 0;
 }
-div#foot ul li {
+#footer ul li {
        margin: 0;
        padding: 0;
        padding-top: 0.5em;
        padding-bottom: 0.5em;
        color: #333333;
-       font-size: 0.9em;
+       font-size: 0.7em;
 }
-div#foot ul#foot-icons {
+#footer #footer-icons {
        float: right;
 }
-div#foot ul#foot-places {
+#footer #footer-places {
        float: left;
 }
-div#foot ul#foot-info li {
+#footer #footer-info li {
        line-height: 1.4em;
 }
-div#foot ul#foot-icons li {
+#footer #footer-icons li {
        float: left;
        margin-left: 0.5em;
        line-height: 2em;
 }
-div#foot ul#foot-places li {
+#footer #footer-places li {
        float: left;
        margin-right: 1em;
        line-height: 2em;
 }
 /* Logo */
-div#p-logo {
+#p-logo {
        position: absolute;
-       top: 0;
+       top: -160px;
        left: 0;
-       height: 12em;
-       width: 12em;
+       width: 10em;
+       height: 160px;
 }
-div#p-logo a {
+#p-logo a {
        display: block;
-       width: 12em;
-       height: 12em;
+       width: 10em;
+       height: 160px;
        background-repeat: no-repeat;
-       background-position: 50% 50%;
+       background-position: center center;
        text-decoration: none;
 }
 
@@ -333,11 +488,11 @@ div#p-logo a {
 /* Preferences */
 #preftoc {
        /* Tabs */
+       width: 100%;
        float: left;
        clear: both;
        margin: 0 !important;
        padding: 0 !important;
-       height: 2.25em;
        background-image: url(images/preferences-break.png);
        background-position: bottom left;
        background-repeat: no-repeat;
@@ -368,24 +523,23 @@ div#p-logo a {
                padding: 0.5em;
                text-decoration: none;
                background-image: none;
+               font-size: 0.9em;
        }
        #preftoc a:hover {
                text-decoration: underline;
        }
        #preftoc li.selected a {
-               cursor: default;
                background-image: url(images/preferences-fade.png);
                background-position: bottom;
                background-repeat: repeat-x;
                color: #333333;
-               cursor: default;
                text-decoration: none;
        }
 #preferences {
        float: left;
-       zoom: 1;
        width: 100%;
        margin: 0;
+       margin-top: -2px;
        clear: both;
        border: solid 1px #cccccc;
        background-color: #f9f9f9;
@@ -430,6 +584,9 @@ div#p-logo a {
 #content {
        line-height: 1.5em;
 }
+#bodyContent {
+       font-size: 0.8em;
+}
 /* Links */
 a {
        text-decoration: none;
@@ -537,49 +694,49 @@ pre {
        background-color: #f9f9f9;
        line-height: 1.1em;
 }
-div#content ul {
+ul {
        line-height: 1.5em;
        list-style-type: square;
        margin: .3em 0 0 1.5em;
        padding: 0;
        list-style-image: url(images/bullet-icon.png);
 }
-div#content ol {
+ol {
        line-height: 1.5em;
        margin: .3em 0 0 3.2em;
        padding: 0;
        list-style-image: none;
 }
-div#content li {
+li {
        margin-bottom: .1em;
 }
-div#content dt {
+dt {
        font-weight: bold;
        margin-bottom: .1em;
 }
-div#content dl {
+dl {
        margin-top: .2em;
        margin-bottom: .5em;
 }
-div#content dd {
+dd {
        line-height: 1.5em;
        margin-left: 2em;
        margin-bottom: .1em;
 }
 /* Tables */
-div#content table {
+table {
        font-size: 100%;
        color: black;
        /* we don't want the bottom borders of <h2>s to be visible through
         * floated tables */
        background-color: white;
 }
-div#content fieldset table {
+fieldset table {
        /* but keep table layouts in forms clean... */
        background: none;
 }
 /* Forms */
-div#content fieldset {
+fieldset {
        border: 1px solid #2f6fab;
        margin: 1em 0 1em 0;
        padding: 0 1em 1em;
@@ -589,19 +746,19 @@ div#content fieldset {
                margin: 0 0 0.5em 0;
                padding: 0 0.5em 0.5em;
        }
-div#content legend {
+legend {
        padding: .5em;
        font-size: 95%;
 }
-div#content form {
+form {
        border: none;
        margin: 0;
 }
-div#content textarea {
+textarea {
        width: 100%;
        padding: .1em;
 }
-div#content select {
+select {
        vertical-align: top;
 }
 /* Table of Contents */
@@ -666,6 +823,7 @@ div.thumb {
        border-style: solid;
        border-color: white;
        width: auto;
+       background-color: transparent;
 }
 div.thumbinner {
        border: 1px solid #ccc;
@@ -731,12 +889,14 @@ img.thumbborder {
 /* Site Notice */
 #siteNotice {
        text-align: center;
-       font-size: 95%;
-       padding-top: 0.9em;
+       font-size: 0.8em;
+       margin: 0;
 }
+       #siteNotice div,
        #siteNotice p {
                margin: 0;
                padding: 0;
+               margin-bottom: 0.9em;
        }
 /* Categories */
 .catlinks {
@@ -780,18 +940,19 @@ table.small {
        font-size: 100%;
 }
 /* Edge Cases for Content */
-#content h1, #content h2 {
+h1, h2 {
        margin-bottom: .6em;
 }
-#content h3, #content h4, #content h5 {
+h3, h4, h5 {
        margin-bottom: .3em;
 }
-h1#firstHeading {
+#firstHeading {
        padding-top: 0;
        margin-top: 0;
        padding-top: 0;
        margin-bottom: 0.1em;
        line-height: 1.2em;
+       font-size: 1.6em;
        padding-bottom: 0;
 }
 #content a.external,
@@ -859,32 +1020,82 @@ h1#firstHeading {
 #content a.external {
        color: #36b;
 }
-#content .plainlinks a {
-       /* this can be used in the content area to switch off special external link
-        * styling */
-       background: none !important;
-       padding: 0 !important;
-}
 #content .printfooter {
        display: none;
 }
-
-
-li#pt-userpage,
-li#pt-anonuserpage,
-li#pt-login {
+/* Icon for Usernames */
+#pt-userpage,
+#pt-anonuserpage,
+#pt-login {
        background: url(images/user-icon.png) left top no-repeat;
        padding-left: 15px !important;
        text-transform: none;
 }
 
-span.newpage, span.minor, span.bot {
-       font-weight: bold;
-}
-
 .toccolours {
        border: 1px solid #aaa;
        background-color: #f9f9f9;
        padding: 5px;
        font-size: 95%;
 }
+#bodyContent {
+       position: relative;
+       width: 100%;
+}
+
+#mw-js-message {
+       font-size: 0.8em;
+}
+div#bodyContent {
+       line-height: 1.5em;
+}
+
+
+
+/* Babaco color scheme */
+/* Still working on this. Needs incorporated above once it's closer to final */
+body{
+  background-color:#f9f9f9;
+  color:#000000;
+}
+a{
+  color:#003cb3;
+}
+a.new{
+  color:#990000;
+}
+
+a:visited,
+div.vectorTabs li.selected a:visited div.vectorTabs li.selected a:visited span {
+  color:#260e9c;
+}
+
+html .thumbimage,
+#toc, .toc, .mw-warning, div.thumbinner{
+  border-color:#c0c0c0;
+  background-color:#f0f0f0;
+}
+
+h1, h2, h3, h4, h5, h6{
+  border-color:#8d8d8d;
+}
+
+
+/* Watch/Unwatch Icon Styling */
+#ca-unwatch,
+#ca-watch{
+  background-image:none;
+  background-color:#ffffff;
+}
+#ca-unwatch a,
+#ca-watch a{
+  outline:none;
+}
+#ca-unwatch a img,
+#ca-watch a img{
+  padding-top:1.35em;
+  display:block;
+  font-size:0.8em;
+  max-height:14px;
+  max-width:14px;
+}
\ No newline at end of file