mediawiki-extensions-Visual.../modules/ve/ce/styles/ve.ce.Surface.css

49 lines
793 B
CSS
Raw Normal View History

/**
* VisualEditor content editable Surface styles.
*
* @copyright 2011-2012 VisualEditor Team and others; see AUTHORS.txt
* @license The MIT License (MIT); see LICENSE.txt
*/
.ve-ce-surface {
2012-02-07 19:13:19 +00:00
overflow: hidden;
font-size: 1em; /* to look more like MediaWiki use: 0.8em */;
}
.ve-ce-surface-textarea {
2012-02-07 19:13:19 +00:00
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 {
2012-02-07 19:13:19 +00:00
outline: none;
}
.ve-ce-surface-cursor {
2012-02-07 19:13:19 +00:00
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;
}