Debian Codegraph @

themes/base/button.css

raw symbols SCIP
1 /*!
2 * jQuery UI Button 1.14.2
3 * https://jqueryui.com
4 *
5 * Copyright OpenJS Foundation and other contributors
6 * Released under the MIT license.
7 * https://jquery.org/license
8 *
9 * https://api.jqueryui.com/button/#theming
10 */
11 .ui-button {
12 padding: .4em 1em;
13 display: inline-block;
14 position: relative;
15 line-height: normal;
16 margin-right: .1em;
17 cursor: pointer;
18 vertical-align: middle;
19 text-align: center;
20 -webkit-user-select: none;
21 user-select: none;
22 }
23
24 .ui-button,
25 .ui-button:link,
26 .ui-button:visited,
27 .ui-button:hover,
28 .ui-button:active {
29 text-decoration: none;
30 }
31
32 /* to make room for the icon, a width needs to be set here */
33 .ui-button-icon-only {
34 width: 2em;
35 box-sizing: border-box;
36 text-indent: -9999px;
37 white-space: nowrap;
38 }
39
40 /* no icon support for input elements */
41 input.ui-button.ui-button-icon-only {
42 text-indent: 0;
43 }
44
45 /* button icon element(s) */
46 .ui-button-icon-only .ui-icon {
47 position: absolute;
48 top: 50%;
49 left: 50%;
50 margin-top: -8px;
51 margin-left: -8px;
52 }
53
54 .ui-button.ui-icon-notext .ui-icon {
55 padding: 0;
56 width: 2.1em;
57 height: 2.1em;
58 text-indent: -9999px;
59 white-space: nowrap;
60
61 }
62
63 input.ui-button.ui-icon-notext .ui-icon {
64 width: auto;
65 height: auto;
66 text-indent: 0;
67 white-space: normal;
68 padding: .4em 1em;
69 }
70
71 /* workarounds */
72 /* Support: Firefox 5 - 125+ */
73 input.ui-button::-moz-focus-inner,
74 button.ui-button::-moz-focus-inner {
75 border: 0;
76 padding: 0;
77 }