mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-15 03:34:25 +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
49 lines
2.1 KiB
CSS
49 lines
2.1 KiB
CSS
/*!
|
|
* jQuery UI Dialog 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/Dialog#theming
|
|
*/
|
|
.ui-dialog { position: absolute; top: 0; left: 0; padding: .2em; width: 300px; overflow: hidden; }
|
|
.ui-dialog .ui-dialog-titlebar { padding: .4em 1em; position: relative; }
|
|
.ui-dialog .ui-dialog-title { float: left; margin: .1em 16px .1em 0; }
|
|
.ui-dialog .ui-dialog-titlebar-close { position: absolute; right: .3em; top: 50%; width: 19px; margin: -10px 0 0 0; padding: 1px; height: 18px; }
|
|
.ui-dialog .ui-dialog-titlebar-close span { display: block; margin: 1px; }
|
|
.ui-dialog .ui-dialog-titlebar-close:hover, .ui-dialog .ui-dialog-titlebar-close:focus { padding: 0; }
|
|
.ui-dialog .ui-dialog-content { position: relative; border: 0; padding: .5em 1em; background: none; overflow: auto; zoom: 1; }
|
|
.ui-dialog .ui-dialog-buttonpane { text-align: left; border-width: 1px 0 0 0; background-image: none; margin: .5em 0 0 0; padding: .3em 1em .5em .4em; }
|
|
.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset { float: right; }
|
|
.ui-dialog .ui-dialog-buttonpane button { margin: .5em .4em .5em 0; cursor: pointer; }
|
|
.ui-dialog .ui-resizable-se { width: 14px; height: 14px; right: 3px; bottom: 3px; }
|
|
.ui-draggable .ui-dialog-titlebar { cursor: move; }
|
|
|
|
/* Customizations for MediaWiki Vector */
|
|
|
|
body .ui-dialog .ui-dialog-titlebar-close:hover {
|
|
text-decoration: none;
|
|
}
|
|
body .ui-dialog .ui-dialog-content .status-invalid input {
|
|
border: 2px solid red;
|
|
padding: 2px 1px;
|
|
}
|
|
body .ui-dialog .ui-dialog-titlebar {
|
|
padding: 0.9em 1.4em 0.6em !important;
|
|
}
|
|
body .ui-dialog .ui-widget-header {
|
|
/* @embed */
|
|
background: #f0f0f0 url(images/titlebar-fade.png) repeat-x scroll 50% 100% !important;
|
|
}
|
|
/* FIXME: Should just update the icon sprite if we're keeping this X */
|
|
body .ui-dialog .ui-icon-closethick {
|
|
/* @embed */
|
|
background: url(images/close.png) no-repeat 50% 50% !important;
|
|
}
|
|
body .ui-dialog .ui-dialog-buttonpane {
|
|
margin-top: 0 !important;
|
|
padding:0.3em 1.4em 0.5em 1.4em !important;
|
|
}
|