mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-25 14:56:20 +00:00
71f91dd92c
Change-Id: I34d9031c04bed4944d2b3cd184fed021fc31d4a9
46 lines
911 B
CSS
46 lines
911 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);
|
|
padding: 0.33em 0;
|
|
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.33em 1em;
|
|
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;
|
|
}
|