2 Styling for namespace tabs (page, discussion) and views (read, edit, view history, watch and other actions)
5 /* Navigation Labels */
10 /* Namespaces and Views */
15 .background-image('images/tab-break.png');
16 background-position: bottom left;
17 background-repeat: no-repeat;
24 list-style-type: none;
25 list-style-image: none;
28 .background-image('images/tab-break.png');
29 background-position: right bottom;
30 background-repeat: no-repeat;
36 /* For IE6, overridden later to display:block by modern browsers */
37 display: inline-block;
41 background-color: #f3f3f3;
42 .background-image('images/tab-normal-fade.png');
43 background-position: bottom left;
44 background-repeat: repeat-x;
48 /* IGNORED BY IE6 which doesn't support child selector */
63 .background-image('images/tab-current-fade.png');
67 text-decoration: none;
73 background-position: bottom right;
74 background-repeat: no-repeat;
79 /* For IE6, overridden later to display:block by modern browsers */
80 display: inline-block;
84 color: @menu-link-color;
89 /* Ignored by IE6 which doesn't support child selector */
96 display: inline-block;
97 .background-image('images/tab-break.png');
98 background-position: bottom right;
99 background-repeat: no-repeat;
102 /* For IE6, overridden later to display:block by modern browsers */
103 display: inline-block;
107 /* Ignored by IE6 which doesn't support child selector */
116 /* Variants and Actions */
126 body.rtl div.vectorMenu {
131 div#mw-head div.vectorMenu h3 {
134 .background-image('images/tab-break.png');
135 background-repeat: no-repeat;
136 background-position: bottom right;
140 // This effectively moves the "background border" outside of the element to act like a real
141 // border. It is necessary for the dropdown (div.vectorMenu div.menu) to align well.
146 // The "Variants" menu has a really funny structure
147 div#mw-head div.vectorMenu#p-variants {
148 #p-variants-label span {
152 #mw-vector-current-variant {
153 display: inline-block;
158 padding-top: 1.375em;
161 background-image: none;
165 div.vectorMenu h3 span {
169 padding-top: 1.375em;
172 color: @menu-main-heading-color;
175 div.vectorMenu h3 a {
181 .background-image-svg('images/arrow-down-icon.svg', 'images/arrow-down-icon.png');
182 background-position: 100% 70%;
183 background-repeat: no-repeat;
184 .transition(background-position 250ms);
187 div.vectorMenu.menuForceShow h3 a {
188 background-position: 100% 100%;
191 div.vectorMenuFocus h3 a {
192 .background-image-svg('images/arrow-down-focus-icon.svg', 'images/arrow-down-focus-icon.png');
195 div.vectorMenu div.menu {
196 // Match the width of the dropdown "heading" (the tab)
201 background-color: white;
202 border: solid 1px silver;
209 /* Enable forcing showing of the menu for accessibility */
210 div.vectorMenu:hover div.menu,
211 div.vectorMenu.menuForceShow div.menu {
216 list-style-type: none;
217 list-style-image: none;
223 /* Fixes old versions of FireFox */
229 /* Returns things back to normal in modern versions of FireFox */
243 /* OVERRIDDEN BY COMPLIANT BROWSERS */
244 div.vectorMenu li a {
245 display: inline-block;
248 color: @menu-link-color;
254 div.vectorMenu li > a {
258 div.vectorMenu li.selected a,
259 div.vectorMenu li.selected a:visited {
261 text-decoration: none;
264 @import 'watchstar.less';