Jdlrobson has uploaded a new change for review.
https://gerrit.wikimedia.org/r/56626
Change subject: Change diff colors after design input
......................................................................
Change diff colors after design input
Munaf/Vibha approved diff colors
Now Protanopia and Deuteranopia friendly!
Add margin right for single characters
Change-Id: I7ad474695ecfe9f6265a256b9535e49bc063b682
---
M less/specials/mobilediff.less
M stylesheets/specials/mobilediff.css
2 files changed, 11 insertions(+), 4 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/MobileFrontend
refs/changes/26/56626/1
diff --git a/less/specials/mobilediff.less b/less/specials/mobilediff.less
index 1412c79..369519b 100644
--- a/less/specials/mobilediff.less
+++ b/less/specials/mobilediff.less
@@ -145,12 +145,16 @@
}
}
+ span {
+ margin-right: 2px;
+ }
+
ins {
- background-color: #ddffdd;
+ background-color: #75C877;
}
del {
- background-color: #ffdddd;
+ background-color: #E07076;
text-decoration: none;
}
diff --git a/stylesheets/specials/mobilediff.css
b/stylesheets/specials/mobilediff.css
index 77afa6f..d1f3d7b 100644
--- a/stylesheets/specials/mobilediff.css
+++ b/stylesheets/specials/mobilediff.css
@@ -126,11 +126,14 @@
.alpha #mw-mf-diffview del::before {
content: "";
}
+.alpha #mw-mf-diffview span {
+ margin-right: 2px;
+}
.alpha #mw-mf-diffview ins {
- background-color: #ddffdd;
+ background-color: #75C877;
}
.alpha #mw-mf-diffview del {
- background-color: #ffdddd;
+ background-color: #E07076;
text-decoration: none;
}
.alpha #mw-mf-diffview .prettyDiff ins,
--
To view, visit https://gerrit.wikimedia.org/r/56626
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I7ad474695ecfe9f6265a256b9535e49bc063b682
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