/*! * VisualEditor user interface Context styles. * * @copyright 2011-2012 VisualEditor Team and others; see AUTHORS.txt * @license The MIT License (MIT); see LICENSE.txt */ .ve-ui-context { position: absolute; z-index: 2; visibility: hidden; } .ve-ui-context-callout { position: absolute; /* @embed */ background-image: url(images/callout.svg); background-repeat: no-repeat; width: 15px; height: 8px; cursor: pointer; right: -7px; z-index: 4; } .ve-ui-context-inner { margin-top: 7px; position: absolute; overflow: hidden; border: solid 1px #ccc; border-radius: 0.25em; background-color: #fff; box-shadow: 0 0.15em 0.5em 0 rgba(0, 0, 0, 0.2); } .ve-ui-context-inspectors, .ve-ui-context-menu { position: absolute; z-index: 2; } .ve-ui-context-toolbar { white-space: nowrap; } .ve-ui-context-toolbar .ve-ui-toolbarGroup { border: none; } .ve-ui-context-toolbar .ve-ui-buttonTool { padding: 0.25em; height: 1.25em; width: 1.25em; margin: 0.05em; border: none; } .ve-ui-context-toolbar .ve-ui-buttonTool:before { content: " "; position: absolute; display: block; height: 1.25em; width: 1.25em; background-position: center center; background-repeat: no-repeat; border: none; } .ve-ui-context-toolbar .ve-ui-buttonTool:hover { border: none; } .ve-ui-context-toolbar .ve-ui-buttonTool:active, .ve-ui-context-toolbar .ve-ui-buttonTool-active { background-image: none; } .ve-ui-context-frame-overlay { position: absolute; top: 0; left: 0; margin-top: 4px; }