Paladox has uploaded a new change for review.
https://gerrit.wikimedia.org/r/227170
Change subject: Fix toc
......................................................................
Fix toc
Bug: T105800
Change-Id: I1e7006a8ecbfe7bedfb06d9ea22bc8295b477ebe
---
M components/common.less
M components/mobile.less
M components/navigation.less
M components/personalMenu.less
M components/tablet.less
M i18n/vi.json
6 files changed, 22 insertions(+), 19 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/skins/Metrolook
refs/changes/70/227170/1
diff --git a/components/common.less b/components/common.less
index 9908798..b1ab55a 100644
--- a/components/common.less
+++ b/components/common.less
@@ -111,7 +111,7 @@
color: black;
direction: ltr;
height: auto;
- position: absolute;
+ position: relative;
bottom: 0;
right: 0;
left: 0;
@@ -321,4 +321,4 @@
.spacer {
word-spacing: 4px;
-}
\ No newline at end of file
+}
diff --git a/components/mobile.less b/components/mobile.less
index faf47d5..d1bda8c 100644
--- a/components/mobile.less
+++ b/components/mobile.less
@@ -9,7 +9,7 @@
}
div#mw-head {
- position: absolute;
+ position: fixed;
top: 0;
min-width: 97%;
diff --git a/components/navigation.less b/components/navigation.less
index 25b4338..7309884 100644
--- a/components/navigation.less
+++ b/components/navigation.less
@@ -23,7 +23,10 @@
/* This image is only a fallback (for IE 6-9), so we do not @embed it.
*/
background-image: url('images/page-fade.png');
.vertical-gradient(#CF8B54, #CF8B54, 50%, 100%);
- min-width: auto;
+ min-width: 100%;
+ position: fixed;
+ top: 0px;
+ z-index: 1;
}
#mw-head-base {
@@ -34,12 +37,14 @@
background-image: url(images/border.png);
background-position: bottom left;
background-repeat: repeat-x;
+ position: fixed;
}
div#mw-head {
- position: absolute;
+ position: fixed;
top: 0;
min-width: 100%;
+ z-index: 1;
h5 {
margin: 0;
@@ -102,7 +107,7 @@
/* Panel */
div#mw-panel {
font-size: @menu-main-font-size;
- position: absolute;
+ position: fixed;
top: 40px;
bottom: 0px;
height: auto;
@@ -177,7 +182,7 @@
/* Panel */
div#mw-panel-custom {
font-size: @menu-main-font-size;
- position: absolute;
+ position: fixed;
top: 40px;
bottom: 0;
height: auto;
diff --git a/components/personalMenu.less b/components/personalMenu.less
index 221f207..73986b2 100644
--- a/components/personalMenu.less
+++ b/components/personalMenu.less
@@ -112,4 +112,4 @@
top: 40px;
right: 0px;
width: 200px;
-}
\ No newline at end of file
+}
diff --git a/components/tablet.less b/components/tablet.less
index 6771876..3609034 100644
--- a/components/tablet.less
+++ b/components/tablet.less
@@ -34,7 +34,7 @@
div#mw-panel {
font-size: @menu-main-font-size;
- position: absolute;
+ position: fixed;
top: 40px;
bottom: 0;
height: auto;
@@ -107,7 +107,7 @@
div#mw-panel-custom {
font-size: @menu-main-font-size;
- position: absolute;
+ position: fixed;
top: 40px;
bottom: 0;
height: auto;
@@ -193,7 +193,7 @@
color: black;
direction: ltr;
height: auto;
- position: absolute;
+ position: fixed;
bottom: 0;
right: 0em;
left: 0;
@@ -287,9 +287,8 @@
}
div#mw-head {
- position: absolute;
+ position: fixed;
top: 0;
- min-width: 99%;
h5 {
margin: 0;
@@ -304,7 +303,6 @@
background-repeat: repeat-x;
/* This image is only a fallback (for IE 6-9), so we do not @embed it.
*/
background-image: url('images/page-fade.png');
- min-width: 62em;
}
#p-search {
@@ -367,7 +365,7 @@
div#mw-panel {
font-size: @menu-main-font-size;
- position: absolute;
+ position: fixed;
top: 40px;
bottom: 0;
height: auto;
@@ -440,7 +438,7 @@
div#mw-panel-custom {
font-size: @menu-main-font-size;
- position: absolute;
+ position: fixed;
top: 40px;
bottom: 0;
height: auto;
@@ -526,7 +524,7 @@
color: black;
direction: ltr;
height: auto;
- position: absolute;
+ position: fixed;
bottom: 0;
right: 0;
left: 0;
@@ -620,9 +618,8 @@
}
div#mw-head {
- position: absolute;
+ position: fixed;
top: 0;
- min-width: 92.750%;
h5 {
margin: 0;
diff --git a/i18n/vi.json b/i18n/vi.json
index 58e199f..570cc7b 100644
--- a/i18n/vi.json
+++ b/i18n/vi.json
@@ -4,6 +4,7 @@
"Minh Nguyen"
]
},
+ "skinmetrolook-collapsiblenav-preference": "Bật trình đơn chuyển hướng
gấp lại được ở bên phải trong giao diện Metrolook",
"metrolook-desc": "Giao diện Metrolook dành cho MediaWiki",
"metrolook-guest": "Khách"
}
--
To view, visit https://gerrit.wikimedia.org/r/227170
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I1e7006a8ecbfe7bedfb06d9ea22bc8295b477ebe
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/skins/Metrolook
Gerrit-Branch: master
Gerrit-Owner: Paladox <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits