mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-15 02:23:58 +00:00
a2eee63525
Also: * Simplified ve.ce.Surface.getLeafNode, which may be better to just be removed and be used inline in the few places it's being used. * Removed method wrapper for static function ve.ce.Surface.getLeafNode Change-Id: I1d4cf0bb7ecc8f07f030753e40a13ebef7d02daa
28 lines
426 B
CSS
28 lines
426 B
CSS
.ve-ce-surface {
|
|
overflow: hidden;
|
|
font-size: 1em; /* to look more like MediaWiki use: 0.8em */;
|
|
}
|
|
|
|
.ve-ce-surface-textarea {
|
|
position: absolute;
|
|
z-index: -1;
|
|
opacity: 0;
|
|
color: white;
|
|
background-color: white;
|
|
border: none;
|
|
padding: 0;
|
|
margin: 0;
|
|
width: 1px;
|
|
}
|
|
|
|
.ve-ce-surface-textarea:focus {
|
|
outline: none;
|
|
}
|
|
|
|
.ve-ce-surface-cursor {
|
|
position: absolute;
|
|
background-color: black;
|
|
width: 1px;
|
|
display: none;
|
|
}
|