| 1 |
/*! |
| 2 |
* VisualEditor ContentEditable LanguageAnnotation styles. |
| 3 |
* |
| 4 |
* @copyright See AUTHORS.txt |
| 5 |
*/ |
| 6 |
|
| 7 |
.ve-ce-linkAnnotation { |
| 8 |
&.ve-ce-annotation-active { |
| 9 |
box-shadow: 0 0 0 1px #c6e0ff; |
| 10 |
border-radius: 2px; |
| 11 |
padding: 2px; |
| 12 |
margin: -2px; |
| 13 |
background-color: #e6f1ff; |
| 14 |
|
| 15 |
.ve-init-mobileTarget .ve-ce-surface:not( .ve-ce-surface-deactivated ) & { |
| 16 |
box-shadow: 0 0 0 1px #36c; |
| 17 |
background-color: transparent; |
| 18 |
} |
| 19 |
} |
| 20 |
} |
| 21 |
|
| 22 |
.ve-ce-nail::selection { /* stylelint-disable-line plugin/no-unsupported-browser-features */ |
| 23 |
/* T373868 */ |
| 24 |
background-color: transparent; |
| 25 |
} |
| 26 |
|
| 27 |
.ve-ce-nail:not( .ve-ce-nail-debug ) { |
| 28 |
/* |
| 29 |
* Give nail some width to trick layout engine into creating a cursor |
| 30 |
* position after it even at the end of a paragraph (T274068) |
| 31 |
*/ |
| 32 |
width: 0.1px; |
| 33 |
height: 0; |
| 34 |
} |
| 35 |
|
| 36 |
.ve-ce-nail-debug { |
| 37 |
vertical-align: middle; |
| 38 |
} |
| 39 |
|
| 40 |
.ve-init-target-ctrl-meta-down .ve-ce-linkAnnotation { |
| 41 |
cursor: pointer; |
| 42 |
} |