/*! * VisualEditor UserInterface Context styles. * * @copyright 2011-2013 VisualEditor Team and others; see AUTHORS.txt * @license The MIT License (MIT); see LICENSE.txt */ .ve-ui-context { position: absolute; z-index: 2; } .ve-ui-context-callout { position: absolute; /* @embed */ background-image: url(images/callout.svg); background-repeat: no-repeat; width: 15px; height: 8px; margin-left: -7px; z-index: 4; } .ve-ui-context-body { 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-body-transition { -webkit-transition: width 100ms, height 100ms, left 100ms; -moz-transition: width 100ms, height 100ms, left 100ms; -ms-transition: width 100ms, height 100ms, left 100ms; -o-transition: width 100ms, height 100ms, left 100ms; transition: width 100ms, height 100ms, left 100ms; -webkit-transition-timing-function: ease-in-out; -moz-transition-timing-function: ease-in-out; -ms-transition-timing-function: ease-in-out; -o-transition-timing-function: ease-in-out; transition-timing-function: ease-in-out; } .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; padding: 0.1em; } .ve-ui-context-toolbar .ve-ui-buttonTool, .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; }