mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-25 14:56:20 +00:00
9563f0880d
* Only show the inspector if the selected text has an inspectable annotation * Replace the inline menu with a toolbar containing inspectable annotations * Change the appearance of the inspector to match new mockups * Add the trash can icon for removing annotations * Move iframe handling code into a class that manages all that nonsense Change-Id: I840f72426f9a9e50054a28de950393f0e9913153
88 lines
1.7 KiB
CSS
88 lines
1.7 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;
|
|
-webkit-border-radius: 0.25em;
|
|
-moz-border-radius: 0.25em;
|
|
-o-border-radius: 0.25em;
|
|
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;
|
|
}
|