AJAXify watchlist editor
[lhc/web/wiklou.git] / resources / jquery.ui / themes / vector / jquery.ui.button.css
1 /* Button
2 ----------------------------------*/
3
4 .ui-button { display: inline-block; position: relative; padding: 0; margin-right: .1em; text-decoration: none !important; cursor: pointer; text-align: center; zoom: 1; overflow: visible; } /* the overflow property removes extra width in IE */
5 .ui-button-icon-only { width: 2.2em; } /* to make room for the icon, a width needs to be set here */
6 button.ui-button-icon-only { width: 2.4em; } /* button elements seem to need a little more width */
7 .ui-button-icons-only { width: 3.4em; }
8 button.ui-button-icons-only { width: 3.7em; }
9
10 /*button text element */
11 .ui-button .ui-button-text { display: block; line-height: 1.4em; }
12 .ui-button-text-only .ui-button-text { padding: 0.3em 1em 0.25em 1em; }
13 .ui-button-icon-only .ui-button-text, .ui-button-icons-only .ui-button-text { padding: 0.3em; text-indent: -9999999px; }
14 .ui-button-text-icon-primary .ui-button-text, .ui-button-text-icons .ui-button-text { padding: 0.3em 1em 0.25em 2.1em; }
15 .ui-button-text-icon-secondary .ui-button-text, .ui-button-text-icons .ui-button-text { padding: 0.3em 2.1em 0.25em 1em; }
16 .ui-button-text-icons .ui-button-text { padding-left: 2.1em; padding-right: 2.1em; }
17 /* for older versions of jQuery UI */
18 .ui-button-text-icon .ui-button-text { padding: 0.3em 1em 0.3em 2.1em; }
19
20 /* no icon support for input elements, provide padding by default */
21 input.ui-button { padding: 0.3em 1em; }
22
23 /*button icon element(s) */
24 .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; }
25 .ui-button-icon-only .ui-icon { left: 50%; margin-left: -8px; }
26 .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; }
27 .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; }
28
29 /*button sets*/
30 .ui-buttonset { margin-right: 7px; }
31 .ui-buttonset .ui-button { margin-left: 0; margin-right: -.3em; }
32
33 /* workarounds */
34 button.ui-button::-moz-focus-inner { border: 0; padding: 0; } /* reset extra padding in Firefox */
35
36 body .ui-button {
37 -moz-border-radius: 4px;
38 -webkit-border-radius: 4px;
39 border-radius: 4px;
40 margin: 0.5em 0 0.5em 0.4em !important;
41 border: 1px solid #a6a6a6 !important;
42 /* @embed */
43 background: #f2f2f2 url(images/button-off.png) repeat-x scroll 50% 100% !important;
44 cursor: pointer;
45 font-size: 1em;
46 line-height: 1.4em;
47 width: auto;
48 overflow: visible;
49 }
50 body .ui-button:hover {
51 border-color: #6e7273;
52 /* @embed */
53 background: #e1e1e1 url(images/button-over.png) repeat-x scroll 50% 100% !important;
54 }
55 body .ui-button:active,
56 body .ui-button:focus {
57 border-color: #707271;
58 /* @embed */
59 background: #bfbfbf url(images/button-down.png) repeat-x scroll 50% 100% !important;
60 }
61 body .ui-button.disabled {
62 color: #7f7f7f;
63 border-color: #cccccc;
64 /* @embed */
65 background: #f2f2f2 url(images/button-disabled.png) repeat-x scroll 50% 100% !important;
66 }
67 /* Disables the annoying dashed border Firefox puts on active buttons */
68 body button.ui-button::-moz-focus-inner {
69 border: 0;
70 }
71 /* Give large buttons some extra padding */
72 body .ui-button-large {
73 padding: 5px;
74 }
75 /* Use white icons for colored buttons */
76 .ui-button-green .ui-icon, .ui-button-blue .ui-icon, .ui-button-red .ui-icon, .ui-button-orange .ui-icon {
77 /* @embed */
78 background-image: url(images/ui-icons_ffffff_256x240.png) !important;
79 }
80
81 /* Green buttons */
82
83 body .ui-button.ui-button-green {
84 color: white !important;
85 border-color: #97af7e !important;
86 /* @embed */
87 background: #3cb677 url(images/button-green.png) repeat-x scroll 50% 100% !important;
88 }
89 body .ui-button.ui-button-green:hover {
90 border-color: #778e61 !important;
91 /* @embed */
92 background: #339b65 url(images/button-green-hover.png) repeat-x scroll 50% 100% !important;
93 }
94 body .ui-button.ui-button-green.ui-button-large {
95 /* @embed */
96 background: #3cb677 url(images/button-green-large.png) repeat-x scroll 50% 100% !important;
97 }
98 body .ui-button.ui-button-green.ui-button-large:hover {
99 /* @embed */
100 background: #339b65 url(images/button-green-hover-large.png) repeat-x scroll 50% 100% !important;
101 }
102 body .ui-button.ui-button-green.disabled {
103 filter:alpha(opacity=50);
104 -moz-opacity:0.50;
105 -khtml-opacity: 0.50;
106 opacity: 0.50;
107 }
108
109 /* Blue buttons */
110
111 body .ui-button.ui-button-blue {
112 color: white !important;
113 border-color: #628acb !important;
114 /* @embed */
115 background: #3365ba url(images/button-blue.png) repeat-x scroll 50% 100% !important;
116 }
117 body .ui-button.ui-button-blue:hover {
118 border-color: #5375ad !important;
119 /* @embed */
120 background: #2b569e url(images/button-blue-hover.png) repeat-x scroll 50% 100% !important;
121 }
122 body .ui-button.ui-button-blue.ui-button-large {
123 /* @embed */
124 background: #3365ba url(images/button-blue-large.png) repeat-x scroll 50% 100% !important;
125 }
126 body .ui-button.ui-button-blue.ui-button-large:hover {
127 /* @embed */
128 background: #2b569e url(images/button-blue-hover-large.png) repeat-x scroll 50% 100% !important;
129 }
130 body .ui-button.ui-button-blue.disabled {
131 filter:alpha(opacity=50);
132 -moz-opacity:0.50;
133 -khtml-opacity: 0.50;
134 opacity: 0.50;
135 }
136
137 /* Red buttons */
138
139 body .ui-button.ui-button-red {
140 color: white !important;
141 border-color: #af977e !important;
142 /* @embed */
143 background: #cb0000 url(images/button-red.png) repeat-x scroll 50% 100% !important;
144 }
145 body .ui-button.ui-button-red:hover {
146 border-color: #8e7761 !important;
147 /* @embed */
148 background: #ad0000 url(images/button-red-hover.png) repeat-x scroll 50% 100% !important;
149 }
150 body .ui-button.ui-button-red.ui-button-large {
151 /* @embed */
152 background: #cb0000 url(images/button-red.png) repeat-x scroll 50% 100% !important;
153 }
154 body .ui-button.ui-button-red.ui-button-large:hover {
155 /* @embed */
156 background: #ad0000 url(images/button-red-hover.png) repeat-x scroll 50% 100% !important;
157 }
158 body .ui-button.ui-button-red.disabled {
159 filter:alpha(opacity=50);
160 -moz-opacity:0.50;
161 -khtml-opacity: 0.50;
162 opacity: 0.50;
163 }
164
165 /* Orange buttons */
166
167 body .ui-button.ui-button-orange {
168 color: white !important;
169 border-color: #f3a863 !important;
170 /* @embed */
171 background: #f07f14 url(images/button-orange.png) repeat-x scroll 50% 100% !important;
172 }
173 body .ui-button.ui-button-orange:hover {
174 border-color: #ce9055 !important;
175 /* @embed */
176 background: #cc6c11 url(images/button-orange-hover.png) repeat-x scroll 50% 100% !important;
177 }
178 body .ui-button.ui-button-orange.ui-button-large {
179 /* @embed */
180 background: #f07f14 url(images/button-orange-large.png) repeat-x scroll 50% 100% !important;
181 }
182 body .ui-button.ui-button-orange.ui-button-large:hover {
183 /* @embed */
184 background: #cc6c11 url(images/button-orange-hover-large.png) repeat-x scroll 50% 100% !important;
185 }
186 body .ui-button.ui-button-orange.disabled {
187 filter:alpha(opacity=50);
188 -moz-opacity:0.50;
189 -khtml-opacity: 0.50;
190 opacity: 0.50;
191 }