bootstrap-switch-rails-bcj-version 3.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,519 @@
1
+ /* ========================================================================
2
+ * bootstrap-switch - v3.3.2
3
+ * http://www.bootstrap-switch.org
4
+ * ========================================================================
5
+ * Copyright 2012-2013 Mattia Larentis
6
+ *
7
+ * ========================================================================
8
+ * Licensed under the Apache License, Version 2.0 (the "License");
9
+ * you may not use this file except in compliance with the License.
10
+ * You may obtain a copy of the License at
11
+ *
12
+ * http://www.apache.org/licenses/LICENSE-2.0
13
+ *
14
+ * Unless required by applicable law or agreed to in writing, software
15
+ * distributed under the License is distributed on an "AS IS" BASIS,
16
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17
+ * See the License for the specific language governing permissions and
18
+ * limitations under the License.
19
+ * ========================================================================
20
+ */
21
+
22
+ .clearfix {
23
+ *zoom: 1;
24
+ }
25
+ .clearfix:before,
26
+ .clearfix:after {
27
+ display: table;
28
+ content: "";
29
+ line-height: 0;
30
+ }
31
+ .clearfix:after {
32
+ clear: both;
33
+ }
34
+ .hide-text {
35
+ font: 0/0 a;
36
+ color: transparent;
37
+ text-shadow: none;
38
+ background-color: transparent;
39
+ border: 0;
40
+ }
41
+ .input-block-level {
42
+ display: block;
43
+ width: 100%;
44
+ min-height: 30px;
45
+ -webkit-box-sizing: border-box;
46
+ -moz-box-sizing: border-box;
47
+ box-sizing: border-box;
48
+ }
49
+ .bootstrap-switch {
50
+ display: inline-block;
51
+ direction: ltr;
52
+ cursor: pointer;
53
+ -webkit-border-radius: 5px;
54
+ -moz-border-radius: 5px;
55
+ border-radius: 5px;
56
+ border: 1px solid;
57
+ border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
58
+ position: relative;
59
+ text-align: left;
60
+ overflow: hidden;
61
+ line-height: 8px;
62
+ z-index: 0;
63
+ -webkit-user-select: none;
64
+ -moz-user-select: none;
65
+ -ms-user-select: none;
66
+ -o-user-select: none;
67
+ user-select: none;
68
+ vertical-align: middle;
69
+ -webkit-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
70
+ -moz-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
71
+ -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
72
+ transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
73
+ }
74
+ .bootstrap-switch .bootstrap-switch-container {
75
+ display: inline-block;
76
+ top: 0;
77
+ -webkit-border-radius: 4px;
78
+ -moz-border-radius: 4px;
79
+ border-radius: 4px;
80
+ -webkit-transform: translate3d(0, 0, 0);
81
+ -moz-transform: translate3d(0, 0, 0);
82
+ -o-transform: translate3d(0, 0, 0);
83
+ transform: translate3d(0, 0, 0);
84
+ }
85
+ .bootstrap-switch .bootstrap-switch-handle-on,
86
+ .bootstrap-switch .bootstrap-switch-handle-off,
87
+ .bootstrap-switch .bootstrap-switch-label {
88
+ -webkit-box-sizing: border-box;
89
+ -moz-box-sizing: border-box;
90
+ box-sizing: border-box;
91
+ cursor: pointer;
92
+ display: inline-block !important;
93
+ height: 100%;
94
+ padding-top: 4px;
95
+ padding-bottom: 4px;
96
+ padding-left: 8px;
97
+ padding-right: 8px;
98
+ font-size: 14px;
99
+ line-height: 20px;
100
+ }
101
+ .bootstrap-switch .bootstrap-switch-handle-on,
102
+ .bootstrap-switch .bootstrap-switch-handle-off {
103
+ text-align: center;
104
+ z-index: 1;
105
+ }
106
+ .bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-primary,
107
+ .bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-primary {
108
+ color: #ffffff;
109
+ text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
110
+ background-color: #005fcc;
111
+ background-image: -moz-linear-gradient(top, #0044cc, #0088cc);
112
+ background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#0044cc), to(#0088cc));
113
+ background-image: -webkit-linear-gradient(top, #0044cc, #0088cc);
114
+ background-image: -o-linear-gradient(top, #0044cc, #0088cc);
115
+ background-image: linear-gradient(to bottom, #0044cc, #0088cc);
116
+ background-repeat: repeat-x;
117
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0044cc', endColorstr='#ff0088cc', GradientType=0);
118
+ border-color: #0088cc #0088cc #005580;
119
+ border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
120
+ *background-color: #0088cc;
121
+ /* Darken IE7 buttons by default so they stand out more given they won't have borders */
122
+ filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
123
+ }
124
+ .bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-primary:hover,
125
+ .bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-primary:hover,
126
+ .bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-primary:focus,
127
+ .bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-primary:focus,
128
+ .bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-primary:active,
129
+ .bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-primary:active,
130
+ .bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-primary.active,
131
+ .bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-primary.active,
132
+ .bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-primary.disabled,
133
+ .bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-primary.disabled,
134
+ .bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-primary[disabled],
135
+ .bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-primary[disabled] {
136
+ color: #ffffff;
137
+ background-color: #0088cc;
138
+ *background-color: #0077b3;
139
+ }
140
+ .bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-primary:active,
141
+ .bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-primary:active,
142
+ .bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-primary.active,
143
+ .bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-primary.active {
144
+ background-color: #006699 \9;
145
+ }
146
+ .bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-info,
147
+ .bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-info {
148
+ color: #ffffff;
149
+ text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
150
+ background-color: #41a7c5;
151
+ background-image: -moz-linear-gradient(top, #2f96b4, #5bc0de);
152
+ background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#2f96b4), to(#5bc0de));
153
+ background-image: -webkit-linear-gradient(top, #2f96b4, #5bc0de);
154
+ background-image: -o-linear-gradient(top, #2f96b4, #5bc0de);
155
+ background-image: linear-gradient(to bottom, #2f96b4, #5bc0de);
156
+ background-repeat: repeat-x;
157
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff2f96b4', endColorstr='#ff5bc0de', GradientType=0);
158
+ border-color: #5bc0de #5bc0de #28a1c5;
159
+ border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
160
+ *background-color: #5bc0de;
161
+ /* Darken IE7 buttons by default so they stand out more given they won't have borders */
162
+ filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
163
+ }
164
+ .bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-info:hover,
165
+ .bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-info:hover,
166
+ .bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-info:focus,
167
+ .bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-info:focus,
168
+ .bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-info:active,
169
+ .bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-info:active,
170
+ .bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-info.active,
171
+ .bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-info.active,
172
+ .bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-info.disabled,
173
+ .bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-info.disabled,
174
+ .bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-info[disabled],
175
+ .bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-info[disabled] {
176
+ color: #ffffff;
177
+ background-color: #5bc0de;
178
+ *background-color: #46b8da;
179
+ }
180
+ .bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-info:active,
181
+ .bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-info:active,
182
+ .bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-info.active,
183
+ .bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-info.active {
184
+ background-color: #31b0d5 \9;
185
+ }
186
+ .bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-success,
187
+ .bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-success {
188
+ color: #ffffff;
189
+ text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
190
+ background-color: #58b058;
191
+ background-image: -moz-linear-gradient(top, #51a351, #62c462);
192
+ background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#51a351), to(#62c462));
193
+ background-image: -webkit-linear-gradient(top, #51a351, #62c462);
194
+ background-image: -o-linear-gradient(top, #51a351, #62c462);
195
+ background-image: linear-gradient(to bottom, #51a351, #62c462);
196
+ background-repeat: repeat-x;
197
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff51a351', endColorstr='#ff62c462', GradientType=0);
198
+ border-color: #62c462 #62c462 #3b9e3b;
199
+ border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
200
+ *background-color: #62c462;
201
+ /* Darken IE7 buttons by default so they stand out more given they won't have borders */
202
+ filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
203
+ }
204
+ .bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-success:hover,
205
+ .bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-success:hover,
206
+ .bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-success:focus,
207
+ .bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-success:focus,
208
+ .bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-success:active,
209
+ .bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-success:active,
210
+ .bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-success.active,
211
+ .bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-success.active,
212
+ .bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-success.disabled,
213
+ .bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-success.disabled,
214
+ .bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-success[disabled],
215
+ .bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-success[disabled] {
216
+ color: #ffffff;
217
+ background-color: #62c462;
218
+ *background-color: #4fbd4f;
219
+ }
220
+ .bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-success:active,
221
+ .bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-success:active,
222
+ .bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-success.active,
223
+ .bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-success.active {
224
+ background-color: #42b142 \9;
225
+ }
226
+ .bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-warning,
227
+ .bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-warning {
228
+ color: #ffffff;
229
+ text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
230
+ background-color: #f9a123;
231
+ background-image: -moz-linear-gradient(top, #f89406, #fbb450);
232
+ background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#f89406), to(#fbb450));
233
+ background-image: -webkit-linear-gradient(top, #f89406, #fbb450);
234
+ background-image: -o-linear-gradient(top, #f89406, #fbb450);
235
+ background-image: linear-gradient(to bottom, #f89406, #fbb450);
236
+ background-repeat: repeat-x;
237
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff89406', endColorstr='#fffbb450', GradientType=0);
238
+ border-color: #fbb450 #fbb450 #f89406;
239
+ border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
240
+ *background-color: #fbb450;
241
+ /* Darken IE7 buttons by default so they stand out more given they won't have borders */
242
+ filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
243
+ }
244
+ .bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-warning:hover,
245
+ .bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-warning:hover,
246
+ .bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-warning:focus,
247
+ .bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-warning:focus,
248
+ .bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-warning:active,
249
+ .bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-warning:active,
250
+ .bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-warning.active,
251
+ .bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-warning.active,
252
+ .bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-warning.disabled,
253
+ .bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-warning.disabled,
254
+ .bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-warning[disabled],
255
+ .bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-warning[disabled] {
256
+ color: #ffffff;
257
+ background-color: #fbb450;
258
+ *background-color: #faa937;
259
+ }
260
+ .bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-warning:active,
261
+ .bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-warning:active,
262
+ .bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-warning.active,
263
+ .bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-warning.active {
264
+ background-color: #fa9f1e \9;
265
+ }
266
+ .bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-danger,
267
+ .bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-danger {
268
+ color: #ffffff;
269
+ text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
270
+ background-color: #d14641;
271
+ background-image: -moz-linear-gradient(top, #bd362f, #ee5f5b);
272
+ background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#bd362f), to(#ee5f5b));
273
+ background-image: -webkit-linear-gradient(top, #bd362f, #ee5f5b);
274
+ background-image: -o-linear-gradient(top, #bd362f, #ee5f5b);
275
+ background-image: linear-gradient(to bottom, #bd362f, #ee5f5b);
276
+ background-repeat: repeat-x;
277
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffbd362f', endColorstr='#ffee5f5b', GradientType=0);
278
+ border-color: #ee5f5b #ee5f5b #e51d18;
279
+ border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
280
+ *background-color: #ee5f5b;
281
+ /* Darken IE7 buttons by default so they stand out more given they won't have borders */
282
+ filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
283
+ }
284
+ .bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-danger:hover,
285
+ .bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-danger:hover,
286
+ .bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-danger:focus,
287
+ .bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-danger:focus,
288
+ .bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-danger:active,
289
+ .bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-danger:active,
290
+ .bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-danger.active,
291
+ .bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-danger.active,
292
+ .bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-danger.disabled,
293
+ .bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-danger.disabled,
294
+ .bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-danger[disabled],
295
+ .bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-danger[disabled] {
296
+ color: #ffffff;
297
+ background-color: #ee5f5b;
298
+ *background-color: #ec4844;
299
+ }
300
+ .bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-danger:active,
301
+ .bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-danger:active,
302
+ .bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-danger.active,
303
+ .bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-danger.active {
304
+ background-color: #e9322d \9;
305
+ }
306
+ .bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-default,
307
+ .bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-default {
308
+ color: #333333;
309
+ text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
310
+ background-color: #f0f0f0;
311
+ background-image: -moz-linear-gradient(top, #e6e6e6, #ffffff);
312
+ background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#e6e6e6), to(#ffffff));
313
+ background-image: -webkit-linear-gradient(top, #e6e6e6, #ffffff);
314
+ background-image: -o-linear-gradient(top, #e6e6e6, #ffffff);
315
+ background-image: linear-gradient(to bottom, #e6e6e6, #ffffff);
316
+ background-repeat: repeat-x;
317
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffe6e6e6', endColorstr='#ffffffff', GradientType=0);
318
+ border-color: #ffffff #ffffff #d9d9d9;
319
+ border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
320
+ *background-color: #ffffff;
321
+ /* Darken IE7 buttons by default so they stand out more given they won't have borders */
322
+ filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
323
+ }
324
+ .bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-default:hover,
325
+ .bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-default:hover,
326
+ .bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-default:focus,
327
+ .bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-default:focus,
328
+ .bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-default:active,
329
+ .bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-default:active,
330
+ .bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-default.active,
331
+ .bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-default.active,
332
+ .bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-default.disabled,
333
+ .bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-default.disabled,
334
+ .bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-default[disabled],
335
+ .bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-default[disabled] {
336
+ color: #333333;
337
+ background-color: #ffffff;
338
+ *background-color: #f2f2f2;
339
+ }
340
+ .bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-default:active,
341
+ .bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-default:active,
342
+ .bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-default.active,
343
+ .bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-default.active {
344
+ background-color: #e6e6e6 \9;
345
+ }
346
+ .bootstrap-switch .bootstrap-switch-label {
347
+ text-align: center;
348
+ margin-top: -1px;
349
+ margin-bottom: -1px;
350
+ z-index: 100;
351
+ border-left: 1px solid #cccccc;
352
+ border-right: 1px solid #cccccc;
353
+ color: #333333;
354
+ text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
355
+ background-color: #f5f5f5;
356
+ background-image: -moz-linear-gradient(top, #ffffff, #e6e6e6);
357
+ background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#e6e6e6));
358
+ background-image: -webkit-linear-gradient(top, #ffffff, #e6e6e6);
359
+ background-image: -o-linear-gradient(top, #ffffff, #e6e6e6);
360
+ background-image: linear-gradient(to bottom, #ffffff, #e6e6e6);
361
+ background-repeat: repeat-x;
362
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffe6e6e6', GradientType=0);
363
+ border-color: #e6e6e6 #e6e6e6 #bfbfbf;
364
+ border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
365
+ *background-color: #e6e6e6;
366
+ /* Darken IE7 buttons by default so they stand out more given they won't have borders */
367
+ filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
368
+ }
369
+ .bootstrap-switch .bootstrap-switch-label:hover,
370
+ .bootstrap-switch .bootstrap-switch-label:focus,
371
+ .bootstrap-switch .bootstrap-switch-label:active,
372
+ .bootstrap-switch .bootstrap-switch-label.active,
373
+ .bootstrap-switch .bootstrap-switch-label.disabled,
374
+ .bootstrap-switch .bootstrap-switch-label[disabled] {
375
+ color: #333333;
376
+ background-color: #e6e6e6;
377
+ *background-color: #d9d9d9;
378
+ }
379
+ .bootstrap-switch .bootstrap-switch-label:active,
380
+ .bootstrap-switch .bootstrap-switch-label.active {
381
+ background-color: #cccccc \9;
382
+ }
383
+ .bootstrap-switch .bootstrap-switch-handle-on {
384
+ -webkit-border-top-left-radius: 4px;
385
+ -moz-border-radius-topleft: 4px;
386
+ border-top-left-radius: 4px;
387
+ -webkit-border-bottom-left-radius: 4px;
388
+ -moz-border-radius-bottomleft: 4px;
389
+ border-bottom-left-radius: 4px;
390
+ }
391
+ .bootstrap-switch .bootstrap-switch-handle-off {
392
+ -webkit-border-top-right-radius: 4px;
393
+ -moz-border-radius-topright: 4px;
394
+ border-top-right-radius: 4px;
395
+ -webkit-border-bottom-right-radius: 4px;
396
+ -moz-border-radius-bottomright: 4px;
397
+ border-bottom-right-radius: 4px;
398
+ }
399
+ .bootstrap-switch input[type='radio'],
400
+ .bootstrap-switch input[type='checkbox'] {
401
+ position: absolute !important;
402
+ top: 0;
403
+ left: 0;
404
+ opacity: 0;
405
+ filter: alpha(opacity=0);
406
+ z-index: -1;
407
+ }
408
+ .bootstrap-switch input[type='radio'].form-control,
409
+ .bootstrap-switch input[type='checkbox'].form-control {
410
+ height: auto;
411
+ }
412
+ .bootstrap-switch.bootstrap-switch-mini {
413
+ min-width: 71px;
414
+ }
415
+ .bootstrap-switch.bootstrap-switch-mini .bootstrap-switch-handle-on,
416
+ .bootstrap-switch.bootstrap-switch-mini .bootstrap-switch-handle-off,
417
+ .bootstrap-switch.bootstrap-switch-mini .bootstrap-switch-label {
418
+ padding: 3px 6px;
419
+ font-size: 10px;
420
+ line-height: 9px;
421
+ }
422
+ .bootstrap-switch.bootstrap-switch-small {
423
+ min-width: 79px;
424
+ }
425
+ .bootstrap-switch.bootstrap-switch-small .bootstrap-switch-handle-on,
426
+ .bootstrap-switch.bootstrap-switch-small .bootstrap-switch-handle-off,
427
+ .bootstrap-switch.bootstrap-switch-small .bootstrap-switch-label {
428
+ padding: 3px 6px;
429
+ font-size: 12px;
430
+ line-height: 18px;
431
+ }
432
+ .bootstrap-switch.bootstrap-switch-large {
433
+ min-width: 120px;
434
+ }
435
+ .bootstrap-switch.bootstrap-switch-large .bootstrap-switch-handle-on,
436
+ .bootstrap-switch.bootstrap-switch-large .bootstrap-switch-handle-off,
437
+ .bootstrap-switch.bootstrap-switch-large .bootstrap-switch-label {
438
+ padding: 9px 12px;
439
+ font-size: 16px;
440
+ line-height: normal;
441
+ }
442
+ .bootstrap-switch.bootstrap-switch-disabled,
443
+ .bootstrap-switch.bootstrap-switch-readonly,
444
+ .bootstrap-switch.bootstrap-switch-indeterminate {
445
+ cursor: default !important;
446
+ }
447
+ .bootstrap-switch.bootstrap-switch-disabled .bootstrap-switch-handle-on,
448
+ .bootstrap-switch.bootstrap-switch-readonly .bootstrap-switch-handle-on,
449
+ .bootstrap-switch.bootstrap-switch-indeterminate .bootstrap-switch-handle-on,
450
+ .bootstrap-switch.bootstrap-switch-disabled .bootstrap-switch-handle-off,
451
+ .bootstrap-switch.bootstrap-switch-readonly .bootstrap-switch-handle-off,
452
+ .bootstrap-switch.bootstrap-switch-indeterminate .bootstrap-switch-handle-off,
453
+ .bootstrap-switch.bootstrap-switch-disabled .bootstrap-switch-label,
454
+ .bootstrap-switch.bootstrap-switch-readonly .bootstrap-switch-label,
455
+ .bootstrap-switch.bootstrap-switch-indeterminate .bootstrap-switch-label {
456
+ opacity: 0.5;
457
+ filter: alpha(opacity=50);
458
+ cursor: default !important;
459
+ }
460
+ .bootstrap-switch.bootstrap-switch-animate .bootstrap-switch-container {
461
+ -webkit-transition: margin-left 0.5s;
462
+ -moz-transition: margin-left 0.5s;
463
+ -o-transition: margin-left 0.5s;
464
+ transition: margin-left 0.5s;
465
+ }
466
+ .bootstrap-switch.bootstrap-switch-inverse .bootstrap-switch-handle-on {
467
+ -webkit-border-top-left-radius: 0;
468
+ -moz-border-radius-topleft: 0;
469
+ border-top-left-radius: 0;
470
+ -webkit-border-bottom-left-radius: 0;
471
+ -moz-border-radius-bottomleft: 0;
472
+ border-bottom-left-radius: 0;
473
+ -webkit-border-top-right-radius: 4px;
474
+ -moz-border-radius-topright: 4px;
475
+ border-top-right-radius: 4px;
476
+ -webkit-border-bottom-right-radius: 4px;
477
+ -moz-border-radius-bottomright: 4px;
478
+ border-bottom-right-radius: 4px;
479
+ }
480
+ .bootstrap-switch.bootstrap-switch-inverse .bootstrap-switch-handle-off {
481
+ -webkit-border-top-right-radius: 0;
482
+ -moz-border-radius-topright: 0;
483
+ border-top-right-radius: 0;
484
+ -webkit-border-bottom-right-radius: 0;
485
+ -moz-border-radius-bottomright: 0;
486
+ border-bottom-right-radius: 0;
487
+ -webkit-border-top-left-radius: 4px;
488
+ -moz-border-radius-topleft: 4px;
489
+ border-top-left-radius: 4px;
490
+ -webkit-border-bottom-left-radius: 4px;
491
+ -moz-border-radius-bottomleft: 4px;
492
+ border-bottom-left-radius: 4px;
493
+ }
494
+ .bootstrap-switch.bootstrap-switch-focused {
495
+ border-color: rgba(82, 168, 236, 0.8);
496
+ outline: 0;
497
+ outline: thin dotted \9;
498
+ -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(82, 168, 236, .6);
499
+ -moz-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(82, 168, 236, .6);
500
+ box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(82, 168, 236, .6);
501
+ }
502
+ .bootstrap-switch.bootstrap-switch-on .bootstrap-switch-label,
503
+ .bootstrap-switch.bootstrap-switch-inverse.bootstrap-switch-off .bootstrap-switch-label {
504
+ -webkit-border-top-right-radius: 4px;
505
+ -moz-border-radius-topright: 4px;
506
+ border-top-right-radius: 4px;
507
+ -webkit-border-bottom-right-radius: 4px;
508
+ -moz-border-radius-bottomright: 4px;
509
+ border-bottom-right-radius: 4px;
510
+ }
511
+ .bootstrap-switch.bootstrap-switch-off .bootstrap-switch-label,
512
+ .bootstrap-switch.bootstrap-switch-inverse.bootstrap-switch-on .bootstrap-switch-label {
513
+ -webkit-border-top-left-radius: 4px;
514
+ -moz-border-radius-topleft: 4px;
515
+ border-top-left-radius: 4px;
516
+ -webkit-border-bottom-left-radius: 4px;
517
+ -moz-border-radius-bottomleft: 4px;
518
+ border-bottom-left-radius: 4px;
519
+ }