Jdlrobson has uploaded a new change for review.
https://gerrit.wikimedia.org/r/79425
Change subject: Hygiene: Drop mf- prefix from less files
......................................................................
Hygiene: Drop mf- prefix from less files
Change-Id: Ic4d57de95a7b61b3c31bfbcbdccf5c9804aa3f2e
---
M includes/Resources.php
R less/actions/history.less
R less/common/buttons.less
M less/common/common-js.less
R less/common/common.less
M less/common/drawer.less
R less/common/enwp.less
R less/common/footer.less
R less/common/hacks.less
R less/common/navigation.less
M less/common/notifications.less
M less/common/overlays.less
M less/common/pageactions.less
M less/common/pagelist.less
R less/common/typography.less
M less/common/ui.less
M less/common/user.less
R less/mixins.less
M less/modules/editor.less
M less/modules/issues.less
M less/modules/languages.less
M less/modules/search.less
R less/modules/tables.less
M less/modules/talk.less
R less/modules/toggle.less
M less/modules/tutorials.less
M less/modules/uploads.less
R less/modules/watchstar.less
M less/specials/mobilediff.less
M less/specials/mobileoptions.less
M less/specials/nearby.less
M less/specials/notifications.less
M less/specials/search.less
M less/specials/uploads.less
M less/specials/userlogin.less
M less/specials/watchlist.less
R less/variables.less
R stylesheets/actions/history.css
D stylesheets/actions/mf-edit.css
M stylesheets/common/common-js.css
R stylesheets/common/common.css
R stylesheets/common/enwp.css
R stylesheets/common/footer.css
R stylesheets/common/hacks.css
R stylesheets/common/navigation.css
R stylesheets/common/typography.css
M stylesheets/modules/editor.css
R stylesheets/modules/references.css
R stylesheets/modules/tables.css
R stylesheets/modules/toggle.css
R stylesheets/modules/watchstar.css
51 files changed, 103 insertions(+), 241 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/MobileFrontend
refs/changes/25/79425/1
diff --git a/includes/Resources.php b/includes/Resources.php
index 0f404a2..375e9db 100644
--- a/includes/Resources.php
+++ b/includes/Resources.php
@@ -98,24 +98,24 @@
'mobile.styles.page' => $wgMFMobileResourceBoilerplate + array(
'dependencies' => array( 'mobile.startup' ),
'styles' => array(
- 'stylesheets/common/mf-enwp.css'
+ 'stylesheets/common/enwp.css'
),
),
'mobile.styles' => $wgMFMobileResourceBoilerplate + array(
'styles' => array(
'stylesheets/externals/reset.css',
- 'stylesheets/common/mf-common.css',
+ 'stylesheets/common/common.css',
'stylesheets/common/ui.css',
- 'stylesheets/common/mf-typography.css',
- 'stylesheets/common/mf-footer.css',
- 'stylesheets/modules/mf-toggle.css',
+ 'stylesheets/common/typography.css',
+ 'stylesheets/common/footer.css',
+ 'stylesheets/modules/toggle.css',
'stylesheets/common/pagelist.css',
// FIXME: move to module mobile.stable.styles for some
reason it breaks RTL when in that module
- 'stylesheets/common/mf-navigation.css',
+ 'stylesheets/common/navigation.css',
'stylesheets/common/overlays.css',
'stylesheets/common/drawer.css',
- 'stylesheets/common/mf-hacks.css',
+ 'stylesheets/common/hacks.css',
'stylesheets/common/pageactions.css',
),
'position' => 'top',
@@ -318,7 +318,7 @@
'styles' => array(
),
'scripts' => array(
- 'stylesheets/actions/mf-history.css',
+ 'stylesheets/actions/history.css',
),
'group' => 'other',
),
@@ -352,7 +352,7 @@
'mobile-frontend-nearby-to-page',
),
'styles' => array(
- 'stylesheets/modules/mf-tables.css',
+ 'stylesheets/modules/tables.css',
'stylesheets/modules/nearbypages.css',
),
'scripts' => array(
@@ -378,9 +378,9 @@
'stylesheets/common/common-js.css',
'stylesheets/modules/languages.css',
'stylesheets/modules/search.css',
- 'stylesheets/modules/mf-references.css',
+ 'stylesheets/modules/references.css',
'stylesheets/modules/issues.css',
- 'stylesheets/modules/mf-watchstar.css',
+ 'stylesheets/modules/watchstar.css',
'stylesheets/modules/uploads.css',
'stylesheets/modules/tutorials.css',
'stylesheets/modules/editor.css',
diff --git a/less/actions/mf-history.less b/less/actions/history.less
similarity index 86%
rename from less/actions/mf-history.less
rename to less/actions/history.less
index 3563688..4c11691 100644
--- a/less/actions/mf-history.less
+++ b/less/actions/history.less
@@ -1,4 +1,4 @@
-@import "../mf-mixins.less";
+@import "../mixins.less";
#mw-history-search {
diff --git a/less/common/mf-buttons.less b/less/common/buttons.less
similarity index 98%
rename from less/common/mf-buttons.less
rename to less/common/buttons.less
index 5182143..f08f6b5 100644
--- a/less/common/mf-buttons.less
+++ b/less/common/buttons.less
@@ -1,4 +1,4 @@
-@import "../mf-mixins.less";
+@import "../mixins.less";
/* reuses https://github.com/wikimedia/agora */
// FIXME: Add to custom reset.css file
diff --git a/less/common/common-js.less b/less/common/common-js.less
index 46eba5e..0e4a499 100644
--- a/less/common/common-js.less
+++ b/less/common/common-js.less
@@ -1,4 +1,4 @@
-@import "../mf-mixins.less";
+@import "../mixins.less";
.loading {
// needs !important to override images from more specific rules
@@ -31,8 +31,3 @@
background: @blueBase;
}
}
-
-.alpha {
- -webkit-tap-highlight-color: transparent;
-}
-
diff --git a/less/common/mf-common.less b/less/common/common.less
similarity index 99%
rename from less/common/mf-common.less
rename to less/common/common.less
index 573f2b1..24524a6 100644
--- a/less/common/mf-common.less
+++ b/less/common/common.less
@@ -1,4 +1,4 @@
-@import "../mf-mixins.less";
+@import "../mixins.less";
.mw-mf-image-replacement {
font-style: italic;
diff --git a/less/common/drawer.less b/less/common/drawer.less
index 7130e42..f243dbc 100644
--- a/less/common/drawer.less
+++ b/less/common/drawer.less
@@ -1,4 +1,4 @@
-@import "../mf-mixins.less";
+@import "../mixins.less";
.drawer {
text-align: center;
diff --git a/less/common/mf-enwp.less b/less/common/enwp.less
similarity index 98%
rename from less/common/mf-enwp.less
rename to less/common/enwp.less
index 5fa11d2..4fa7a71 100644
--- a/less/common/mf-enwp.less
+++ b/less/common/enwp.less
@@ -4,7 +4,7 @@
IMPORTANT: do not use selectors containing attribute notation e.g. [style]
[colspan]
as they are known to damage the ios app
*/
-@import "../mf-variables.less";
+@import "../variables.less";
// Hide cleanup templates by default to non-javascript users as these stop
them from reading the article itself
#content table.ambox {
diff --git a/less/common/mf-footer.less b/less/common/footer.less
similarity index 96%
rename from less/common/mf-footer.less
rename to less/common/footer.less
index f0f4cf5..3033f18 100644
--- a/less/common/mf-footer.less
+++ b/less/common/footer.less
@@ -2,7 +2,7 @@
initially moved from beta_common.css in
Change-Id: I48bcdc43e72f2a9b60e6d1bfe877d79ad80b6d5d
*/
-@import "../mf-variables.less";
+@import "../variables.less";
#footer {
padding: 2em @contentMarginRight 1.5em @contentMarginLeft;
diff --git a/less/common/mf-hacks.less b/less/common/hacks.less
similarity index 100%
rename from less/common/mf-hacks.less
rename to less/common/hacks.less
diff --git a/less/common/mf-navigation.less b/less/common/navigation.less
similarity index 98%
rename from less/common/mf-navigation.less
rename to less/common/navigation.less
index 0ea487b..57f134f 100644
--- a/less/common/mf-navigation.less
+++ b/less/common/navigation.less
@@ -1,4 +1,4 @@
-@import "../mf-mixins.less";
+@import "../mixins.less";
@InfoBoxWLogoSize: 98px;
@overlayAlertTipColor: black;
diff --git a/less/common/notifications.less b/less/common/notifications.less
index 34f8009..c34791b 100644
--- a/less/common/notifications.less
+++ b/less/common/notifications.less
@@ -1,4 +1,4 @@
-@import "../mf-mixins.less";
+@import "../mixins.less";
@toastNotificationColor: #373737;
#notifications {
diff --git a/less/common/overlays.less b/less/common/overlays.less
index 8febae3..8986eb0 100644
--- a/less/common/overlays.less
+++ b/less/common/overlays.less
@@ -1,4 +1,4 @@
-@import "../mf-mixins.less";
+@import "../mixins.less";
.overlay-enabled {
.mw-mf-overlay {
diff --git a/less/common/pageactions.less b/less/common/pageactions.less
index ff53524..179e2ef 100644
--- a/less/common/pageactions.less
+++ b/less/common/pageactions.less
@@ -1,4 +1,4 @@
-@import "../mf-mixins.less";
+@import "../mixins.less";
// FIXME: hide in stable till talk code is stable
.stable #ca-talk,
diff --git a/less/common/pagelist.less b/less/common/pagelist.less
index 698b7b7..883b92f 100644
--- a/less/common/pagelist.less
+++ b/less/common/pagelist.less
@@ -1,4 +1,4 @@
-@import "../mf-mixins.less";
+@import "../mixins.less";
@thumbGap: 15px;
@thumbWidth: 70px;
diff --git a/less/common/mf-typography.less b/less/common/typography.less
similarity index 98%
rename from less/common/mf-typography.less
rename to less/common/typography.less
index 9a18a59..e5c12eb 100644
--- a/less/common/mf-typography.less
+++ b/less/common/typography.less
@@ -1,4 +1,4 @@
-@import "../mf-variables.less";
+@import "../variables.less";
html {
/* prevent font scaling in landscape in Safari */
diff --git a/less/common/ui.less b/less/common/ui.less
index 750633e..7f20afc 100644
--- a/less/common/ui.less
+++ b/less/common/ui.less
@@ -1,4 +1,4 @@
-@import "mf-buttons.less";
+@import "buttons.less";
@import 'mainmenu.less';
/* Header */
diff --git a/less/common/user.less b/less/common/user.less
index 0847e9a..655797f 100644
--- a/less/common/user.less
+++ b/less/common/user.less
@@ -1,5 +1,5 @@
// FIXME: merge with navigation when notifications in stable
-@import '../mf-mixins.less';
+@import '../mixins.less';
#user-button {
right: 0;
diff --git a/less/mf-mixins.less b/less/mixins.less
similarity index 98%
rename from less/mf-mixins.less
rename to less/mixins.less
index 61ed00b..4d60195 100644
--- a/less/mf-mixins.less
+++ b/less/mixins.less
@@ -1,4 +1,4 @@
-@import "mf-variables.less";
+@import "variables.less";
.watchlist-heading() {
font: inherit;
diff --git a/less/modules/editor.less b/less/modules/editor.less
index 2f93a5e..0a031fa 100644
--- a/less/modules/editor.less
+++ b/less/modules/editor.less
@@ -1,27 +1,22 @@
-@import "../mf-mixins.less";
+@import "../variables.less";
+@import "../mixins.less";
+
+.edit-page {
+ margin-top: .5em;
+ float: right;
+}
.section_heading {
.edit-page {
- position: absolute;
- background: url(../common/images/pagemenu/edit.png) 100%
@headingMargin no-repeat;
- .background-size( auto, 30px );
- text-indent: -9999px;
- border-left: solid 1px @sectionBorderColor;
- width: @sectionIconWidth + 5px;
- top: 0;
- bottom: 0;
- right: 0;
- display: none;
+ margin: 0 30px 0 0;
+ display: none !important;
+ font-size: .65em;
+ font-family: @fontFamily;
}
&.openSection .edit-page {
- display: block;
+ display: block !important;
}
-}
-
-.stub .edit-page {
- margin: 0;
- display: block;
}
.editor-overlay {
@@ -32,7 +27,7 @@
textarea {
width: 100%;
min-height: 50%;
- padding: 10px 16px 8em;
+ padding: 10px 16px 5em;
line-height: 1.5;
border: none;
resize: none;
@@ -43,41 +38,26 @@
}
}
- input {
- margin: 0 0 .7em;
- width: 100%;
- .box-sizing( border-box );
- }
-
- .preview {
- display: none;
- padding-bottom: 15em;
-
- > h2 {
- font: bold .75em @fontFamily;
- color: #707070;
- text-align: center;
- background: #f3f3f3 url('images/preview-bg.png') 50%
50% repeat-x;
- .background-size( auto, .8em );
- line-height: 1.7;
- text-transform: uppercase;
- }
+ .content {
+ padding-bottom: 5em;
}
.buttonBar {
box-shadow: 0 -10px 10px 0 #fff;
}
- .initial-bar p {
- display: inline-block;
- text-align: center;
- padding-top: 0;
- margin: 0 0 .7em;
- border-bottom: 1px solid #ccc;
+ .confirm-bar, .saving-bar {
+ display: none;
}
- .save-bar, .saving-bar {
- display: none;
+ .saving-bar {
+ background-position: 16px 50%;
+ .background-size( 32px, auto );
+ padding: 0 0 0 46px;
+
+ p:first-child {
+ margin: 18px 16px 0;
+ }
}
}
@@ -88,14 +68,7 @@
http://www.zingdesign.com/responsive-website-design-cheatsheet1/
*/
@media (max-height: 355px) {
- .editor-overlay .initial-bar {
+ .editor-overlay .buttonBar {
position: static;
}
}
-
-// FIXME: high line-height (1.5) causes weird behavior in textareas on
-// Android 2.x, remove this if we don't want to support editor there
-.android2 .editor-overlay textarea {
- line-height: 1.2;
-}
-
diff --git a/less/modules/issues.less b/less/modules/issues.less
index 9c97d61..830e37a 100644
--- a/less/modules/issues.less
+++ b/less/modules/issues.less
@@ -1,4 +1,4 @@
-@import "../mf-mixins.less";
+@import "../mixins.less";
a.mw-mf-cleanup {
display: block;
diff --git a/less/modules/languages.less b/less/modules/languages.less
index c6ffb2f..d8f9481 100644
--- a/less/modules/languages.less
+++ b/less/modules/languages.less
@@ -1,4 +1,4 @@
-@import "../mf-mixins.less";
+@import "../mixins.less";
button.languageSelector {
margin-top: @headingMargin;
diff --git a/less/modules/search.less b/less/modules/search.less
index 229108f..35b1c5f 100644
--- a/less/modules/search.less
+++ b/less/modules/search.less
@@ -2,7 +2,7 @@
moved from beta_common.css in
Change-Id: Id7715a83f8dc42cbdb23d8cbf982801606236f7c
*/
-@import "../mf-mixins.less";
+@import "../mixins.less";
@clearWidth: 24px;
input.search {
diff --git a/less/modules/mf-tables.less b/less/modules/tables.less
similarity index 97%
rename from less/modules/mf-tables.less
rename to less/modules/tables.less
index 9adb22e..7aae0a8 100644
--- a/less/modules/mf-tables.less
+++ b/less/modules/tables.less
@@ -1,4 +1,4 @@
-@import "../mf-mixins.less";
+@import "../mixins.less";
.mw-mf-overlay {
.tableContent > table {
diff --git a/less/modules/talk.less b/less/modules/talk.less
index 662df7b..af994c9 100644
--- a/less/modules/talk.less
+++ b/less/modules/talk.less
@@ -1,4 +1,4 @@
-@import "../mf-mixins.less";
+@import "../mixins.less";
.alpha #page-actions #ca-talk.count a {
diff --git a/less/modules/mf-toggle.less b/less/modules/toggle.less
similarity index 97%
rename from less/modules/mf-toggle.less
rename to less/modules/toggle.less
index 5a101b7..e8d05a6 100644
--- a/less/modules/mf-toggle.less
+++ b/less/modules/toggle.less
@@ -2,7 +2,7 @@
moved from beta_common.css in
Change-Id: I683d029d09340a460b02016c5c4fbd6ada5a9b35
*/
-@import "../mf-mixins.less";
+@import "../mixins.less";
.content_block {
width: 100%; // bug 41401 - without this content doesn't always take up
whole width
diff --git a/less/modules/tutorials.less b/less/modules/tutorials.less
index 02aa63c..25de761 100644
--- a/less/modules/tutorials.less
+++ b/less/modules/tutorials.less
@@ -1,4 +1,4 @@
-@import "../mf-mixins.less";
+@import "../mixins.less";
/* Tutorial overlay styling */
@colorTutorial: #006398;
diff --git a/less/modules/uploads.less b/less/modules/uploads.less
index 5214c50..7ecbae3 100644
--- a/less/modules/uploads.less
+++ b/less/modules/uploads.less
@@ -1,4 +1,4 @@
-@import "../mf-mixins.less";
+@import "../mixins.less";
.button.photo {
position: relative;
diff --git a/less/modules/mf-watchstar.less b/less/modules/watchstar.less
similarity index 93%
rename from less/modules/mf-watchstar.less
rename to less/modules/watchstar.less
index 0983349..d246ad8 100644
--- a/less/modules/mf-watchstar.less
+++ b/less/modules/watchstar.less
@@ -1,4 +1,4 @@
-@import "../mf-mixins.less";
+@import "../mixins.less";
a.watch-this-article {
&.loading {
diff --git a/less/specials/mobilediff.less b/less/specials/mobilediff.less
index 86c720f..fc57731 100644
--- a/less/specials/mobilediff.less
+++ b/less/specials/mobilediff.less
@@ -1,4 +1,4 @@
-@import "../mf-mixins.less";
+@import "../mixins.less";
#mw-mf-diffview {
@userInfoHeight: 5em;
diff --git a/less/specials/mobileoptions.less b/less/specials/mobileoptions.less
index d2ed611..67f885b 100644
--- a/less/specials/mobileoptions.less
+++ b/less/specials/mobileoptions.less
@@ -3,7 +3,7 @@
based on http://acidmartin.wordpress.com/2011/06/18/css3-iphone-toggle-buttons/
*/
-@import "../mf-mixins.less";
+@import "../mixins.less";
/* variables */
@btngrey:#818181;
diff --git a/less/specials/nearby.less b/less/specials/nearby.less
index 798a74a..d908291 100644
--- a/less/specials/nearby.less
+++ b/less/specials/nearby.less
@@ -1,4 +1,4 @@
-@import "../mf-mixins.less";
+@import "../mixins.less";
.mw-mf-overlay .message {
font-size: 1.2em;
diff --git a/less/specials/notifications.less b/less/specials/notifications.less
index b75ede2..26ba971 100644
--- a/less/specials/notifications.less
+++ b/less/specials/notifications.less
@@ -1,4 +1,4 @@
-@import '../mf-variables.less';
+@import '../variables.less';
.mw-echo-unread .mw-echo-title {
font-weight: bold;
diff --git a/less/specials/search.less b/less/specials/search.less
index b9f4ef9..4f66c26 100644
--- a/less/specials/search.less
+++ b/less/specials/search.less
@@ -1,4 +1,4 @@
-@import "../mf-mixins.less";
+@import "../mixins.less";
.mobile .searchresults {
ul.mw-search-results {
diff --git a/less/specials/uploads.less b/less/specials/uploads.less
index 5ec6831..1fdd0cd 100644
--- a/less/specials/uploads.less
+++ b/less/specials/uploads.less
@@ -1,4 +1,4 @@
-@import "../mf-mixins.less";
+@import "../mixins.less";
/* carousel css */
.overlay-carousel {
diff --git a/less/specials/userlogin.less b/less/specials/userlogin.less
index 77a65aa..9fc920f 100644
--- a/less/specials/userlogin.less
+++ b/less/specials/userlogin.less
@@ -1,4 +1,4 @@
-@import "../mf-mixins.less";
+@import "../mixins.less";
// This serves no purpose on the login screen as you are not logged in so
cannot use.
#user-button {
diff --git a/less/specials/watchlist.less b/less/specials/watchlist.less
index 10def69..63a32b8 100644
--- a/less/specials/watchlist.less
+++ b/less/specials/watchlist.less
@@ -1,4 +1,4 @@
-@import "../mf-mixins.less";
+@import "../mixins.less";
.mw-mf-watchlist-selector {
diff --git a/less/mf-variables.less b/less/variables.less
similarity index 100%
rename from less/mf-variables.less
rename to less/variables.less
diff --git a/stylesheets/actions/mf-history.css
b/stylesheets/actions/history.css
similarity index 100%
rename from stylesheets/actions/mf-history.css
rename to stylesheets/actions/history.css
diff --git a/stylesheets/actions/mf-edit.css b/stylesheets/actions/mf-edit.css
deleted file mode 100644
index 313593d..0000000
--- a/stylesheets/actions/mf-edit.css
+++ /dev/null
@@ -1,81 +0,0 @@
-.client-js.page-loading .action-edit #content_wrapper {
- background-image: url(../common/images/ajax-loader.gif);
- min-height: 48px;
- background-repeat: no-repeat;
- background-position: center center;
-}
-.client-js.page-loading .action-edit #content_wrapper #content {
- display: none;
-}
-#mw-anon-edit-warning {
- background: none;
- /* use -webkit prefix for older android browsers eg. nexus 1 */
-
- -moz-background-size: auto 50px auto;
- -o-background-size: auto 50px auto;
- -webkit-background-size: auto 50px auto;
- background-size: auto 50px auto;
- background-position: 10px center;
- border: solid 1px #aaa;
- padding: 15px;
- font-size: 1em;
- padding-left: 60px;
- margin-bottom: 8px;
- line-height: 20px;
- background-image: url(../modules/images/warning.png);
- background-repeat: no-repeat;
- cursor: pointer;
- width: 100%;
- color: black;
- -moz-box-sizing: border-box;
- -o-box-sizing: border-box;
- -webkit-box-sizing: border-box;
- box-sizing: border-box;
-}
-.templatesUsed,
-#editpage-copywarn {
- margin-top: 8px;
- font-size: 0.75em;
- font-style: italic;
-}
-.templatesUsed .mw-templatesUsedExplanation,
-#editpage-copywarn .mw-templatesUsedExplanation {
- font-weight: bold;
-}
-.templatesUsed li,
-#editpage-copywarn li {
- display: inline;
- margin-right: 8px;
-}
-#editform textarea,
-#editform input {
- border: none;
- box-shadow: none;
-}
-#editform textarea.section_heading {
- margin-bottom: 0;
- padding-bottom: 0;
- line-height: normal;
-}
-#editform textarea,
-#editform input.mw-summary {
- font-size: 1em;
- -moz-box-sizing: border-box;
- -o-box-sizing: border-box;
- -webkit-box-sizing: border-box;
- box-sizing: border-box;
- width: 100%;
- border: solid 1px #ccc;
-}
-#editform .content_block input,
-#editform .section_heading input {
- border: none;
- margin: 0;
- font-size: 1em;
- position: relative;
- width: 60%;
-}
-#editform #wpSave {
- display: block;
- margin-bottom: 10px;
-}
diff --git a/stylesheets/common/common-js.css b/stylesheets/common/common-js.css
index f428c61..008ee48 100644
--- a/stylesheets/common/common-js.css
+++ b/stylesheets/common/common-js.css
@@ -36,6 +36,3 @@
height: 100%;
background: #3366bb;
}
-.alpha {
- -webkit-tap-highlight-color: transparent;
-}
diff --git a/stylesheets/common/mf-common.css b/stylesheets/common/common.css
similarity index 100%
rename from stylesheets/common/mf-common.css
rename to stylesheets/common/common.css
diff --git a/stylesheets/common/mf-enwp.css b/stylesheets/common/enwp.css
similarity index 100%
rename from stylesheets/common/mf-enwp.css
rename to stylesheets/common/enwp.css
diff --git a/stylesheets/common/mf-footer.css b/stylesheets/common/footer.css
similarity index 100%
rename from stylesheets/common/mf-footer.css
rename to stylesheets/common/footer.css
diff --git a/stylesheets/common/mf-hacks.css b/stylesheets/common/hacks.css
similarity index 100%
rename from stylesheets/common/mf-hacks.css
rename to stylesheets/common/hacks.css
diff --git a/stylesheets/common/mf-navigation.css
b/stylesheets/common/navigation.css
similarity index 100%
rename from stylesheets/common/mf-navigation.css
rename to stylesheets/common/navigation.css
diff --git a/stylesheets/common/mf-typography.css
b/stylesheets/common/typography.css
similarity index 100%
rename from stylesheets/common/mf-typography.css
rename to stylesheets/common/typography.css
diff --git a/stylesheets/modules/editor.css b/stylesheets/modules/editor.css
index fb2a074..24eda7c 100644
--- a/stylesheets/modules/editor.css
+++ b/stylesheets/modules/editor.css
@@ -5,28 +5,25 @@
* Please edit the corresponding less file instead.
* See README.mediawiki for details on installing.
*/
+/**
+ * DO NOT EDIT THIS FILE
+ * This is an automatically generated css file.
+ * It was generated by LESS (http://lesscss.org).
+ * Please edit the corresponding less file instead.
+ * See README.mediawiki for details on installing.
+ */
+.edit-page {
+ margin-top: .5em;
+ float: right;
+}
.section_heading .edit-page {
- position: absolute;
- background: url(../common/images/pagemenu/edit.png) 100% 9pt no-repeat;
- /* use -webkit prefix for older android browsers eg. nexus 1 */
-
- -o-background-size: auto 30px;
- -webkit-background-size: auto 30px;
- background-size: auto 30px;
- text-indent: -9999px;
- border-left: solid 1px #e2e3e4;
- width: 35px;
- top: 0;
- bottom: 0;
- right: 0;
- display: none;
+ margin: 0 30px 0 0;
+ display: none !important;
+ font-size: .65em;
+ font-family: "Helvetica Neue", "Helvetica", "Nimbus Sans L", "Arial",
"Liberation Sans", sans-serif;
}
.section_heading.openSection .edit-page {
- display: block;
-}
-.stub .edit-page {
- margin: 0;
- display: block;
+ display: block !important;
}
.editor-overlay .spinner {
height: 100px;
@@ -34,7 +31,7 @@
.editor-overlay textarea {
width: 100%;
min-height: 50%;
- padding: 10px 16px 8em;
+ padding: 10px 16px 5em;
line-height: 1.5;
border: none;
resize: none;
@@ -45,43 +42,27 @@
.editor-overlay textarea:focus {
outline: none;
}
-.editor-overlay input {
- margin: 0 0 .7em;
- width: 100%;
- -moz-box-sizing: border-box;
- -webkit-box-sizing: border-box;
- box-sizing: border-box;
-}
-.editor-overlay .preview {
- display: none;
- padding-bottom: 15em;
-}
-.editor-overlay .preview > h2 {
- font: bold 0.75em "Helvetica Neue", "Helvetica", "Nimbus Sans L", "Arial",
"Liberation Sans", sans-serif;
- color: #707070;
- text-align: center;
- background: #f3f3f3 url('images/preview-bg.png') 50% 50% repeat-x;
- /* use -webkit prefix for older android browsers eg. nexus 1 */
-
- -o-background-size: auto 0.8em;
- -webkit-background-size: auto 0.8em;
- background-size: auto 0.8em;
- line-height: 1.7;
- text-transform: uppercase;
+.editor-overlay .content {
+ padding-bottom: 5em;
}
.editor-overlay .buttonBar {
box-shadow: 0 -10px 10px 0 #ffffff;
}
-.editor-overlay .initial-bar p {
- display: inline-block;
- text-align: center;
- padding-top: 0;
- margin: 0 0 .7em;
- border-bottom: 1px solid #ccc;
-}
-.editor-overlay .save-bar,
+.editor-overlay .confirm-bar,
.editor-overlay .saving-bar {
display: none;
+}
+.editor-overlay .saving-bar {
+ background-position: 16px 50%;
+ /* use -webkit prefix for older android browsers eg. nexus 1 */
+
+ -o-background-size: 32px auto;
+ -webkit-background-size: 32px auto;
+ background-size: 32px auto;
+ padding: 0 0 0 46px;
+}
+.editor-overlay .saving-bar p:first-child {
+ margin: 18px 16px 0;
}
/*
hide the bar (and give more editing space) when the keyboard is visible
@@ -90,10 +71,7 @@
http://www.zingdesign.com/responsive-website-design-cheatsheet1/
*/
@media (max-height: 355px) {
- .editor-overlay .initial-bar {
+ .editor-overlay .buttonBar {
position: static;
}
-}
-.android2 .editor-overlay textarea {
- line-height: 1.2;
}
diff --git a/stylesheets/modules/mf-references.css
b/stylesheets/modules/references.css
similarity index 100%
rename from stylesheets/modules/mf-references.css
rename to stylesheets/modules/references.css
diff --git a/stylesheets/modules/mf-tables.css b/stylesheets/modules/tables.css
similarity index 100%
rename from stylesheets/modules/mf-tables.css
rename to stylesheets/modules/tables.css
diff --git a/stylesheets/modules/mf-toggle.css b/stylesheets/modules/toggle.css
similarity index 100%
rename from stylesheets/modules/mf-toggle.css
rename to stylesheets/modules/toggle.css
diff --git a/stylesheets/modules/mf-watchstar.css
b/stylesheets/modules/watchstar.css
similarity index 100%
rename from stylesheets/modules/mf-watchstar.css
rename to stylesheets/modules/watchstar.css
--
To view, visit https://gerrit.wikimedia.org/r/79425
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ic4d57de95a7b61b3c31bfbcbdccf5c9804aa3f2e
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