mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-12-23 13:12:44 +00:00
d60c8d61aa
Follows-up 3cb2ccd87863abb8a99ed7d970730ae9e4138fcc. Various structural changes were made in jQuery UI 1.9, and the Vector theme was not updated to accommodate for those changes. There have also been lots of small improvements to the base theme (which is substituted inside the Vector theme) that were made over the past few releases that weren't backported (such as Ib099282484b for bug 67243). And there were two new modules in jQuery UI 1.9 (menu and spinner) that were lacking Vector theme stylesheets. Source files generated with http://jqueryui.com/themeroller by downloading the theme for v1.9.2 (except for jquery.ui.button.css). See the permalink in jquery.ui.theme.css. For jquery.ui.button.css, use latest master of jQuery UI 1.11.2-alpha: * https://github.com/jquery/jquery-ui/blob/8825d93dc8/themes/base/button.css This is from a newer version of jQuery UI but user MarkTraceur suggested the file for jquery.ui.button had fixes that were not backported to 1.9 and does not cause problems with Wikimedia Commons. Documented our patches in a PATCHES file. Change-Id: I2a31e4a3d969a966935a50392deafd756e2b9fca
31 lines
1.2 KiB
CSS
31 lines
1.2 KiB
CSS
/*!
|
|
* jQuery UI Menu 1.9.2
|
|
* http://jqueryui.com
|
|
*
|
|
* Copyright 2012 jQuery Foundation and other contributors
|
|
* Released under the MIT license.
|
|
* http://jquery.org/license
|
|
*
|
|
* http://docs.jquery.com/UI/Menu#theming
|
|
*/
|
|
.ui-menu { list-style:none; padding: 2px; margin: 0; display:block; outline: none; }
|
|
.ui-menu .ui-menu { margin-top: -3px; position: absolute; }
|
|
.ui-menu .ui-menu-item { margin: 0; padding: 0; zoom: 1; width: 100%; }
|
|
.ui-menu .ui-menu-divider { margin: 5px -2px 5px -2px; height: 0; font-size: 0; line-height: 0; border-width: 1px 0 0 0; }
|
|
.ui-menu .ui-menu-item a { text-decoration: none; display: block; padding: 2px .4em; line-height: 1.5; zoom: 1; font-weight: normal; }
|
|
.ui-menu .ui-menu-item a.ui-state-focus,
|
|
.ui-menu .ui-menu-item a.ui-state-active { font-weight: normal; margin: -1px; }
|
|
|
|
.ui-menu .ui-state-disabled { font-weight: normal; margin: .4em 0 .2em; line-height: 1.5; }
|
|
.ui-menu .ui-state-disabled a { cursor: default; }
|
|
|
|
/* icon support */
|
|
.ui-menu-icons { position: relative; }
|
|
.ui-menu-icons .ui-menu-item a { position: relative; padding-left: 2em; }
|
|
|
|
/* left-aligned */
|
|
.ui-menu .ui-icon { position: absolute; top: .2em; left: .2em; }
|
|
|
|
/* right-aligned */
|
|
.ui-menu .ui-menu-icon { position: static; float: right; }
|