mediawiki-extensions-Visual.../modules/ve/ui/styles/ve.ui.Context.css
Trevor Parscal 5812c8babe Removed all browser-specific border-radius rules
These aren't needed for any of our target browsers anymore.

Change-Id: I86d1964f163827673c090b67a472254b73e365a4
2012-12-03 23:05:30 +01:00

85 lines
1.6 KiB
CSS

/**
* 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;
-webkit-box-shadow: 0 0.15em 0.5em 0 rgba(0, 0, 0, 0.2);
-moz-box-shadow: 0 0.15em 0.5em 0 rgba(0, 0, 0, 0.2);
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;
}