Nikerabbit has uploaded a new change for review.
https://gerrit.wikimedia.org/r/218609
Change subject: Make gray links stay gray even if unfocused
......................................................................
Make gray links stay gray even if unfocused
They have confused me enough for today.
Change-Id: Ie597722d3b11f26727b0e6e95bd9cb40e5b4b102
---
M modules/tools/styles/ext.cx.tools.link.less
1 file changed, 15 insertions(+), 11 deletions(-)
git pull
ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/ContentTranslation
refs/changes/09/218609/1
diff --git a/modules/tools/styles/ext.cx.tools.link.less
b/modules/tools/styles/ext.cx.tools.link.less
index 8edff31..67c87f2 100644
--- a/modules/tools/styles/ext.cx.tools.link.less
+++ b/modules/tools/styles/ext.cx.tools.link.less
@@ -183,20 +183,24 @@
}
}
-[contenteditable]:focus .cx-link {
- cursor: pointer;
-}
-
-// Links that cannot be adapted will be represented in gray with a dashed
underline.
-[contenteditable]:focus .cx-target-link-unadapted {
+[contenteditable] {
+ // Links that cannot be adapted will be represented in gray with a
dashed underline.
// The dashed underline will only appear for the links on the current
paragraph.
// Links from other paragraphs will not show the dashed underline to
avoid too much visual noise.
- color: #ccc;
- border-bottom: 1px dashed #ccc;
- cursor: pointer;
+ &:focus .cx-target-link-unadapted {
+ border-bottom: 1px dashed #ccc;
+ }
- &:hover {
- color: #252525;
+ .cx-target-link-unadapted {
+ color: #ccc;
+
+ &:hover {
+ color: #252525;
+ }
+ }
+
+ .cx-link {
+ cursor: pointer;
}
}
--
To view, visit https://gerrit.wikimedia.org/r/218609
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ie597722d3b11f26727b0e6e95bd9cb40e5b4b102
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/ContentTranslation
Gerrit-Branch: master
Gerrit-Owner: Nikerabbit <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits