mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-15 18:39:52 +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
45 lines
892 B
CSS
45 lines
892 B
CSS
/**
|
|
* VisualEditor user interface Menu styles.
|
|
*
|
|
* @copyright 2011-2012 VisualEditor Team and others; see AUTHORS.txt
|
|
* @license The MIT License (MIT); see LICENSE.txt
|
|
*/
|
|
|
|
.ve-ui-menu {
|
|
display: none;
|
|
position: absolute;
|
|
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.25em 1em 0 rgba(0, 0, 0, 0.25);
|
|
-moz-box-shadow: 0 0.25em 1em 0 rgba(0, 0, 0, 0.25);
|
|
box-shadow: 0 0.25em 1em 0 rgba(0, 0, 0, 0.25);
|
|
z-index: 3;
|
|
}
|
|
|
|
.ve-ui-context-position-above .ve-ui-menu {
|
|
bottom: 0;
|
|
}
|
|
|
|
.ve-ui-context-position-below .ve-ui-menu {
|
|
top: 0;
|
|
}
|
|
|
|
.ve-ui-menu-item {
|
|
padding: 0.6em 0.8em;
|
|
cursor: pointer;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.ve-ui-menu-item:hover {
|
|
background-color: #b3d6f6;
|
|
}
|
|
|
|
.ve-ui-menu-break {
|
|
margin: 0.33em 0;
|
|
border-top: solid 1px #ddd;
|
|
}
|