Index: trunk/phase3/skins/vector/main-ltr.css |
— | — | @@ -1,3 +1,16 @@ |
| 2 | +/* |
| 3 | + * main-rtl.css is automatically generated using CSSJanus, a python script for |
| 4 | + * creating RTL versions of otherwise LTR stylesheets. |
| 5 | + * |
| 6 | + * You may download the tool to rebuild this stylesheet |
| 7 | + * http://code.google.com/p/cssjanus/ |
| 8 | + * |
| 9 | + * An online version of this tool can be used at: |
| 10 | + * http://cssjanus.commoner.com/ |
| 11 | + * |
| 12 | + * The following command is used to generate the RTL version of this file |
| 13 | + * ./cssjanus.py --swap_ltr_rtl_in_url < main-ltr.css > main-rtl.css |
| 14 | + */ |
2 | 15 | /* Framework */ |
3 | 16 | html, |
4 | 17 | body { |
— | — | @@ -125,29 +138,36 @@ |
126 | 139 | background-position: bottom right; |
127 | 140 | background-repeat: no-repeat; |
128 | 141 | } |
| 142 | + div.vectorTabs li a, |
| 143 | + div.vectorTabs li a span { |
| 144 | + color: #0645ad; |
| 145 | + cursor: pointer; |
| 146 | + } |
129 | 147 | /* IGNORED BY IE6 */ |
130 | 148 | div.vectorTabs li > a { |
131 | 149 | display: block; |
132 | 150 | } |
133 | 151 | /* OVERRIDDEN BY COMPLIANT BROWSERS */ |
134 | 152 | div.vectorTabs a span { |
135 | | - color: #0645ad; |
136 | 153 | display: inline-block; |
137 | 154 | padding-top: 1.25em; |
138 | | - cursor: pointer; |
139 | 155 | } |
140 | 156 | /* IGNORED BY IE6 */ |
141 | 157 | div.vectorTabs a > span { |
142 | 158 | float: left; |
143 | 159 | display: block; |
144 | 160 | } |
| 161 | + div.vectorTabs li.selected a, |
145 | 162 | div.vectorTabs li.selected a span, |
| 163 | + div.vectorTabs li.selected a:visited |
146 | 164 | div.vectorTabs li.selected a:visited span { |
147 | 165 | color: #333333; |
148 | 166 | cursor: default; |
149 | 167 | text-decoration: none; |
150 | 168 | } |
| 169 | + div.vectorTabs li.new a, |
151 | 170 | div.vectorTabs li.new a span, |
| 171 | + div.vectorTabs li.new a:visited, |
152 | 172 | div.vectorTabs li.new a:visited span { |
153 | 173 | color: #a55858; |
154 | 174 | } |
Index: trunk/phase3/skins/vector/main-rtl.css |
— | — | @@ -1,6 +1,6 @@ |
2 | 2 | /* |
3 | | - * This file has been automatically generated using CSSJanus, a python script |
4 | | - * for creating RTL versions of otherwise LTR stylesheets. |
| 3 | + * main-rtl.css is automatically generated using CSSJanus, a python script for |
| 4 | + * creating RTL versions of otherwise LTR stylesheets. |
5 | 5 | * |
6 | 6 | * You may download the tool to rebuild this stylesheet |
7 | 7 | * http://code.google.com/p/cssjanus/ |
— | — | @@ -8,8 +8,8 @@ |
9 | 9 | * An online version of this tool can be used at: |
10 | 10 | * http://cssjanus.commoner.com/ |
11 | 11 | * |
12 | | - * The following options were passed to CSSJanus to build this file properly. |
13 | | - * --swap_ltr_rtl_in_url |
| 12 | + * The following command is used to generate the RTL version of this file |
| 13 | + * ./cssjanus.py --swap_ltr_rtl_in_url < main-ltr.css > main-rtl.css |
14 | 14 | */ |
15 | 15 | /* Framework */ |
16 | 16 | html, |
— | — | @@ -138,33 +138,39 @@ |
139 | 139 | background-position: bottom left; |
140 | 140 | background-repeat: no-repeat; |
141 | 141 | } |
| 142 | + div.vectorTabs li a, |
| 143 | + div.vectorTabs li a span { |
| 144 | + color: #0645ad; |
| 145 | + cursor: pointer; |
| 146 | + } |
142 | 147 | /* IGNORED BY IE6 */ |
143 | 148 | div.vectorTabs li > a { |
144 | 149 | display: block; |
145 | 150 | } |
146 | 151 | /* OVERRIDDEN BY COMPLIANT BROWSERS */ |
147 | 152 | div.vectorTabs a span { |
148 | | - color: #0645ad; |
149 | 153 | display: inline-block; |
150 | 154 | padding-top: 1.25em; |
151 | | - cursor: pointer; |
152 | 155 | } |
153 | 156 | /* IGNORED BY IE6 */ |
154 | 157 | div.vectorTabs a > span { |
155 | 158 | float: right; |
156 | 159 | display: block; |
157 | 160 | } |
| 161 | + div.vectorTabs li.selected a, |
158 | 162 | div.vectorTabs li.selected a span, |
| 163 | + div.vectorTabs li.selected a:visited |
159 | 164 | div.vectorTabs li.selected a:visited span { |
160 | 165 | color: #333333; |
161 | 166 | cursor: default; |
162 | 167 | text-decoration: none; |
163 | 168 | } |
| 169 | + div.vectorTabs li.new a, |
164 | 170 | div.vectorTabs li.new a span, |
165 | | - div.vectorTabs li.new a:visited span{ |
| 171 | + div.vectorTabs li.new a:visited, |
| 172 | + div.vectorTabs li.new a:visited span { |
166 | 173 | color: #a55858; |
167 | 174 | } |
168 | | - |
169 | 175 | /* Variants and Actions */ |
170 | 176 | div.vectorMenu { |
171 | 177 | float: right; |
— | — | @@ -251,6 +257,7 @@ |
252 | 258 | padding-right: 1.25em; |
253 | 259 | cursor: default; |
254 | 260 | border: none; |
| 261 | + font-size: 0.9em; |
255 | 262 | } |
256 | 263 | div#panel div.portal div.body { |
257 | 264 | margin: 0; |
— | — | @@ -259,7 +266,6 @@ |
260 | 267 | background-image: url(images/portal-break-rtl.png); |
261 | 268 | background-repeat: no-repeat; |
262 | 269 | background-position: top right; |
263 | | - font-size: 0.9em; |
264 | 270 | } |
265 | 271 | div#panel div.portal div.body ul { |
266 | 272 | list-style: none; |
— | — | @@ -382,6 +388,7 @@ |
383 | 389 | padding: 0.5em; |
384 | 390 | text-decoration: none; |
385 | 391 | background-image: none; |
| 392 | + font-size: 0.9em; |
386 | 393 | } |
387 | 394 | #preftoc a:hover { |
388 | 395 | text-decoration: underline; |
— | — | @@ -883,6 +890,7 @@ |
884 | 891 | display: none; |
885 | 892 | } |
886 | 893 | |
| 894 | + |
887 | 895 | li#pt-userpage, |
888 | 896 | li#pt-anonuserpage, |
889 | 897 | li#pt-login { |
— | — | @@ -902,46 +910,6 @@ |
903 | 911 | font-size: 95%; |
904 | 912 | } |
905 | 913 | |
906 | | -/* Classes for EXIF data display */ |
907 | | -table.mw_metadata { |
908 | | - font-size: 0.8em; |
909 | | - margin-right: 0.5em; |
910 | | - margin-bottom: 0.5em; |
911 | | - width: 300px; |
912 | | -} |
913 | | - |
914 | | -table.mw_metadata caption { |
915 | | - font-weight: bold; |
916 | | -} |
917 | | - |
918 | | -table.mw_metadata th { |
919 | | - font-weight: normal; |
920 | | -} |
921 | | - |
922 | | -table.mw_metadata td { |
923 | | - padding: 0.1em; |
924 | | -} |
925 | | - |
926 | | -table.mw_metadata { |
927 | | - border: none; |
928 | | - border-collapse: collapse; |
929 | | -} |
930 | | - |
931 | | -table.mw_metadata td, table.mw_metadata th { |
932 | | - text-align: center; |
933 | | - border: 1px solid #aaaaaa; |
934 | | - padding-left: 0.1em; |
935 | | - padding-right: 0.1em; |
936 | | -} |
937 | | - |
938 | | -table.mw_metadata th { |
939 | | - background-color: #f9f9f9; |
940 | | -} |
941 | | - |
942 | | -table.mw_metadata td { |
943 | | - background-color: #fcfcfc; |
944 | | -} |
945 | | - |
946 | 914 | div#bodyContent { |
947 | 915 | position: relative; |
948 | 916 | width: 100%; |