mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-30 00:55:00 +00:00
2bd615c6d2
Change-Id: Ic3b99d39bd41a8fe39e015ca05d159a5a4ea2b15
42 lines
611 B
CSS
42 lines
611 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;
|
|
}
|
|
|
|
#paste {
|
|
display: none;
|
|
height: 1px;
|
|
left: 0;
|
|
opacity: 0;
|
|
overflow: hidden;
|
|
position: fixed;
|
|
top: 0;
|
|
width: 1px;
|
|
}
|
|
#paste * {
|
|
height: 1px !important;
|
|
width: 1px !important;
|
|
} |