aboutsummaryrefslogtreecommitdiffstats
path: root/mw-config/config-cc.css
diff options
context:
space:
mode:
authorJames D. Forrester <jforrester@wikimedia.org>2019-04-12 10:12:42 -0700
committerJames D. Forrester <jforrester@wikimedia.org>2019-04-12 10:18:45 -0700
commitae3f5f12ff8334c55a928634f4d8fc32879f3ec0 (patch)
tree97721dd0686284287a03e7f5c35e5d198213fc7c /mw-config/config-cc.css
parent75fa35b702a7c4a6dd2a1df59d408f4b4bc83816 (diff)
downloadmediawikicore-ae3f5f12ff8334c55a928634f4d8fc32879f3ec0.tar.gz
mediawikicore-ae3f5f12ff8334c55a928634f4d8fc32879f3ec0.zip
linting: Start enforcing a basic CSS class naming rule (with lots of opt-outs)
Wow, so many opt-outs, and a lot of probably-not-going-to-change ones. Actually wanted pattern: * "^mw-…" Content-related classes we're probably not going to scrap: * "^wikitable$" Hard-to-change classes used in lots of skins: * "^toc$" * "^toctoggle$" * "^tochidden$" Necessary for over-rides/specificity battles: * "^oo-ui-…" Probably worth considering changing soon: * "^client-js$" * "^client-nojs$" Some of the exemptions have been applied to deprecated styles (where they're being renamed); some are for code in entirely deprecated areas themselves; some have the "wrong" name but sit alongside classes with an appropriate one. And some are, very clearly, in the wrong repo. Such sigh. Change-Id: I9b8423d53b6750b5ca79d2f69e111f75c93c5bdc
Diffstat (limited to 'mw-config/config-cc.css')
-rw-r--r--mw-config/config-cc.css2
1 files changed, 2 insertions, 0 deletions
diff --git a/mw-config/config-cc.css b/mw-config/config-cc.css
index 511cd0378c67..81cb92d36e69 100644
--- a/mw-config/config-cc.css
+++ b/mw-config/config-cc.css
@@ -2,6 +2,8 @@
* Copy of CC standard stylesheet, plus tweaks for iframe usage
*/
+/* stylelint-disable selector-class-pattern */
+
body {
margin: 0;
background: #eee;