mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-12-22 04:32:55 +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
67 lines
4 KiB
CSS
67 lines
4 KiB
CSS
/*!
|
|
* jQuery UI Datepicker 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/Datepicker#theming
|
|
*/
|
|
.ui-datepicker { width: 17em; padding: .2em .2em 0; display: none; }
|
|
.ui-datepicker .ui-datepicker-header { position:relative; padding:.2em 0; }
|
|
.ui-datepicker .ui-datepicker-prev, .ui-datepicker .ui-datepicker-next { position:absolute; top: 2px; width: 1.8em; height: 1.8em; }
|
|
.ui-datepicker .ui-datepicker-prev-hover, .ui-datepicker .ui-datepicker-next-hover { top: 1px; }
|
|
.ui-datepicker .ui-datepicker-prev { left:2px; }
|
|
.ui-datepicker .ui-datepicker-next { right:2px; }
|
|
.ui-datepicker .ui-datepicker-prev-hover { left:1px; }
|
|
.ui-datepicker .ui-datepicker-next-hover { right:1px; }
|
|
.ui-datepicker .ui-datepicker-prev span, .ui-datepicker .ui-datepicker-next span { display: block; position: absolute; left: 50%; margin-left: -8px; top: 50%; margin-top: -8px; }
|
|
.ui-datepicker .ui-datepicker-title { margin: 0 2.3em; line-height: 1.8em; text-align: center; }
|
|
.ui-datepicker .ui-datepicker-title select { font-size:1em; margin:1px 0; }
|
|
.ui-datepicker select.ui-datepicker-month-year {width: 100%;}
|
|
.ui-datepicker select.ui-datepicker-month,
|
|
.ui-datepicker select.ui-datepicker-year { width: 49%;}
|
|
.ui-datepicker table {width: 100%; font-size: .9em; border-collapse: collapse; margin:0 0 .4em; }
|
|
.ui-datepicker th { padding: .7em .3em; text-align: center; font-weight: bold; border: 0; }
|
|
.ui-datepicker td { border: 0; padding: 1px; }
|
|
.ui-datepicker td span, .ui-datepicker td a { display: block; padding: .2em; text-align: right; text-decoration: none; }
|
|
.ui-datepicker .ui-datepicker-buttonpane { background-image: none; margin: .7em 0 0 0; padding:0 .2em; border-left: 0; border-right: 0; border-bottom: 0; }
|
|
.ui-datepicker .ui-datepicker-buttonpane button { float: right; margin: .5em .2em .4em; cursor: pointer; padding: .2em .6em .3em .6em; width:auto; overflow:visible; }
|
|
.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current { float:left; }
|
|
|
|
/* with multiple calendars */
|
|
.ui-datepicker.ui-datepicker-multi { width:auto; }
|
|
.ui-datepicker-multi .ui-datepicker-group { float:left; }
|
|
.ui-datepicker-multi .ui-datepicker-group table { width:95%; margin:0 auto .4em; }
|
|
.ui-datepicker-multi-2 .ui-datepicker-group { width:50%; }
|
|
.ui-datepicker-multi-3 .ui-datepicker-group { width:33.3%; }
|
|
.ui-datepicker-multi-4 .ui-datepicker-group { width:25%; }
|
|
.ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header { border-left-width:0; }
|
|
.ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header { border-left-width:0; }
|
|
.ui-datepicker-multi .ui-datepicker-buttonpane { clear:left; }
|
|
.ui-datepicker-row-break { clear:both; width:100%; font-size:0em; }
|
|
|
|
/* RTL support */
|
|
/* @noflip */ .ui-datepicker-rtl { direction: rtl; }
|
|
/* @noflip */ .ui-datepicker-rtl .ui-datepicker-prev { right: 2px; left: auto; }
|
|
/* @noflip */ .ui-datepicker-rtl .ui-datepicker-next { left: 2px; right: auto; }
|
|
/* @noflip */ .ui-datepicker-rtl .ui-datepicker-prev:hover { right: 1px; left: auto; }
|
|
/* @noflip */ .ui-datepicker-rtl .ui-datepicker-next:hover { left: 1px; right: auto; }
|
|
/* @noflip */ .ui-datepicker-rtl .ui-datepicker-buttonpane { clear:right; }
|
|
/* @noflip */ .ui-datepicker-rtl .ui-datepicker-buttonpane button { float: left; }
|
|
/* @noflip */ .ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current { float:right; }
|
|
/* @noflip */ .ui-datepicker-rtl .ui-datepicker-group { float:right; }
|
|
/* @noflip */ .ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header { border-right-width:0; border-left-width:1px; }
|
|
/* @noflip */ .ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header { border-right-width:0; border-left-width:1px; }
|
|
|
|
/* IE6 IFRAME FIX (taken from datepicker 1.5.3 */
|
|
.ui-datepicker-cover {
|
|
position: absolute; /*must have*/
|
|
z-index: -1; /*must have*/
|
|
filter: mask(); /*must have*/
|
|
top: -4px; /*must have*/
|
|
left: -4px; /*must have*/
|
|
width: 200px; /*must have*/
|
|
height: 200px; /*must have*/
|
|
} |