jenkins-bot has submitted this change and it was merged.

Change subject: Add javascript specific stylesheet
......................................................................


Add javascript specific stylesheet

These are not common. They require javascript

Change-Id: Icf2d23c148a95387abd37083dac58850d8e0205f
---
M includes/Resources.php
A less/common/common-js.less
M less/common/mf-common.less
A stylesheets/common/common-js.css
M stylesheets/common/mf-common.css
5 files changed, 50 insertions(+), 48 deletions(-)

Approvals:
  JGonera: Verified; Looks good to me, approved
  jenkins-bot: Verified



diff --git a/includes/Resources.php b/includes/Resources.php
index 8ea065e..7bdb717 100644
--- a/includes/Resources.php
+++ b/includes/Resources.php
@@ -368,6 +368,7 @@
 
        'mobile.stable.styles' => $wgMFMobileResourceBoilerplate + array(
                'styles' => array(
+                       'stylesheets/common/common-js.css',
                        'stylesheets/modules/mf-search.css',
                        'stylesheets/modules/mf-toggle.css',
                        'stylesheets/modules/mf-references.css',
diff --git a/less/common/common-js.less b/less/common/common-js.less
new file mode 100644
index 0000000..53fff19
--- /dev/null
+++ b/less/common/common-js.less
@@ -0,0 +1,27 @@
+@import "../mf-mixins.less";
+
+.loading {
+       background-image: url(images/ajax-loader.gif);
+       min-height: 56px;
+       background-repeat: no-repeat;
+       background-position: center;
+
+       &.content {
+               padding-top: 48px;
+               text-align: center;
+               background-position: 50% 0;
+       }
+}
+
+.progress-bar {
+       width: 100%;
+       height: 8px;
+       border: 1px solid #9ea0a3;
+       .boxshadow( inset, 0, 0, 4px, #bbb );
+
+       .value {
+               width: 0;
+               height: 100%;
+               background: @blueBase;
+       }
+}
diff --git a/less/common/mf-common.less b/less/common/mf-common.less
index f562935..5911400 100644
--- a/less/common/mf-common.less
+++ b/less/common/mf-common.less
@@ -51,32 +51,6 @@
        }
 }
 
-.loading {
-       background-image: url(images/ajax-loader.gif);
-       min-height: 56px;
-       background-repeat: no-repeat;
-       background-position: center;
-
-       &.content {
-               padding-top: 48px;
-               text-align: center;
-               background-position: 50% 0;
-       }
-}
-
-.progress-bar {
-       width: 100%;
-       height: 8px;
-       border: 1px solid #9ea0a3;
-       .boxshadow( inset, 0, 0, 4px, #bbb );
-
-       .value {
-               width: 0;
-               height: 100%;
-               background: @blueBase;
-       }
-}
-
 /* Galleries */
 /* See 
https://www.mediawiki.org/wiki/Help:Images#Rendering_a_gallery_of_images */
 ul.gallery {
diff --git a/stylesheets/common/common-js.css b/stylesheets/common/common-js.css
new file mode 100644
index 0000000..90c2dab
--- /dev/null
+++ b/stylesheets/common/common-js.css
@@ -0,0 +1,22 @@
+.loading {
+  background-image: url(images/ajax-loader.gif);
+  min-height: 56px;
+  background-repeat: no-repeat;
+  background-position: center;
+}
+.loading.content {
+  padding-top: 48px;
+  text-align: center;
+  background-position: 50% 0;
+}
+.progress-bar {
+  width: 100%;
+  height: 8px;
+  border: 1px solid #9ea0a3;
+  box-shadow: inset 0 0 4px #bbbbbb;
+}
+.progress-bar .value {
+  width: 0;
+  height: 100%;
+  background: #3366bb;
+}
diff --git a/stylesheets/common/mf-common.css b/stylesheets/common/mf-common.css
index 9ccbb0a..77027ba 100644
--- a/stylesheets/common/mf-common.css
+++ b/stylesheets/common/mf-common.css
@@ -42,28 +42,6 @@
 .info .button {
   margin: 2em 0 0;
 }
-.loading {
-  background-image: url(images/ajax-loader.gif);
-  min-height: 56px;
-  background-repeat: no-repeat;
-  background-position: center;
-}
-.loading.content {
-  padding-top: 48px;
-  text-align: center;
-  background-position: 50% 0;
-}
-.progress-bar {
-  width: 100%;
-  height: 8px;
-  border: 1px solid #9ea0a3;
-  box-shadow: inset 0 0 4px #bbbbbb;
-}
-.progress-bar .value {
-  width: 0;
-  height: 100%;
-  background: #3366bb;
-}
 /* Galleries */
 /* See 
https://www.mediawiki.org/wiki/Help:Images#Rendering_a_gallery_of_images */
 ul.gallery {

-- 
To view, visit https://gerrit.wikimedia.org/r/67916
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Icf2d23c148a95387abd37083dac58850d8e0205f
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/extensions/MobileFrontend
Gerrit-Branch: master
Gerrit-Owner: Jdlrobson <jrob...@wikimedia.org>
Gerrit-Reviewer: JGonera <jgon...@wikimedia.org>
Gerrit-Reviewer: jenkins-bot

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to