LaravelTest

Форк
0
510 строк · 23.1 Кб
1
/**
2
  * bootstrap-switch - Turn checkboxes and radio buttons into toggle switches.
3
  *
4
  * @version v3.3.4
5
  * @homepage https://bttstrp.github.io/bootstrap-switch
6
  * @author Mattia Larentis <mattia@larentis.eu> (http://larentis.eu)
7
  * @license Apache-2.0
8
  */
9

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

Использование cookies

Мы используем файлы cookie в соответствии с Политикой конфиденциальности и Политикой использования cookies.

Нажимая кнопку «Принимаю», Вы даете АО «СберТех» согласие на обработку Ваших персональных данных в целях совершенствования нашего веб-сайта и Сервиса GitVerse, а также повышения удобства их использования.

Запретить использование cookies Вы можете самостоятельно в настройках Вашего браузера.