Revert "Fix reversed nav elements when viewing cached HTML"

No longer needed for Wikimedia wikis after the HTML caches expired.
This reverts commit e951a09913.

Change-Id: I5eda153e3368f6a7f9d2f88e336e02b65d01f2b5
This commit is contained in:
Bartosz Dziewoński 2017-10-03 17:11:23 +00:00
parent ff2f37bc7c
commit e4b05ae836
3 changed files with 0 additions and 38 deletions

View File

@ -44,7 +44,6 @@ class SkinVector extends SkinTemplate {
/** @inheritDoc */ /** @inheritDoc */
public function getPageClasses( $title ) { public function getPageClasses( $title ) {
$className = parent::getPageClasses( $title ); $className = parent::getPageClasses( $title );
$className .= ' vector-nav-directionality';
return $className; return $className;
} }

View File

@ -19,16 +19,11 @@
li { li {
line-height: 1.125em; line-height: 1.125em;
/* @noflip */
float: left; float: left;
margin-left: 0.75em; margin-left: 0.75em;
margin-top: 0.5em; margin-top: 0.5em;
font-size: @menu-personal-font-size; font-size: @menu-personal-font-size;
white-space: nowrap; white-space: nowrap;
.vector-nav-directionality & {
float: left;
}
} }
} }

View File

@ -9,7 +9,6 @@ div.vectorTabs h3 {
/* Namespaces and Views */ /* Namespaces and Views */
div.vectorTabs { div.vectorTabs {
/* @noflip */
float: left; float: left;
height: 2.5em; height: 2.5em;
.background-image('images/tab-break.png'); .background-image('images/tab-break.png');
@ -17,12 +16,7 @@ div.vectorTabs {
background-repeat: no-repeat; background-repeat: no-repeat;
padding-left: 1px; padding-left: 1px;
.vector-nav-directionality & {
float: left;
}
ul { ul {
/* @noflip */
float: left; float: left;
height: 100%; height: 100%;
list-style-type: none; list-style-type: none;
@ -33,12 +27,7 @@ div.vectorTabs {
background-position: right bottom; background-position: right bottom;
background-repeat: no-repeat; background-repeat: no-repeat;
.vector-nav-directionality & {
float: left;
}
li { li {
/* @noflip */
float: left; float: left;
line-height: 1.125em; line-height: 1.125em;
/* For IE6, overridden later to display:block by modern browsers */ /* For IE6, overridden later to display:block by modern browsers */
@ -50,10 +39,6 @@ div.vectorTabs {
background-position: bottom left; background-position: bottom left;
background-repeat: repeat-x; background-repeat: repeat-x;
white-space: nowrap; white-space: nowrap;
.vector-nav-directionality & {
float: left;
}
} }
/* IGNORED BY IE6 which doesn't support child selector */ /* IGNORED BY IE6 which doesn't support child selector */
@ -118,35 +103,22 @@ div.vectorTabs {
/* Ignored by IE6 which doesn't support child selector */ /* Ignored by IE6 which doesn't support child selector */
> a { > a {
/* @noflip */
float: left; float: left;
display: block; display: block;
.vector-nav-directionality & {
float: left;
}
} }
} }
} }
/* Variants and Actions */ /* Variants and Actions */
div.vectorMenu { div.vectorMenu {
/* @noflip */
direction: ltr; direction: ltr;
/* @noflip */
float: left; float: left;
cursor: pointer; cursor: pointer;
position: relative; position: relative;
line-height: 1.125em; line-height: 1.125em;
.vector-nav-directionality & {
direction: ltr;
float: left;
}
} }
div#mw-head div.vectorMenu h3 { div#mw-head div.vectorMenu h3 {
/* @noflip */
float: left; float: left;
.background-image('images/tab-break.png'); .background-image('images/tab-break.png');
background-repeat: no-repeat; background-repeat: no-repeat;
@ -157,10 +129,6 @@ div#mw-head div.vectorMenu h3 {
// border. It is necessary for `div.vectorMenu div.menu` dropdown to align well. // border. It is necessary for `div.vectorMenu div.menu` dropdown to align well.
padding-right: 0.5em; // equals `8px` at computed `font-size` of `14px` as visually harmonically with `padding-left` in `div.vectorMenu h3 span` padding-right: 0.5em; // equals `8px` at computed `font-size` of `14px` as visually harmonically with `padding-left` in `div.vectorMenu h3 span`
margin-right: -1px; margin-right: -1px;
.vector-nav-directionality & {
float: left;
}
} }
div.vectorMenu h3 { div.vectorMenu h3 {