Jdlrobson has uploaded a new change for review.
https://gerrit.wikimedia.org/r/56350
Change subject: Rename jsEnabled class to client-js to be consistent with
desktop
......................................................................
Rename jsEnabled class to client-js to be consistent with desktop
Change-Id: Ic546e3c1994ee34e7dcb10fe039d349ea8f2afc9
---
M less/actions/mf-edit.less
M less/common/mf-common.less
M less/common/mf-navigation.less
M less/common/ui.less
M less/specials/userlogin.less
M stylesheets/actions/mf-edit.css
M stylesheets/common/mf-common.css
M stylesheets/common/mf-navigation.css
M stylesheets/common/ui.css
M stylesheets/specials/userlogin.css
10 files changed, 12 insertions(+), 12 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/MobileFrontend
refs/changes/50/56350/1
diff --git a/less/actions/mf-edit.less b/less/actions/mf-edit.less
index 0de199c..784d242 100644
--- a/less/actions/mf-edit.less
+++ b/less/actions/mf-edit.less
@@ -1,6 +1,6 @@
@import "../mf-mixins.less";
-.jsEnabled.page-loading.actionEdit {
+.client-js.page-loading.actionEdit {
#content_wrapper {
.ajaxLoader();
diff --git a/less/common/mf-common.less b/less/common/mf-common.less
index 8218fec..3fc1e50 100644
--- a/less/common/mf-common.less
+++ b/less/common/mf-common.less
@@ -336,6 +336,6 @@
display: none;
}
-.jsEnabled .jsonly {
+.client-js .jsonly {
display: block;
}
diff --git a/less/common/mf-navigation.less b/less/common/mf-navigation.less
index 526274d..e234766 100644
--- a/less/common/mf-navigation.less
+++ b/less/common/mf-navigation.less
@@ -14,7 +14,7 @@
right: 0;
}
-.jsEnabled {
+.client-js {
#mw-mf-main-menu-button {
background-image: /* @embed */ url(images/menu/main.png);
}
diff --git a/less/common/ui.less b/less/common/ui.less
index 681f629..1ebd713 100644
--- a/less/common/ui.less
+++ b/less/common/ui.less
@@ -87,7 +87,7 @@
font-size: @inputThirdHeight;
}
-.jsEnabled {
+.client-js {
input.searchSubmit {
display: none;
}
diff --git a/less/specials/userlogin.less b/less/specials/userlogin.less
index 43fbb77..65c7ffe 100644
--- a/less/specials/userlogin.less
+++ b/less/specials/userlogin.less
@@ -123,7 +123,7 @@
}
// FIXME: temporary hack to make sure we log into Commons
-.jsEnabled #mw-returnto {
+.client-js #mw-returnto {
text-indent: -9999px;
background-image: url(../common/images/ajax-loader.gif);
background-repeat: no-repeat;
diff --git a/stylesheets/actions/mf-edit.css b/stylesheets/actions/mf-edit.css
index 8553d39..3eb10d6 100644
--- a/stylesheets/actions/mf-edit.css
+++ b/stylesheets/actions/mf-edit.css
@@ -1,10 +1,10 @@
-.jsEnabled.page-loading.actionEdit #content_wrapper {
+.client-js.page-loading.actionEdit #content_wrapper {
background-image: url(../common/images/ajax-loader.gif);
min-height: 48px;
background-repeat: no-repeat;
background-position: center center;
}
-.jsEnabled.page-loading.actionEdit #content_wrapper #content {
+.client-js.page-loading.actionEdit #content_wrapper #content {
display: none;
}
#mw-anon-edit-warning {
diff --git a/stylesheets/common/mf-common.css b/stylesheets/common/mf-common.css
index 1f3cd4e..7460ab0 100644
--- a/stylesheets/common/mf-common.css
+++ b/stylesheets/common/mf-common.css
@@ -280,6 +280,6 @@
.jsonly {
display: none;
}
-.jsEnabled .jsonly {
+.client-js .jsonly {
display: block;
}
diff --git a/stylesheets/common/mf-navigation.css
b/stylesheets/common/mf-navigation.css
index 866698e..d2f52b0 100644
--- a/stylesheets/common/mf-navigation.css
+++ b/stylesheets/common/mf-navigation.css
@@ -1,7 +1,7 @@
#mw-mf-menu-page {
right: 0;
}
-.jsEnabled #mw-mf-main-menu-button {
+.client-js #mw-mf-main-menu-button {
background-image: /* @embed */ url(images/menu/main.png);
}
#mw-mf-viewport {
diff --git a/stylesheets/common/ui.css b/stylesheets/common/ui.css
index c183661..af23f98 100644
--- a/stylesheets/common/ui.css
+++ b/stylesheets/common/ui.css
@@ -307,7 +307,7 @@
padding-bottom: 9px;
font-size: 9px;
}
-.jsEnabled input.searchSubmit {
+.client-js input.searchSubmit {
display: none;
}
.search-box {
diff --git a/stylesheets/specials/userlogin.css
b/stylesheets/specials/userlogin.css
index c6db02a..f9d6f12 100644
--- a/stylesheets/specials/userlogin.css
+++ b/stylesheets/specials/userlogin.css
@@ -100,13 +100,13 @@
background-color: white;
text-align: center;
}
-.jsEnabled #mw-returnto {
+.client-js #mw-returnto {
text-indent: -9999px;
background-image: url(../common/images/ajax-loader.gif);
background-repeat: no-repeat;
background-position: 50% 30%;
}
-.jsEnabled #mw-returnto.loaded {
+.client-js #mw-returnto.loaded {
text-indent: 0;
background: #fff;
}
--
To view, visit https://gerrit.wikimedia.org/r/56350
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ic546e3c1994ee34e7dcb10fe039d349ea8f2afc9
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/MobileFrontend
Gerrit-Branch: master
Gerrit-Owner: Jdlrobson <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits