/*! * VisualEditor UserInterface Context styles. * * @copyright See AUTHORS.txt */ .ve-ui-desktopContext { position: absolute; &-menu { position: absolute; width: 400px; .oo-ui-toolbar-bar { white-space: nowrap; border: 0; background: none; } .oo-ui-toolGroup { border: 0; margin: 0; } .oo-ui-tool, .oo-ui-tool:hover { border: 0; } .oo-ui-tool:active, .oo-ui-tool-active { background-image: none; } } &-floating { position: fixed; } &-embedded { /* Delay enabling of pointer events for 500ms to allow double click on the FocusableNode to happen (T391399) */ pointer-events: none; animation: enablePointerEvents 0s 500ms forwards; & > .oo-ui-popupWidget > .oo-ui-popupWidget-popup { margin-top: 0.25em; margin-right: 0.25em; } } } @keyframes enablePointerEvents { to { pointer-events: auto; } }