2012-02-27 00:49:51 +00:00
|
|
|
/*!
|
2010-07-14 19:55:54 +00:00
|
|
|
* jQuery UI Button @VERSION
|
2012-07-04 13:08:08 +00:00
|
|
|
* http://jqueryui.com
|
2010-07-14 19:55:54 +00:00
|
|
|
*
|
2014-12-21 18:27:43 +00:00
|
|
|
* Copyright jQuery Foundation and other contributors
|
2012-08-09 14:13:24 +00:00
|
|
|
* Released under the MIT license.
|
2010-07-14 19:55:54 +00:00
|
|
|
* http://jquery.org/license
|
|
|
|
*
|
2013-06-06 02:03:09 +00:00
|
|
|
* http://api.jqueryui.com/button/#theming
|
2010-07-14 19:55:54 +00:00
|
|
|
*/
|
2012-11-20 00:29:01 +00:00
|
|
|
.ui-button {
|
2014-01-22 17:02:32 +00:00
|
|
|
padding: .4em 1em;
|
2012-11-20 00:29:01 +00:00
|
|
|
display: inline-block;
|
|
|
|
position: relative;
|
2012-11-29 17:30:17 +00:00
|
|
|
line-height: normal;
|
2012-11-20 00:29:01 +00:00
|
|
|
margin-right: .1em;
|
|
|
|
cursor: pointer;
|
2012-11-29 17:30:17 +00:00
|
|
|
vertical-align: middle;
|
2012-11-20 00:29:01 +00:00
|
|
|
text-align: center;
|
2014-01-22 17:02:32 +00:00
|
|
|
-webkit-user-select: none;
|
|
|
|
-moz-user-select: none;
|
|
|
|
-ms-user-select: none;
|
|
|
|
user-select: none;
|
|
|
|
|
|
|
|
/* Support: IE <= 11 */
|
|
|
|
overflow: visible;
|
2012-11-20 00:29:01 +00:00
|
|
|
}
|
2014-01-22 17:02:32 +00:00
|
|
|
|
2012-11-20 00:29:01 +00:00
|
|
|
.ui-button,
|
|
|
|
.ui-button:link,
|
|
|
|
.ui-button:visited,
|
|
|
|
.ui-button:hover,
|
|
|
|
.ui-button:active {
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
2014-01-22 17:02:32 +00:00
|
|
|
|
2012-11-20 00:29:01 +00:00
|
|
|
/* to make room for the icon, a width needs to be set here */
|
|
|
|
.ui-button-icon-only {
|
2014-01-22 17:02:32 +00:00
|
|
|
width: 2em;
|
|
|
|
box-sizing: border-box;
|
|
|
|
text-indent: -9999px;
|
|
|
|
white-space: nowrap;
|
2012-11-20 00:29:01 +00:00
|
|
|
}
|
2010-01-07 03:19:50 +00:00
|
|
|
|
2014-01-22 17:02:32 +00:00
|
|
|
/* no icon support for input elements */
|
|
|
|
input.ui-button.ui-button-icon-only {
|
|
|
|
text-indent: 0;
|
2012-11-20 00:29:01 +00:00
|
|
|
}
|
2010-01-07 03:19:50 +00:00
|
|
|
|
2012-11-20 00:29:01 +00:00
|
|
|
/* button icon element(s) */
|
2014-01-22 17:02:32 +00:00
|
|
|
.ui-button-icon-only .ui-icon {
|
2012-11-20 00:29:01 +00:00
|
|
|
position: absolute;
|
|
|
|
top: 50%;
|
|
|
|
left: 50%;
|
2014-01-22 17:02:32 +00:00
|
|
|
margin-top: -8px;
|
2012-11-20 00:29:01 +00:00
|
|
|
margin-left: -8px;
|
|
|
|
}
|
2010-01-07 03:19:50 +00:00
|
|
|
|
2014-08-23 03:39:35 +00:00
|
|
|
.ui-button.ui-icon-notext .ui-icon {
|
|
|
|
padding: 0;
|
|
|
|
width: 2.1em;
|
|
|
|
height: 2.1em;
|
|
|
|
text-indent: -9999px;
|
|
|
|
white-space: nowrap;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
input.ui-button.ui-icon-notext .ui-icon {
|
|
|
|
width: auto;
|
|
|
|
height: auto;
|
|
|
|
text-indent: 0;
|
|
|
|
white-space: normal;
|
|
|
|
padding: .4em 1em;
|
|
|
|
}
|
|
|
|
|
2010-01-07 03:19:50 +00:00
|
|
|
/* workarounds */
|
2015-09-16 05:48:03 +00:00
|
|
|
/* Support: Firefox 5 - 40 */
|
2012-11-29 17:30:17 +00:00
|
|
|
input.ui-button::-moz-focus-inner,
|
2012-11-20 00:29:01 +00:00
|
|
|
button.ui-button::-moz-focus-inner {
|
|
|
|
border: 0;
|
|
|
|
padding: 0;
|
|
|
|
}
|