Jdlrobson has uploaded a new change for review. https://gerrit.wikimedia.org/r/72560
Change subject: Add educational prefix to all less files ...................................................................... Add educational prefix to all less files It can be confusing that we auto generate CSS files from LESS files - let's make this clearer to our development community Change-Id: I7782f9624e0dc9d12bd7b7fdf27803020cbae4b6 --- M less/mf-variables.less M stylesheets/actions/mf-history.css M stylesheets/common/common-js.css M stylesheets/common/drawer.css M stylesheets/common/mf-common.css M stylesheets/common/mf-enwp.css M stylesheets/common/mf-footer.css M stylesheets/common/mf-navigation.css M stylesheets/common/mf-typography.css M stylesheets/common/notifications.css M stylesheets/common/overlays.css M stylesheets/common/pageactions.css M stylesheets/common/pagelist.css M stylesheets/common/ui.css M stylesheets/common/user.css M stylesheets/modules/editor.css M stylesheets/modules/languages.css M stylesheets/modules/mf-cleanuptemplates.css M stylesheets/modules/mf-photo.css M stylesheets/modules/mf-random.css M stylesheets/modules/mf-search.css M stylesheets/modules/mf-tables.css M stylesheets/modules/mf-toggle.css M stylesheets/modules/mf-watchstar.css M stylesheets/modules/talk.css M stylesheets/specials/mobilediff.css M stylesheets/specials/mobileoptions.css M stylesheets/specials/nearby.css M stylesheets/specials/notifications.css M stylesheets/specials/search.css M stylesheets/specials/uploads.css M stylesheets/specials/userlogin.css M stylesheets/specials/watchlist.css 33 files changed, 255 insertions(+), 0 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/MobileFrontend refs/changes/60/72560/1 diff --git a/less/mf-variables.less b/less/mf-variables.less index aaf47ee..4b2ff4a 100644 --- a/less/mf-variables.less +++ b/less/mf-variables.less @@ -49,3 +49,13 @@ // calculated colors @searchBoxColorTo: darken( @searchBoxColor, 2.75% ); + +// Note since this file is automatically included in all pages +// it is a handy way to avoid the situation where developers edit the css file rather than the less file +/** + * 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.txt for details on installing +**/ diff --git a/stylesheets/actions/mf-history.css b/stylesheets/actions/mf-history.css index fbb2110..ebd85d4 100644 --- a/stylesheets/actions/mf-history.css +++ b/stylesheets/actions/mf-history.css @@ -1,3 +1,10 @@ +/** + * 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.txt for details on installing +**/ #mw-history-search select.mw-month-selector, #mw-history-search label { display: block; diff --git a/stylesheets/common/common-js.css b/stylesheets/common/common-js.css index c0277e2..4de7f39 100644 --- a/stylesheets/common/common-js.css +++ b/stylesheets/common/common-js.css @@ -1,3 +1,10 @@ +/** + * 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.txt for details on installing +**/ .loading { background-image: url(images/ajax-loader.gif); min-height: 56px; diff --git a/stylesheets/common/drawer.css b/stylesheets/common/drawer.css index 08d753a..aa35584 100644 --- a/stylesheets/common/drawer.css +++ b/stylesheets/common/drawer.css @@ -1,3 +1,10 @@ +/** + * 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.txt for details on installing +**/ .drawer { text-align: center; padding: 0 0 1em; diff --git a/stylesheets/common/mf-common.css b/stylesheets/common/mf-common.css index 9d8b554..f5d5b85 100644 --- a/stylesheets/common/mf-common.css +++ b/stylesheets/common/mf-common.css @@ -1,3 +1,10 @@ +/** + * 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.txt for details on installing +**/ .mw-mf-image-replacement { font-style: italic; color: #706E6E; diff --git a/stylesheets/common/mf-enwp.css b/stylesheets/common/mf-enwp.css index 708d9f4..ed8b397 100644 --- a/stylesheets/common/mf-enwp.css +++ b/stylesheets/common/mf-enwp.css @@ -4,6 +4,13 @@ IMPORTANT: do not use selectors containing attribute notation e.g. [style] [colspan] as they are known to damage the ios app */ +/** + * 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.txt for details on installing +**/ #content table.ambox { display: none; } diff --git a/stylesheets/common/mf-footer.css b/stylesheets/common/mf-footer.css index 4d0c6a7..6fade8e 100644 --- a/stylesheets/common/mf-footer.css +++ b/stylesheets/common/mf-footer.css @@ -2,6 +2,13 @@ initially moved from beta_common.css in Change-Id: I48bcdc43e72f2a9b60e6d1bfe877d79ad80b6d5d */ +/** + * 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.txt for details on installing +**/ #footer { padding: 2em 23px 1.5em 23px; margin: 2em 0 0; diff --git a/stylesheets/common/mf-navigation.css b/stylesheets/common/mf-navigation.css index 683daa8..18bf959 100644 --- a/stylesheets/common/mf-navigation.css +++ b/stylesheets/common/mf-navigation.css @@ -1,3 +1,10 @@ +/** + * 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.txt for details on installing +**/ #mw-mf-menu-page { right: 0; list-style: none; diff --git a/stylesheets/common/mf-typography.css b/stylesheets/common/mf-typography.css index 1fa3078..ef002d1 100644 --- a/stylesheets/common/mf-typography.css +++ b/stylesheets/common/mf-typography.css @@ -1,3 +1,10 @@ +/** + * 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.txt for details on installing +**/ html { /* prevent font scaling in landscape in Safari */ diff --git a/stylesheets/common/notifications.css b/stylesheets/common/notifications.css index d8d8410..3df99af 100644 --- a/stylesheets/common/notifications.css +++ b/stylesheets/common/notifications.css @@ -1,3 +1,10 @@ +/** + * 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.txt for details on installing +**/ #notifications { height: 0; position: absolute; diff --git a/stylesheets/common/overlays.css b/stylesheets/common/overlays.css index f6fe562..d0788c8 100644 --- a/stylesheets/common/overlays.css +++ b/stylesheets/common/overlays.css @@ -1,3 +1,10 @@ +/** + * 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.txt for details on installing +**/ .overlay ul { text-align: left; left: 0; diff --git a/stylesheets/common/pageactions.css b/stylesheets/common/pageactions.css index 24b64d3..1584438 100644 --- a/stylesheets/common/pageactions.css +++ b/stylesheets/common/pageactions.css @@ -1,3 +1,10 @@ +/** + * 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.txt for details on installing +**/ #ca-upload, #ca-edit, .client-nojs #ca-watch.cta, diff --git a/stylesheets/common/pagelist.css b/stylesheets/common/pagelist.css index 6fdc25b..f06c5ba 100644 --- a/stylesheets/common/pagelist.css +++ b/stylesheets/common/pagelist.css @@ -1,3 +1,10 @@ +/** + * 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.txt for details on installing +**/ .listThumb { background-repeat: no-repeat; background-position: center center; diff --git a/stylesheets/common/ui.css b/stylesheets/common/ui.css index 06f4236..cd70b35 100644 --- a/stylesheets/common/ui.css +++ b/stylesheets/common/ui.css @@ -1,3 +1,17 @@ +/** + * 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.txt 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.txt for details on installing +**/ /* reuses https://github.com/wikimedia/agora */ button { border: none; diff --git a/stylesheets/common/user.css b/stylesheets/common/user.css index aaea7cf..f755929 100644 --- a/stylesheets/common/user.css +++ b/stylesheets/common/user.css @@ -1,3 +1,10 @@ +/** + * 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.txt for details on installing +**/ #user-button { right: 0; background: url(images/user.png) 50% 50% no-repeat; diff --git a/stylesheets/modules/editor.css b/stylesheets/modules/editor.css index e0cda68..687616b 100644 --- a/stylesheets/modules/editor.css +++ b/stylesheets/modules/editor.css @@ -1,3 +1,17 @@ +/** + * 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.txt 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.txt for details on installing +**/ .edit-page { margin-top: .5em; float: right; diff --git a/stylesheets/modules/languages.css b/stylesheets/modules/languages.css index 38ba572..e7e1645 100644 --- a/stylesheets/modules/languages.css +++ b/stylesheets/modules/languages.css @@ -1,3 +1,10 @@ +/** + * 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.txt for details on installing +**/ button.languageSelector { margin-top: 14pt; } diff --git a/stylesheets/modules/mf-cleanuptemplates.css b/stylesheets/modules/mf-cleanuptemplates.css index 97e4a49..9a6a804 100644 --- a/stylesheets/modules/mf-cleanuptemplates.css +++ b/stylesheets/modules/mf-cleanuptemplates.css @@ -1,3 +1,10 @@ +/** + * 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.txt for details on installing +**/ a.mw-mf-cleanup { display: block; padding: 10px 15px 10px 44px; diff --git a/stylesheets/modules/mf-photo.css b/stylesheets/modules/mf-photo.css index 55a65ff..ee0a5e9 100644 --- a/stylesheets/modules/mf-photo.css +++ b/stylesheets/modules/mf-photo.css @@ -1,3 +1,10 @@ +/** + * 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.txt for details on installing +**/ .button.photo { position: relative; display: table; diff --git a/stylesheets/modules/mf-random.css b/stylesheets/modules/mf-random.css index 5dcfe09..2c42e81 100644 --- a/stylesheets/modules/mf-random.css +++ b/stylesheets/modules/mf-random.css @@ -1,3 +1,10 @@ +/** + * 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.txt for details on installing +**/ .mw-mf-confirm-random { margin-left: 30px; margin-bottom: 10px; diff --git a/stylesheets/modules/mf-search.css b/stylesheets/modules/mf-search.css index a4512dc..19c3cab 100644 --- a/stylesheets/modules/mf-search.css +++ b/stylesheets/modules/mf-search.css @@ -2,6 +2,13 @@ moved from beta_common.css in Change-Id: Id7715a83f8dc42cbdb23d8cbf982801606236f7c */ +/** + * 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.txt for details on installing +**/ input.search { /* visual indication that search is happening */ diff --git a/stylesheets/modules/mf-tables.css b/stylesheets/modules/mf-tables.css index 246f21d..7390263 100644 --- a/stylesheets/modules/mf-tables.css +++ b/stylesheets/modules/mf-tables.css @@ -1,3 +1,10 @@ +/** + * 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.txt for details on installing +**/ .mw-mf-overlay .tableContent > table { box-shadow: -4px 10px 10px -1px #aaaaaa; } diff --git a/stylesheets/modules/mf-toggle.css b/stylesheets/modules/mf-toggle.css index c9829a1..6bf509a 100644 --- a/stylesheets/modules/mf-toggle.css +++ b/stylesheets/modules/mf-toggle.css @@ -2,6 +2,13 @@ moved from beta_common.css in Change-Id: I683d029d09340a460b02016c5c4fbd6ada5a9b35 */ +/** + * 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.txt for details on installing +**/ .content_block { width: 100%; } diff --git a/stylesheets/modules/mf-watchstar.css b/stylesheets/modules/mf-watchstar.css index a8c7a0b..ff62fda 100644 --- a/stylesheets/modules/mf-watchstar.css +++ b/stylesheets/modules/mf-watchstar.css @@ -1,3 +1,10 @@ +/** + * 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.txt for details on installing +**/ a.watch-this-article.loading { background-image: url(../common/images/ajax-loader.gif); min-height: 0; diff --git a/stylesheets/modules/talk.css b/stylesheets/modules/talk.css index 8184084..fcd9481 100644 --- a/stylesheets/modules/talk.css +++ b/stylesheets/modules/talk.css @@ -1,3 +1,10 @@ +/** + * 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.txt for details on installing +**/ .alpha #page-actions #ca-talk.count a { text-indent: 0; text-align: center; diff --git a/stylesheets/specials/mobilediff.css b/stylesheets/specials/mobilediff.css index df990f8..5cd7c09 100644 --- a/stylesheets/specials/mobilediff.css +++ b/stylesheets/specials/mobilediff.css @@ -1,3 +1,10 @@ +/** + * 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.txt for details on installing +**/ #mw-mf-diffview h2 { font: inherit; margin: 0; diff --git a/stylesheets/specials/mobileoptions.css b/stylesheets/specials/mobileoptions.css index fe62c56..538f5d5 100644 --- a/stylesheets/specials/mobileoptions.css +++ b/stylesheets/specials/mobileoptions.css @@ -2,6 +2,13 @@ SETTINGS PAGE based on http://acidmartin.wordpress.com/2011/06/18/css3-iphone-toggle-buttons/ */ +/** + * 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.txt for details on installing +**/ /* variables */ /* mixins */ /* styling */ diff --git a/stylesheets/specials/nearby.css b/stylesheets/specials/nearby.css index 1825f41..d63f417 100644 --- a/stylesheets/specials/nearby.css +++ b/stylesheets/specials/nearby.css @@ -1,3 +1,10 @@ +/** + * 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.txt for details on installing +**/ .mw-mf-overlay .message { font-size: 1.2em; text-align: center; diff --git a/stylesheets/specials/notifications.css b/stylesheets/specials/notifications.css index 655b5b0..8bea4a9 100644 --- a/stylesheets/specials/notifications.css +++ b/stylesheets/specials/notifications.css @@ -1,3 +1,10 @@ +/** + * 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.txt for details on installing +**/ #mw-echo-special-container { list-style: none; } diff --git a/stylesheets/specials/search.css b/stylesheets/specials/search.css index 02fe07b..5fa8299 100644 --- a/stylesheets/specials/search.css +++ b/stylesheets/specials/search.css @@ -1,3 +1,10 @@ +/** + * 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.txt for details on installing +**/ .mobile .searchresults ul.mw-search-results .mw-search-result-heading { font-weight: bold; } diff --git a/stylesheets/specials/uploads.css b/stylesheets/specials/uploads.css index 519685b..36fbafd 100644 --- a/stylesheets/specials/uploads.css +++ b/stylesheets/specials/uploads.css @@ -1,3 +1,10 @@ +/** + * 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.txt for details on installing +**/ /* carousel css */ .overlay-carousel { height: 100%; diff --git a/stylesheets/specials/userlogin.css b/stylesheets/specials/userlogin.css index ba3e4ed..d4278e3 100644 --- a/stylesheets/specials/userlogin.css +++ b/stylesheets/specials/userlogin.css @@ -1,3 +1,17 @@ +/** + * 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.txt 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.txt for details on installing +**/ .overlay body.mw-mf-special { background-color: #ffffff; } diff --git a/stylesheets/specials/watchlist.css b/stylesheets/specials/watchlist.css index 9e308f6..43fb5e7 100644 --- a/stylesheets/specials/watchlist.css +++ b/stylesheets/specials/watchlist.css @@ -1,3 +1,10 @@ +/** + * 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.txt for details on installing +**/ .mw-mf-watchlist-selector li { border-bottom: 1px solid #e2e2e2; text-align: center; -- To view, visit https://gerrit.wikimedia.org/r/72560 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I7782f9624e0dc9d12bd7b7fdf27803020cbae4b6 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
