From e33b232785d33155e10b80a68792a6eb689922fb Mon Sep 17 00:00:00 2001 From: Isarra Date: Sat, 24 Mar 2018 18:14:11 +0000 Subject: [PATCH] Move Cite styles into separate skinStyles sheet No guarantees that these styles actually apply to anything anymore. But at least the TODO is resolved! Change-Id: Ibb43c044f50f026afa84a0151b113dd600956942 --- resources/screen-common.less | 8 -------- resources/skinStyles/ext.cite.less | 9 +++++++++ skin.json | 3 ++- 3 files changed, 11 insertions(+), 9 deletions(-) create mode 100644 resources/skinStyles/ext.cite.less diff --git a/resources/screen-common.less b/resources/screen-common.less index dd12d95..1058e83 100644 --- a/resources/screen-common.less +++ b/resources/screen-common.less @@ -253,14 +253,6 @@ li#pt-anonuserpage { text-transform: none; } -/* TODO: #t-iscite is only used by the Cite extension, come up with some - * system which allows extensions to add to this file on the fly - */ -#t-ispermalink, -#t-iscite { - color: #999; -} - /* ** footer */ diff --git a/resources/skinStyles/ext.cite.less b/resources/skinStyles/ext.cite.less new file mode 100644 index 0000000..71f0b9b --- /dev/null +++ b/resources/skinStyles/ext.cite.less @@ -0,0 +1,9 @@ +@import '../variables.less'; + +// Not sure what this is for, but comment as was from main.css: +// #t-iscite is only used by the Cite extension, come up with some +// system which allows extensions to add to this file on the fly +#t-ispermalink, +#t-iscite { + color: @text-grey; +} diff --git a/skin.json b/skin.json index d63cbe8..127c223 100644 --- a/skin.json +++ b/skin.json @@ -44,7 +44,8 @@ "+mediawiki.action.view.redirectPage": "resources/skinStyles/mediawiki.action.view.redirectPage.css", "+mediawiki.special.preferences.styles": "resources/skinStyles/mediawiki.special.preferences.styles.less", "+mediawiki.notification": "resources/skinStyles/mediawiki.notification.less", - "+oojs-ui-core.styles": "resources/skinStyles/ooui.less" + "+oojs-ui-core.styles": "resources/skinStyles/ooui.less", + "+ext.cite.styles": "resources/skinStyles/ext.cite.less" } }, "AutoloadClasses": {