%PDF- %PDF-
Direktori : /www/varak.net/wiki.varak.net/extensions/VisualEditor/lib/ve/src/ce/styles/ |
Current File : /www/varak.net/wiki.varak.net/extensions/VisualEditor/lib/ve/src/ce/styles/ve.ce.Surface.css |
/*! * VisualEditor ContentEditable Surface styles. * * @copyright 2011-2016 VisualEditor Team and others; see http://ve.mit-license.org */ .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. */ } /* @noflip */ .ve-ce-surface-deactivatedSelection { position: absolute; top: 0; left: 0; opacity: 0.5; /* TODO: Support IE9 with JS mouse events */ pointer-events: none; /* stylelint-disable-line no-unsupported-browser-features */ } .ve-ce-surface-deactivatedSelection > div { position: absolute; background: #6da9f7; margin-top: -0.15em; padding: 0.15em 0; } .ve-ce-surface-deactivatedSelection-collapsed > div { background: #000; } /* Support: IE, Edge */ /* Set opacity directly on the highlights, rather than their containers, otherwise the opacity isn't applied at all */ .ve-init-target-ie-or-edge .ve-ce-surface-deactivatedSelection > div { opacity: 0.5; } /* @noflip */ .ve-ce-surface-highlights { position: absolute; top: 0; left: 0; } .ve-ce-surface-dropMarker { height: 1px; background: #999; pointer-events: none; /* stylelint-disable-line no-unsupported-browser-features */ position: absolute; } .ve-ce-surface-paste { position: fixed; /* stylelint-disable-line no-unsupported-browser-features */ /* FIXME T126024: Stop the viewport scrolling when the paste target 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; } .ve-ce-surface-paste * { height: 1px !important; /* stylelint-disable-line declaration-no-important */ } /* Support: IE */ /* Prevent IE from wrapping link text in <u> and <font color> tags */ .ve-init-target-ie-or-edge .ve-ce-surface-paste a { text-decoration: underline !important; /* stylelint-disable-line declaration-no-important */ color: #06c; } /* MediaWiki PHP Parser does not wrap text inside image captions in <p> but we do (cause we have to). * Let's make those <p> looks like they are not there by proper CSS styling. */ .ve-ce-surface .thumbcaption p.ve-ce-generated-wrapper { display: inline; padding: 0; line-height: inherit; } .ve-ce-surface .thumbcaption .ve-ce-branchNode-slug { display: none; } .ve-ce-cursorHolder { position: absolute; width: 0; height: 0; } .ve-ce-cursorHolder-img { width: 0; height: 0; } .ve-ce-cursorHolder-debug { width: 2px; height: 1em; border: 1px solid #f00; }