Make vectorMenu expand as tabs in IE6
Right now, Vector loads the csshover.htc extension in order to emulate CSS :hover support in IE6. This commit makes the vectorMenu expand as basic tabs instead. Thus allowing us to remove the csshover.htc extension. Note that the "page action" vector menu (p-cactions) is only created if it contains items. By default, the only actions in this menu are actions for logged-in users. For logged-out users, the menu isn't even on the page. The tabs aren't pretty, but they don't look broken either. Change-Id: Ibf2332ab0a0d9d7ba3ec03665ad61ca287750ad3
This commit is contained in:
parent
e9b5881b0f
commit
600abc4103
@ -243,4 +243,23 @@ div.vectorMenu li.selected a:visited {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
// Expand vectorMenu as basic tabs in IE6
|
||||
// (IE6 doesn't support :hover on DIV)
|
||||
* html div.vectorMenu div.menu {
|
||||
display: block;
|
||||
position: static;
|
||||
border: 0;
|
||||
}
|
||||
* html div#mw-head div.vectorMenu h3 {
|
||||
display: none;
|
||||
}
|
||||
* html div.vectorMenu li {
|
||||
float: left;
|
||||
line-height: 1.125em;
|
||||
border-right: 1px solid #a7d7f9;
|
||||
}
|
||||
* html div.vectorMenu li a {
|
||||
padding-top: 1.25em;
|
||||
}
|
||||
|
||||
@import 'watchstar.less';
|
||||
|
Loading…
Reference in New Issue
Block a user