Page MenuHomeWickedGov Phorge

ve.ce.Surface.less
No OneTemporary

Size
1 KB
Referenced Files
None
Subscribers
None

ve.ce.Surface.less

/*!
* VisualEditor ContentEditable Surface styles.
*
* @copyright See AUTHORS.txt
*/
.ve-ce-surface {
/* Create a new stacking context for elements inside the surface */
position: relative;
z-index: 0;
/*
Remember, don't set font-size here.
Should be inherited from the VE target container.
*/
flex: 1;
/*
* Override the flex box default which expands min-width to the content size:
* https://developer.mozilla.org/en-US/docs/Web/CSS/min-width#auto
*
* Without this the surface won't let itself be narrower than its
* widest content, causing issues with long lines of text,
* tables, floated elements, etc.
*/
min-width: 0;
&-dropMarker {
height: 1px;
background: #72777d;
pointer-events: none;
position: absolute;
}
/* Review mode */
&-reviewMode {
pointer-events: none;
&-highlightNodes .ve-ce-attachedRootNode > :not( .ve-ce-surface-reviewMode-highlightNode ) {
opacity: 0.5;
}
}
&-paused {
opacity: 0.5;
}
&-clipboardHandler {
position: fixed;
/* FIXME T126024: Stop the viewport scrolling when the clipboard handler is typed into */
top: 3em;
left: 0;
/* Try to avoid wrapping by not setting a width because of https://code.google.com/p/chromium/issues/detail?id=318925 */
height: 1px;
opacity: 0;
overflow: hidden;
* {
height: 1px !important; /* stylelint-disable-line declaration-no-important */
}
}
}
.ve-ce-cursorHolder {
position: absolute;
width: 0;
height: 0;
&-img {
width: 0;
height: 0;
}
&-debug {
width: 2px;
height: 1em;
border: 1px solid #b32424;
}
}

File Metadata

Mime Type
text/plain
Expires
Sun, Nov 22, 05:24 (1 d, 2 h)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
d2/c6/d5643cc02008dd50ccce5c4dbc22
Default Alt Text
ve.ce.Surface.less (1 KB)

Event Timeline