Merge "Match text selection background colour to node highlight"

This commit is contained in:
jenkins-bot 2013-10-16 13:00:53 +00:00 committed by Gerrit Code Review
commit cb5c1fca93

View file

@ -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;