mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-15 18:39:52 +00:00
5812c8babe
These aren't needed for any of our target browsers anymore. Change-Id: I86d1964f163827673c090b67a472254b73e365a4
85 lines
1.6 KiB
CSS
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;
|
|
}
|