2012-07-19 00:11:26 +00:00
|
|
|
/**
|
|
|
|
* VisualEditor content editable Surface styles.
|
2012-07-19 21:25:16 +00:00
|
|
|
*
|
2012-07-19 00:11:26 +00:00
|
|
|
* @copyright 2011-2012 VisualEditor Team and others; see AUTHORS.txt
|
|
|
|
* @license The MIT License (MIT); see LICENSE.txt
|
|
|
|
*/
|
|
|
|
|
2012-04-04 18:53:23 +00:00
|
|
|
.ve-ce-surface {
|
2012-02-07 19:13:19 +00:00
|
|
|
overflow: hidden;
|
|
|
|
font-size: 1em; /* to look more like MediaWiki use: 0.8em */;
|
|
|
|
}
|
|
|
|
|
2012-04-04 18:53:23 +00:00
|
|
|
.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;
|
|
|
|
}
|
|
|
|
|
2012-04-04 18:53:23 +00:00
|
|
|
.ve-ce-surface-textarea:focus {
|
2012-02-07 19:13:19 +00:00
|
|
|
outline: none;
|
|
|
|
}
|
|
|
|
|
2012-04-04 18:53:23 +00:00
|
|
|
.ve-ce-surface-cursor {
|
2012-02-07 19:13:19 +00:00
|
|
|
position: absolute;
|
|
|
|
background-color: black;
|
|
|
|
width: 1px;
|
|
|
|
display: none;
|
|
|
|
}
|
2012-06-20 01:20:28 +00:00
|
|
|
|
|
|
|
#paste {
|
|
|
|
display: none;
|
|
|
|
height: 1px;
|
|
|
|
left: 0;
|
|
|
|
opacity: 0;
|
|
|
|
overflow: hidden;
|
|
|
|
position: fixed;
|
|
|
|
top: 0;
|
|
|
|
width: 1px;
|
|
|
|
}
|
|
|
|
#paste * {
|
|
|
|
height: 1px !important;
|
|
|
|
width: 1px !important;
|
|
|
|
}
|