mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-15 18:39:52 +00:00
a52d7ff65a
* Switched a lot of classes from es-* to ve-ui-* * Removed all the DOM structure left over from the old sandbox demo * Got rid of transparent backgrounds * Added menu font-size rule to stand-alone target * Moved some rules around that were in the wrong places * Got rid of some unused/unneeded methods in the mw target (attach and detach surface methods) * Added active class to context icon with shallower shadow effect so it doesn't break your spacial perception when you click on it * Renamed the iframe and iframe wrapper elements so it's easier to see where they came from * Removed unused CSS rules * Fixed some uses of prop( 'class', … ) to addClass Change-Id: I54a660ca0baf0baa4463faca7a1edcf648130b6b
38 lines
796 B
CSS
38 lines
796 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-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;
|
|
}
|