2012-02-27 00:49:51 +00:00
|
|
|
/*!
|
2010-07-14 19:55:54 +00:00
|
|
|
* jQuery UI Button @VERSION
|
2024-04-26 14:25:34 +00:00
|
|
|
* https://jqueryui.com
|
2010-07-14 19:55:54 +00:00
|
|
|
*
|
2022-07-19 07:36:55 +00:00
|
|
|
* Copyright OpenJS Foundation and other contributors
|
2012-08-09 14:13:24 +00:00
|
|
|
* Released under the MIT license.
|
2024-04-26 14:25:34 +00:00
|
|
|
* https://jquery.org/license
|
2010-07-14 19:55:54 +00:00
|
|
|
*
|
2024-04-26 14:25:34 +00:00
|
|
|
* https://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;
|
|
|
|
user-select: none;
|
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 */
|
2024-04-30 22:54:19 +00:00
|
|
|
/* Support: Firefox 5 - 125+ */
|
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;
|
|
|
|
}
|