mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-09-25 03:08:42 +00:00
Merge "Match text selection background colour to node highlight"
This commit is contained in:
commit
cb5c1fca93
|
@ -12,6 +12,16 @@
|
|||
overflow: hidden;
|
||||
}
|
||||
|
||||
/*
|
||||
* Don't bother with -moz-selection becase Firefox 24 only
|
||||
* supports overriding text selection colour, not images
|
||||
* (i.e. any focusable nodes)
|
||||
*/
|
||||
.ve-ce-documentNode::selection,
|
||||
.ve-ce-documentNode *::selection {
|
||||
background: rgba(109, 169, 247, 0.5); /* #6da9f7 */
|
||||
}
|
||||
|
||||
/* Prevent focus outline on editor */
|
||||
.ve-ce-documentNode[contenteditable="true"]:focus {
|
||||
outline: none;
|
||||
|
|
Loading…
Reference in a new issue