changing jquery.ui buttons to match assets from brandon, also adding separate graphic...
[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
72 /* Green buttons */
73
74 body .ui-button.ui-button-green {
75 color: white !important;
76 border-color: #97af7e !important;
77 /* @embed */
78 background: #3cb677 url(images/button-green.png) repeat-x scroll 50% 100% !important;
79 }
80 body .ui-button.ui-button-green:hover {
81 border-color: #778e61 !important;
82 /* @embed */
83 background: #339b65 url(images/button-green-hover.png) repeat-x scroll 50% 100% !important;
84 }
85 body .ui-button.ui-button-green-large {
86 color: white !important;
87 border-color: #97af7e !important;
88 /* @embed */
89 background: #3cb677 url(images/button-green-large.png) repeat-x scroll 50% 100% !important;
90 }
91 body .ui-button.ui-button-green-large:hover {
92 border-color: #778e61 !important;
93 /* @embed */
94 background: #339b65 url(images/button-green-hover-large.png) repeat-x scroll 50% 100% !important;
95 }
96 body .ui-button.ui-button-green.disabled, body .ui-button.ui-button-green-large.disabled {
97 filter:alpha(opacity=50);
98 -moz-opacity:0.50;
99 -khtml-opacity: 0.50;
100 opacity: 0.50;
101 }
102
103 /* Blue buttons */
104
105 body .ui-button.ui-button-blue {
106 color: white !important;
107 border-color: #628acb !important;
108 /* @embed */
109 background: #3365ba url(images/button-blue.png) repeat-x scroll 50% 100% !important;
110 }
111 body .ui-button.ui-button-blue:hover {
112 border-color: #5375ad !important;
113 /* @embed */
114 background: #2b569e url(images/button-blue-hover.png) repeat-x scroll 50% 100% !important;
115 }
116 body .ui-button.ui-button-blue-large {
117 color: white !important;
118 border-color: #628acb !important;
119 /* @embed */
120 background: #3365ba url(images/button-blue-large.png) repeat-x scroll 50% 100% !important;
121 }
122 body .ui-button.ui-button-blue-large:hover {
123 border-color: #5375ad !important;
124 /* @embed */
125 background: #2b569e url(images/button-blue-hover-large.png) repeat-x scroll 50% 100% !important;
126 }
127 body .ui-button.ui-button-blue.disabled, body .ui-button.ui-button-blue-large.disabled {
128 filter:alpha(opacity=50);
129 -moz-opacity:0.50;
130 -khtml-opacity: 0.50;
131 opacity: 0.50;
132 }
133
134 /* Red buttons */
135
136 body .ui-button.ui-button-red {
137 color: white !important;
138 border-color: #af977e !important;
139 /* @embed */
140 background: #cb0000 url(images/button-red.png) repeat-x scroll 50% 100% !important;
141 }
142 body .ui-button.ui-button-red:hover {
143 border-color: #8e7761 !important;
144 /* @embed */
145 background: #ad0000 url(images/button-red-hover.png) repeat-x scroll 50% 100% !important;
146 }
147 body .ui-button.ui-button-red-large {
148 color: white !important;
149 border-color: #af977e !important;
150 /* @embed */
151 background: #cb0000 url(images/button-red.png) repeat-x scroll 50% 100% !important;
152 }
153 body .ui-button.ui-button-red-large:hover {
154 border-color: #8e7761 !important;
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, body .ui-button.ui-button-red-large.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-large {
179 color: white !important;
180 border-color: #f3a863 !important;
181 /* @embed */
182 background: #f07f14 url(images/button-orange-large.png) repeat-x scroll 50% 100% !important;
183 }
184 body .ui-button.ui-button-orange-large:hover {
185 border-color: #ce9055 !important;
186 /* @embed */
187 background: #cc6c11 url(images/button-orange-hover-large.png) repeat-x scroll 50% 100% !important;
188 }
189 body .ui-button.ui-button-orange.disabled, body .ui-button.ui-button-orange-large.disabled {
190 filter:alpha(opacity=50);
191 -moz-opacity:0.50;
192 -khtml-opacity: 0.50;
193 opacity: 0.50;
194 }