BearND has uploaded a new change for review. https://gerrit.wikimedia.org/r/186621
Change subject: Fix infobox styles for night mode ...................................................................... Fix infobox styles for night mode When the latest styles from MFE got pulled (https://gerrit.wikimedia.org/r/#/c/185564/4) it introduced light background for infoboxes, even in night mode. This will fix it. The other issue was that the font size inside infoboxes got smaller. Change-Id: I0d887fa7f963a05b8d17e2c67bf27e5b2eb2abda --- M styles/night.less M styles/tables.less 2 files changed, 15 insertions(+), 11 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/MobileApp refs/changes/21/186621/1 diff --git a/styles/night.less b/styles/night.less index 09f64ba..57d6534 100644 --- a/styles/night.less +++ b/styles/night.less @@ -16,20 +16,21 @@ background: #fff; } -/* Same specificity as in less/content/main.less */ -.content table td, -.content table th { - background-color: #000; - border: 1px #555 solid; -} - -/* Same specificity as in less/content/hacks.less */ -.content table.infobox { +/* Same specificity as in MFE/less/content/hacks.less */ +.stable .content table.infobox { background: #000; } +/* Same specificity as in MFE/less/content/hacks.less */ +.content table td, +.content table th, +.content table.infobox th, +.content table.infobox td { + border-color: rgba(128,128,128,0.12) +} + .app_table_container { - box-shadow: 0px 1px 4px 4px rgba(128,128,128,.12); + box-shadow: 0 1px 4px 4px rgba(128,128,128,0.12); } .app_table_collapsed_container { diff --git a/styles/tables.less b/styles/tables.less index 21de7a0..33d30ed 100644 --- a/styles/tables.less +++ b/styles/tables.less @@ -1,10 +1,13 @@ +.content table.infobox { + font-size: 100%; +} .app_table_container { width: 100%; margin-top: 14px; margin-bottom: 14px; border-radius: 2px 2px 2px 2px; - box-shadow: 0px 2px 2px 0px rgba(0,0,0,0.12), 0px 1px 5px 0px rgba(0,0,0,0.24); + box-shadow: 0 2px 2px 0 rgba(0,0,0,0.12), 0 1px 5px 0 rgba(0,0,0,0.24); } .app_table_collapsed_container { -- To view, visit https://gerrit.wikimedia.org/r/186621 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I0d887fa7f963a05b8d17e2c67bf27e5b2eb2abda Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/MobileApp Gerrit-Branch: master Gerrit-Owner: BearND <bsitzm...@wikimedia.org> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits