diff options
Diffstat (limited to 'skins/Vector/skinStyles/jquery.ui/jquery.ui.button.css')
-rw-r--r-- | skins/Vector/skinStyles/jquery.ui/jquery.ui.button.css | 78 |
1 files changed, 53 insertions, 25 deletions
diff --git a/skins/Vector/skinStyles/jquery.ui/jquery.ui.button.css b/skins/Vector/skinStyles/jquery.ui/jquery.ui.button.css index 8c2286d1..d3bb7275 100644 --- a/skins/Vector/skinStyles/jquery.ui/jquery.ui.button.css +++ b/skins/Vector/skinStyles/jquery.ui/jquery.ui.button.css @@ -1,92 +1,118 @@ -/* Button -----------------------------------*/ - +/*! + * jQuery UI Button 1.11.2-alpha + * http://jqueryui.com + * + * Copyright 2012 jQuery Foundation and other contributors + * Released under the MIT license. + * http://jquery.org/license + * + * http://api.jqueryui.com/button/#theming + */ .ui-button { display: inline-block; position: relative; padding: 0; + line-height: normal; margin-right: .1em; - text-decoration: none !important; cursor: pointer; + vertical-align: middle; text-align: center; - zoom: 1; - overflow: visible; /* the overflow property removes extra width in IE */ + overflow: visible; /* removes extra width in IE */ +} +.ui-button, +.ui-button:link, +.ui-button:visited, +.ui-button:hover, +.ui-button:active { + text-decoration: none; +} +/* to make room for the icon, a width needs to be set here */ +.ui-button-icon-only { + width: 2.2em; +} +/* button elements seem to need a little more width */ +button.ui-button-icon-only { + width: 2.4em; +} +.ui-button-icons-only { + width: 3.4em; +} +button.ui-button-icons-only { + width: 3.7em; } -/*button text element */ +/* button text element */ .ui-button .ui-button-text { display: block; - line-height: 1.4; - text-shadow: 0 1px 1px #fff; + line-height: normal; } .ui-button-text-only .ui-button-text { - padding: 0.3em 1em 0.25em 1em; + padding: .4em 1em; } .ui-button-icon-only .ui-button-text, .ui-button-icons-only .ui-button-text { - padding: 0.3em; + padding: .4em; text-indent: -9999999px; } .ui-button-text-icon-primary .ui-button-text, .ui-button-text-icons .ui-button-text { - padding: 0.3em 1em 0.25em 2.1em; + padding: .4em 1em .4em 2.1em; } .ui-button-text-icon-secondary .ui-button-text, .ui-button-text-icons .ui-button-text { - padding: 0.3em 2.1em 0.25em 1em; + padding: .4em 2.1em .4em 1em; } .ui-button-text-icons .ui-button-text { padding-left: 2.1em; padding-right: 2.1em; } - /* no icon support for input elements, provide padding by default */ input.ui-button { - padding: 0.3em 1em; + padding: .4em 1em; } -/*button icon element(s) */ +/* button icon element(s) */ .ui-button-icon-only .ui-icon, .ui-button-text-icon-primary .ui-icon, .ui-button-text-icon-secondary .ui-icon, .ui-button-text-icons .ui-icon, -.ui-button-text-icon .ui-icon, .ui-button-icons-only .ui-icon { position: absolute; top: 50%; - margin-top: -9px; + margin-top: -8px; } .ui-button-icon-only .ui-icon { left: 50%; margin-left: -8px; } .ui-button-text-icon-primary .ui-button-icon-primary, -.ui-button-text-icon .ui-button-icon-primary, .ui-button-text-icons .ui-button-icon-primary, .ui-button-icons-only .ui-button-icon-primary { - left: 0.5em; + left: .5em; } .ui-button-text-icon-secondary .ui-button-icon-secondary, -.ui-button-text-icon .ui-button-icon-secondary, .ui-button-text-icons .ui-button-icon-secondary, .ui-button-icons-only .ui-button-icon-secondary { - right: 0.5em; + right: .5em; } -/*button sets*/ +/* button sets */ .ui-buttonset { margin-right: 7px; } .ui-buttonset .ui-button { margin-left: 0; - margin-right: -.4em; + margin-right: -.3em; } /* workarounds */ +/* reset extra padding in Firefox, see h5bp.com/l */ +input.ui-button::-moz-focus-inner, button.ui-button::-moz-focus-inner { border: 0; - padding: 0; /* reset extra padding in Firefox */ + padding: 0; } + /* Disables the annoying dashed border Firefox puts on active buttons */ body button.ui-button::-moz-focus-inner { border: 0; @@ -187,6 +213,8 @@ body .ui-button:active { filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f0f0f0', endColorstr='#d0d0d0', GradientType=0); /* IE6-8 */ } +/* Customizations for MediaWiki Vector */ + /* Green buttons */ body .ui-button-green, body .ui-button-green .ui-button-text { |