Accordion FAQ - Version 2.2.9

Version Description

  • Sanitization, Escaping , Nonce issue resolved
  • Bootstrap updated
Download this release

Release Info

Developer wpshopmart
Plugin Icon 128x128 Accordion FAQ
Version 2.2.9
Comparing to
See all releases

Code changes from version 2.2.8 to 2.2.9

css/bootstrap-front.css CHANGED
@@ -1,10 +1,3 @@
1
- /*!
2
- * Bootstrap v3.3.6 (http://getbootstrap.com)
3
- * Copyright 2011-2015 Twitter, Inc.
4
- * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
5
- */
6
- /*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */
7
-
8
  .wpsm_panel {
9
  margin-bottom: 20px;
10
  background-color: #fff;
 
 
 
 
 
 
 
1
  .wpsm_panel {
2
  margin-bottom: 20px;
3
  background-color: #fff;
css/bootstrap.css CHANGED
@@ -1,4248 +1,440 @@
1
  /*!
2
- * Bootstrap v3.3.6 (http://getbootstrap.com)
3
- * Copyright 2011-2015 Twitter, Inc.
4
- * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
 
5
  */
6
 
7
- * {
8
- -webkit-box-sizing: border-box;
9
- -moz-box-sizing: border-box;
10
- box-sizing: border-box;
11
  }
12
- *:before,
13
- *:after {
14
- -webkit-box-sizing: border-box;
15
- -moz-box-sizing: border-box;
16
- box-sizing: border-box;
17
- }
18
- input[type="search"] {
19
- -webkit-box-sizing: border-box;
20
- -moz-box-sizing: border-box;
21
- box-sizing: border-box;
22
- }
23
- input[type="radio"],
24
- input[type="checkbox"] {
25
- margin: 4px 0 0;
26
- margin-top: 1px \9;
27
- line-height: normal;
28
- }
29
- input[type="file"] {
30
- display: block;
31
- }
32
- input[type="range"] {
33
- display: block;
34
- width: 100%;
35
- }
36
- select[multiple],
37
- select[size] {
38
  height: auto;
39
  }
40
- input[type="file"]:focus,
41
- input[type="radio"]:focus,
42
- input[type="checkbox"]:focus {
43
- outline: thin dotted;
44
- outline: 5px auto -webkit-focus-ring-color;
45
- outline-offset: -2px;
46
- }
47
 
48
- .form-control {
49
- display: block;
50
- width: 100%;
51
- height: 34px;
52
- padding: 6px 12px;
53
- font-size: 14px;
54
- line-height: 1.42857143;
55
- color: #555;
56
- background-color: #fff;
57
- background-image: none;
58
- border: 1px solid #ccc;
59
- border-radius: 4px;
60
- -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
61
- box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
62
- -webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
63
- -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
64
- transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
65
- }
66
- .form-control:focus {
67
- border-color: #66afe9;
68
- outline: 0;
69
- -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, .6);
70
- box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, .6);
71
  }
72
 
73
- .form-control:-ms-input-placeholder {
74
- color: #999;
75
- }
76
- .form-control::-webkit-input-placeholder {
77
- color: #999;
78
- }
79
- .form-control::-ms-expand {
80
- background-color: transparent;
81
- border: 0;
82
- }
83
- .form-control[disabled],
84
- .form-control[readonly],
85
- fieldset[disabled] .form-control {
86
- background-color: #eee;
87
- opacity: 1;
88
- }
89
- .form-control[disabled],
90
- fieldset[disabled] .form-control {
91
- cursor: not-allowed;
92
- }
93
- textarea.form-control {
94
- height: auto;
95
- }
96
- input[type="search"] {
97
- -webkit-appearance: none;
98
- }
99
- @media screen and (-webkit-min-device-pixel-ratio: 0) {
100
- input[type="date"].form-control,
101
- input[type="time"].form-control,
102
- input[type="datetime-local"].form-control,
103
- input[type="month"].form-control {
104
- line-height: 34px;
105
- }
106
- input[type="date"].input-sm,
107
- input[type="time"].input-sm,
108
- input[type="datetime-local"].input-sm,
109
- input[type="month"].input-sm,
110
- .input-group-sm input[type="date"],
111
- .input-group-sm input[type="time"],
112
- .input-group-sm input[type="datetime-local"],
113
- .input-group-sm input[type="month"] {
114
- line-height: 30px;
115
- }
116
- input[type="date"].input-lg,
117
- input[type="time"].input-lg,
118
- input[type="datetime-local"].input-lg,
119
- input[type="month"].input-lg,
120
- .input-group-lg input[type="date"],
121
- .input-group-lg input[type="time"],
122
- .input-group-lg input[type="datetime-local"],
123
- .input-group-lg input[type="month"] {
124
- line-height: 46px;
125
- }
126
- }
127
- .form-group {
128
- margin-bottom: 15px;
129
- }
130
- .radio,
131
- .checkbox {
132
  position: relative;
133
- display: block;
134
- margin-top: 10px;
135
- margin-bottom: 10px;
136
- }
137
- .radio label,
138
- .checkbox label {
139
- min-height: 20px;
140
- padding-left: 20px;
141
- margin-bottom: 0;
142
- font-weight: normal;
143
- cursor: pointer;
144
- }
145
- .radio input[type="radio"],
146
- .radio-inline input[type="radio"],
147
- .checkbox input[type="checkbox"],
148
- .checkbox-inline input[type="checkbox"] {
149
- position: absolute;
150
- margin-top: 4px \9;
151
- margin-left: -20px;
152
- }
153
- .radio + .radio,
154
- .checkbox + .checkbox {
155
- margin-top: -5px;
156
- }
157
- .radio-inline,
158
- .checkbox-inline {
159
- position: relative;
160
- display: inline-block;
161
- padding-left: 20px;
162
- margin-bottom: 0;
163
- font-weight: normal;
164
- vertical-align: middle;
165
- cursor: pointer;
166
- }
167
- .radio-inline + .radio-inline,
168
- .checkbox-inline + .checkbox-inline {
169
- margin-top: 0;
170
- margin-left: 10px;
171
- }
172
- input[type="radio"][disabled],
173
- input[type="checkbox"][disabled],
174
- input[type="radio"].disabled,
175
- input[type="checkbox"].disabled,
176
- fieldset[disabled] input[type="radio"],
177
- fieldset[disabled] input[type="checkbox"] {
178
- cursor: not-allowed;
179
- }
180
- .radio-inline.disabled,
181
- .checkbox-inline.disabled,
182
- fieldset[disabled] .radio-inline,
183
- fieldset[disabled] .checkbox-inline {
184
- cursor: not-allowed;
185
- }
186
- .radio.disabled label,
187
- .checkbox.disabled label,
188
- fieldset[disabled] .radio label,
189
- fieldset[disabled] .checkbox label {
190
- cursor: not-allowed;
191
  }
192
 
193
- .form-control-static.input-lg,
194
- .form-control-static.input-sm {
195
- padding-right: 0;
196
- padding-left: 0;
197
- }
198
- .input-sm {
199
- height: 30px;
200
- padding: 5px 10px;
201
- font-size: 12px;
202
- line-height: 1.5;
203
- border-radius: 3px;
204
- }
205
- select.input-sm {
206
- height: 30px;
207
- line-height: 30px;
208
- }
209
- textarea.input-sm,
210
- select[multiple].input-sm {
211
- height: auto;
212
- }
213
- .form-group-sm .form-control {
214
- height: 30px;
215
- padding: 5px 10px;
216
- font-size: 12px;
217
- line-height: 1.5;
218
- border-radius: 3px;
219
- }
220
- .form-group-sm select.form-control {
221
- height: 30px;
222
- line-height: 30px;
223
- }
224
- .form-group-sm textarea.form-control,
225
- .form-group-sm select[multiple].form-control {
226
- height: auto;
227
- }
228
- .form-group-sm .form-control-static {
229
- height: 30px;
230
- min-height: 32px;
231
- padding: 6px 10px;
232
- font-size: 12px;
233
- line-height: 1.5;
234
  }
235
 
236
- select.input-lg {
237
- height: 46px;
238
- line-height: 46px;
239
- }
240
- textarea.input-lg,
241
- select[multiple].input-lg {
242
- height: auto;
243
  }
244
 
245
- .form-group-lg select.form-control {
246
- height: 46px;
247
- line-height: 46px;
248
- }
249
- .form-group-lg textarea.form-control,
250
- .form-group-lg select[multiple].form-control {
251
- height: auto;
252
- }
253
- .form-group-lg .form-control-static {
254
- height: 46px;
255
- min-height: 38px;
256
- padding: 11px 16px;
257
- font-size: 18px;
258
- line-height: 1.3333333;
259
  }
260
 
261
- .form-control-feedback {
262
- position: absolute;
263
- top: 0;
264
- right: 0;
265
- z-index: 2;
266
- display: block;
267
- width: 34px;
268
- height: 34px;
269
- line-height: 34px;
270
- text-align: center;
271
- pointer-events: none;
272
- }
273
- .input-lg + .form-control-feedback,
274
- .input-group-lg + .form-control-feedback,
275
- .form-group-lg .form-control + .form-control-feedback {
276
- width: 46px;
277
- height: 46px;
278
- line-height: 46px;
279
- }
280
- .input-sm + .form-control-feedback,
281
- .input-group-sm + .form-control-feedback,
282
- .form-group-sm .form-control + .form-control-feedback {
283
- width: 30px;
284
- height: 30px;
285
- line-height: 30px;
286
- }
287
- .has-success .help-block,
288
- .has-success .control-label,
289
- .has-success .radio,
290
- .has-success .checkbox,
291
- .has-success .radio-inline,
292
- .has-success .checkbox-inline,
293
- .has-success.radio label,
294
- .has-success.checkbox label,
295
- .has-success.radio-inline label,
296
- .has-success.checkbox-inline label {
297
- color: #3c763d;
298
- }
299
- .has-success .form-control {
300
- border-color: #3c763d;
301
- -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
302
- box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
303
- }
304
- .has-success .form-control:focus {
305
- border-color: #2b542c;
306
- -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #67b168;
307
- box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #67b168;
308
- }
309
- .has-success .input-group-addon {
310
- color: #3c763d;
311
- background-color: #dff0d8;
312
- border-color: #3c763d;
313
  }
314
 
315
- .has-warning .help-block,
316
- .has-warning .control-label,
317
- .has-warning .radio,
318
- .has-warning .checkbox,
319
- .has-warning .radio-inline,
320
- .has-warning .checkbox-inline,
321
- .has-warning.radio label,
322
- .has-warning.checkbox label,
323
- .has-warning.radio-inline label,
324
- .has-warning.checkbox-inline label {
325
- color: #8a6d3b;
326
  }
327
- .has-warning .form-control {
328
- border-color: #8a6d3b;
329
- -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
330
- box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
331
- }
332
- .has-warning .form-control:focus {
333
- border-color: #66512c;
334
- -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #c0a16b;
335
- box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #c0a16b;
336
- }
337
- .has-warning .input-group-addon {
338
- color: #8a6d3b;
339
- background-color: #fcf8e3;
340
- border-color: #8a6d3b;
341
  }
342
- .has-warning .form-control-feedback {
343
- color: #8a6d3b;
 
 
 
344
  }
345
- .has-error .help-block,
346
- .has-error .control-label,
347
- .has-error .radio,
348
- .has-error .checkbox,
349
- .has-error .radio-inline,
350
- .has-error .checkbox-inline,
351
- .has-error.radio label,
352
- .has-error.checkbox label,
353
- .has-error.radio-inline label,
354
- .has-error.checkbox-inline label {
355
- color: #a94442;
356
  }
357
- .has-error .form-control {
358
- border-color: #a94442;
359
- -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
360
- box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
 
361
  }
362
- .has-error .form-control:focus {
363
- border-color: #843534;
364
- -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #ce8483;
365
- box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #ce8483;
 
366
  }
367
- .has-error .input-group-addon {
368
- color: #a94442;
369
- background-color: #f2dede;
370
- border-color: #a94442;
 
371
  }
372
- .has-error .form-control-feedback {
373
- color: #a94442;
 
 
 
374
  }
375
- .has-feedback label ~ .form-control-feedback {
376
- top: 25px;
 
 
 
377
  }
378
- .has-feedback label.sr-only ~ .form-control-feedback {
379
- top: 0;
 
 
 
380
  }
381
 
382
- @media (min-width: 768px) {
383
- .form-inline .form-group {
384
- display: inline-block;
385
- margin-bottom: 0;
386
- vertical-align: middle;
387
- }
388
- .form-inline .form-control {
389
- display: inline-block;
 
 
 
390
  width: auto;
391
- vertical-align: middle;
 
 
 
 
 
392
  }
393
- .form-inline .form-control-static {
394
- display: inline-block;
 
 
395
  }
396
- .form-inline .input-group {
397
- display: inline-table;
398
- vertical-align: middle;
 
399
  }
400
- .form-inline .input-group .input-group-addon,
401
- .form-inline .input-group .input-group-btn,
402
- .form-inline .input-group .form-control {
403
- width: auto;
404
  }
405
- .form-inline .input-group > .form-control {
406
- width: 100%;
 
 
407
  }
408
- .form-inline .control-label {
409
- margin-bottom: 0;
410
- vertical-align: middle;
 
411
  }
412
- .form-inline .radio,
413
- .form-inline .checkbox {
414
- display: inline-block;
415
- margin-top: 0;
416
- margin-bottom: 0;
417
- vertical-align: middle;
418
  }
419
- .form-inline .radio label,
420
- .form-inline .checkbox label {
421
- padding-left: 0;
 
422
  }
423
- .form-inline .radio input[type="radio"],
424
- .form-inline .checkbox input[type="checkbox"] {
425
- position: relative;
426
- margin-left: 0;
427
  }
428
- .form-inline .has-feedback .form-control-feedback {
429
- top: 0;
 
 
430
  }
431
- }
432
- .form-horizontal .radio,
433
- .form-horizontal .checkbox,
434
- .form-horizontal .radio-inline,
435
- .form-horizontal .checkbox-inline {
436
- padding-top: 7px;
437
- margin-top: 0;
438
- margin-bottom: 0;
439
- }
440
- .form-horizontal .radio,
441
- .form-horizontal .checkbox {
442
- min-height: 27px;
443
- }
444
- .form-horizontal .form-group {
445
- margin-right: -15px;
446
- margin-left: -15px;
447
- }
448
- @media (min-width: 768px) {
449
- .form-horizontal .control-label {
450
- padding-top: 7px;
451
- margin-bottom: 0;
452
- text-align: right;
453
  }
454
- }
455
- .form-horizontal .has-feedback .form-control-feedback {
456
- right: 15px;
457
- }
458
- @media (min-width: 768px) {
459
- .form-horizontal .form-group-lg .control-label {
460
- padding-top: 11px;
461
- font-size: 18px;
462
  }
463
  }
 
464
  @media (min-width: 768px) {
465
- .form-horizontal .form-group-sm .control-label {
466
- padding-top: 6px;
467
- font-size: 12px;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
468
  }
469
  }
 
 
 
 
 
470
  .btn {
471
  display: inline-block;
472
- padding: 6px 12px;
473
- margin-bottom: 0;
474
- font-size: 14px;
475
- font-weight: normal;
476
- line-height: 1.42857143;
477
  text-align: center;
478
- white-space: nowrap;
479
  vertical-align: middle;
480
- -ms-touch-action: manipulation;
481
- touch-action: manipulation;
482
- cursor: pointer;
483
  -webkit-user-select: none;
484
- -moz-user-select: none;
485
- -ms-user-select: none;
486
- user-select: none;
487
- background-image: none;
488
  border: 1px solid transparent;
489
- border-radius: 4px;
 
 
 
 
490
  }
491
- .btn:focus,
492
- .btn:active:focus,
493
- .btn.active:focus,
494
- .btn.focus,
495
- .btn:active.focus,
496
- .btn.active.focus {
497
- outline: thin dotted;
498
- outline: 5px auto -webkit-focus-ring-color;
499
- outline-offset: -2px;
500
  }
501
- .btn:hover,
502
- .btn:focus,
503
- .btn.focus {
504
- color: #333;
505
  text-decoration: none;
506
  }
507
- .btn:active,
508
- .btn.active {
509
- background-image: none;
510
  outline: 0;
511
- -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
512
- box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
 
 
 
513
  }
514
- .btn.disabled,
515
- .btn[disabled],
516
- fieldset[disabled] .btn {
517
- cursor: not-allowed;
518
- filter: alpha(opacity=65);
519
- -webkit-box-shadow: none;
520
- box-shadow: none;
521
- opacity: .65;
522
  }
 
523
  a.btn.disabled,
524
- fieldset[disabled] a.btn {
525
  pointer-events: none;
526
  }
527
- .btn-default {
528
- color: #333;
529
- background-color: #fff;
530
- border-color: #ccc;
531
- }
532
- .btn-default:focus,
533
- .btn-default.focus {
534
- color: #333;
535
- background-color: #e6e6e6;
536
- border-color: #8c8c8c;
537
- }
538
- .btn-default:hover {
539
- color: #333;
540
- background-color: #e6e6e6;
541
- border-color: #adadad;
542
- }
543
- .btn-default:active,
544
- .btn-default.active,
545
- .open > .dropdown-toggle.btn-default {
546
- color: #333;
547
- background-color: #e6e6e6;
548
- border-color: #adadad;
549
- }
550
- .btn-default:active:hover,
551
- .btn-default.active:hover,
552
- .open > .dropdown-toggle.btn-default:hover,
553
- .btn-default:active:focus,
554
- .btn-default.active:focus,
555
- .open > .dropdown-toggle.btn-default:focus,
556
- .btn-default:active.focus,
557
- .btn-default.active.focus,
558
- .open > .dropdown-toggle.btn-default.focus {
559
- color: #333;
560
- background-color: #d4d4d4;
561
- border-color: #8c8c8c;
562
- }
563
- .btn-default:active,
564
- .btn-default.active,
565
- .open > .dropdown-toggle.btn-default {
566
- background-image: none;
567
- }
568
- .btn-default.disabled:hover,
569
- .btn-default[disabled]:hover,
570
- fieldset[disabled] .btn-default:hover,
571
- .btn-default.disabled:focus,
572
- .btn-default[disabled]:focus,
573
- fieldset[disabled] .btn-default:focus,
574
- .btn-default.disabled.focus,
575
- .btn-default[disabled].focus,
576
- fieldset[disabled] .btn-default.focus {
577
- background-color: #fff;
578
- border-color: #ccc;
579
- }
580
- .btn-default .badge {
581
- color: #fff;
582
- background-color: #333;
583
  }
 
584
  .btn-primary {
585
  color: #fff;
586
- background-color: #337ab7;
587
- border-color: #2e6da4;
588
- }
589
- .btn-primary:focus,
590
- .btn-primary.focus {
591
- color: #fff;
592
- background-color: #286090;
593
- border-color: #122b40;
594
  }
 
595
  .btn-primary:hover {
596
  color: #fff;
597
- background-color: #286090;
598
- border-color: #204d74;
599
- }
600
- .btn-primary:active,
601
- .btn-primary.active,
602
- .open > .dropdown-toggle.btn-primary {
603
- color: #fff;
604
- background-color: #286090;
605
- border-color: #204d74;
606
- }
607
- .btn-primary:active:hover,
608
- .btn-primary.active:hover,
609
- .open > .dropdown-toggle.btn-primary:hover,
610
- .btn-primary:active:focus,
611
- .btn-primary.active:focus,
612
- .open > .dropdown-toggle.btn-primary:focus,
613
- .btn-primary:active.focus,
614
- .btn-primary.active.focus,
615
- .open > .dropdown-toggle.btn-primary.focus {
616
- color: #fff;
617
- background-color: #204d74;
618
- border-color: #122b40;
619
- }
620
- .btn-primary:active,
621
- .btn-primary.active,
622
- .open > .dropdown-toggle.btn-primary {
623
- background-image: none;
624
- }
625
- .btn-primary.disabled:hover,
626
- .btn-primary[disabled]:hover,
627
- fieldset[disabled] .btn-primary:hover,
628
- .btn-primary.disabled:focus,
629
- .btn-primary[disabled]:focus,
630
- fieldset[disabled] .btn-primary:focus,
631
- .btn-primary.disabled.focus,
632
- .btn-primary[disabled].focus,
633
- fieldset[disabled] .btn-primary.focus {
634
- background-color: #337ab7;
635
- border-color: #2e6da4;
636
- }
637
- .btn-primary .badge {
638
- color: #337ab7;
639
- background-color: #fff;
640
- }
641
- .btn-success {
642
- color: #fff;
643
- background-color: #5cb85c;
644
- border-color: #4cae4c;
645
- }
646
- .btn-success:focus,
647
- .btn-success.focus {
648
- color: #fff;
649
- background-color: #449d44;
650
- border-color: #255625;
651
- }
652
- .btn-success:hover {
653
- color: #fff;
654
- background-color: #449d44;
655
- border-color: #398439;
656
- }
657
- .btn-success:active,
658
- .btn-success.active,
659
- .open > .dropdown-toggle.btn-success {
660
- color: #fff;
661
- background-color: #449d44;
662
- border-color: #398439;
663
- }
664
- .btn-success:active:hover,
665
- .btn-success.active:hover,
666
- .open > .dropdown-toggle.btn-success:hover,
667
- .btn-success:active:focus,
668
- .btn-success.active:focus,
669
- .open > .dropdown-toggle.btn-success:focus,
670
- .btn-success:active.focus,
671
- .btn-success.active.focus,
672
- .open > .dropdown-toggle.btn-success.focus {
673
- color: #fff;
674
- background-color: #398439;
675
- border-color: #255625;
676
- }
677
- .btn-success:active,
678
- .btn-success.active,
679
- .open > .dropdown-toggle.btn-success {
680
- background-image: none;
681
- }
682
- .btn-success.disabled:hover,
683
- .btn-success[disabled]:hover,
684
- fieldset[disabled] .btn-success:hover,
685
- .btn-success.disabled:focus,
686
- .btn-success[disabled]:focus,
687
- fieldset[disabled] .btn-success:focus,
688
- .btn-success.disabled.focus,
689
- .btn-success[disabled].focus,
690
- fieldset[disabled] .btn-success.focus {
691
- background-color: #5cb85c;
692
- border-color: #4cae4c;
693
- }
694
- .btn-success .badge {
695
- color: #5cb85c;
696
- background-color: #fff;
697
- }
698
- .btn-info {
699
- color: #fff;
700
- background-color: #5bc0de;
701
- border-color: #46b8da;
702
- }
703
- .btn-info:focus,
704
- .btn-info.focus {
705
- color: #fff;
706
- background-color: #31b0d5;
707
- border-color: #1b6d85;
708
- }
709
- .btn-info:hover {
710
- color: #fff;
711
- background-color: #31b0d5;
712
- border-color: #269abc;
713
- }
714
- .btn-info:active,
715
- .btn-info.active,
716
- .open > .dropdown-toggle.btn-info {
717
- color: #fff;
718
- background-color: #31b0d5;
719
- border-color: #269abc;
720
- }
721
- .btn-info:active:hover,
722
- .btn-info.active:hover,
723
- .open > .dropdown-toggle.btn-info:hover,
724
- .btn-info:active:focus,
725
- .btn-info.active:focus,
726
- .open > .dropdown-toggle.btn-info:focus,
727
- .btn-info:active.focus,
728
- .btn-info.active.focus,
729
- .open > .dropdown-toggle.btn-info.focus {
730
- color: #fff;
731
- background-color: #269abc;
732
- border-color: #1b6d85;
733
  }
734
- .btn-info:active,
735
- .btn-info.active,
736
- .open > .dropdown-toggle.btn-info {
737
- background-image: none;
738
- }
739
- .btn-info.disabled:hover,
740
- .btn-info[disabled]:hover,
741
- fieldset[disabled] .btn-info:hover,
742
- .btn-info.disabled:focus,
743
- .btn-info[disabled]:focus,
744
- fieldset[disabled] .btn-info:focus,
745
- .btn-info.disabled.focus,
746
- .btn-info[disabled].focus,
747
- fieldset[disabled] .btn-info.focus {
748
- background-color: #5bc0de;
749
- border-color: #46b8da;
750
- }
751
- .btn-info .badge {
752
- color: #5bc0de;
753
- background-color: #fff;
754
- }
755
- .btn-warning {
756
- color: #fff;
757
- background-color: #f0ad4e;
758
- border-color: #eea236;
759
- }
760
- .btn-warning:focus,
761
- .btn-warning.focus {
762
- color: #fff;
763
- background-color: #ec971f;
764
- border-color: #985f0d;
765
- }
766
- .btn-warning:hover {
767
  color: #fff;
768
- background-color: #ec971f;
769
- border-color: #d58512;
 
770
  }
771
- .btn-warning:active,
772
- .btn-warning.active,
773
- .open > .dropdown-toggle.btn-warning {
774
  color: #fff;
775
- background-color: #ec971f;
776
- border-color: #d58512;
777
  }
778
- .btn-warning:active:hover,
779
- .btn-warning.active:hover,
780
- .open > .dropdown-toggle.btn-warning:hover,
781
- .btn-warning:active:focus,
782
- .btn-warning.active:focus,
783
- .open > .dropdown-toggle.btn-warning:focus,
784
- .btn-warning:active.focus,
785
- .btn-warning.active.focus,
786
- .open > .dropdown-toggle.btn-warning.focus {
787
  color: #fff;
788
- background-color: #d58512;
789
- border-color: #985f0d;
790
- }
791
- .btn-warning:active,
792
- .btn-warning.active,
793
- .open > .dropdown-toggle.btn-warning {
794
- background-image: none;
795
- }
796
- .btn-warning.disabled:hover,
797
- .btn-warning[disabled]:hover,
798
- fieldset[disabled] .btn-warning:hover,
799
- .btn-warning.disabled:focus,
800
- .btn-warning[disabled]:focus,
801
- fieldset[disabled] .btn-warning:focus,
802
- .btn-warning.disabled.focus,
803
- .btn-warning[disabled].focus,
804
- fieldset[disabled] .btn-warning.focus {
805
- background-color: #f0ad4e;
806
- border-color: #eea236;
807
  }
808
- .btn-warning .badge {
809
- color: #f0ad4e;
810
- background-color: #fff;
 
811
  }
 
812
  .btn-danger {
813
  color: #fff;
814
- background-color: #d9534f;
815
- border-color: #d43f3a;
816
- }
817
- .btn-danger:focus,
818
- .btn-danger.focus {
819
- color: #fff;
820
- background-color: #c9302c;
821
- border-color: #761c19;
822
  }
 
823
  .btn-danger:hover {
824
  color: #fff;
825
- background-color: #c9302c;
826
- border-color: #ac2925;
827
  }
828
- .btn-danger:active,
829
- .btn-danger.active,
830
- .open > .dropdown-toggle.btn-danger {
831
  color: #fff;
832
- background-color: #c9302c;
833
- border-color: #ac2925;
 
834
  }
835
- .btn-danger:active:hover,
836
- .btn-danger.active:hover,
837
- .open > .dropdown-toggle.btn-danger:hover,
838
- .btn-danger:active:focus,
839
- .btn-danger.active:focus,
840
- .open > .dropdown-toggle.btn-danger:focus,
841
- .btn-danger:active.focus,
842
- .btn-danger.active.focus,
843
- .open > .dropdown-toggle.btn-danger.focus {
844
  color: #fff;
845
- background-color: #ac2925;
846
- border-color: #761c19;
847
- }
848
- .btn-danger:active,
849
- .btn-danger.active,
850
- .open > .dropdown-toggle.btn-danger {
851
- background-image: none;
852
- }
853
- .btn-danger.disabled:hover,
854
- .btn-danger[disabled]:hover,
855
- fieldset[disabled] .btn-danger:hover,
856
- .btn-danger.disabled:focus,
857
- .btn-danger[disabled]:focus,
858
- fieldset[disabled] .btn-danger:focus,
859
- .btn-danger.disabled.focus,
860
- .btn-danger[disabled].focus,
861
- fieldset[disabled] .btn-danger.focus {
862
- background-color: #d9534f;
863
- border-color: #d43f3a;
864
- }
865
- .btn-danger .badge {
866
- color: #d9534f;
867
- background-color: #fff;
868
- }
869
- .btn-link {
870
- font-weight: normal;
871
- color: #337ab7;
872
- border-radius: 0;
873
- }
874
- .btn-link,
875
- .btn-link:active,
876
- .btn-link.active,
877
- .btn-link[disabled],
878
- fieldset[disabled] .btn-link {
879
- background-color: transparent;
880
- -webkit-box-shadow: none;
881
- box-shadow: none;
882
- }
883
- .btn-link,
884
- .btn-link:hover,
885
- .btn-link:focus,
886
- .btn-link:active {
887
- border-color: transparent;
888
- }
889
- .btn-link:hover,
890
- .btn-link:focus {
891
- color: #23527c;
892
- text-decoration: underline;
893
- background-color: transparent;
894
  }
895
- .btn-link[disabled]:hover,
896
- fieldset[disabled] .btn-link:hover,
897
- .btn-link[disabled]:focus,
898
- fieldset[disabled] .btn-link:focus {
899
- color: #777;
900
- text-decoration: none;
901
- }
902
- .btn-lg,
903
- .btn-group-lg > .btn {
904
- padding: 10px 16px;
905
- font-size: 18px;
906
- line-height: 1.3333333;
907
- border-radius: 6px;
908
- }
909
- .btn-sm,
910
- .btn-group-sm > .btn {
911
- padding: 5px 10px;
912
- font-size: 12px;
913
- line-height: 1.5;
914
- border-radius: 3px;
915
  }
916
- .btn-xs,
917
- .btn-group-xs > .btn {
918
- padding: 1px 5px;
919
- font-size: 12px;
920
- line-height: 1.5;
921
- border-radius: 3px;
922
  }
923
- .btn-block {
924
- display: block;
 
 
 
 
 
 
 
925
  width: 100%;
926
  }
927
- .btn-block + .btn-block {
928
- margin-top: 5px;
929
- }
930
- input[type="submit"].btn-block,
931
- input[type="reset"].btn-block,
932
- input[type="button"].btn-block {
933
- width: 100%;
934
- }
935
- .fade {
936
- opacity: 0;
937
- -webkit-transition: opacity .15s linear;
938
- -o-transition: opacity .15s linear;
939
- transition: opacity .15s linear;
940
- }
941
- .fade.in {
942
- opacity: 1;
943
- }
944
- .collapse {
945
- display: none;
946
- }
947
- .collapse.in {
948
- display: block;
949
- }
950
- tr.collapse.in {
951
- display: table-row;
952
- }
953
- tbody.collapse.in {
954
- display: table-row-group;
955
- }
956
- .collapsing {
957
- position: relative;
958
- height: 0;
959
- overflow: hidden;
960
- -webkit-transition-timing-function: ease;
961
- -o-transition-timing-function: ease;
962
- transition-timing-function: ease;
963
- -webkit-transition-duration: .35s;
964
- -o-transition-duration: .35s;
965
- transition-duration: .35s;
966
- -webkit-transition-property: height, visibility;
967
- -o-transition-property: height, visibility;
968
- transition-property: height, visibility;
969
- }
970
- .caret {
971
- display: inline-block;
972
- width: 0;
973
- height: 0;
974
- margin-left: 2px;
975
- vertical-align: middle;
976
- border-top: 4px dashed;
977
- border-top: 4px solid \9;
978
- border-right: 4px solid transparent;
979
- border-left: 4px solid transparent;
980
- }
981
- .dropup,
982
- .dropdown {
983
- position: relative;
984
- }
985
- .dropdown-toggle:focus {
986
- outline: 0;
987
- }
988
- .dropdown-menu {
989
- position: absolute;
990
- top: 100%;
991
- left: 0;
992
- z-index: 1000;
993
- display: none;
994
- float: left;
995
- min-width: 160px;
996
- padding: 5px 0;
997
- margin: 2px 0 0;
998
- font-size: 14px;
999
- text-align: left;
1000
- list-style: none;
1001
- background-color: #fff;
1002
- -webkit-background-clip: padding-box;
1003
- background-clip: padding-box;
1004
- border: 1px solid #ccc;
1005
- border: 1px solid rgba(0, 0, 0, .15);
1006
- border-radius: 4px;
1007
- -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
1008
- box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
1009
- }
1010
- .dropdown-menu.pull-right {
1011
- right: 0;
1012
- left: auto;
1013
- }
1014
- .dropdown-menu .divider {
1015
- height: 1px;
1016
- margin: 9px 0;
1017
- overflow: hidden;
1018
- background-color: #e5e5e5;
1019
- }
1020
- .dropdown-menu > li > a {
1021
- display: block;
1022
- padding: 3px 20px;
1023
- clear: both;
1024
- font-weight: normal;
1025
- line-height: 1.42857143;
1026
- color: #333;
1027
- white-space: nowrap;
1028
- }
1029
- .dropdown-menu > li > a:hover,
1030
- .dropdown-menu > li > a:focus {
1031
- color: #262626;
1032
- text-decoration: none;
1033
- background-color: #f5f5f5;
1034
- }
1035
- .dropdown-menu > .active > a,
1036
- .dropdown-menu > .active > a:hover,
1037
- .dropdown-menu > .active > a:focus {
1038
- color: #fff;
1039
- text-decoration: none;
1040
- background-color: #337ab7;
1041
- outline: 0;
1042
- }
1043
- .dropdown-menu > .disabled > a,
1044
- .dropdown-menu > .disabled > a:hover,
1045
- .dropdown-menu > .disabled > a:focus {
1046
- color: #777;
1047
- }
1048
- .dropdown-menu > .disabled > a:hover,
1049
- .dropdown-menu > .disabled > a:focus {
1050
- text-decoration: none;
1051
- cursor: not-allowed;
1052
- background-color: transparent;
1053
- background-image: none;
1054
- filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
1055
- }
1056
- .open > .dropdown-menu {
1057
- display: block;
1058
- }
1059
- .open > a {
1060
- outline: 0;
1061
- }
1062
- .dropdown-menu-right {
1063
- right: 0;
1064
- left: auto;
1065
- }
1066
- .dropdown-menu-left {
1067
- right: auto;
1068
- left: 0;
1069
- }
1070
- .dropdown-header {
1071
- display: block;
1072
- padding: 3px 20px;
1073
- font-size: 12px;
1074
- line-height: 1.42857143;
1075
- color: #777;
1076
- white-space: nowrap;
1077
- }
1078
- .dropdown-backdrop {
1079
- position: fixed;
1080
- top: 0;
1081
- right: 0;
1082
- bottom: 0;
1083
- left: 0;
1084
- z-index: 990;
1085
- }
1086
- .pull-right > .dropdown-menu {
1087
- right: 0;
1088
- left: auto;
1089
- }
1090
- .dropup .caret,
1091
- .navbar-fixed-bottom .dropdown .caret {
1092
- content: "";
1093
- border-top: 0;
1094
- border-bottom: 4px dashed;
1095
- border-bottom: 4px solid \9;
1096
- }
1097
- .dropup .dropdown-menu,
1098
- .navbar-fixed-bottom .dropdown .dropdown-menu {
1099
- top: auto;
1100
- bottom: 100%;
1101
- margin-bottom: 2px;
1102
- }
1103
- @media (min-width: 768px) {
1104
- .navbar-right .dropdown-menu {
1105
- right: 0;
1106
- left: auto;
1107
- }
1108
- .navbar-right .dropdown-menu-left {
1109
- right: auto;
1110
- left: 0;
1111
- }
1112
- }
1113
- .btn-group,
1114
- .btn-group-vertical {
1115
- position: relative;
1116
- display: inline-block;
1117
- vertical-align: middle;
1118
- }
1119
- .btn-group > .btn,
1120
- .btn-group-vertical > .btn {
1121
- position: relative;
1122
- float: left;
1123
- }
1124
- .btn-group > .btn:hover,
1125
- .btn-group-vertical > .btn:hover,
1126
- .btn-group > .btn:focus,
1127
- .btn-group-vertical > .btn:focus,
1128
- .btn-group > .btn:active,
1129
- .btn-group-vertical > .btn:active,
1130
- .btn-group > .btn.active,
1131
- .btn-group-vertical > .btn.active {
1132
- z-index: 2;
1133
- }
1134
- .btn-group .btn + .btn,
1135
- .btn-group .btn + .btn-group,
1136
- .btn-group .btn-group + .btn,
1137
- .btn-group .btn-group + .btn-group {
1138
- margin-left: -1px;
1139
- }
1140
- .btn-toolbar {
1141
- margin-left: -5px;
1142
  }
1143
 
1144
- .dropup .btn-lg .caret {
1145
- border-width: 0 5px 5px;
1146
- }
1147
- .btn-group-vertical > .btn,
1148
- .btn-group-vertical > .btn-group,
1149
- .btn-group-vertical > .btn-group > .btn {
1150
- display: block;
1151
- float: none;
1152
- width: 100%;
1153
- max-width: 100%;
1154
- }
1155
- .btn-group-vertical > .btn-group > .btn {
1156
- float: none;
1157
- }
1158
- .btn-group-vertical > .btn + .btn,
1159
- .btn-group-vertical > .btn + .btn-group,
1160
- .btn-group-vertical > .btn-group + .btn,
1161
- .btn-group-vertical > .btn-group + .btn-group {
1162
- margin-top: -1px;
1163
- margin-left: 0;
1164
- }
1165
- .btn-group-vertical > .btn:not(:first-child):not(:last-child) {
1166
- border-radius: 0;
1167
- }
1168
- .btn-group-vertical > .btn:first-child:not(:last-child) {
1169
- border-top-left-radius: 4px;
1170
- border-top-right-radius: 4px;
1171
- border-bottom-right-radius: 0;
1172
- border-bottom-left-radius: 0;
1173
- }
1174
- .btn-group-vertical > .btn:last-child:not(:first-child) {
1175
- border-top-left-radius: 0;
1176
- border-top-right-radius: 0;
1177
- border-bottom-right-radius: 4px;
1178
- border-bottom-left-radius: 4px;
1179
- }
1180
- .btn-group-vertical > .btn-group:not(:first-child):not(:last-child) > .btn {
1181
- border-radius: 0;
1182
- }
1183
- .btn-group-vertical > .btn-group:first-child:not(:last-child) > .btn:last-child,
1184
- .btn-group-vertical > .btn-group:first-child:not(:last-child) > .dropdown-toggle {
1185
- border-bottom-right-radius: 0;
1186
- border-bottom-left-radius: 0;
1187
- }
1188
- .btn-group-vertical > .btn-group:last-child:not(:first-child) > .btn:first-child {
1189
- border-top-left-radius: 0;
1190
- border-top-right-radius: 0;
1191
- }
1192
- .btn-group-justified {
1193
- display: table;
1194
- width: 100%;
1195
- table-layout: fixed;
1196
- border-collapse: separate;
1197
- }
1198
- .btn-group-justified > .btn,
1199
- .btn-group-justified > .btn-group {
1200
- display: table-cell;
1201
- float: none;
1202
- width: 1%;
1203
- }
1204
- .btn-group-justified > .btn-group .btn {
1205
- width: 100%;
1206
- }
1207
- .btn-group-justified > .btn-group .dropdown-menu {
1208
- left: auto;
1209
- }
1210
- [data-toggle="buttons"] > .btn input[type="radio"],
1211
- [data-toggle="buttons"] > .btn-group > .btn input[type="radio"],
1212
- [data-toggle="buttons"] > .btn input[type="checkbox"],
1213
- [data-toggle="buttons"] > .btn-group > .btn input[type="checkbox"] {
1214
- position: absolute;
1215
- clip: rect(0, 0, 0, 0);
1216
- pointer-events: none;
1217
- }
1218
- .input-group {
1219
- position: relative;
1220
- display: table;
1221
- border-collapse: separate;
1222
- }
1223
- .input-group[class*="col-"] {
1224
- float: none;
1225
- padding-right: 0;
1226
- padding-left: 0;
1227
- }
1228
- .input-group .form-control {
1229
- position: relative;
1230
- z-index: 2;
1231
- float: left;
1232
- width: 100%;
1233
- margin-bottom: 0;
1234
- }
1235
- .input-group .form-control:focus {
1236
- z-index: 3;
1237
- }
1238
- .input-group-lg > .form-control,
1239
- .input-group-lg > .input-group-addon,
1240
- .input-group-lg > .input-group-btn > .btn {
1241
- height: 46px;
1242
- padding: 10px 16px;
1243
- font-size: 18px;
1244
- line-height: 1.3333333;
1245
- border-radius: 6px;
1246
- }
1247
- select.input-group-lg > .form-control,
1248
- select.input-group-lg > .input-group-addon,
1249
- select.input-group-lg > .input-group-btn > .btn {
1250
- height: 46px;
1251
- line-height: 46px;
1252
- }
1253
- textarea.input-group-lg > .form-control,
1254
- textarea.input-group-lg > .input-group-addon,
1255
- textarea.input-group-lg > .input-group-btn > .btn,
1256
- select[multiple].input-group-lg > .form-control,
1257
- select[multiple].input-group-lg > .input-group-addon,
1258
- select[multiple].input-group-lg > .input-group-btn > .btn {
1259
- height: auto;
1260
- }
1261
- .input-group-sm > .form-control,
1262
- .input-group-sm > .input-group-addon,
1263
- .input-group-sm > .input-group-btn > .btn {
1264
- height: 30px;
1265
- padding: 5px 10px;
1266
- font-size: 12px;
1267
- line-height: 1.5;
1268
- border-radius: 3px;
1269
- }
1270
- select.input-group-sm > .form-control,
1271
- select.input-group-sm > .input-group-addon,
1272
- select.input-group-sm > .input-group-btn > .btn {
1273
- height: 30px;
1274
- line-height: 30px;
1275
- }
1276
- textarea.input-group-sm > .form-control,
1277
- textarea.input-group-sm > .input-group-addon,
1278
- textarea.input-group-sm > .input-group-btn > .btn,
1279
- select[multiple].input-group-sm > .form-control,
1280
- select[multiple].input-group-sm > .input-group-addon,
1281
- select[multiple].input-group-sm > .input-group-btn > .btn {
1282
- height: auto;
1283
- }
1284
- .input-group-addon,
1285
- .input-group-btn,
1286
- .input-group .form-control {
1287
- display: table-cell;
1288
- }
1289
- .input-group-addon:not(:first-child):not(:last-child),
1290
- .input-group-btn:not(:first-child):not(:last-child),
1291
- .input-group .form-control:not(:first-child):not(:last-child) {
1292
- border-radius: 0;
1293
- }
1294
- .input-group-addon,
1295
- .input-group-btn {
1296
- width: 1%;
1297
- white-space: nowrap;
1298
- vertical-align: middle;
1299
- }
1300
- .input-group-addon {
1301
- padding: 6px 12px;
1302
- font-size: 14px;
1303
- font-weight: normal;
1304
- line-height: 1;
1305
- color: #555;
1306
- text-align: center;
1307
- background-color: #eee;
1308
- border: 1px solid #ccc;
1309
- border-radius: 4px;
1310
- }
1311
- .input-group-addon.input-sm {
1312
- padding: 5px 10px;
1313
- font-size: 12px;
1314
- border-radius: 3px;
1315
- }
1316
- .input-group-addon.input-lg {
1317
- padding: 10px 16px;
1318
- font-size: 18px;
1319
- border-radius: 6px;
1320
- }
1321
- .input-group-addon input[type="radio"],
1322
- .input-group-addon input[type="checkbox"] {
1323
- margin-top: 0;
1324
- }
1325
- .input-group .form-control:first-child,
1326
- .input-group-addon:first-child,
1327
- .input-group-btn:first-child > .btn,
1328
- .input-group-btn:first-child > .btn-group > .btn,
1329
- .input-group-btn:first-child > .dropdown-toggle,
1330
- .input-group-btn:last-child > .btn:not(:last-child):not(.dropdown-toggle),
1331
- .input-group-btn:last-child > .btn-group:not(:last-child) > .btn {
1332
- border-top-right-radius: 0;
1333
- border-bottom-right-radius: 0;
1334
- }
1335
- .input-group-addon:first-child {
1336
- border-right: 0;
1337
- }
1338
- .input-group .form-control:last-child,
1339
- .input-group-addon:last-child,
1340
- .input-group-btn:last-child > .btn,
1341
- .input-group-btn:last-child > .btn-group > .btn,
1342
- .input-group-btn:last-child > .dropdown-toggle,
1343
- .input-group-btn:first-child > .btn:not(:first-child),
1344
- .input-group-btn:first-child > .btn-group:not(:first-child) > .btn {
1345
  border-top-left-radius: 0;
1346
  border-bottom-left-radius: 0;
1347
  }
1348
- .input-group-addon:last-child {
1349
- border-left: 0;
1350
- }
1351
- .input-group-btn {
1352
- position: relative;
1353
- font-size: 0;
1354
- white-space: nowrap;
1355
- }
1356
- .input-group-btn > .btn {
1357
- position: relative;
1358
- }
1359
- .input-group-btn > .btn + .btn {
1360
- margin-left: -1px;
1361
- }
1362
- .input-group-btn > .btn:hover,
1363
- .input-group-btn > .btn:focus,
1364
- .input-group-btn > .btn:active {
1365
- z-index: 2;
1366
- }
1367
- .input-group-btn:first-child > .btn,
1368
- .input-group-btn:first-child > .btn-group {
1369
- margin-right: -1px;
1370
- }
1371
- .input-group-btn:last-child > .btn,
1372
- .input-group-btn:last-child > .btn-group {
1373
- z-index: 2;
1374
- margin-left: -1px;
1375
- }
1376
- .nav {
1377
- padding-left: 0;
1378
- margin-bottom: 0;
1379
- list-style: none;
1380
- }
1381
- .nav > li {
1382
- position: relative;
1383
- display: block;
1384
- }
1385
- .nav > li > a {
1386
- position: relative;
1387
- display: block;
1388
- padding: 10px 15px;
1389
- }
1390
- .nav > li > a:hover,
1391
- .nav > li > a:focus {
1392
- text-decoration: none;
1393
- background-color: #eee;
1394
- }
1395
- .nav > li.disabled > a {
1396
- color: #777;
1397
- }
1398
- .nav > li.disabled > a:hover,
1399
- .nav > li.disabled > a:focus {
1400
- color: #777;
1401
- text-decoration: none;
1402
- cursor: not-allowed;
1403
- background-color: transparent;
1404
- }
1405
- .nav .open > a,
1406
- .nav .open > a:hover,
1407
- .nav .open > a:focus {
1408
- background-color: #eee;
1409
- border-color: #337ab7;
1410
- }
1411
- .nav .nav-divider {
1412
- height: 1px;
1413
- margin: 9px 0;
1414
- overflow: hidden;
1415
- background-color: #e5e5e5;
1416
- }
1417
- .nav > li > a > img {
1418
- max-width: none;
1419
- }
1420
- .nav-tabs {
1421
- border-bottom: 1px solid #ddd;
1422
- }
1423
- .nav-tabs > li {
1424
- float: left;
1425
- margin-bottom: -1px;
1426
- }
1427
- .nav-tabs > li > a {
1428
- margin-right: 2px;
1429
- line-height: 1.42857143;
1430
- border: 1px solid transparent;
1431
- border-radius: 4px 4px 0 0;
1432
- }
1433
- .nav-tabs > li > a:hover {
1434
- border-color: #eee #eee #ddd;
1435
- }
1436
- .nav-tabs > li.active > a,
1437
- .nav-tabs > li.active > a:hover,
1438
- .nav-tabs > li.active > a:focus {
1439
- color: #555;
1440
- cursor: default;
1441
- background-color: #fff;
1442
- border: 1px solid #ddd;
1443
- border-bottom-color: transparent;
1444
- }
1445
- .nav-tabs.nav-justified {
1446
- width: 100%;
1447
- border-bottom: 0;
1448
- }
1449
- .nav-tabs.nav-justified > li {
1450
- float: none;
1451
- }
1452
- .nav-tabs.nav-justified > li > a {
1453
- margin-bottom: 5px;
1454
- text-align: center;
1455
- }
1456
- .nav-tabs.nav-justified > .dropdown .dropdown-menu {
1457
- top: auto;
1458
- left: auto;
1459
- }
1460
- @media (min-width: 768px) {
1461
- .nav-tabs.nav-justified > li {
1462
- display: table-cell;
1463
- width: 1%;
1464
- }
1465
- .nav-tabs.nav-justified > li > a {
1466
- margin-bottom: 0;
1467
- }
1468
- }
1469
- .nav-tabs.nav-justified > li > a {
1470
- margin-right: 0;
1471
- border-radius: 4px;
1472
- }
1473
- .nav-tabs.nav-justified > .active > a,
1474
- .nav-tabs.nav-justified > .active > a:hover,
1475
- .nav-tabs.nav-justified > .active > a:focus {
1476
- border: 1px solid #ddd;
1477
- }
1478
- @media (min-width: 768px) {
1479
- .nav-tabs.nav-justified > li > a {
1480
- border-bottom: 1px solid #ddd;
1481
- border-radius: 4px 4px 0 0;
1482
- }
1483
- .nav-tabs.nav-justified > .active > a,
1484
- .nav-tabs.nav-justified > .active > a:hover,
1485
- .nav-tabs.nav-justified > .active > a:focus {
1486
- border-bottom-color: #fff;
1487
- }
1488
- }
1489
- .nav-pills > li {
1490
- float: left;
1491
- }
1492
- .nav-pills > li > a {
1493
- border-radius: 4px;
1494
- }
1495
- .nav-pills > li + li {
1496
- margin-left: 2px;
1497
- }
1498
- .nav-pills > li.active > a,
1499
- .nav-pills > li.active > a:hover,
1500
- .nav-pills > li.active > a:focus {
1501
- color: #fff;
1502
- background-color: #337ab7;
1503
- }
1504
- .nav-stacked > li {
1505
- float: none;
1506
- }
1507
- .nav-stacked > li + li {
1508
- margin-top: 2px;
1509
- margin-left: 0;
1510
- }
1511
- .nav-justified {
1512
- width: 100%;
1513
- }
1514
- .nav-justified > li {
1515
- float: none;
1516
- }
1517
- .nav-justified > li > a {
1518
- margin-bottom: 5px;
1519
- text-align: center;
1520
- }
1521
- .nav-justified > .dropdown .dropdown-menu {
1522
- top: auto;
1523
- left: auto;
1524
- }
1525
- @media (min-width: 768px) {
1526
- .nav-justified > li {
1527
- display: table-cell;
1528
- width: 1%;
1529
- }
1530
- .nav-justified > li > a {
1531
- margin-bottom: 0;
1532
- }
1533
- }
1534
- .nav-tabs-justified {
1535
- border-bottom: 0;
1536
- }
1537
- .nav-tabs-justified > li > a {
1538
- margin-right: 0;
1539
- border-radius: 4px;
1540
- }
1541
- .nav-tabs-justified > .active > a,
1542
- .nav-tabs-justified > .active > a:hover,
1543
- .nav-tabs-justified > .active > a:focus {
1544
- border: 1px solid #ddd;
1545
- }
1546
- @media (min-width: 768px) {
1547
- .nav-tabs-justified > li > a {
1548
- border-bottom: 1px solid #ddd;
1549
- border-radius: 4px 4px 0 0;
1550
- }
1551
- .nav-tabs-justified > .active > a,
1552
- .nav-tabs-justified > .active > a:hover,
1553
- .nav-tabs-justified > .active > a:focus {
1554
- border-bottom-color: #fff;
1555
- }
1556
- }
1557
- .tab-content > .tab-pane {
1558
- display: none;
1559
- }
1560
- .tab-content > .active {
1561
- display: block;
1562
- }
1563
- .nav-tabs .dropdown-menu {
1564
- margin-top: -1px;
1565
- border-top-left-radius: 0;
1566
- border-top-right-radius: 0;
1567
- }
1568
- .navbar {
1569
- position: relative;
1570
- min-height: 50px;
1571
- margin-bottom: 20px;
1572
- border: 1px solid transparent;
1573
- }
1574
- @media (min-width: 768px) {
1575
- .navbar {
1576
- border-radius: 4px;
1577
- }
1578
- }
1579
- @media (min-width: 768px) {
1580
- .navbar-header {
1581
- float: left;
1582
- }
1583
- }
1584
- .navbar-collapse {
1585
- padding-right: 15px;
1586
- padding-left: 15px;
1587
- overflow-x: visible;
1588
- -webkit-overflow-scrolling: touch;
1589
- border-top: 1px solid transparent;
1590
- -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1);
1591
- box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1);
1592
- }
1593
- .navbar-collapse.in {
1594
- overflow-y: auto;
1595
- }
1596
- @media (min-width: 768px) {
1597
- .navbar-collapse {
1598
- width: auto;
1599
- border-top: 0;
1600
- -webkit-box-shadow: none;
1601
- box-shadow: none;
1602
- }
1603
- .navbar-collapse.collapse {
1604
- display: block !important;
1605
- height: auto !important;
1606
- padding-bottom: 0;
1607
- overflow: visible !important;
1608
- }
1609
- .navbar-collapse.in {
1610
- overflow-y: visible;
1611
- }
1612
- .navbar-fixed-top .navbar-collapse,
1613
- .navbar-static-top .navbar-collapse,
1614
- .navbar-fixed-bottom .navbar-collapse {
1615
- padding-right: 0;
1616
- padding-left: 0;
1617
- }
1618
- }
1619
- .navbar-fixed-top .navbar-collapse,
1620
- .navbar-fixed-bottom .navbar-collapse {
1621
- max-height: 340px;
1622
- }
1623
- @media (max-device-width: 480px) and (orientation: landscape) {
1624
- .navbar-fixed-top .navbar-collapse,
1625
- .navbar-fixed-bottom .navbar-collapse {
1626
- max-height: 200px;
1627
- }
1628
- }
1629
- .container > .navbar-header,
1630
- .container-fluid > .navbar-header,
1631
- .container > .navbar-collapse,
1632
- .container-fluid > .navbar-collapse {
1633
- margin-right: -15px;
1634
- margin-left: -15px;
1635
- }
1636
- @media (min-width: 768px) {
1637
- .container > .navbar-header,
1638
- .container-fluid > .navbar-header,
1639
- .container > .navbar-collapse,
1640
- .container-fluid > .navbar-collapse {
1641
- margin-right: 0;
1642
- margin-left: 0;
1643
- }
1644
- }
1645
- .navbar-static-top {
1646
- z-index: 1000;
1647
- border-width: 0 0 1px;
1648
- }
1649
- @media (min-width: 768px) {
1650
- .navbar-static-top {
1651
- border-radius: 0;
1652
- }
1653
- }
1654
- .navbar-fixed-top,
1655
- .navbar-fixed-bottom {
1656
- position: fixed;
1657
- right: 0;
1658
- left: 0;
1659
- z-index: 1030;
1660
- }
1661
- @media (min-width: 768px) {
1662
- .navbar-fixed-top,
1663
- .navbar-fixed-bottom {
1664
- border-radius: 0;
1665
- }
1666
- }
1667
- .navbar-fixed-top {
1668
- top: 0;
1669
- border-width: 0 0 1px;
1670
- }
1671
- .navbar-fixed-bottom {
1672
- bottom: 0;
1673
- margin-bottom: 0;
1674
- border-width: 1px 0 0;
1675
- }
1676
- .navbar-brand {
1677
- float: left;
1678
- height: 50px;
1679
- padding: 15px 15px;
1680
- font-size: 18px;
1681
- line-height: 20px;
1682
- }
1683
- .navbar-brand:hover,
1684
- .navbar-brand:focus {
1685
- text-decoration: none;
1686
- }
1687
- .navbar-brand > img {
1688
- display: block;
1689
- }
1690
- @media (min-width: 768px) {
1691
- .navbar > .container .navbar-brand,
1692
- .navbar > .container-fluid .navbar-brand {
1693
- margin-left: -15px;
1694
- }
1695
- }
1696
- .navbar-toggle {
1697
- position: relative;
1698
- float: right;
1699
- padding: 9px 10px;
1700
- margin-top: 8px;
1701
- margin-right: 15px;
1702
- margin-bottom: 8px;
1703
- background-color: transparent;
1704
- background-image: none;
1705
- border: 1px solid transparent;
1706
- border-radius: 4px;
1707
- }
1708
- .navbar-toggle:focus {
1709
- outline: 0;
1710
- }
1711
- .navbar-toggle .icon-bar {
1712
- display: block;
1713
- width: 22px;
1714
- height: 2px;
1715
- border-radius: 1px;
1716
- }
1717
- .navbar-toggle .icon-bar + .icon-bar {
1718
- margin-top: 4px;
1719
- }
1720
- @media (min-width: 768px) {
1721
- .navbar-toggle {
1722
- display: none;
1723
- }
1724
- }
1725
- .navbar-nav {
1726
- margin: 7.5px -15px;
1727
- }
1728
- .navbar-nav > li > a {
1729
- padding-top: 10px;
1730
- padding-bottom: 10px;
1731
- line-height: 20px;
1732
- }
1733
- @media (max-width: 767px) {
1734
- .navbar-nav .open .dropdown-menu {
1735
- position: static;
1736
- float: none;
1737
- width: auto;
1738
- margin-top: 0;
1739
- background-color: transparent;
1740
- border: 0;
1741
- -webkit-box-shadow: none;
1742
- box-shadow: none;
1743
- }
1744
- .navbar-nav .open .dropdown-menu > li > a,
1745
- .navbar-nav .open .dropdown-menu .dropdown-header {
1746
- padding: 5px 15px 5px 25px;
1747
- }
1748
- .navbar-nav .open .dropdown-menu > li > a {
1749
- line-height: 20px;
1750
- }
1751
- .navbar-nav .open .dropdown-menu > li > a:hover,
1752
- .navbar-nav .open .dropdown-menu > li > a:focus {
1753
- background-image: none;
1754
- }
1755
- }
1756
- @media (min-width: 768px) {
1757
- .navbar-nav {
1758
- float: left;
1759
- margin: 0;
1760
- }
1761
- .navbar-nav > li {
1762
- float: left;
1763
- }
1764
- .navbar-nav > li > a {
1765
- padding-top: 15px;
1766
- padding-bottom: 15px;
1767
- }
1768
- }
1769
- .navbar-form {
1770
- padding: 10px 15px;
1771
- margin-top: 8px;
1772
- margin-right: -15px;
1773
- margin-bottom: 8px;
1774
- margin-left: -15px;
1775
- border-top: 1px solid transparent;
1776
- border-bottom: 1px solid transparent;
1777
- -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 1px 0 rgba(255, 255, 255, .1);
1778
- box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 1px 0 rgba(255, 255, 255, .1);
1779
- }
1780
- @media (min-width: 768px) {
1781
- .navbar-form .form-group {
1782
- display: inline-block;
1783
- margin-bottom: 0;
1784
- vertical-align: middle;
1785
- }
1786
- .navbar-form .form-control {
1787
- display: inline-block;
1788
- width: auto;
1789
- vertical-align: middle;
1790
- }
1791
- .navbar-form .form-control-static {
1792
- display: inline-block;
1793
- }
1794
- .navbar-form .input-group {
1795
- display: inline-table;
1796
- vertical-align: middle;
1797
- }
1798
- .navbar-form .input-group .input-group-addon,
1799
- .navbar-form .input-group .input-group-btn,
1800
- .navbar-form .input-group .form-control {
1801
- width: auto;
1802
- }
1803
- .navbar-form .input-group > .form-control {
1804
- width: 100%;
1805
- }
1806
- .navbar-form .control-label {
1807
- margin-bottom: 0;
1808
- vertical-align: middle;
1809
- }
1810
- .navbar-form .radio,
1811
- .navbar-form .checkbox {
1812
- display: inline-block;
1813
- margin-top: 0;
1814
- margin-bottom: 0;
1815
- vertical-align: middle;
1816
- }
1817
- .navbar-form .radio label,
1818
- .navbar-form .checkbox label {
1819
- padding-left: 0;
1820
- }
1821
- .navbar-form .radio input[type="radio"],
1822
- .navbar-form .checkbox input[type="checkbox"] {
1823
- position: relative;
1824
- margin-left: 0;
1825
- }
1826
- .navbar-form .has-feedback .form-control-feedback {
1827
- top: 0;
1828
- }
1829
- }
1830
- @media (max-width: 767px) {
1831
- .navbar-form .form-group {
1832
- margin-bottom: 5px;
1833
- }
1834
- .navbar-form .form-group:last-child {
1835
- margin-bottom: 0;
1836
- }
1837
- }
1838
- @media (min-width: 768px) {
1839
- .navbar-form {
1840
- width: auto;
1841
- padding-top: 0;
1842
- padding-bottom: 0;
1843
- margin-right: 0;
1844
- margin-left: 0;
1845
- border: 0;
1846
- -webkit-box-shadow: none;
1847
- box-shadow: none;
1848
- }
1849
- }
1850
- .navbar-nav > li > .dropdown-menu {
1851
- margin-top: 0;
1852
- border-top-left-radius: 0;
1853
- border-top-right-radius: 0;
1854
- }
1855
- .navbar-fixed-bottom .navbar-nav > li > .dropdown-menu {
1856
- margin-bottom: 0;
1857
- border-top-left-radius: 4px;
1858
- border-top-right-radius: 4px;
1859
- border-bottom-right-radius: 0;
1860
- border-bottom-left-radius: 0;
1861
- }
1862
- .navbar-btn {
1863
- margin-top: 8px;
1864
- margin-bottom: 8px;
1865
- }
1866
- .navbar-btn.btn-sm {
1867
- margin-top: 10px;
1868
- margin-bottom: 10px;
1869
- }
1870
- .navbar-btn.btn-xs {
1871
- margin-top: 14px;
1872
- margin-bottom: 14px;
1873
- }
1874
- .navbar-text {
1875
- margin-top: 15px;
1876
- margin-bottom: 15px;
1877
- }
1878
- @media (min-width: 768px) {
1879
- .navbar-text {
1880
- float: left;
1881
- margin-right: 15px;
1882
- margin-left: 15px;
1883
- }
1884
- }
1885
- @media (min-width: 768px) {
1886
- .navbar-left {
1887
- float: left !important;
1888
- }
1889
- .navbar-right {
1890
- float: right !important;
1891
- margin-right: -15px;
1892
- }
1893
- .navbar-right ~ .navbar-right {
1894
- margin-right: 0;
1895
- }
1896
- }
1897
- .navbar-default {
1898
- background-color: #f8f8f8;
1899
- border-color: #e7e7e7;
1900
- }
1901
- .navbar-default .navbar-brand {
1902
- color: #777;
1903
- }
1904
- .navbar-default .navbar-brand:hover,
1905
- .navbar-default .navbar-brand:focus {
1906
- color: #5e5e5e;
1907
- background-color: transparent;
1908
- }
1909
- .navbar-default .navbar-text {
1910
- color: #777;
1911
- }
1912
- .navbar-default .navbar-nav > li > a {
1913
- color: #777;
1914
- }
1915
- .navbar-default .navbar-nav > li > a:hover,
1916
- .navbar-default .navbar-nav > li > a:focus {
1917
- color: #333;
1918
- background-color: transparent;
1919
- }
1920
- .navbar-default .navbar-nav > .active > a,
1921
- .navbar-default .navbar-nav > .active > a:hover,
1922
- .navbar-default .navbar-nav > .active > a:focus {
1923
- color: #555;
1924
- background-color: #e7e7e7;
1925
- }
1926
- .navbar-default .navbar-nav > .disabled > a,
1927
- .navbar-default .navbar-nav > .disabled > a:hover,
1928
- .navbar-default .navbar-nav > .disabled > a:focus {
1929
- color: #ccc;
1930
- background-color: transparent;
1931
- }
1932
- .navbar-default .navbar-toggle {
1933
- border-color: #ddd;
1934
- }
1935
- .navbar-default .navbar-toggle:hover,
1936
- .navbar-default .navbar-toggle:focus {
1937
- background-color: #ddd;
1938
- }
1939
- .navbar-default .navbar-toggle .icon-bar {
1940
- background-color: #888;
1941
- }
1942
- .navbar-default .navbar-collapse,
1943
- .navbar-default .navbar-form {
1944
- border-color: #e7e7e7;
1945
- }
1946
- .navbar-default .navbar-nav > .open > a,
1947
- .navbar-default .navbar-nav > .open > a:hover,
1948
- .navbar-default .navbar-nav > .open > a:focus {
1949
- color: #555;
1950
- background-color: #e7e7e7;
1951
- }
1952
- @media (max-width: 767px) {
1953
- .navbar-default .navbar-nav .open .dropdown-menu > li > a {
1954
- color: #777;
1955
- }
1956
- .navbar-default .navbar-nav .open .dropdown-menu > li > a:hover,
1957
- .navbar-default .navbar-nav .open .dropdown-menu > li > a:focus {
1958
- color: #333;
1959
- background-color: transparent;
1960
- }
1961
- .navbar-default .navbar-nav .open .dropdown-menu > .active > a,
1962
- .navbar-default .navbar-nav .open .dropdown-menu > .active > a:hover,
1963
- .navbar-default .navbar-nav .open .dropdown-menu > .active > a:focus {
1964
- color: #555;
1965
- background-color: #e7e7e7;
1966
- }
1967
- .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a,
1968
- .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a:hover,
1969
- .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a:focus {
1970
- color: #ccc;
1971
- background-color: transparent;
1972
- }
1973
- }
1974
- .navbar-default .navbar-link {
1975
- color: #777;
1976
- }
1977
- .navbar-default .navbar-link:hover {
1978
- color: #333;
1979
- }
1980
- .navbar-default .btn-link {
1981
- color: #777;
1982
- }
1983
- .navbar-default .btn-link:hover,
1984
- .navbar-default .btn-link:focus {
1985
- color: #333;
1986
- }
1987
- .navbar-default .btn-link[disabled]:hover,
1988
- fieldset[disabled] .navbar-default .btn-link:hover,
1989
- .navbar-default .btn-link[disabled]:focus,
1990
- fieldset[disabled] .navbar-default .btn-link:focus {
1991
- color: #ccc;
1992
- }
1993
- .navbar-inverse {
1994
- background-color: #222;
1995
- border-color: #080808;
1996
- }
1997
- .navbar-inverse .navbar-brand {
1998
- color: #9d9d9d;
1999
- }
2000
- .navbar-inverse .navbar-brand:hover,
2001
- .navbar-inverse .navbar-brand:focus {
2002
- color: #fff;
2003
- background-color: transparent;
2004
- }
2005
- .navbar-inverse .navbar-text {
2006
- color: #9d9d9d;
2007
- }
2008
- .navbar-inverse .navbar-nav > li > a {
2009
- color: #9d9d9d;
2010
- }
2011
- .navbar-inverse .navbar-nav > li > a:hover,
2012
- .navbar-inverse .navbar-nav > li > a:focus {
2013
- color: #fff;
2014
- background-color: transparent;
2015
- }
2016
- .navbar-inverse .navbar-nav > .active > a,
2017
- .navbar-inverse .navbar-nav > .active > a:hover,
2018
- .navbar-inverse .navbar-nav > .active > a:focus {
2019
- color: #fff;
2020
- background-color: #080808;
2021
- }
2022
- .navbar-inverse .navbar-nav > .disabled > a,
2023
- .navbar-inverse .navbar-nav > .disabled > a:hover,
2024
- .navbar-inverse .navbar-nav > .disabled > a:focus {
2025
- color: #444;
2026
- background-color: transparent;
2027
- }
2028
- .navbar-inverse .navbar-toggle {
2029
- border-color: #333;
2030
- }
2031
- .navbar-inverse .navbar-toggle:hover,
2032
- .navbar-inverse .navbar-toggle:focus {
2033
- background-color: #333;
2034
- }
2035
- .navbar-inverse .navbar-toggle .icon-bar {
2036
- background-color: #fff;
2037
- }
2038
- .navbar-inverse .navbar-collapse,
2039
- .navbar-inverse .navbar-form {
2040
- border-color: #101010;
2041
- }
2042
- .navbar-inverse .navbar-nav > .open > a,
2043
- .navbar-inverse .navbar-nav > .open > a:hover,
2044
- .navbar-inverse .navbar-nav > .open > a:focus {
2045
- color: #fff;
2046
- background-color: #080808;
2047
- }
2048
- @media (max-width: 767px) {
2049
- .navbar-inverse .navbar-nav .open .dropdown-menu > .dropdown-header {
2050
- border-color: #080808;
2051
- }
2052
- .navbar-inverse .navbar-nav .open .dropdown-menu .divider {
2053
- background-color: #080808;
2054
- }
2055
- .navbar-inverse .navbar-nav .open .dropdown-menu > li > a {
2056
- color: #9d9d9d;
2057
- }
2058
- .navbar-inverse .navbar-nav .open .dropdown-menu > li > a:hover,
2059
- .navbar-inverse .navbar-nav .open .dropdown-menu > li > a:focus {
2060
- color: #fff;
2061
- background-color: transparent;
2062
- }
2063
- .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a,
2064
- .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a:hover,
2065
- .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a:focus {
2066
- color: #fff;
2067
- background-color: #080808;
2068
- }
2069
- .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a,
2070
- .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a:hover,
2071
- .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a:focus {
2072
- color: #444;
2073
- background-color: transparent;
2074
- }
2075
- }
2076
- .navbar-inverse .navbar-link {
2077
- color: #9d9d9d;
2078
- }
2079
- .navbar-inverse .navbar-link:hover {
2080
- color: #fff;
2081
- }
2082
- .navbar-inverse .btn-link {
2083
- color: #9d9d9d;
2084
- }
2085
- .navbar-inverse .btn-link:hover,
2086
- .navbar-inverse .btn-link:focus {
2087
- color: #fff;
2088
- }
2089
- .navbar-inverse .btn-link[disabled]:hover,
2090
- fieldset[disabled] .navbar-inverse .btn-link:hover,
2091
- .navbar-inverse .btn-link[disabled]:focus,
2092
- fieldset[disabled] .navbar-inverse .btn-link:focus {
2093
- color: #444;
2094
- }
2095
- .breadcrumb {
2096
- padding: 8px 15px;
2097
- margin-bottom: 20px;
2098
- list-style: none;
2099
- background-color: #f5f5f5;
2100
- border-radius: 4px;
2101
- }
2102
- .breadcrumb > li {
2103
- display: inline-block;
2104
- }
2105
- .breadcrumb > li + li:before {
2106
- padding: 0 5px;
2107
- color: #ccc;
2108
- content: "/\00a0";
2109
- }
2110
- .breadcrumb > .active {
2111
- color: #777;
2112
- }
2113
- .pagination {
2114
- display: inline-block;
2115
- padding-left: 0;
2116
- margin: 20px 0;
2117
- border-radius: 4px;
2118
- }
2119
- .pagination > li {
2120
- display: inline;
2121
- }
2122
- .pagination > li > a,
2123
- .pagination > li > span {
2124
- position: relative;
2125
- float: left;
2126
- padding: 6px 12px;
2127
- margin-left: -1px;
2128
- line-height: 1.42857143;
2129
- color: #337ab7;
2130
- text-decoration: none;
2131
- background-color: #fff;
2132
- border: 1px solid #ddd;
2133
- }
2134
- .pagination > li:first-child > a,
2135
- .pagination > li:first-child > span {
2136
- margin-left: 0;
2137
- border-top-left-radius: 4px;
2138
- border-bottom-left-radius: 4px;
2139
- }
2140
- .pagination > li:last-child > a,
2141
- .pagination > li:last-child > span {
2142
- border-top-right-radius: 4px;
2143
- border-bottom-right-radius: 4px;
2144
- }
2145
- .pagination > li > a:hover,
2146
- .pagination > li > span:hover,
2147
- .pagination > li > a:focus,
2148
- .pagination > li > span:focus {
2149
- z-index: 2;
2150
- color: #23527c;
2151
- background-color: #eee;
2152
- border-color: #ddd;
2153
- }
2154
- .pagination > .active > a,
2155
- .pagination > .active > span,
2156
- .pagination > .active > a:hover,
2157
- .pagination > .active > span:hover,
2158
- .pagination > .active > a:focus,
2159
- .pagination > .active > span:focus {
2160
- z-index: 3;
2161
- color: #fff;
2162
- cursor: default;
2163
- background-color: #337ab7;
2164
- border-color: #337ab7;
2165
- }
2166
- .pagination > .disabled > span,
2167
- .pagination > .disabled > span:hover,
2168
- .pagination > .disabled > span:focus,
2169
- .pagination > .disabled > a,
2170
- .pagination > .disabled > a:hover,
2171
- .pagination > .disabled > a:focus {
2172
- color: #777;
2173
- cursor: not-allowed;
2174
- background-color: #fff;
2175
- border-color: #ddd;
2176
- }
2177
- .pagination-lg > li > a,
2178
- .pagination-lg > li > span {
2179
- padding: 10px 16px;
2180
- font-size: 18px;
2181
- line-height: 1.3333333;
2182
- }
2183
- .pagination-lg > li:first-child > a,
2184
- .pagination-lg > li:first-child > span {
2185
- border-top-left-radius: 6px;
2186
- border-bottom-left-radius: 6px;
2187
- }
2188
- .pagination-lg > li:last-child > a,
2189
- .pagination-lg > li:last-child > span {
2190
- border-top-right-radius: 6px;
2191
- border-bottom-right-radius: 6px;
2192
- }
2193
- .pagination-sm > li > a,
2194
- .pagination-sm > li > span {
2195
- padding: 5px 10px;
2196
- font-size: 12px;
2197
- line-height: 1.5;
2198
- }
2199
- .pagination-sm > li:first-child > a,
2200
- .pagination-sm > li:first-child > span {
2201
- border-top-left-radius: 3px;
2202
- border-bottom-left-radius: 3px;
2203
- }
2204
- .pagination-sm > li:last-child > a,
2205
- .pagination-sm > li:last-child > span {
2206
- border-top-right-radius: 3px;
2207
- border-bottom-right-radius: 3px;
2208
- }
2209
- .pager {
2210
- padding-left: 0;
2211
- margin: 20px 0;
2212
- text-align: center;
2213
- list-style: none;
2214
- }
2215
- .pager li {
2216
- display: inline;
2217
- }
2218
- .pager li > a,
2219
- .pager li > span {
2220
- display: inline-block;
2221
- padding: 5px 14px;
2222
- background-color: #fff;
2223
- border: 1px solid #ddd;
2224
- border-radius: 15px;
2225
- }
2226
- .pager li > a:hover,
2227
- .pager li > a:focus {
2228
- text-decoration: none;
2229
- background-color: #eee;
2230
- }
2231
- .pager .next > a,
2232
- .pager .next > span {
2233
- float: right;
2234
- }
2235
- .pager .previous > a,
2236
- .pager .previous > span {
2237
- float: left;
2238
- }
2239
- .pager .disabled > a,
2240
- .pager .disabled > a:hover,
2241
- .pager .disabled > a:focus,
2242
- .pager .disabled > span {
2243
- color: #777;
2244
- cursor: not-allowed;
2245
- background-color: #fff;
2246
- }
2247
- .label {
2248
- display: inline;
2249
- padding: .2em .6em .3em;
2250
- font-size: 75%;
2251
- font-weight: bold;
2252
- line-height: 1;
2253
- color: #fff;
2254
- text-align: center;
2255
- white-space: nowrap;
2256
- vertical-align: baseline;
2257
- border-radius: .25em;
2258
- }
2259
- a.label:hover,
2260
- a.label:focus {
2261
- color: #fff;
2262
- text-decoration: none;
2263
- cursor: pointer;
2264
- }
2265
- .label:empty {
2266
- display: none;
2267
- }
2268
- .btn .label {
2269
- position: relative;
2270
- top: -1px;
2271
- }
2272
- .label-default {
2273
- background-color: #777;
2274
- }
2275
- .label-default[href]:hover,
2276
- .label-default[href]:focus {
2277
- background-color: #5e5e5e;
2278
- }
2279
- .label-primary {
2280
- background-color: #337ab7;
2281
- }
2282
- .label-primary[href]:hover,
2283
- .label-primary[href]:focus {
2284
- background-color: #286090;
2285
- }
2286
- .label-success {
2287
- background-color: #5cb85c;
2288
- }
2289
- .label-success[href]:hover,
2290
- .label-success[href]:focus {
2291
- background-color: #449d44;
2292
- }
2293
- .label-info {
2294
- background-color: #5bc0de;
2295
- }
2296
- .label-info[href]:hover,
2297
- .label-info[href]:focus {
2298
- background-color: #31b0d5;
2299
- }
2300
- .label-warning {
2301
- background-color: #f0ad4e;
2302
- }
2303
- .label-warning[href]:hover,
2304
- .label-warning[href]:focus {
2305
- background-color: #ec971f;
2306
- }
2307
- .label-danger {
2308
- background-color: #d9534f;
2309
- }
2310
- .label-danger[href]:hover,
2311
- .label-danger[href]:focus {
2312
- background-color: #c9302c;
2313
- }
2314
- .badge {
2315
- display: inline-block;
2316
- min-width: 10px;
2317
- padding: 3px 7px;
2318
- font-size: 12px;
2319
- font-weight: bold;
2320
- line-height: 1;
2321
- color: #fff;
2322
- text-align: center;
2323
- white-space: nowrap;
2324
- vertical-align: middle;
2325
- background-color: #777;
2326
- border-radius: 10px;
2327
- }
2328
- .badge:empty {
2329
- display: none;
2330
- }
2331
- .btn .badge {
2332
- position: relative;
2333
- top: -1px;
2334
- }
2335
- .btn-xs .badge,
2336
- .btn-group-xs > .btn .badge {
2337
- top: 0;
2338
- padding: 1px 5px;
2339
- }
2340
- a.badge:hover,
2341
- a.badge:focus {
2342
- color: #fff;
2343
- text-decoration: none;
2344
- cursor: pointer;
2345
- }
2346
- .list-group-item.active > .badge,
2347
- .nav-pills > .active > a > .badge {
2348
- color: #337ab7;
2349
- background-color: #fff;
2350
- }
2351
- .list-group-item > .badge {
2352
- float: right;
2353
- }
2354
- .list-group-item > .badge + .badge {
2355
- margin-right: 5px;
2356
- }
2357
- .nav-pills > li > a > .badge {
2358
- margin-left: 3px;
2359
- }
2360
- .jumbotron {
2361
- padding-top: 30px;
2362
- padding-bottom: 30px;
2363
- margin-bottom: 30px;
2364
- color: inherit;
2365
- background-color: #eee;
2366
- }
2367
- .jumbotron h1,
2368
- .jumbotron .h1 {
2369
- color: inherit;
2370
- }
2371
- .jumbotron p {
2372
- margin-bottom: 15px;
2373
- font-size: 21px;
2374
- font-weight: 200;
2375
- }
2376
- .jumbotron > hr {
2377
- border-top-color: #d5d5d5;
2378
- }
2379
- .container .jumbotron,
2380
- .container-fluid .jumbotron {
2381
- padding-right: 15px;
2382
- padding-left: 15px;
2383
- border-radius: 6px;
2384
- }
2385
- .jumbotron .container {
2386
- max-width: 100%;
2387
- }
2388
- @media screen and (min-width: 768px) {
2389
- .jumbotron {
2390
- padding-top: 48px;
2391
- padding-bottom: 48px;
2392
- }
2393
- .container .jumbotron,
2394
- .container-fluid .jumbotron {
2395
- padding-right: 60px;
2396
- padding-left: 60px;
2397
- }
2398
- .jumbotron h1,
2399
- .jumbotron .h1 {
2400
- font-size: 63px;
2401
- }
2402
- }
2403
-
2404
- .alert {
2405
- padding: 15px;
2406
- margin-bottom: 20px;
2407
- border: 1px solid transparent;
2408
- border-radius: 4px;
2409
- }
2410
- .alert h4 {
2411
- margin-top: 0;
2412
- color: inherit;
2413
- }
2414
- .alert .alert-link {
2415
- font-weight: bold;
2416
- }
2417
- .alert > p,
2418
- .alert > ul {
2419
- margin-bottom: 0;
2420
- }
2421
- .alert > p + p {
2422
- margin-top: 5px;
2423
- }
2424
- .alert-dismissable,
2425
- .alert-dismissible {
2426
- padding-right: 35px;
2427
- }
2428
- .alert-dismissable .close,
2429
- .alert-dismissible .close {
2430
- position: relative;
2431
- top: -2px;
2432
- right: -21px;
2433
- color: inherit;
2434
- }
2435
- .alert-success {
2436
- color: #3c763d;
2437
- background-color: #dff0d8;
2438
- border-color: #d6e9c6;
2439
- }
2440
- .alert-success hr {
2441
- border-top-color: #c9e2b3;
2442
- }
2443
- .alert-success .alert-link {
2444
- color: #2b542c;
2445
- }
2446
- .alert-info {
2447
- color: #31708f;
2448
- background-color: #d9edf7;
2449
- border-color: #bce8f1;
2450
- }
2451
- .alert-info hr {
2452
- border-top-color: #a6e1ec;
2453
- }
2454
- .alert-info .alert-link {
2455
- color: #245269;
2456
- }
2457
- .alert-warning {
2458
- color: #8a6d3b;
2459
- background-color: #fcf8e3;
2460
- border-color: #faebcc;
2461
- }
2462
- .alert-warning hr {
2463
- border-top-color: #f7e1b5;
2464
- }
2465
- .alert-warning .alert-link {
2466
- color: #66512c;
2467
- }
2468
- .alert-danger {
2469
- color: #a94442;
2470
- background-color: #f2dede;
2471
- border-color: #ebccd1;
2472
- }
2473
- .alert-danger hr {
2474
- border-top-color: #e4b9c0;
2475
- }
2476
- .alert-danger .alert-link {
2477
- color: #843534;
2478
- }
2479
- @-webkit-keyframes progress-bar-stripes {
2480
- from {
2481
- background-position: 40px 0;
2482
- }
2483
- to {
2484
- background-position: 0 0;
2485
- }
2486
- }
2487
- @-o-keyframes progress-bar-stripes {
2488
- from {
2489
- background-position: 40px 0;
2490
- }
2491
- to {
2492
- background-position: 0 0;
2493
- }
2494
- }
2495
- @keyframes progress-bar-stripes {
2496
- from {
2497
- background-position: 40px 0;
2498
- }
2499
- to {
2500
- background-position: 0 0;
2501
- }
2502
- }
2503
- .progress {
2504
- height: 20px;
2505
- margin-bottom: 20px;
2506
- overflow: hidden;
2507
- background-color: #f5f5f5;
2508
- border-radius: 4px;
2509
- -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, .1);
2510
- box-shadow: inset 0 1px 2px rgba(0, 0, 0, .1);
2511
- }
2512
- .progress-bar {
2513
- float: left;
2514
- width: 0;
2515
- height: 100%;
2516
- font-size: 12px;
2517
- line-height: 20px;
2518
- color: #fff;
2519
- text-align: center;
2520
- background-color: #337ab7;
2521
- -webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .15);
2522
- box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .15);
2523
- -webkit-transition: width .6s ease;
2524
- -o-transition: width .6s ease;
2525
- transition: width .6s ease;
2526
- }
2527
- .progress-striped .progress-bar,
2528
- .progress-bar-striped {
2529
- background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
2530
- background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
2531
- background-image: linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
2532
- -webkit-background-size: 40px 40px;
2533
- background-size: 40px 40px;
2534
- }
2535
- .progress.active .progress-bar,
2536
- .progress-bar.active {
2537
- -webkit-animation: progress-bar-stripes 2s linear infinite;
2538
- -o-animation: progress-bar-stripes 2s linear infinite;
2539
- animation: progress-bar-stripes 2s linear infinite;
2540
- }
2541
- .progress-bar-success {
2542
- background-color: #5cb85c;
2543
- }
2544
- .progress-striped .progress-bar-success {
2545
- background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
2546
- background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
2547
- background-image: linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
2548
- }
2549
-
2550
- .progress-striped .progress-bar-info {
2551
- background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
2552
- background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
2553
- background-image: linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
2554
- }
2555
- .progress-bar-warning {
2556
- background-color: #f0ad4e;
2557
- }
2558
- .progress-striped .progress-bar-warning {
2559
- background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
2560
- background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
2561
- background-image: linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
2562
- }
2563
- .progress-bar-danger {
2564
- background-color: #d9534f;
2565
- }
2566
- .progress-striped .progress-bar-danger {
2567
- background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
2568
- background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
2569
- background-image: linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
2570
- }
2571
- .media {
2572
- margin-top: 15px;
2573
- }
2574
- .media:first-child {
2575
- margin-top: 0;
2576
- }
2577
- .media,
2578
- .media-body {
2579
- overflow: hidden;
2580
- zoom: 1;
2581
- }
2582
- .media-body {
2583
- width: 10000px;
2584
- }
2585
- .media-object {
2586
- display: block;
2587
- }
2588
- .media-object.img-thumbnail {
2589
- max-width: none;
2590
- }
2591
- .media-right,
2592
- .media > .pull-right {
2593
- padding-left: 10px;
2594
- }
2595
- .media-left,
2596
- .media > .pull-left {
2597
- padding-right: 10px;
2598
- }
2599
- .media-left,
2600
- .media-right,
2601
- .media-body {
2602
- display: table-cell;
2603
- vertical-align: top;
2604
- }
2605
- .media-middle {
2606
- vertical-align: middle;
2607
- }
2608
- .media-bottom {
2609
- vertical-align: bottom;
2610
- }
2611
- .media-heading {
2612
- margin-top: 0;
2613
- margin-bottom: 5px;
2614
- }
2615
- .media-list {
2616
- padding-left: 0;
2617
- list-style: none;
2618
- }
2619
- .list-group {
2620
- padding-left: 0;
2621
- margin-bottom: 20px;
2622
- }
2623
- .list-group-item {
2624
- position: relative;
2625
- display: block;
2626
- padding: 10px 15px;
2627
- margin-bottom: -1px;
2628
- background-color: #fff;
2629
- border: 1px solid #ddd;
2630
- }
2631
- .list-group-item:first-child {
2632
- border-top-left-radius: 4px;
2633
- border-top-right-radius: 4px;
2634
- }
2635
- .list-group-item:last-child {
2636
- margin-bottom: 0;
2637
- border-bottom-right-radius: 4px;
2638
- border-bottom-left-radius: 4px;
2639
- }
2640
- a.list-group-item,
2641
- button.list-group-item {
2642
- color: #555;
2643
- }
2644
- a.list-group-item .list-group-item-heading,
2645
- button.list-group-item .list-group-item-heading {
2646
- color: #333;
2647
- }
2648
- a.list-group-item:hover,
2649
- button.list-group-item:hover,
2650
- a.list-group-item:focus,
2651
- button.list-group-item:focus {
2652
- color: #555;
2653
- text-decoration: none;
2654
- background-color: #f5f5f5;
2655
- }
2656
- button.list-group-item {
2657
- width: 100%;
2658
- text-align: left;
2659
- }
2660
- .list-group-item.disabled,
2661
- .list-group-item.disabled:hover,
2662
- .list-group-item.disabled:focus {
2663
- color: #777;
2664
- cursor: not-allowed;
2665
- background-color: #eee;
2666
- }
2667
- .list-group-item.disabled .list-group-item-heading,
2668
- .list-group-item.disabled:hover .list-group-item-heading,
2669
- .list-group-item.disabled:focus .list-group-item-heading {
2670
- color: inherit;
2671
- }
2672
- .list-group-item.disabled .list-group-item-text,
2673
- .list-group-item.disabled:hover .list-group-item-text,
2674
- .list-group-item.disabled:focus .list-group-item-text {
2675
- color: #777;
2676
- }
2677
- .list-group-item.active,
2678
- .list-group-item.active:hover,
2679
- .list-group-item.active:focus {
2680
- z-index: 2;
2681
- color: #fff;
2682
- background-color: #337ab7;
2683
- border-color: #337ab7;
2684
- }
2685
- .list-group-item.active .list-group-item-heading,
2686
- .list-group-item.active:hover .list-group-item-heading,
2687
- .list-group-item.active:focus .list-group-item-heading,
2688
- .list-group-item.active .list-group-item-heading > small,
2689
- .list-group-item.active:hover .list-group-item-heading > small,
2690
- .list-group-item.active:focus .list-group-item-heading > small,
2691
- .list-group-item.active .list-group-item-heading > .small,
2692
- .list-group-item.active:hover .list-group-item-heading > .small,
2693
- .list-group-item.active:focus .list-group-item-heading > .small {
2694
- color: inherit;
2695
- }
2696
- .list-group-item.active .list-group-item-text,
2697
- .list-group-item.active:hover .list-group-item-text,
2698
- .list-group-item.active:focus .list-group-item-text {
2699
- color: #c7ddef;
2700
- }
2701
- .list-group-item-success {
2702
- color: #3c763d;
2703
- background-color: #dff0d8;
2704
- }
2705
- a.list-group-item-success,
2706
- button.list-group-item-success {
2707
- color: #3c763d;
2708
- }
2709
- a.list-group-item-success .list-group-item-heading,
2710
- button.list-group-item-success .list-group-item-heading {
2711
- color: inherit;
2712
- }
2713
- a.list-group-item-success:hover,
2714
- button.list-group-item-success:hover,
2715
- a.list-group-item-success:focus,
2716
- button.list-group-item-success:focus {
2717
- color: #3c763d;
2718
- background-color: #d0e9c6;
2719
- }
2720
- a.list-group-item-success.active,
2721
- button.list-group-item-success.active,
2722
- a.list-group-item-success.active:hover,
2723
- button.list-group-item-success.active:hover,
2724
- a.list-group-item-success.active:focus,
2725
- button.list-group-item-success.active:focus {
2726
- color: #fff;
2727
- background-color: #3c763d;
2728
- border-color: #3c763d;
2729
- }
2730
- .list-group-item-info {
2731
- color: #31708f;
2732
- background-color: #d9edf7;
2733
- }
2734
- a.list-group-item-info,
2735
- button.list-group-item-info {
2736
- color: #31708f;
2737
- }
2738
- a.list-group-item-info .list-group-item-heading,
2739
- button.list-group-item-info .list-group-item-heading {
2740
- color: inherit;
2741
- }
2742
- a.list-group-item-info:hover,
2743
- button.list-group-item-info:hover,
2744
- a.list-group-item-info:focus,
2745
- button.list-group-item-info:focus {
2746
- color: #31708f;
2747
- background-color: #c4e3f3;
2748
- }
2749
- a.list-group-item-info.active,
2750
- button.list-group-item-info.active,
2751
- a.list-group-item-info.active:hover,
2752
- button.list-group-item-info.active:hover,
2753
- a.list-group-item-info.active:focus,
2754
- button.list-group-item-info.active:focus {
2755
- color: #fff;
2756
- background-color: #31708f;
2757
- border-color: #31708f;
2758
- }
2759
- .list-group-item-warning {
2760
- color: #8a6d3b;
2761
- background-color: #fcf8e3;
2762
- }
2763
- a.list-group-item-warning,
2764
- button.list-group-item-warning {
2765
- color: #8a6d3b;
2766
- }
2767
- a.list-group-item-warning .list-group-item-heading,
2768
- button.list-group-item-warning .list-group-item-heading {
2769
- color: inherit;
2770
- }
2771
- a.list-group-item-warning:hover,
2772
- button.list-group-item-warning:hover,
2773
- a.list-group-item-warning:focus,
2774
- button.list-group-item-warning:focus {
2775
- color: #8a6d3b;
2776
- background-color: #faf2cc;
2777
- }
2778
- a.list-group-item-warning.active,
2779
- button.list-group-item-warning.active,
2780
- a.list-group-item-warning.active:hover,
2781
- button.list-group-item-warning.active:hover,
2782
- a.list-group-item-warning.active:focus,
2783
- button.list-group-item-warning.active:focus {
2784
- color: #fff;
2785
- background-color: #8a6d3b;
2786
- border-color: #8a6d3b;
2787
- }
2788
- .list-group-item-danger {
2789
- color: #a94442;
2790
- background-color: #f2dede;
2791
- }
2792
- a.list-group-item-danger,
2793
- button.list-group-item-danger {
2794
- color: #a94442;
2795
- }
2796
- a.list-group-item-danger .list-group-item-heading,
2797
- button.list-group-item-danger .list-group-item-heading {
2798
- color: inherit;
2799
- }
2800
- a.list-group-item-danger:hover,
2801
- button.list-group-item-danger:hover,
2802
- a.list-group-item-danger:focus,
2803
- button.list-group-item-danger:focus {
2804
- color: #a94442;
2805
- background-color: #ebcccc;
2806
- }
2807
- a.list-group-item-danger.active,
2808
- button.list-group-item-danger.active,
2809
- a.list-group-item-danger.active:hover,
2810
- button.list-group-item-danger.active:hover,
2811
- a.list-group-item-danger.active:focus,
2812
- button.list-group-item-danger.active:focus {
2813
- color: #fff;
2814
- background-color: #a94442;
2815
- border-color: #a94442;
2816
- }
2817
- .list-group-item-heading {
2818
- margin-top: 0;
2819
- margin-bottom: 5px;
2820
- }
2821
- .list-group-item-text {
2822
- margin-bottom: 0;
2823
- line-height: 1.3;
2824
- }
2825
- .panel {
2826
- margin-bottom: 20px;
2827
- background-color: #fff;
2828
- border: 1px solid transparent;
2829
- border-radius: 4px;
2830
- -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, .05);
2831
- box-shadow: 0 1px 1px rgba(0, 0, 0, .05);
2832
- }
2833
- .panel-body {
2834
- padding: 15px;
2835
- }
2836
- .panel-heading {
2837
- padding: 10px 15px;
2838
- border-bottom: 1px solid transparent;
2839
- border-top-left-radius: 3px;
2840
- border-top-right-radius: 3px;
2841
- }
2842
- .panel-heading > .dropdown .dropdown-toggle {
2843
- color: inherit;
2844
- }
2845
- .panel-title {
2846
- margin-top: 0;
2847
- margin-bottom: 0;
2848
- font-size: 16px;
2849
- color: inherit;
2850
- }
2851
- .panel-title > a,
2852
- .panel-title > small,
2853
- .panel-title > .small,
2854
- .panel-title > small > a,
2855
- .panel-title > .small > a {
2856
- color: inherit;
2857
- }
2858
- .panel-footer {
2859
- padding: 10px 15px;
2860
- background-color: #f5f5f5;
2861
- border-top: 1px solid #ddd;
2862
- border-bottom-right-radius: 3px;
2863
- border-bottom-left-radius: 3px;
2864
- }
2865
- .panel > .list-group,
2866
- .panel > .panel-collapse > .list-group {
2867
- margin-bottom: 0;
2868
- }
2869
- .panel > .list-group .list-group-item,
2870
- .panel > .panel-collapse > .list-group .list-group-item {
2871
- border-width: 1px 0;
2872
- border-radius: 0;
2873
- }
2874
- .panel > .list-group:first-child .list-group-item:first-child,
2875
- .panel > .panel-collapse > .list-group:first-child .list-group-item:first-child {
2876
- border-top: 0;
2877
- border-top-left-radius: 3px;
2878
- border-top-right-radius: 3px;
2879
- }
2880
- .panel > .list-group:last-child .list-group-item:last-child,
2881
- .panel > .panel-collapse > .list-group:last-child .list-group-item:last-child {
2882
- border-bottom: 0;
2883
- border-bottom-right-radius: 3px;
2884
- border-bottom-left-radius: 3px;
2885
- }
2886
- .panel > .panel-heading + .panel-collapse > .list-group .list-group-item:first-child {
2887
- border-top-left-radius: 0;
2888
- border-top-right-radius: 0;
2889
- }
2890
- .panel-heading + .list-group .list-group-item:first-child {
2891
- border-top-width: 0;
2892
- }
2893
- .list-group + .panel-footer {
2894
- border-top-width: 0;
2895
- }
2896
- .panel > .table,
2897
- .panel > .table-responsive > .table,
2898
- .panel > .panel-collapse > .table {
2899
- margin-bottom: 0;
2900
- }
2901
- .panel > .table caption,
2902
- .panel > .table-responsive > .table caption,
2903
- .panel > .panel-collapse > .table caption {
2904
- padding-right: 15px;
2905
- padding-left: 15px;
2906
- }
2907
- .panel > .table:first-child,
2908
- .panel > .table-responsive:first-child > .table:first-child {
2909
- border-top-left-radius: 3px;
2910
- border-top-right-radius: 3px;
2911
- }
2912
- .panel > .table:first-child > thead:first-child > tr:first-child,
2913
- .panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child,
2914
- .panel > .table:first-child > tbody:first-child > tr:first-child,
2915
- .panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child {
2916
- border-top-left-radius: 3px;
2917
- border-top-right-radius: 3px;
2918
- }
2919
- .panel > .table:first-child > thead:first-child > tr:first-child td:first-child,
2920
- .panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child td:first-child,
2921
- .panel > .table:first-child > tbody:first-child > tr:first-child td:first-child,
2922
- .panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child td:first-child,
2923
- .panel > .table:first-child > thead:first-child > tr:first-child th:first-child,
2924
- .panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child th:first-child,
2925
- .panel > .table:first-child > tbody:first-child > tr:first-child th:first-child,
2926
- .panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child th:first-child {
2927
- border-top-left-radius: 3px;
2928
- }
2929
- .panel > .table:first-child > thead:first-child > tr:first-child td:last-child,
2930
- .panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child td:last-child,
2931
- .panel > .table:first-child > tbody:first-child > tr:first-child td:last-child,
2932
- .panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child td:last-child,
2933
- .panel > .table:first-child > thead:first-child > tr:first-child th:last-child,
2934
- .panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child th:last-child,
2935
- .panel > .table:first-child > tbody:first-child > tr:first-child th:last-child,
2936
- .panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child th:last-child {
2937
- border-top-right-radius: 3px;
2938
- }
2939
- .panel > .table:last-child,
2940
- .panel > .table-responsive:last-child > .table:last-child {
2941
- border-bottom-right-radius: 3px;
2942
- border-bottom-left-radius: 3px;
2943
- }
2944
- .panel > .table:last-child > tbody:last-child > tr:last-child,
2945
- .panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child,
2946
- .panel > .table:last-child > tfoot:last-child > tr:last-child,
2947
- .panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child {
2948
- border-bottom-right-radius: 3px;
2949
- border-bottom-left-radius: 3px;
2950
- }
2951
- .panel > .table:last-child > tbody:last-child > tr:last-child td:first-child,
2952
- .panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child td:first-child,
2953
- .panel > .table:last-child > tfoot:last-child > tr:last-child td:first-child,
2954
- .panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child td:first-child,
2955
- .panel > .table:last-child > tbody:last-child > tr:last-child th:first-child,
2956
- .panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child th:first-child,
2957
- .panel > .table:last-child > tfoot:last-child > tr:last-child th:first-child,
2958
- .panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child th:first-child {
2959
- border-bottom-left-radius: 3px;
2960
- }
2961
- .panel > .table:last-child > tbody:last-child > tr:last-child td:last-child,
2962
- .panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child td:last-child,
2963
- .panel > .table:last-child > tfoot:last-child > tr:last-child td:last-child,
2964
- .panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child td:last-child,
2965
- .panel > .table:last-child > tbody:last-child > tr:last-child th:last-child,
2966
- .panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child th:last-child,
2967
- .panel > .table:last-child > tfoot:last-child > tr:last-child th:last-child,
2968
- .panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child th:last-child {
2969
- border-bottom-right-radius: 3px;
2970
- }
2971
- .panel > .panel-body + .table,
2972
- .panel > .panel-body + .table-responsive,
2973
- .panel > .table + .panel-body,
2974
- .panel > .table-responsive + .panel-body {
2975
- border-top: 1px solid #ddd;
2976
- }
2977
- .panel > .table > tbody:first-child > tr:first-child th,
2978
- .panel > .table > tbody:first-child > tr:first-child td {
2979
- border-top: 0;
2980
- }
2981
- .panel > .table-bordered,
2982
- .panel > .table-responsive > .table-bordered {
2983
- border: 0;
2984
- }
2985
- .panel > .table-bordered > thead > tr > th:first-child,
2986
- .panel > .table-responsive > .table-bordered > thead > tr > th:first-child,
2987
- .panel > .table-bordered > tbody > tr > th:first-child,
2988
- .panel > .table-responsive > .table-bordered > tbody > tr > th:first-child,
2989
- .panel > .table-bordered > tfoot > tr > th:first-child,
2990
- .panel > .table-responsive > .table-bordered > tfoot > tr > th:first-child,
2991
- .panel > .table-bordered > thead > tr > td:first-child,
2992
- .panel > .table-responsive > .table-bordered > thead > tr > td:first-child,
2993
- .panel > .table-bordered > tbody > tr > td:first-child,
2994
- .panel > .table-responsive > .table-bordered > tbody > tr > td:first-child,
2995
- .panel > .table-bordered > tfoot > tr > td:first-child,
2996
- .panel > .table-responsive > .table-bordered > tfoot > tr > td:first-child {
2997
- border-left: 0;
2998
- }
2999
- .panel > .table-bordered > thead > tr > th:last-child,
3000
- .panel > .table-responsive > .table-bordered > thead > tr > th:last-child,
3001
- .panel > .table-bordered > tbody > tr > th:last-child,
3002
- .panel > .table-responsive > .table-bordered > tbody > tr > th:last-child,
3003
- .panel > .table-bordered > tfoot > tr > th:last-child,
3004
- .panel > .table-responsive > .table-bordered > tfoot > tr > th:last-child,
3005
- .panel > .table-bordered > thead > tr > td:last-child,
3006
- .panel > .table-responsive > .table-bordered > thead > tr > td:last-child,
3007
- .panel > .table-bordered > tbody > tr > td:last-child,
3008
- .panel > .table-responsive > .table-bordered > tbody > tr > td:last-child,
3009
- .panel > .table-bordered > tfoot > tr > td:last-child,
3010
- .panel > .table-responsive > .table-bordered > tfoot > tr > td:last-child {
3011
- border-right: 0;
3012
- }
3013
- .panel > .table-bordered > thead > tr:first-child > td,
3014
- .panel > .table-responsive > .table-bordered > thead > tr:first-child > td,
3015
- .panel > .table-bordered > tbody > tr:first-child > td,
3016
- .panel > .table-responsive > .table-bordered > tbody > tr:first-child > td,
3017
- .panel > .table-bordered > thead > tr:first-child > th,
3018
- .panel > .table-responsive > .table-bordered > thead > tr:first-child > th,
3019
- .panel > .table-bordered > tbody > tr:first-child > th,
3020
- .panel > .table-responsive > .table-bordered > tbody > tr:first-child > th {
3021
- border-bottom: 0;
3022
- }
3023
- .panel > .table-bordered > tbody > tr:last-child > td,
3024
- .panel > .table-responsive > .table-bordered > tbody > tr:last-child > td,
3025
- .panel > .table-bordered > tfoot > tr:last-child > td,
3026
- .panel > .table-responsive > .table-bordered > tfoot > tr:last-child > td,
3027
- .panel > .table-bordered > tbody > tr:last-child > th,
3028
- .panel > .table-responsive > .table-bordered > tbody > tr:last-child > th,
3029
- .panel > .table-bordered > tfoot > tr:last-child > th,
3030
- .panel > .table-responsive > .table-bordered > tfoot > tr:last-child > th {
3031
- border-bottom: 0;
3032
- }
3033
- .panel > .table-responsive {
3034
- margin-bottom: 0;
3035
- border: 0;
3036
- }
3037
- .panel-group {
3038
- margin-bottom: 20px;
3039
- }
3040
- .panel-group .panel {
3041
- margin-bottom: 0;
3042
- border-radius: 4px;
3043
- }
3044
- .panel-group .panel + .panel {
3045
- margin-top: 5px;
3046
- }
3047
- .panel-group .panel-heading {
3048
- border-bottom: 0;
3049
- }
3050
- .panel-group .panel-heading + .panel-collapse > .panel-body,
3051
- .panel-group .panel-heading + .panel-collapse > .list-group {
3052
- border-top: 1px solid #ddd;
3053
- }
3054
- .panel-group .panel-footer {
3055
- border-top: 0;
3056
- }
3057
- .panel-group .panel-footer + .panel-collapse .panel-body {
3058
- border-bottom: 1px solid #ddd;
3059
- }
3060
- .panel-default {
3061
- border-color: #ddd;
3062
- }
3063
- .panel-default > .panel-heading {
3064
- color: #333;
3065
- background-color: #f5f5f5;
3066
- border-color: #ddd;
3067
- }
3068
- .panel-default > .panel-heading + .panel-collapse > .panel-body {
3069
- border-top-color: #ddd;
3070
- }
3071
- .panel-default > .panel-heading .badge {
3072
- color: #f5f5f5;
3073
- background-color: #333;
3074
- }
3075
- .panel-default > .panel-footer + .panel-collapse > .panel-body {
3076
- border-bottom-color: #ddd;
3077
- }
3078
- .panel-primary {
3079
- border-color: #337ab7;
3080
- }
3081
- .panel-primary > .panel-heading {
3082
- color: #fff;
3083
- background-color: #337ab7;
3084
- border-color: #337ab7;
3085
- }
3086
- .panel-primary > .panel-heading + .panel-collapse > .panel-body {
3087
- border-top-color: #337ab7;
3088
- }
3089
- .panel-primary > .panel-heading .badge {
3090
- color: #337ab7;
3091
- background-color: #fff;
3092
- }
3093
- .panel-primary > .panel-footer + .panel-collapse > .panel-body {
3094
- border-bottom-color: #337ab7;
3095
- }
3096
- .panel-success {
3097
- border-color: #d6e9c6;
3098
- }
3099
- .panel-success > .panel-heading {
3100
- color: #3c763d;
3101
- background-color: #dff0d8;
3102
- border-color: #d6e9c6;
3103
- }
3104
- .panel-success > .panel-heading + .panel-collapse > .panel-body {
3105
- border-top-color: #d6e9c6;
3106
- }
3107
- .panel-success > .panel-heading .badge {
3108
- color: #dff0d8;
3109
- background-color: #3c763d;
3110
- }
3111
- .panel-success > .panel-footer + .panel-collapse > .panel-body {
3112
- border-bottom-color: #d6e9c6;
3113
- }
3114
- .panel-info {
3115
- border-color: #bce8f1;
3116
- }
3117
- .panel-info > .panel-heading {
3118
- color: #31708f;
3119
- background-color: #d9edf7;
3120
- border-color: #bce8f1;
3121
- }
3122
- .panel-info > .panel-heading + .panel-collapse > .panel-body {
3123
- border-top-color: #bce8f1;
3124
- }
3125
- .panel-info > .panel-heading .badge {
3126
- color: #d9edf7;
3127
- background-color: #31708f;
3128
- }
3129
- .panel-info > .panel-footer + .panel-collapse > .panel-body {
3130
- border-bottom-color: #bce8f1;
3131
- }
3132
- .panel-warning {
3133
- border-color: #faebcc;
3134
- }
3135
- .panel-warning > .panel-heading {
3136
- color: #8a6d3b;
3137
- background-color: #fcf8e3;
3138
- border-color: #faebcc;
3139
- }
3140
- .panel-warning > .panel-heading + .panel-collapse > .panel-body {
3141
- border-top-color: #faebcc;
3142
- }
3143
- .panel-warning > .panel-heading .badge {
3144
- color: #fcf8e3;
3145
- background-color: #8a6d3b;
3146
- }
3147
- .panel-warning > .panel-footer + .panel-collapse > .panel-body {
3148
- border-bottom-color: #faebcc;
3149
- }
3150
- .panel-danger {
3151
- border-color: #ebccd1;
3152
- }
3153
- .panel-danger > .panel-heading {
3154
- color: #a94442;
3155
- background-color: #f2dede;
3156
- border-color: #ebccd1;
3157
- }
3158
- .panel-danger > .panel-heading + .panel-collapse > .panel-body {
3159
- border-top-color: #ebccd1;
3160
- }
3161
- .panel-danger > .panel-heading .badge {
3162
- color: #f2dede;
3163
- background-color: #a94442;
3164
- }
3165
- .panel-danger > .panel-footer + .panel-collapse > .panel-body {
3166
- border-bottom-color: #ebccd1;
3167
- }
3168
- .embed-responsive {
3169
- position: relative;
3170
- display: block;
3171
- height: 0;
3172
- padding: 0;
3173
- overflow: hidden;
3174
- }
3175
- .embed-responsive .embed-responsive-item,
3176
- .embed-responsive iframe,
3177
- .embed-responsive embed,
3178
- .embed-responsive object,
3179
- .embed-responsive video {
3180
- position: absolute;
3181
- top: 0;
3182
- bottom: 0;
3183
- left: 0;
3184
- width: 100%;
3185
- height: 100%;
3186
- border: 0;
3187
- }
3188
- .embed-responsive-16by9 {
3189
- padding-bottom: 56.25%;
3190
- }
3191
- .embed-responsive-4by3 {
3192
- padding-bottom: 75%;
3193
- }
3194
- .well {
3195
- min-height: 20px;
3196
- padding: 19px;
3197
- margin-bottom: 20px;
3198
- background-color: #f5f5f5;
3199
- border: 1px solid #e3e3e3;
3200
- border-radius: 4px;
3201
- -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .05);
3202
- box-shadow: inset 0 1px 1px rgba(0, 0, 0, .05);
3203
- }
3204
- .well blockquote {
3205
- border-color: #ddd;
3206
- border-color: rgba(0, 0, 0, .15);
3207
- }
3208
- .well-lg {
3209
- padding: 24px;
3210
- border-radius: 6px;
3211
- }
3212
- .well-sm {
3213
- padding: 9px;
3214
- border-radius: 3px;
3215
- }
3216
- .close {
3217
- float: right;
3218
- font-size: 21px;
3219
- font-weight: bold;
3220
- line-height: 1;
3221
- color: #000;
3222
- text-shadow: 0 1px 0 #fff;
3223
- filter: alpha(opacity=20);
3224
- opacity: .2;
3225
- }
3226
- .close:hover,
3227
- .close:focus {
3228
- color: #000;
3229
- text-decoration: none;
3230
- cursor: pointer;
3231
- filter: alpha(opacity=50);
3232
- opacity: .5;
3233
- }
3234
- button.close {
3235
- -webkit-appearance: none;
3236
- padding: 0;
3237
- cursor: pointer;
3238
- background: transparent;
3239
- border: 0;
3240
- }
3241
- .modal-open {
3242
- overflow: hidden;
3243
- }
3244
- .modal {
3245
- position: fixed;
3246
- top: 0;
3247
- right: 0;
3248
- bottom: 0;
3249
- left: 0;
3250
- z-index: 1050;
3251
- display: none;
3252
- overflow: hidden;
3253
- -webkit-overflow-scrolling: touch;
3254
- outline: 0;
3255
- }
3256
- .modal.fade .modal-dialog {
3257
- -webkit-transition: -webkit-transform .3s ease-out;
3258
- -o-transition: -o-transform .3s ease-out;
3259
- transition: transform .3s ease-out;
3260
- -webkit-transform: translate(0, -25%);
3261
- -ms-transform: translate(0, -25%);
3262
- -o-transform: translate(0, -25%);
3263
- transform: translate(0, -25%);
3264
- }
3265
- .modal.in .modal-dialog {
3266
- -webkit-transform: translate(0, 0);
3267
- -ms-transform: translate(0, 0);
3268
- -o-transform: translate(0, 0);
3269
- transform: translate(0, 0);
3270
- }
3271
- .modal-open .modal {
3272
- overflow-x: hidden;
3273
- overflow-y: auto;
3274
- }
3275
- .modal-dialog {
3276
- position: relative;
3277
- width: auto;
3278
- margin: 10px;
3279
- }
3280
- .modal-content {
3281
- position: relative;
3282
- background-color: #fff;
3283
- -webkit-background-clip: padding-box;
3284
- background-clip: padding-box;
3285
- border: 1px solid #999;
3286
- border: 1px solid rgba(0, 0, 0, .2);
3287
- border-radius: 6px;
3288
- outline: 0;
3289
- -webkit-box-shadow: 0 3px 9px rgba(0, 0, 0, .5);
3290
- box-shadow: 0 3px 9px rgba(0, 0, 0, .5);
3291
- }
3292
- .modal-backdrop {
3293
- position: fixed;
3294
- top: 0;
3295
- right: 0;
3296
- bottom: 0;
3297
- left: 0;
3298
- z-index: 1040;
3299
- background-color: #000;
3300
- }
3301
- .modal-backdrop.fade {
3302
- filter: alpha(opacity=0);
3303
- opacity: 0;
3304
- }
3305
- .modal-backdrop.in {
3306
- filter: alpha(opacity=50);
3307
- opacity: .5;
3308
- }
3309
- .modal-header {
3310
- padding: 15px;
3311
- border-bottom: 1px solid #e5e5e5;
3312
- }
3313
- .modal-header .close {
3314
- margin-top: -2px;
3315
- }
3316
- .modal-title {
3317
- margin: 0;
3318
- line-height: 1.42857143;
3319
- }
3320
- .modal-body {
3321
- position: relative;
3322
- padding: 15px;
3323
- }
3324
- .modal-footer {
3325
- padding: 15px;
3326
- text-align: right;
3327
- border-top: 1px solid #e5e5e5;
3328
- }
3329
- .modal-footer .btn + .btn {
3330
- margin-bottom: 0;
3331
- margin-left: 5px;
3332
- }
3333
- .modal-footer .btn-group .btn + .btn {
3334
- margin-left: -1px;
3335
- }
3336
- .modal-footer .btn-block + .btn-block {
3337
- margin-left: 0;
3338
- }
3339
- .modal-scrollbar-measure {
3340
- position: absolute;
3341
- top: -9999px;
3342
- width: 50px;
3343
- height: 50px;
3344
- overflow: scroll;
3345
- }
3346
- @media (min-width: 768px) {
3347
- .modal-dialog {
3348
- width: 600px;
3349
- margin: 30px auto;
3350
- }
3351
- .modal-content {
3352
- -webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, .5);
3353
- box-shadow: 0 5px 15px rgba(0, 0, 0, .5);
3354
- }
3355
- .modal-sm {
3356
- width: 300px;
3357
- }
3358
- }
3359
- @media (min-width: 992px) {
3360
- .modal-lg {
3361
- width: 900px;
3362
- }
3363
- }
3364
- .tooltip {
3365
- position: absolute;
3366
- z-index: 1070;
3367
- display: block;
3368
- font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
3369
- font-size: 12px;
3370
- font-style: normal;
3371
- font-weight: normal;
3372
- line-height: 1.42857143;
3373
- text-align: left;
3374
- text-align: start;
3375
- text-decoration: none;
3376
- text-shadow: none;
3377
- text-transform: none;
3378
- letter-spacing: normal;
3379
- word-break: normal;
3380
- word-spacing: normal;
3381
- word-wrap: normal;
3382
- white-space: normal;
3383
- filter: alpha(opacity=0);
3384
- opacity: 0;
3385
-
3386
- line-break: auto;
3387
- }
3388
- .tooltip.in {
3389
- filter: alpha(opacity=90);
3390
- opacity: .9;
3391
- }
3392
- .tooltip.top {
3393
- padding: 5px 0;
3394
- margin-top: -3px;
3395
- }
3396
- .tooltip.right {
3397
- padding: 0 5px;
3398
- margin-left: 3px;
3399
- }
3400
- .tooltip.bottom {
3401
- padding: 5px 0;
3402
- margin-top: 3px;
3403
- }
3404
- .tooltip.left {
3405
- padding: 0 5px;
3406
- margin-left: -3px;
3407
- }
3408
- .tooltip-inner {
3409
- max-width: 200px;
3410
- padding: 3px 8px;
3411
- color: #fff;
3412
- text-align: center;
3413
- background-color: #000;
3414
- border-radius: 4px;
3415
- }
3416
- .tooltip-arrow {
3417
- position: absolute;
3418
- width: 0;
3419
- height: 0;
3420
- border-color: transparent;
3421
- border-style: solid;
3422
- }
3423
- .tooltip.top .tooltip-arrow {
3424
- bottom: 0;
3425
- left: 50%;
3426
- margin-left: -5px;
3427
- border-width: 5px 5px 0;
3428
- border-top-color: #000;
3429
- }
3430
- .tooltip.top-left .tooltip-arrow {
3431
- right: 5px;
3432
- bottom: 0;
3433
- margin-bottom: -5px;
3434
- border-width: 5px 5px 0;
3435
- border-top-color: #000;
3436
- }
3437
- .tooltip.top-right .tooltip-arrow {
3438
- bottom: 0;
3439
- left: 5px;
3440
- margin-bottom: -5px;
3441
- border-width: 5px 5px 0;
3442
- border-top-color: #000;
3443
- }
3444
- .tooltip.right .tooltip-arrow {
3445
- top: 50%;
3446
- left: 0;
3447
- margin-top: -5px;
3448
- border-width: 5px 5px 5px 0;
3449
- border-right-color: #000;
3450
- }
3451
- .tooltip.left .tooltip-arrow {
3452
- top: 50%;
3453
- right: 0;
3454
- margin-top: -5px;
3455
- border-width: 5px 0 5px 5px;
3456
- border-left-color: #000;
3457
- }
3458
- .tooltip.bottom .tooltip-arrow {
3459
- top: 0;
3460
- left: 50%;
3461
- margin-left: -5px;
3462
- border-width: 0 5px 5px;
3463
- border-bottom-color: #000;
3464
- }
3465
- .tooltip.bottom-left .tooltip-arrow {
3466
- top: 0;
3467
- right: 5px;
3468
- margin-top: -5px;
3469
- border-width: 0 5px 5px;
3470
- border-bottom-color: #000;
3471
- }
3472
- .tooltip.bottom-right .tooltip-arrow {
3473
- top: 0;
3474
- left: 5px;
3475
- margin-top: -5px;
3476
- border-width: 0 5px 5px;
3477
- border-bottom-color: #000;
3478
- }
3479
- .popover {
3480
- position: absolute;
3481
- top: 0;
3482
- left: 0;
3483
- z-index: 1060;
3484
- display: none;
3485
- max-width: 276px;
3486
- padding: 1px;
3487
- font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
3488
- font-size: 14px;
3489
- font-style: normal;
3490
- font-weight: normal;
3491
- line-height: 1.42857143;
3492
- text-align: left;
3493
- text-align: start;
3494
- text-decoration: none;
3495
- text-shadow: none;
3496
- text-transform: none;
3497
- letter-spacing: normal;
3498
- word-break: normal;
3499
- word-spacing: normal;
3500
- word-wrap: normal;
3501
- white-space: normal;
3502
- background-color: #fff;
3503
- -webkit-background-clip: padding-box;
3504
- background-clip: padding-box;
3505
- border: 1px solid #ccc;
3506
- border: 1px solid rgba(0, 0, 0, .2);
3507
- border-radius: 6px;
3508
- -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, .2);
3509
- box-shadow: 0 5px 10px rgba(0, 0, 0, .2);
3510
-
3511
- line-break: auto;
3512
- }
3513
- .popover.top {
3514
- margin-top: -10px;
3515
- }
3516
- .popover.right {
3517
- margin-left: 10px;
3518
- }
3519
- .popover.bottom {
3520
- margin-top: 10px;
3521
- }
3522
- .popover.left {
3523
- margin-left: -10px;
3524
- }
3525
- .popover-title {
3526
- padding: 8px 14px;
3527
- margin: 0;
3528
- font-size: 14px;
3529
- background-color: #f7f7f7;
3530
- border-bottom: 1px solid #ebebeb;
3531
- border-radius: 5px 5px 0 0;
3532
- }
3533
- .popover-content {
3534
- padding: 9px 14px;
3535
- }
3536
- .popover > .arrow,
3537
- .popover > .arrow:after {
3538
- position: absolute;
3539
- display: block;
3540
- width: 0;
3541
- height: 0;
3542
- border-color: transparent;
3543
- border-style: solid;
3544
- }
3545
- .popover > .arrow {
3546
- border-width: 11px;
3547
- }
3548
- .popover > .arrow:after {
3549
- content: "";
3550
- border-width: 10px;
3551
- }
3552
- .popover.top > .arrow {
3553
- bottom: -11px;
3554
- left: 50%;
3555
- margin-left: -11px;
3556
- border-top-color: #999;
3557
- border-top-color: rgba(0, 0, 0, .25);
3558
- border-bottom-width: 0;
3559
- }
3560
- .popover.top > .arrow:after {
3561
- bottom: 1px;
3562
- margin-left: -10px;
3563
- content: " ";
3564
- border-top-color: #fff;
3565
- border-bottom-width: 0;
3566
- }
3567
- .popover.right > .arrow {
3568
- top: 50%;
3569
- left: -11px;
3570
- margin-top: -11px;
3571
- border-right-color: #999;
3572
- border-right-color: rgba(0, 0, 0, .25);
3573
- border-left-width: 0;
3574
- }
3575
- .popover.right > .arrow:after {
3576
- bottom: -10px;
3577
- left: 1px;
3578
- content: " ";
3579
- border-right-color: #fff;
3580
- border-left-width: 0;
3581
- }
3582
- .popover.bottom > .arrow {
3583
- top: -11px;
3584
- left: 50%;
3585
- margin-left: -11px;
3586
- border-top-width: 0;
3587
- border-bottom-color: #999;
3588
- border-bottom-color: rgba(0, 0, 0, .25);
3589
- }
3590
- .popover.bottom > .arrow:after {
3591
- top: 1px;
3592
- margin-left: -10px;
3593
- content: " ";
3594
- border-top-width: 0;
3595
- border-bottom-color: #fff;
3596
- }
3597
- .popover.left > .arrow {
3598
- top: 50%;
3599
- right: -11px;
3600
- margin-top: -11px;
3601
- border-right-width: 0;
3602
- border-left-color: #999;
3603
- border-left-color: rgba(0, 0, 0, .25);
3604
- }
3605
- .popover.left > .arrow:after {
3606
- right: 1px;
3607
- bottom: -10px;
3608
- content: " ";
3609
- border-right-width: 0;
3610
- border-left-color: #fff;
3611
- }
3612
 
3613
- .col-xs-1, .col-sm-1, .col-md-1, .col-lg-1, .col-xs-2, .col-sm-2, .col-md-2, .col-lg-2, .col-xs-3, .col-sm-3, .col-md-3, .col-lg-3, .col-xs-4, .col-sm-4, .col-md-4, .col-lg-4, .col-xs-5, .col-sm-5, .col-md-5, .col-lg-5, .col-xs-6, .col-sm-6, .col-md-6, .col-lg-6, .col-xs-7, .col-sm-7, .col-md-7, .col-lg-7, .col-xs-8, .col-sm-8, .col-md-8, .col-lg-8, .col-xs-9, .col-sm-9, .col-md-9, .col-lg-9, .col-xs-10, .col-sm-10, .col-md-10, .col-lg-10, .col-xs-11, .col-sm-11, .col-md-11, .col-lg-11, .col-xs-12, .col-sm-12, .col-md-12, .col-lg-12 {
3614
- position: relative;
3615
- min-height: 1px;
3616
- padding-right: 15px;
3617
- padding-left: 15px;
3618
- }
3619
- .col-xs-1, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9, .col-xs-10, .col-xs-11, .col-xs-12 {
3620
- float: left;
3621
- }
3622
- .col-xs-12 {
3623
- width: 100%;
3624
- }
3625
- .col-xs-11 {
3626
- width: 91.66666667%;
3627
- }
3628
- .col-xs-10 {
3629
- width: 83.33333333%;
3630
- }
3631
- .col-xs-9 {
3632
- width: 75%;
3633
- }
3634
- .col-xs-8 {
3635
- width: 66.66666667%;
3636
- }
3637
- .col-xs-7 {
3638
- width: 58.33333333%;
3639
- }
3640
- .col-xs-6 {
3641
- width: 50%;
3642
- }
3643
- .col-xs-5 {
3644
- width: 41.66666667%;
3645
- }
3646
- .col-xs-4 {
3647
- width: 33.33333333%;
3648
- }
3649
- .col-xs-3 {
3650
- width: 25%;
3651
- }
3652
- .col-xs-2 {
3653
- width: 16.66666667%;
3654
- }
3655
- .col-xs-1 {
3656
- width: 8.33333333%;
3657
- }
3658
- .col-xs-pull-12 {
3659
- right: 100%;
3660
- }
3661
- .col-xs-pull-11 {
3662
- right: 91.66666667%;
3663
- }
3664
- .col-xs-pull-10 {
3665
- right: 83.33333333%;
3666
- }
3667
- .col-xs-pull-9 {
3668
- right: 75%;
3669
- }
3670
- .col-xs-pull-8 {
3671
- right: 66.66666667%;
3672
- }
3673
- .col-xs-pull-7 {
3674
- right: 58.33333333%;
3675
- }
3676
- .col-xs-pull-6 {
3677
- right: 50%;
3678
- }
3679
- .col-xs-pull-5 {
3680
- right: 41.66666667%;
3681
- }
3682
- .col-xs-pull-4 {
3683
- right: 33.33333333%;
3684
- }
3685
- .col-xs-pull-3 {
3686
- right: 25%;
3687
- }
3688
- .col-xs-pull-2 {
3689
- right: 16.66666667%;
3690
- }
3691
- .col-xs-pull-1 {
3692
- right: 8.33333333%;
3693
- }
3694
- .col-xs-pull-0 {
3695
- right: auto;
3696
- }
3697
- .col-xs-push-12 {
3698
- left: 100%;
3699
- }
3700
- .col-xs-push-11 {
3701
- left: 91.66666667%;
3702
- }
3703
- .col-xs-push-10 {
3704
- left: 83.33333333%;
3705
- }
3706
- .col-xs-push-9 {
3707
- left: 75%;
3708
- }
3709
- .col-xs-push-8 {
3710
- left: 66.66666667%;
3711
- }
3712
- .col-xs-push-7 {
3713
- left: 58.33333333%;
3714
- }
3715
- .col-xs-push-6 {
3716
- left: 50%;
3717
- }
3718
- .col-xs-push-5 {
3719
- left: 41.66666667%;
3720
- }
3721
- .col-xs-push-4 {
3722
- left: 33.33333333%;
3723
- }
3724
- .col-xs-push-3 {
3725
- left: 25%;
3726
- }
3727
- .col-xs-push-2 {
3728
- left: 16.66666667%;
3729
- }
3730
- .col-xs-push-1 {
3731
- left: 8.33333333%;
3732
- }
3733
- .col-xs-push-0 {
3734
- left: auto;
3735
- }
3736
- .col-xs-offset-12 {
3737
- margin-left: 100%;
3738
- }
3739
- .col-xs-offset-11 {
3740
- margin-left: 91.66666667%;
3741
- }
3742
- .col-xs-offset-10 {
3743
- margin-left: 83.33333333%;
3744
- }
3745
- .col-xs-offset-9 {
3746
- margin-left: 75%;
3747
- }
3748
- .col-xs-offset-8 {
3749
- margin-left: 66.66666667%;
3750
- }
3751
- .col-xs-offset-7 {
3752
- margin-left: 58.33333333%;
3753
- }
3754
- .col-xs-offset-6 {
3755
- margin-left: 50%;
3756
- }
3757
- .col-xs-offset-5 {
3758
- margin-left: 41.66666667%;
3759
- }
3760
- .col-xs-offset-4 {
3761
- margin-left: 33.33333333%;
3762
- }
3763
- .col-xs-offset-3 {
3764
- margin-left: 25%;
3765
- }
3766
- .col-xs-offset-2 {
3767
- margin-left: 16.66666667%;
3768
- }
3769
- .col-xs-offset-1 {
3770
- margin-left: 8.33333333%;
3771
- }
3772
- .col-xs-offset-0 {
3773
- margin-left: 0;
3774
- }
3775
- @media (min-width: 768px) {
3776
- .col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12 {
3777
- float: left;
3778
- }
3779
- .col-sm-12 {
3780
- width: 100%;
3781
- }
3782
- .col-sm-11 {
3783
- width: 91.66666667%;
3784
- }
3785
- .col-sm-10 {
3786
- width: 83.33333333%;
3787
- }
3788
- .col-sm-9 {
3789
- width: 75%;
3790
- }
3791
- .col-sm-8 {
3792
- width: 66.66666667%;
3793
- }
3794
- .col-sm-7 {
3795
- width: 58.33333333%;
3796
- }
3797
- .col-sm-6 {
3798
- width: 50%;
3799
- }
3800
- .col-sm-5 {
3801
- width: 41.66666667%;
3802
- }
3803
- .col-sm-4 {
3804
- width: 33.33333333%;
3805
- }
3806
- .col-sm-3 {
3807
- width: 25%;
3808
- }
3809
- .col-sm-2 {
3810
- width: 16.66666667%;
3811
- }
3812
- .col-sm-1 {
3813
- width: 8.33333333%;
3814
- }
3815
- .col-sm-pull-12 {
3816
- right: 100%;
3817
- }
3818
- .col-sm-pull-11 {
3819
- right: 91.66666667%;
3820
- }
3821
- .col-sm-pull-10 {
3822
- right: 83.33333333%;
3823
- }
3824
- .col-sm-pull-9 {
3825
- right: 75%;
3826
- }
3827
- .col-sm-pull-8 {
3828
- right: 66.66666667%;
3829
- }
3830
- .col-sm-pull-7 {
3831
- right: 58.33333333%;
3832
- }
3833
- .col-sm-pull-6 {
3834
- right: 50%;
3835
- }
3836
- .col-sm-pull-5 {
3837
- right: 41.66666667%;
3838
- }
3839
- .col-sm-pull-4 {
3840
- right: 33.33333333%;
3841
- }
3842
- .col-sm-pull-3 {
3843
- right: 25%;
3844
- }
3845
- .col-sm-pull-2 {
3846
- right: 16.66666667%;
3847
- }
3848
- .col-sm-pull-1 {
3849
- right: 8.33333333%;
3850
- }
3851
- .col-sm-pull-0 {
3852
- right: auto;
3853
- }
3854
- .col-sm-push-12 {
3855
- left: 100%;
3856
- }
3857
- .col-sm-push-11 {
3858
- left: 91.66666667%;
3859
- }
3860
- .col-sm-push-10 {
3861
- left: 83.33333333%;
3862
- }
3863
- .col-sm-push-9 {
3864
- left: 75%;
3865
- }
3866
- .col-sm-push-8 {
3867
- left: 66.66666667%;
3868
- }
3869
- .col-sm-push-7 {
3870
- left: 58.33333333%;
3871
- }
3872
- .col-sm-push-6 {
3873
- left: 50%;
3874
- }
3875
- .col-sm-push-5 {
3876
- left: 41.66666667%;
3877
- }
3878
- .col-sm-push-4 {
3879
- left: 33.33333333%;
3880
- }
3881
- .col-sm-push-3 {
3882
- left: 25%;
3883
- }
3884
- .col-sm-push-2 {
3885
- left: 16.66666667%;
3886
- }
3887
- .col-sm-push-1 {
3888
- left: 8.33333333%;
3889
- }
3890
- .col-sm-push-0 {
3891
- left: auto;
3892
- }
3893
- .col-sm-offset-12 {
3894
- margin-left: 100%;
3895
- }
3896
- .col-sm-offset-11 {
3897
- margin-left: 91.66666667%;
3898
- }
3899
- .col-sm-offset-10 {
3900
- margin-left: 83.33333333%;
3901
- }
3902
- .col-sm-offset-9 {
3903
- margin-left: 75%;
3904
- }
3905
- .col-sm-offset-8 {
3906
- margin-left: 66.66666667%;
3907
- }
3908
- .col-sm-offset-7 {
3909
- margin-left: 58.33333333%;
3910
- }
3911
- .col-sm-offset-6 {
3912
- margin-left: 50%;
3913
- }
3914
- .col-sm-offset-5 {
3915
- margin-left: 41.66666667%;
3916
- }
3917
- .col-sm-offset-4 {
3918
- margin-left: 33.33333333%;
3919
- }
3920
- .col-sm-offset-3 {
3921
- margin-left: 25%;
3922
- }
3923
- .col-sm-offset-2 {
3924
- margin-left: 16.66666667%;
3925
- }
3926
- .col-sm-offset-1 {
3927
- margin-left: 8.33333333%;
3928
- }
3929
- .col-sm-offset-0 {
3930
- margin-left: 0;
3931
- }
3932
- }
3933
- @media (min-width: 992px) {
3934
- .col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12 {
3935
- float: left;
3936
- }
3937
- .col-md-12 {
3938
- width: 100%;
3939
- }
3940
- .col-md-11 {
3941
- width: 91.66666667%;
3942
- }
3943
- .col-md-10 {
3944
- width: 83.33333333%;
3945
- }
3946
- .col-md-9 {
3947
- width: 75%;
3948
- }
3949
- .col-md-8 {
3950
- width: 66.66666667%;
3951
- }
3952
- .col-md-7 {
3953
- width: 58.33333333%;
3954
- }
3955
- .col-md-6 {
3956
- width: 50%;
3957
- }
3958
- .col-md-5 {
3959
- width: 41.66666667%;
3960
- }
3961
- .col-md-4 {
3962
- width: 33.33333333%;
3963
- }
3964
- .col-md-3 {
3965
- width: 25%;
3966
- }
3967
- .col-md-2 {
3968
- width: 16.66666667%;
3969
- }
3970
- .col-md-1 {
3971
- width: 8.33333333%;
3972
- }
3973
- .col-md-pull-12 {
3974
- right: 100%;
3975
- }
3976
- .col-md-pull-11 {
3977
- right: 91.66666667%;
3978
- }
3979
- .col-md-pull-10 {
3980
- right: 83.33333333%;
3981
- }
3982
- .col-md-pull-9 {
3983
- right: 75%;
3984
- }
3985
- .col-md-pull-8 {
3986
- right: 66.66666667%;
3987
- }
3988
- .col-md-pull-7 {
3989
- right: 58.33333333%;
3990
- }
3991
- .col-md-pull-6 {
3992
- right: 50%;
3993
- }
3994
- .col-md-pull-5 {
3995
- right: 41.66666667%;
3996
- }
3997
- .col-md-pull-4 {
3998
- right: 33.33333333%;
3999
- }
4000
- .col-md-pull-3 {
4001
- right: 25%;
4002
- }
4003
- .col-md-pull-2 {
4004
- right: 16.66666667%;
4005
- }
4006
- .col-md-pull-1 {
4007
- right: 8.33333333%;
4008
- }
4009
- .col-md-pull-0 {
4010
- right: auto;
4011
- }
4012
- .col-md-push-12 {
4013
- left: 100%;
4014
- }
4015
- .col-md-push-11 {
4016
- left: 91.66666667%;
4017
- }
4018
- .col-md-push-10 {
4019
- left: 83.33333333%;
4020
- }
4021
- .col-md-push-9 {
4022
- left: 75%;
4023
- }
4024
- .col-md-push-8 {
4025
- left: 66.66666667%;
4026
- }
4027
- .col-md-push-7 {
4028
- left: 58.33333333%;
4029
- }
4030
- .col-md-push-6 {
4031
- left: 50%;
4032
- }
4033
- .col-md-push-5 {
4034
- left: 41.66666667%;
4035
- }
4036
- .col-md-push-4 {
4037
- left: 33.33333333%;
4038
- }
4039
- .col-md-push-3 {
4040
- left: 25%;
4041
- }
4042
- .col-md-push-2 {
4043
- left: 16.66666667%;
4044
- }
4045
- .col-md-push-1 {
4046
- left: 8.33333333%;
4047
- }
4048
- .col-md-push-0 {
4049
- left: auto;
4050
- }
4051
- .col-md-offset-12 {
4052
- margin-left: 100%;
4053
- }
4054
- .col-md-offset-11 {
4055
- margin-left: 91.66666667%;
4056
- }
4057
- .col-md-offset-10 {
4058
- margin-left: 83.33333333%;
4059
- }
4060
- .col-md-offset-9 {
4061
- margin-left: 75%;
4062
- }
4063
- .col-md-offset-8 {
4064
- margin-left: 66.66666667%;
4065
- }
4066
- .col-md-offset-7 {
4067
- margin-left: 58.33333333%;
4068
- }
4069
- .col-md-offset-6 {
4070
- margin-left: 50%;
4071
- }
4072
- .col-md-offset-5 {
4073
- margin-left: 41.66666667%;
4074
- }
4075
- .col-md-offset-4 {
4076
- margin-left: 33.33333333%;
4077
- }
4078
- .col-md-offset-3 {
4079
- margin-left: 25%;
4080
- }
4081
- .col-md-offset-2 {
4082
- margin-left: 16.66666667%;
4083
- }
4084
- .col-md-offset-1 {
4085
- margin-left: 8.33333333%;
4086
- }
4087
- .col-md-offset-0 {
4088
- margin-left: 0;
4089
- }
4090
- }
4091
- @media (min-width: 1200px) {
4092
- .col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12 {
4093
- float: left;
4094
- }
4095
- .col-lg-12 {
4096
- width: 100%;
4097
- }
4098
- .col-lg-11 {
4099
- width: 91.66666667%;
4100
- }
4101
- .col-lg-10 {
4102
- width: 83.33333333%;
4103
- }
4104
- .col-lg-9 {
4105
- width: 75%;
4106
- }
4107
- .col-lg-8 {
4108
- width: 66.66666667%;
4109
- }
4110
- .col-lg-7 {
4111
- width: 58.33333333%;
4112
- }
4113
- .col-lg-6 {
4114
- width: 50%;
4115
- }
4116
- .col-lg-5 {
4117
- width: 41.66666667%;
4118
- }
4119
- .col-lg-4 {
4120
- width: 33.33333333%;
4121
- }
4122
- .col-lg-3 {
4123
- width: 25%;
4124
- }
4125
- .col-lg-2 {
4126
- width: 16.66666667%;
4127
- }
4128
- .col-lg-1 {
4129
- width: 8.33333333%;
4130
- }
4131
- .col-lg-pull-12 {
4132
- right: 100%;
4133
- }
4134
- .col-lg-pull-11 {
4135
- right: 91.66666667%;
4136
- }
4137
- .col-lg-pull-10 {
4138
- right: 83.33333333%;
4139
- }
4140
- .col-lg-pull-9 {
4141
- right: 75%;
4142
- }
4143
- .col-lg-pull-8 {
4144
- right: 66.66666667%;
4145
- }
4146
- .col-lg-pull-7 {
4147
- right: 58.33333333%;
4148
- }
4149
- .col-lg-pull-6 {
4150
- right: 50%;
4151
- }
4152
- .col-lg-pull-5 {
4153
- right: 41.66666667%;
4154
- }
4155
- .col-lg-pull-4 {
4156
- right: 33.33333333%;
4157
- }
4158
- .col-lg-pull-3 {
4159
- right: 25%;
4160
- }
4161
- .col-lg-pull-2 {
4162
- right: 16.66666667%;
4163
- }
4164
- .col-lg-pull-1 {
4165
- right: 8.33333333%;
4166
- }
4167
- .col-lg-pull-0 {
4168
- right: auto;
4169
- }
4170
- .col-lg-push-12 {
4171
- left: 100%;
4172
- }
4173
- .col-lg-push-11 {
4174
- left: 91.66666667%;
4175
- }
4176
- .col-lg-push-10 {
4177
- left: 83.33333333%;
4178
- }
4179
- .col-lg-push-9 {
4180
- left: 75%;
4181
- }
4182
- .col-lg-push-8 {
4183
- left: 66.66666667%;
4184
- }
4185
- .col-lg-push-7 {
4186
- left: 58.33333333%;
4187
- }
4188
- .col-lg-push-6 {
4189
- left: 50%;
4190
- }
4191
- .col-lg-push-5 {
4192
- left: 41.66666667%;
4193
- }
4194
- .col-lg-push-4 {
4195
- left: 33.33333333%;
4196
- }
4197
- .col-lg-push-3 {
4198
- left: 25%;
4199
- }
4200
- .col-lg-push-2 {
4201
- left: 16.66666667%;
4202
- }
4203
- .col-lg-push-1 {
4204
- left: 8.33333333%;
4205
- }
4206
- .col-lg-push-0 {
4207
- left: auto;
4208
- }
4209
- .col-lg-offset-12 {
4210
- margin-left: 100%;
4211
- }
4212
- .col-lg-offset-11 {
4213
- margin-left: 91.66666667%;
4214
- }
4215
- .col-lg-offset-10 {
4216
- margin-left: 83.33333333%;
4217
- }
4218
- .col-lg-offset-9 {
4219
- margin-left: 75%;
4220
- }
4221
- .col-lg-offset-8 {
4222
- margin-left: 66.66666667%;
4223
- }
4224
- .col-lg-offset-7 {
4225
- margin-left: 58.33333333%;
4226
- }
4227
- .col-lg-offset-6 {
4228
- margin-left: 50%;
4229
- }
4230
- .col-lg-offset-5 {
4231
- margin-left: 41.66666667%;
4232
- }
4233
- .col-lg-offset-4 {
4234
- margin-left: 33.33333333%;
4235
- }
4236
- .col-lg-offset-3 {
4237
- margin-left: 25%;
4238
- }
4239
- .col-lg-offset-2 {
4240
- margin-left: 16.66666667%;
4241
- }
4242
- .col-lg-offset-1 {
4243
- margin-left: 8.33333333%;
4244
- }
4245
- .col-lg-offset-0 {
4246
- margin-left: 0;
4247
- }
4248
- }
1
  /*!
2
+ * Bootstrap v4.6.0 (https://getbootstrap.com/)
3
+ * Copyright 2011-2021 The Bootstrap Authors
4
+ * Copyright 2011-2021 Twitter, Inc.
5
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
6
  */
7
 
8
+ *,
9
+ *::before,
10
+ *::after {
11
+ box-sizing: border-box;
12
  }
13
+
14
+ .img-fluid {
15
+ max-width: 100%;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
16
  height: auto;
17
  }
 
 
 
 
 
 
 
18
 
19
+ .row {
20
+ display: -ms-flexbox;
21
+ display: flex;
22
+ -ms-flex-wrap: wrap;
23
+ flex-wrap: wrap;
24
+ margin-right: -15px;
25
+ margin-left: -15px;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
26
  }
27
 
28
+ .col-1, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-10, .col-11, .col-12, .col,
29
+ .col-auto, .col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm,
30
+ .col-sm-auto, .col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12, .col-md,
31
+ .col-md-auto, .col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg,
32
+ .col-lg-auto, .col-xl-1, .col-xl-2, .col-xl-3, .col-xl-4, .col-xl-5, .col-xl-6, .col-xl-7, .col-xl-8, .col-xl-9, .col-xl-10, .col-xl-11, .col-xl-12, .col-xl,
33
+ .col-xl-auto {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
34
  position: relative;
35
+ width: 100%;
36
+ padding-right: 15px;
37
+ padding-left: 15px;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
38
  }
39
 
40
+ .col {
41
+ -ms-flex-preferred-size: 0;
42
+ flex-basis: 0;
43
+ -ms-flex-positive: 1;
44
+ flex-grow: 1;
45
+ max-width: 100%;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
46
  }
47
 
48
+ .col-auto {
49
+ -ms-flex: 0 0 auto;
50
+ flex: 0 0 auto;
51
+ width: auto;
52
+ max-width: 100%;
 
 
53
  }
54
 
55
+ .col-1 {
56
+ -ms-flex: 0 0 8.333333%;
57
+ flex: 0 0 8.333333%;
58
+ max-width: 8.333333%;
 
 
 
 
 
 
 
 
 
 
59
  }
60
 
61
+ .col-2 {
62
+ -ms-flex: 0 0 16.666667%;
63
+ flex: 0 0 16.666667%;
64
+ max-width: 16.666667%;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
65
  }
66
 
67
+ .col-3 {
68
+ -ms-flex: 0 0 25%;
69
+ flex: 0 0 25%;
70
+ max-width: 25%;
 
 
 
 
 
 
 
71
  }
72
+
73
+ .col-4 {
74
+ -ms-flex: 0 0 33.333333%;
75
+ flex: 0 0 33.333333%;
76
+ max-width: 33.333333%;
 
 
 
 
 
 
 
 
 
77
  }
78
+
79
+ .col-5 {
80
+ -ms-flex: 0 0 41.666667%;
81
+ flex: 0 0 41.666667%;
82
+ max-width: 41.666667%;
83
  }
84
+
85
+ .col-6 {
86
+ -ms-flex: 0 0 50%;
87
+ flex: 0 0 50%;
88
+ max-width: 50%;
 
 
 
 
 
 
89
  }
90
+
91
+ .col-7 {
92
+ -ms-flex: 0 0 58.333333%;
93
+ flex: 0 0 58.333333%;
94
+ max-width: 58.333333%;
95
  }
96
+
97
+ .col-8 {
98
+ -ms-flex: 0 0 66.666667%;
99
+ flex: 0 0 66.666667%;
100
+ max-width: 66.666667%;
101
  }
102
+
103
+ .col-9 {
104
+ -ms-flex: 0 0 75%;
105
+ flex: 0 0 75%;
106
+ max-width: 75%;
107
  }
108
+
109
+ .col-10 {
110
+ -ms-flex: 0 0 83.333333%;
111
+ flex: 0 0 83.333333%;
112
+ max-width: 83.333333%;
113
  }
114
+
115
+ .col-11 {
116
+ -ms-flex: 0 0 91.666667%;
117
+ flex: 0 0 91.666667%;
118
+ max-width: 91.666667%;
119
  }
120
+
121
+ .col-12 {
122
+ -ms-flex: 0 0 100%;
123
+ flex: 0 0 100%;
124
+ max-width: 100%;
125
  }
126
 
127
+ @media (min-width: 576px) {
128
+ .col-sm {
129
+ -ms-flex-preferred-size: 0;
130
+ flex-basis: 0;
131
+ -ms-flex-positive: 1;
132
+ flex-grow: 1;
133
+ max-width: 100%;
134
+ }
135
+ .col-sm-auto {
136
+ -ms-flex: 0 0 auto;
137
+ flex: 0 0 auto;
138
  width: auto;
139
+ max-width: 100%;
140
+ }
141
+ .col-sm-1 {
142
+ -ms-flex: 0 0 8.333333%;
143
+ flex: 0 0 8.333333%;
144
+ max-width: 8.333333%;
145
  }
146
+ .col-sm-2 {
147
+ -ms-flex: 0 0 16.666667%;
148
+ flex: 0 0 16.666667%;
149
+ max-width: 16.666667%;
150
  }
151
+ .col-sm-3 {
152
+ -ms-flex: 0 0 25%;
153
+ flex: 0 0 25%;
154
+ max-width: 25%;
155
  }
156
+ .col-sm-4 {
157
+ -ms-flex: 0 0 33.333333%;
158
+ flex: 0 0 33.333333%;
159
+ max-width: 33.333333%;
160
  }
161
+ .col-sm-5 {
162
+ -ms-flex: 0 0 41.666667%;
163
+ flex: 0 0 41.666667%;
164
+ max-width: 41.666667%;
165
  }
166
+ .col-sm-6 {
167
+ -ms-flex: 0 0 50%;
168
+ flex: 0 0 50%;
169
+ max-width: 50%;
170
  }
171
+ .col-sm-7 {
172
+ -ms-flex: 0 0 58.333333%;
173
+ flex: 0 0 58.333333%;
174
+ max-width: 58.333333%;
 
 
175
  }
176
+ .col-sm-8 {
177
+ -ms-flex: 0 0 66.666667%;
178
+ flex: 0 0 66.666667%;
179
+ max-width: 66.666667%;
180
  }
181
+ .col-sm-9 {
182
+ -ms-flex: 0 0 75%;
183
+ flex: 0 0 75%;
184
+ max-width: 75%;
185
  }
186
+ .col-sm-10 {
187
+ -ms-flex: 0 0 83.333333%;
188
+ flex: 0 0 83.333333%;
189
+ max-width: 83.333333%;
190
  }
191
+ .col-sm-11 {
192
+ -ms-flex: 0 0 91.666667%;
193
+ flex: 0 0 91.666667%;
194
+ max-width: 91.666667%;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
195
  }
196
+ .col-sm-12 {
197
+ -ms-flex: 0 0 100%;
198
+ flex: 0 0 100%;
199
+ max-width: 100%;
 
 
 
 
200
  }
201
  }
202
+
203
  @media (min-width: 768px) {
204
+ .col-md {
205
+ -ms-flex-preferred-size: 0;
206
+ flex-basis: 0;
207
+ -ms-flex-positive: 1;
208
+ flex-grow: 1;
209
+ max-width: 100%;
210
+ }
211
+ .col-md-auto {
212
+ -ms-flex: 0 0 auto;
213
+ flex: 0 0 auto;
214
+ width: auto;
215
+ max-width: 100%;
216
+ }
217
+ .col-md-1 {
218
+ -ms-flex: 0 0 8.333333%;
219
+ flex: 0 0 8.333333%;
220
+ max-width: 8.333333%;
221
+ }
222
+ .col-md-2 {
223
+ -ms-flex: 0 0 16.666667%;
224
+ flex: 0 0 16.666667%;
225
+ max-width: 16.666667%;
226
+ }
227
+ .col-md-3 {
228
+ -ms-flex: 0 0 25%;
229
+ flex: 0 0 25%;
230
+ max-width: 25%;
231
+ }
232
+ .col-md-4 {
233
+ -ms-flex: 0 0 33.333333%;
234
+ flex: 0 0 33.333333%;
235
+ max-width: 33.333333%;
236
+ }
237
+ .col-md-5 {
238
+ -ms-flex: 0 0 41.666667%;
239
+ flex: 0 0 41.666667%;
240
+ max-width: 41.666667%;
241
+ }
242
+ .col-md-6 {
243
+ -ms-flex: 0 0 50%;
244
+ flex: 0 0 50%;
245
+ max-width: 50%;
246
+ }
247
+ .col-md-7 {
248
+ -ms-flex: 0 0 58.333333%;
249
+ flex: 0 0 58.333333%;
250
+ max-width: 58.333333%;
251
+ }
252
+ .col-md-8 {
253
+ -ms-flex: 0 0 66.666667%;
254
+ flex: 0 0 66.666667%;
255
+ max-width: 66.666667%;
256
+ }
257
+ .col-md-9 {
258
+ -ms-flex: 0 0 75%;
259
+ flex: 0 0 75%;
260
+ max-width: 75%;
261
+ }
262
+ .col-md-10 {
263
+ -ms-flex: 0 0 83.333333%;
264
+ flex: 0 0 83.333333%;
265
+ max-width: 83.333333%;
266
+ }
267
+ .col-md-11 {
268
+ -ms-flex: 0 0 91.666667%;
269
+ flex: 0 0 91.666667%;
270
+ max-width: 91.666667%;
271
+ }
272
+ .col-md-12 {
273
+ -ms-flex: 0 0 100%;
274
+ flex: 0 0 100%;
275
+ max-width: 100%;
276
  }
277
  }
278
+
279
+ .form-group {
280
+ margin-bottom: 1rem;
281
+ }
282
+
283
  .btn {
284
  display: inline-block;
285
+ font-weight: 400;
286
+ color: #212529;
 
 
 
287
  text-align: center;
 
288
  vertical-align: middle;
 
 
 
289
  -webkit-user-select: none;
290
+ -moz-user-select: none;
291
+ -ms-user-select: none;
292
+ user-select: none;
293
+ background-color: transparent;
294
  border: 1px solid transparent;
295
+ padding: 0.375rem 0.75rem;
296
+ font-size: 1rem;
297
+ line-height: 1.5;
298
+ border-radius: 0.25rem;
299
+ transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
300
  }
301
+
302
+ @media (prefers-reduced-motion: reduce) {
303
+ .btn {
304
+ transition: none;
305
+ }
 
 
 
 
306
  }
307
+
308
+ .btn:hover {
309
+ color: #212529;
 
310
  text-decoration: none;
311
  }
312
+
313
+ .btn:focus, .btn.focus {
 
314
  outline: 0;
315
+ box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
316
+ }
317
+
318
+ .btn.disabled, .btn:disabled {
319
+ opacity: 0.65;
320
  }
321
+
322
+ .btn:not(:disabled):not(.disabled) {
323
+ cursor: pointer;
 
 
 
 
 
324
  }
325
+
326
  a.btn.disabled,
327
+ fieldset:disabled a.btn {
328
  pointer-events: none;
329
  }
330
+
331
+ .btn-block {
332
+ display: block;
333
+ width: 100%;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
334
  }
335
+
336
  .btn-primary {
337
  color: #fff;
338
+ background-color: #007bff;
339
+ border-color: #007bff;
 
 
 
 
 
 
340
  }
341
+
342
  .btn-primary:hover {
343
  color: #fff;
344
+ background-color: #0069d9;
345
+ border-color: #0062cc;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
346
  }
347
+
348
+ .btn-primary:focus, .btn-primary.focus {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
349
  color: #fff;
350
+ background-color: #0069d9;
351
+ border-color: #0062cc;
352
+ box-shadow: 0 0 0 0.2rem rgba(38, 143, 255, 0.5);
353
  }
354
+
355
+ .btn-primary.disabled, .btn-primary:disabled {
 
356
  color: #fff;
357
+ background-color: #007bff;
358
+ border-color: #007bff;
359
  }
360
+
361
+ .btn-primary:not(:disabled):not(.disabled):active, .btn-primary:not(:disabled):not(.disabled).active,
362
+ .show > .btn-primary.dropdown-toggle {
 
 
 
 
 
 
363
  color: #fff;
364
+ background-color: #0062cc;
365
+ border-color: #005cbf;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
366
  }
367
+
368
+ .btn-primary:not(:disabled):not(.disabled):active:focus, .btn-primary:not(:disabled):not(.disabled).active:focus,
369
+ .show > .btn-primary.dropdown-toggle:focus {
370
+ box-shadow: 0 0 0 0.2rem rgba(38, 143, 255, 0.5);
371
  }
372
+
373
  .btn-danger {
374
  color: #fff;
375
+ background-color: #dc3545;
376
+ border-color: #dc3545;
 
 
 
 
 
 
377
  }
378
+
379
  .btn-danger:hover {
380
  color: #fff;
381
+ background-color: #c82333;
382
+ border-color: #bd2130;
383
  }
384
+
385
+ .btn-danger:focus, .btn-danger.focus {
 
386
  color: #fff;
387
+ background-color: #c82333;
388
+ border-color: #bd2130;
389
+ box-shadow: 0 0 0 0.2rem rgba(225, 83, 97, 0.5);
390
  }
391
+
392
+ .btn-danger.disabled, .btn-danger:disabled {
 
 
 
 
 
 
 
393
  color: #fff;
394
+ background-color: #dc3545;
395
+ border-color: #dc3545;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
396
  }
397
+
398
+ .btn-danger:not(:disabled):not(.disabled):active, .btn-danger:not(:disabled):not(.disabled).active,
399
+ .show > .btn-danger.dropdown-toggle {
400
+ color: #fff;
401
+ background-color: #bd2130;
402
+ border-color: #b21f2d;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
403
  }
404
+
405
+ .btn-danger:not(:disabled):not(.disabled):active:focus, .btn-danger:not(:disabled):not(.disabled).active:focus,
406
+ .show > .btn-danger.dropdown-toggle:focus {
407
+ box-shadow: 0 0 0 0.2rem rgba(225, 83, 97, 0.5);
 
 
408
  }
409
+
410
+ .input-group {
411
+ position: relative;
412
+ display: -ms-flexbox;
413
+ display: flex;
414
+ -ms-flex-wrap: wrap;
415
+ flex-wrap: wrap;
416
+ -ms-flex-align: stretch;
417
+ align-items: stretch;
418
  width: 100%;
419
  }
420
+
421
+
422
+ .input-group > .form-control,
423
+ .input-group > .form-control-plaintext,
424
+ .input-group > .custom-select,
425
+ .input-group > .custom-file {
426
+ position: relative;
427
+ -ms-flex: 1 1 auto;
428
+ flex: 1 1 auto;
429
+ width: 1%;
430
+ min-width: 0;
431
+ margin-bottom: 0;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
432
  }
433
 
434
+ .input-group > .form-control:not(:first-child),
435
+ .input-group > .custom-select:not(:first-child) {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
436
  border-top-left-radius: 0;
437
  border-bottom-left-radius: 0;
438
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
439
 
440
+ /*# sourceMappingURL=bootstrap.css.map
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
css/panel-style.css CHANGED
@@ -138,7 +138,11 @@ display:block;
138
 
139
 
140
  .iconpicker-container .input-group-addon {
141
-
 
 
 
 
142
  color: #fff !important;
143
  text-align: center;
144
  background-color: #31a3dd !important;
@@ -245,4 +249,10 @@ background: linear-gradient(#03A9F4 0%, #2196F3 100%);
245
  .design_btn{
246
  text-decoration:none;
247
 
 
 
 
 
 
 
248
  }
138
 
139
 
140
  .iconpicker-container .input-group-addon {
141
+ padding: 6px 12px;
142
+ font-size: 14px;
143
+ font-weight: normal;
144
+ line-height: 1;
145
+ border-radius: 0 4px 4px 0;
146
  color: #fff !important;
147
  text-align: center;
148
  background-color: #31a3dd !important;
249
  .design_btn{
250
  text-decoration:none;
251
 
252
+ }
253
+
254
+ .input-group .form-control:first-child{
255
+ border-top-right-radius: 0;
256
+ border-bottom-right-radius: 0;
257
+ margin-right: 0;
258
  }
front/ac-content.php CHANGED
@@ -50,7 +50,7 @@
50
  <style>
51
  <?php require('style.php'); ?>
52
  </style>
53
- <div class="wpsm_panel-group" id="wpsm_accordion_<?php echo $post_id; ?>" >
54
  <?php
55
  $i=1;
56
  foreach($accordion_data as $accordion_single_data)
@@ -76,7 +76,7 @@
76
  <div class="wpsm_panel wpsm_panel-default">
77
  <div class="wpsm_panel-heading" role="tab" >
78
  <h4 class="wpsm_panel-title">
79
- <a class="<?php if($i!=1){ echo "collapsed"; } ?>" data-toggle="collapse" data-parent="<?php if($enable_toggle=="no") { ?>#wpsm_accordion_<?php echo $post_id; ?> <?php } ?>" href="javascript:void(0)" data-target="#ac_<?php echo $post_id; ?>_collapse<?php echo $i; ?>" >
80
  <?php if($op_cl_icon == 'yes' )
81
  { ?>
82
  <span class="ac_open_cl_icon fa fa-<?php if($i==$j){ echo "minus"; } else { echo "plus"; } ?>"></span>
@@ -89,7 +89,7 @@
89
  if($enable_single_icon=="yes")
90
  {
91
  ?>
92
- <span style="margin-right:6px;" class="fa <?php echo $accordion_title_icon; ?>"></span>
93
  <?php
94
  }
95
  }
@@ -98,9 +98,9 @@
98
  </a>
99
  </h4>
100
  </div>
101
- <div id="ac_<?php echo $post_id; ?>_collapse<?php echo $i; ?>" class="wpsm_panel-collapse collapse <?php if($i==$j){ echo "in"; } ?>" >
102
  <div class="wpsm_panel-body">
103
- <?php echo do_shortcode($accordion_desc); ?>
104
  </div>
105
  </div>
106
  </div>
50
  <style>
51
  <?php require('style.php'); ?>
52
  </style>
53
+ <div class="wpsm_panel-group" id="wpsm_accordion_<?php echo esc_attr($post_id); ?>" >
54
  <?php
55
  $i=1;
56
  foreach($accordion_data as $accordion_single_data)
76
  <div class="wpsm_panel wpsm_panel-default">
77
  <div class="wpsm_panel-heading" role="tab" >
78
  <h4 class="wpsm_panel-title">
79
+ <a class="<?php if($i!=1){ echo "collapsed"; } ?>" data-toggle="collapse" data-parent="<?php if($enable_toggle=="no") { ?>#wpsm_accordion_<?php echo esc_attr($post_id); ?> <?php } ?>" href="javascript:void(0)" data-target="#ac_<?php echo esc_attr($post_id); ?>_collapse<?php echo esc_attr($i); ?>" >
80
  <?php if($op_cl_icon == 'yes' )
81
  { ?>
82
  <span class="ac_open_cl_icon fa fa-<?php if($i==$j){ echo "minus"; } else { echo "plus"; } ?>"></span>
89
  if($enable_single_icon=="yes")
90
  {
91
  ?>
92
+ <span style="margin-right:6px;" class="fa <?php echo esc_attr($accordion_title_icon); ?>"></span>
93
  <?php
94
  }
95
  }
98
  </a>
99
  </h4>
100
  </div>
101
+ <div id="ac_<?php echo esc_attr($post_id); ?>_collapse<?php echo esc_attr($i); ?>" class="wpsm_panel-collapse collapse <?php if($i==$j){ echo "in"; } ?>" >
102
  <div class="wpsm_panel-body">
103
+ <?php echo wp_kses_post($accordion_desc); ?>
104
  </div>
105
  </div>
106
  </div>
front/style.php CHANGED
@@ -1,63 +1,64 @@
1
- #wpsm_accordion_<?php echo $post_id; ?> .wpsm_panel-heading{
 
2
  padding:0px !important;
3
  }
4
- #wpsm_accordion_<?php echo $post_id; ?> .wpsm_panel-title {
5
  margin:0px !important;
6
  text-transform:none !important;
7
  line-height: 1 !important;
8
  }
9
- #wpsm_accordion_<?php echo $post_id; ?> .wpsm_panel-title a{
10
  text-decoration:none;
11
  overflow:hidden;
12
  display:block;
13
  padding:0px;
14
- font-size: <?php echo $title_size; ?>px !important;
15
- font-family: <?php echo $font_family; ?> !important;
16
- color:<?php echo $acc_title_icon_clr; ?> !important;
17
  border-bottom:0px !important;
18
  }
19
 
20
- #wpsm_accordion_<?php echo $post_id; ?> .wpsm_panel-title a:focus {
21
  outline: 0px !important;
22
  }
23
 
24
- #wpsm_accordion_<?php echo $post_id; ?> .wpsm_panel-title a:hover, #wpsm_accordion_<?php echo $post_id; ?> .wpsm_panel-title a:focus {
25
- color:<?php echo $acc_title_icon_clr; ?> !important;
26
  }
27
- #wpsm_accordion_<?php echo $post_id; ?> .acc-a{
28
- color: <?php echo $acc_title_icon_clr; ?> !important;
29
- background-color:<?php echo $acc_title_bg_clr; ?> !important;
30
  border-color: #ddd;
31
  }
32
- #wpsm_accordion_<?php echo $post_id; ?> .wpsm_panel-default > .wpsm_panel-heading{
33
- color: <?php echo $acc_title_icon_clr; ?> !important;
34
- background-color: <?php echo $acc_title_bg_clr; ?> !important;
35
- border-color: <?php echo $acc_title_bg_clr; ?> !important;
36
  border-top-left-radius: 0px;
37
  border-top-right-radius: 0px;
38
  }
39
- #wpsm_accordion_<?php echo $post_id; ?> .wpsm_panel-default {
40
  <?php if($acc_margin == 'yes' ) { ?>
41
  border:1px solid transparent !important;
42
  <?php } else { ?>
43
  border:0px solid transparent !important;
44
  <?php } ?>
45
  }
46
- #wpsm_accordion_<?php echo $post_id; ?> {
47
  margin-bottom: 20px;
48
  overflow: hidden;
49
  float: none;
50
  width: 100%;
51
  display: block;
52
  }
53
- #wpsm_accordion_<?php echo $post_id; ?> .ac_title_class{
54
  display: block;
55
  padding-top: 12px;
56
  padding-bottom: 12px;
57
  padding-left: 15px;
58
  padding-right: 15px;
59
  }
60
- #wpsm_accordion_<?php echo $post_id; ?> .wpsm_panel {
61
  overflow:hidden;
62
  -webkit-box-shadow: 0 0px 0px rgba(0, 0, 0, .05);
63
  box-shadow: 0 0px 0px rgba(0, 0, 0, .05);
@@ -71,7 +72,7 @@ outline: 0px !important;
71
  }
72
  ?>
73
  }
74
- #wpsm_accordion_<?php echo $post_id; ?> .wpsm_panel + .wpsm_panel {
75
  <?php if($acc_margin == 'yes' ) { ?>
76
  margin-top: 5px;
77
  <?php }
@@ -82,16 +83,16 @@ outline: 0px !important;
82
  }
83
  ?>
84
  }
85
- #wpsm_accordion_<?php echo $post_id; ?> .wpsm_panel-body{
86
- background-color:<?php echo $acc_desc_bg_clr; ?> !important;
87
- color:<?php echo $acc_desc_font_clr; ?> !important;
88
- border-top-color: <?php echo $acc_title_bg_clr; ?> !important;
89
- font-size:<?php echo $des_size; ?>px !important;
90
- font-family: <?php echo $font_family; ?> !important;
91
  overflow: hidden;
92
  <?php if($enable_ac_border=="yes")
93
  { ?>
94
- border: 2px solid <?php echo $acc_title_bg_clr; ?> !important;
95
  <?php }
96
  else {
97
  ?>
@@ -99,10 +100,10 @@ outline: 0px !important;
99
  <?php } ?>
100
  }
101
 
102
- #wpsm_accordion_<?php echo $post_id; ?> .ac_open_cl_icon{
103
- background-color:<?php echo $acc_title_bg_clr; ?> !important;
104
- color: <?php echo $acc_title_icon_clr; ?> !important;
105
- float:<?php echo $acc_op_cl_align; ?> !important;
106
  padding-top: 12px !important;
107
  padding-bottom: 12px !important;
108
  line-height: 1.0 !important;
@@ -120,13 +121,13 @@ outline: 0px !important;
120
  break;
121
  case "2":
122
  ?>
123
- #wpsm_accordion_<?php echo $post_id; ?> .wpsm_panel-heading {
124
- background-image: url(<?php echo wpshopmart_accordion_directory_url.'img/style-soft.png'; ?>);
125
  background-position: 0 0;
126
  background-repeat: repeat-x;
127
  }
128
- #wpsm_accordion_<?php echo $post_id; ?> .ac_open_cl_icon{
129
- background-image: url(<?php echo wpshopmart_accordion_directory_url.'img/style-soft.png'; ?>);
130
  background-position: 0 0;
131
  background-repeat: repeat-x;
132
  }
@@ -134,18 +135,18 @@ outline: 0px !important;
134
  break;
135
  case "3":
136
  ?>
137
- #wpsm_accordion_<?php echo $post_id; ?> .wpsm_panel-heading {
138
- background-image: url(<?php echo wpshopmart_accordion_directory_url.'img/style-noise.png'; ?>);
139
  background-position: 0 0;
140
  background-repeat: repeat-x;
141
  }
142
- #wpsm_accordion_<?php echo $post_id; ?> .ac_open_cl_icon{
143
- background-image: url(<?php echo wpshopmart_accordion_directory_url.'img/style-noise.png'; ?>);
144
  background-position: 0 0;
145
  background-repeat: repeat-x;
146
  }
147
  <?php
148
  break;
149
- }
150
- ?>
151
- <?php echo $custom_css; ?>
1
+ <style>
2
+ #wpsm_accordion_<?php echo esc_attr($post_id); ?> .wpsm_panel-heading{
3
  padding:0px !important;
4
  }
5
+ #wpsm_accordion_<?php echo esc_attr($post_id); ?> .wpsm_panel-title {
6
  margin:0px !important;
7
  text-transform:none !important;
8
  line-height: 1 !important;
9
  }
10
+ #wpsm_accordion_<?php echo esc_attr($post_id); ?> .wpsm_panel-title a{
11
  text-decoration:none;
12
  overflow:hidden;
13
  display:block;
14
  padding:0px;
15
+ font-size: <?php echo esc_attr($title_size); ?>px !important;
16
+ font-family: <?php echo esc_attr($font_family); ?> !important;
17
+ color:<?php echo esc_attr($acc_title_icon_clr); ?> !important;
18
  border-bottom:0px !important;
19
  }
20
 
21
+ #wpsm_accordion_<?php echo esc_attr($post_id); ?> .wpsm_panel-title a:focus {
22
  outline: 0px !important;
23
  }
24
 
25
+ #wpsm_accordion_<?php echo esc_attr($post_id); ?> .wpsm_panel-title a:hover, #wpsm_accordion_<?php echo esc_attr($post_id); ?> .wpsm_panel-title a:focus {
26
+ color:<?php echo esc_attr($acc_title_icon_clr); ?> !important;
27
  }
28
+ #wpsm_accordion_<?php echo esc_attr($post_id); ?> .acc-a{
29
+ color: <?php echo esc_attr($acc_title_icon_clr); ?> !important;
30
+ background-color:<?php echo esc_attr($acc_title_bg_clr); ?> !important;
31
  border-color: #ddd;
32
  }
33
+ #wpsm_accordion_<?php echo esc_attr($post_id); ?> .wpsm_panel-default > .wpsm_panel-heading{
34
+ color: <?php echo esc_attr($acc_title_icon_clr); ?> !important;
35
+ background-color: <?php echo esc_attr($acc_title_bg_clr); ?> !important;
36
+ border-color: <?php echo esc_attr($acc_title_bg_clr); ?> !important;
37
  border-top-left-radius: 0px;
38
  border-top-right-radius: 0px;
39
  }
40
+ #wpsm_accordion_<?php echo esc_attr($post_id); ?> .wpsm_panel-default {
41
  <?php if($acc_margin == 'yes' ) { ?>
42
  border:1px solid transparent !important;
43
  <?php } else { ?>
44
  border:0px solid transparent !important;
45
  <?php } ?>
46
  }
47
+ #wpsm_accordion_<?php echo esc_attr($post_id); ?> {
48
  margin-bottom: 20px;
49
  overflow: hidden;
50
  float: none;
51
  width: 100%;
52
  display: block;
53
  }
54
+ #wpsm_accordion_<?php echo esc_attr($post_id); ?> .ac_title_class{
55
  display: block;
56
  padding-top: 12px;
57
  padding-bottom: 12px;
58
  padding-left: 15px;
59
  padding-right: 15px;
60
  }
61
+ #wpsm_accordion_<?php echo esc_attr($post_id); ?> .wpsm_panel {
62
  overflow:hidden;
63
  -webkit-box-shadow: 0 0px 0px rgba(0, 0, 0, .05);
64
  box-shadow: 0 0px 0px rgba(0, 0, 0, .05);
72
  }
73
  ?>
74
  }
75
+ #wpsm_accordion_<?php echo esc_attr($post_id); ?> .wpsm_panel + .wpsm_panel {
76
  <?php if($acc_margin == 'yes' ) { ?>
77
  margin-top: 5px;
78
  <?php }
83
  }
84
  ?>
85
  }
86
+ #wpsm_accordion_<?php echo esc_attr($post_id); ?> .wpsm_panel-body{
87
+ background-color:<?php echo esc_attr($acc_desc_bg_clr); ?> !important;
88
+ color:<?php echo esc_attr($acc_desc_font_clr); ?> !important;
89
+ border-top-color: <?php echo esc_attr($acc_title_bg_clr); ?> !important;
90
+ font-size:<?php echo esc_attr($des_size); ?>px !important;
91
+ font-family: <?php echo esc_attr($font_family); ?> !important;
92
  overflow: hidden;
93
  <?php if($enable_ac_border=="yes")
94
  { ?>
95
+ border: 2px solid <?php echo esc_attr($acc_title_bg_clr); ?> !important;
96
  <?php }
97
  else {
98
  ?>
100
  <?php } ?>
101
  }
102
 
103
+ #wpsm_accordion_<?php echo esc_attr($post_id); ?> .ac_open_cl_icon{
104
+ background-color:<?php echo esc_attr($acc_title_bg_clr); ?> !important;
105
+ color: <?php echo esc_attr($acc_title_icon_clr); ?> !important;
106
+ float:<?php echo esc_attr($acc_op_cl_align); ?> !important;
107
  padding-top: 12px !important;
108
  padding-bottom: 12px !important;
109
  line-height: 1.0 !important;
121
  break;
122
  case "2":
123
  ?>
124
+ #wpsm_accordion_<?php echo esc_attr($post_id); ?> .wpsm_panel-heading {
125
+ background-image: url(<?php echo esc_url(wpshopmart_accordion_directory_url.'img/style-soft.png'); ?>);
126
  background-position: 0 0;
127
  background-repeat: repeat-x;
128
  }
129
+ #wpsm_accordion_<?php echo esc_attr($post_id); ?> .ac_open_cl_icon{
130
+ background-image: url(<?php echo esc_url(wpshopmart_accordion_directory_url.'img/style-soft.png'); ?>);
131
  background-position: 0 0;
132
  background-repeat: repeat-x;
133
  }
135
  break;
136
  case "3":
137
  ?>
138
+ #wpsm_accordion_<?php echo esc_attr($post_id); ?> .wpsm_panel-heading {
139
+ background-image: url(<?php echo esc_url(wpshopmart_accordion_directory_url.'img/style-noise.png'); ?>);
140
  background-position: 0 0;
141
  background-repeat: repeat-x;
142
  }
143
+ #wpsm_accordion_<?php echo esc_attr($post_id); ?> .ac_open_cl_icon{
144
+ background-image: url(<?php echo esc_url(wpshopmart_accordion_directory_url.'img/style-noise.png'); ?>);
145
  background-position: 0 0;
146
  background-repeat: repeat-x;
147
  }
148
  <?php
149
  break;
150
+ } ?>
151
+ <?php echo esc_attr($custom_css); ?>
152
+ </style>
js/accordion-custom.js ADDED
@@ -0,0 +1,2244 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ +function ($) {
2
+ 'use strict';
3
+
4
+ // CSS TRANSITION SUPPORT (Shoutout: http://www.modernizr.com/)
5
+ // ============================================================
6
+
7
+ function transitionEnd() {
8
+ var el = document.createElement('bootstrap')
9
+
10
+ var transEndEventNames = {
11
+ WebkitTransition : 'webkitTransitionEnd',
12
+ MozTransition : 'transitionend',
13
+ OTransition : 'oTransitionEnd otransitionend',
14
+ transition : 'transitionend'
15
+ }
16
+
17
+ for (var name in transEndEventNames) {
18
+ if (el.style[name] !== undefined) {
19
+ return { end: transEndEventNames[name] }
20
+ }
21
+ }
22
+
23
+ return false // explicit for ie8 ( ._.)
24
+ }
25
+
26
+ // http://blog.alexmaccaw.com/css-transitions
27
+ $.fn.emulateTransitionEnd = function (duration) {
28
+ var called = false
29
+ var $el = this
30
+ $(this).one('bsTransitionEnd', function () { called = true })
31
+ var callback = function () { if (!called) $($el).trigger($.support.transition.end) }
32
+ setTimeout(callback, duration)
33
+ return this
34
+ }
35
+
36
+ $(function () {
37
+ $.support.transition = transitionEnd()
38
+
39
+ if (!$.support.transition) return
40
+
41
+ $.event.special.bsTransitionEnd = {
42
+ bindType: $.support.transition.end,
43
+ delegateType: $.support.transition.end,
44
+ handle: function (e) {
45
+ if ($(e.target).is(this)) return e.handleObj.handler.apply(this, arguments)
46
+ }
47
+ }
48
+ })
49
+
50
+ }(jQuery);
51
+
52
+ +function ($) {
53
+ 'use strict';
54
+
55
+ // ALERT CLASS DEFINITION
56
+ // ======================
57
+
58
+ var dismiss = '[data-dismiss="alert"]'
59
+ var Alert = function (el) {
60
+ $(el).on('click', dismiss, this.close)
61
+ }
62
+
63
+ Alert.VERSION = '3.3.6'
64
+
65
+ Alert.TRANSITION_DURATION = 150
66
+
67
+ Alert.prototype.close = function (e) {
68
+ var $this = $(this)
69
+ var selector = $this.attr('data-target')
70
+
71
+ if (!selector) {
72
+ selector = $this.attr('href')
73
+ selector = selector && selector.replace(/.*(?=#[^\s]*$)/, '') // strip for ie7
74
+ }
75
+
76
+ var $parent = $(selector)
77
+
78
+ if (e) e.preventDefault()
79
+
80
+ if (!$parent.length) {
81
+ $parent = $this.closest('.alert')
82
+ }
83
+
84
+ $parent.trigger(e = $.Event('close.bs.alert'))
85
+
86
+ if (e.isDefaultPrevented()) return
87
+
88
+ $parent.removeClass('in')
89
+
90
+ function removeElement() {
91
+ // detach from parent, fire event then clean up data
92
+ $parent.detach().trigger('closed.bs.alert').remove()
93
+ }
94
+
95
+ $.support.transition && $parent.hasClass('fade') ?
96
+ $parent
97
+ .one('bsTransitionEnd', removeElement)
98
+ .emulateTransitionEnd(Alert.TRANSITION_DURATION) :
99
+ removeElement()
100
+ }
101
+
102
+
103
+ // ALERT PLUGIN DEFINITION
104
+ // =======================
105
+
106
+ function Plugin(option) {
107
+ return this.each(function () {
108
+ var $this = $(this)
109
+ var data = $this.data('bs.alert')
110
+
111
+ if (!data) $this.data('bs.alert', (data = new Alert(this)))
112
+ if (typeof option == 'string') data[option].call($this)
113
+ })
114
+ }
115
+
116
+ var old = $.fn.alert
117
+
118
+ $.fn.alert = Plugin
119
+ $.fn.alert.Constructor = Alert
120
+
121
+
122
+ // ALERT NO CONFLICT
123
+ // =================
124
+
125
+ $.fn.alert.noConflict = function () {
126
+ $.fn.alert = old
127
+ return this
128
+ }
129
+
130
+
131
+ // ALERT DATA-API
132
+ // ==============
133
+
134
+ $(document).on('click.bs.alert.data-api', dismiss, Alert.prototype.close)
135
+
136
+ }(jQuery);
137
+
138
+
139
+ +function ($) {
140
+ 'use strict';
141
+
142
+ // BUTTON PUBLIC CLASS DEFINITION
143
+ // ==============================
144
+
145
+ var Button = function (element, options) {
146
+ this.$element = $(element)
147
+ this.options = $.extend({}, Button.DEFAULTS, options)
148
+ this.isLoading = false
149
+ }
150
+
151
+ Button.VERSION = '3.3.6'
152
+
153
+ Button.DEFAULTS = {
154
+ loadingText: 'loading...'
155
+ }
156
+
157
+ Button.prototype.setState = function (state) {
158
+ var d = 'disabled'
159
+ var $el = this.$element
160
+ var val = $el.is('input') ? 'val' : 'html'
161
+ var data = $el.data()
162
+
163
+ state += 'Text'
164
+
165
+ if (data.resetText == null) $el.data('resetText', $el[val]())
166
+
167
+ // push to event loop to allow forms to submit
168
+ setTimeout($.proxy(function () {
169
+ $el[val](data[state] == null ? this.options[state] : data[state])
170
+
171
+ if (state == 'loadingText') {
172
+ this.isLoading = true
173
+ $el.addClass(d).attr(d, d)
174
+ } else if (this.isLoading) {
175
+ this.isLoading = false
176
+ $el.removeClass(d).removeAttr(d)
177
+ }
178
+ }, this), 0)
179
+ }
180
+
181
+ Button.prototype.toggle = function () {
182
+ var changed = true
183
+ var $parent = this.$element.closest('[data-toggle="buttons"]')
184
+
185
+ if ($parent.length) {
186
+ var $input = this.$element.find('input')
187
+ if ($input.prop('type') == 'radio') {
188
+ if ($input.prop('checked')) changed = false
189
+ $parent.find('.active').removeClass('active')
190
+ this.$element.addClass('active')
191
+ } else if ($input.prop('type') == 'checkbox') {
192
+ if (($input.prop('checked')) !== this.$element.hasClass('active')) changed = false
193
+ this.$element.toggleClass('active')
194
+ }
195
+ $input.prop('checked', this.$element.hasClass('active'))
196
+ if (changed) $input.trigger('change')
197
+ } else {
198
+ this.$element.attr('aria-pressed', !this.$element.hasClass('active'))
199
+ this.$element.toggleClass('active')
200
+ }
201
+ }
202
+
203
+
204
+ // BUTTON PLUGIN DEFINITION
205
+ // ========================
206
+
207
+ function Plugin(option) {
208
+ return this.each(function () {
209
+ var $this = $(this)
210
+ var data = $this.data('bs.button')
211
+ var options = typeof option == 'object' && option
212
+
213
+ if (!data) $this.data('bs.button', (data = new Button(this, options)))
214
+
215
+ if (option == 'toggle') data.toggle()
216
+ else if (option) data.setState(option)
217
+ })
218
+ }
219
+
220
+ var old = $.fn.button
221
+
222
+ $.fn.button = Plugin
223
+ $.fn.button.Constructor = Button
224
+
225
+
226
+ // BUTTON NO CONFLICT
227
+ // ==================
228
+
229
+ $.fn.button.noConflict = function () {
230
+ $.fn.button = old
231
+ return this
232
+ }
233
+
234
+
235
+ // BUTTON DATA-API
236
+ // ===============
237
+
238
+ $(document)
239
+ .on('click.bs.button.data-api', '[data-toggle^="button"]', function (e) {
240
+ var $btn = $(e.target)
241
+ if (!$btn.hasClass('btn')) $btn = $btn.closest('.btn')
242
+ Plugin.call($btn, 'toggle')
243
+ if (!($(e.target).is('input[type="radio"]') || $(e.target).is('input[type="checkbox"]'))) e.preventDefault()
244
+ })
245
+ .on('focus.bs.button.data-api blur.bs.button.data-api', '[data-toggle^="button"]', function (e) {
246
+ $(e.target).closest('.btn').toggleClass('focus', /^focus(in)?$/.test(e.type))
247
+ })
248
+
249
+ }(jQuery);
250
+
251
+
252
+ +function ($) {
253
+ 'use strict';
254
+
255
+ // CAROUSEL CLASS DEFINITION
256
+ // =========================
257
+
258
+ var Carousel = function (element, options) {
259
+ this.$element = $(element)
260
+ this.$indicators = this.$element.find('.carousel-indicators')
261
+ this.options = options
262
+ this.paused = null
263
+ this.sliding = null
264
+ this.interval = null
265
+ this.$active = null
266
+ this.$items = null
267
+
268
+ this.options.keyboard && this.$element.on('keydown.bs.carousel', $.proxy(this.keydown, this))
269
+
270
+ this.options.pause == 'hover' && !('ontouchstart' in document.documentElement) && this.$element
271
+ .on('mouseenter.bs.carousel', $.proxy(this.pause, this))
272
+ .on('mouseleave.bs.carousel', $.proxy(this.cycle, this))
273
+ }
274
+
275
+ Carousel.VERSION = '3.3.6'
276
+
277
+ Carousel.TRANSITION_DURATION = 600
278
+
279
+ Carousel.DEFAULTS = {
280
+ interval: 5000,
281
+ pause: 'hover',
282
+ wrap: true,
283
+ keyboard: true
284
+ }
285
+
286
+ Carousel.prototype.keydown = function (e) {
287
+ if (/input|textarea/i.test(e.target.tagName)) return
288
+ switch (e.which) {
289
+ case 37: this.prev(); break
290
+ case 39: this.next(); break
291
+ default: return
292
+ }
293
+
294
+ e.preventDefault()
295
+ }
296
+
297
+ Carousel.prototype.cycle = function (e) {
298
+ e || (this.paused = false)
299
+
300
+ this.interval && clearInterval(this.interval)
301
+
302
+ this.options.interval
303
+ && !this.paused
304
+ && (this.interval = setInterval($.proxy(this.next, this), this.options.interval))
305
+
306
+ return this
307
+ }
308
+
309
+ Carousel.prototype.getItemIndex = function (item) {
310
+ this.$items = item.parent().children('.item')
311
+ return this.$items.index(item || this.$active)
312
+ }
313
+
314
+ Carousel.prototype.getItemForDirection = function (direction, active) {
315
+ var activeIndex = this.getItemIndex(active)
316
+ var willWrap = (direction == 'prev' && activeIndex === 0)
317
+ || (direction == 'next' && activeIndex == (this.$items.length - 1))
318
+ if (willWrap && !this.options.wrap) return active
319
+ var delta = direction == 'prev' ? -1 : 1
320
+ var itemIndex = (activeIndex + delta) % this.$items.length
321
+ return this.$items.eq(itemIndex)
322
+ }
323
+
324
+ Carousel.prototype.to = function (pos) {
325
+ var that = this
326
+ var activeIndex = this.getItemIndex(this.$active = this.$element.find('.item.active'))
327
+
328
+ if (pos > (this.$items.length - 1) || pos < 0) return
329
+
330
+ if (this.sliding) return this.$element.one('slid.bs.carousel', function () { that.to(pos) }) // yes, "slid"
331
+ if (activeIndex == pos) return this.pause().cycle()
332
+
333
+ return this.slide(pos > activeIndex ? 'next' : 'prev', this.$items.eq(pos))
334
+ }
335
+
336
+ Carousel.prototype.pause = function (e) {
337
+ e || (this.paused = true)
338
+
339
+ if (this.$element.find('.next, .prev').length && $.support.transition) {
340
+ this.$element.trigger($.support.transition.end)
341
+ this.cycle(true)
342
+ }
343
+
344
+ this.interval = clearInterval(this.interval)
345
+
346
+ return this
347
+ }
348
+
349
+ Carousel.prototype.next = function () {
350
+ if (this.sliding) return
351
+ return this.slide('next')
352
+ }
353
+
354
+ Carousel.prototype.prev = function () {
355
+ if (this.sliding) return
356
+ return this.slide('prev')
357
+ }
358
+
359
+ Carousel.prototype.slide = function (type, next) {
360
+ var $active = this.$element.find('.item.active')
361
+ var $next = next || this.getItemForDirection(type, $active)
362
+ var isCycling = this.interval
363
+ var direction = type == 'next' ? 'left' : 'right'
364
+ var that = this
365
+
366
+ if ($next.hasClass('active')) return (this.sliding = false)
367
+
368
+ var relatedTarget = $next[0]
369
+ var slideEvent = $.Event('slide.bs.carousel', {
370
+ relatedTarget: relatedTarget,
371
+ direction: direction
372
+ })
373
+ this.$element.trigger(slideEvent)
374
+ if (slideEvent.isDefaultPrevented()) return
375
+
376
+ this.sliding = true
377
+
378
+ isCycling && this.pause()
379
+
380
+ if (this.$indicators.length) {
381
+ this.$indicators.find('.active').removeClass('active')
382
+ var $nextIndicator = $(this.$indicators.children()[this.getItemIndex($next)])
383
+ $nextIndicator && $nextIndicator.addClass('active')
384
+ }
385
+
386
+ var slidEvent = $.Event('slid.bs.carousel', { relatedTarget: relatedTarget, direction: direction }) // yes, "slid"
387
+ if ($.support.transition && this.$element.hasClass('slide')) {
388
+ $next.addClass(type)
389
+ $next[0].offsetWidth // force reflow
390
+ $active.addClass(direction)
391
+ $next.addClass(direction)
392
+ $active
393
+ .one('bsTransitionEnd', function () {
394
+ $next.removeClass([type, direction].join(' ')).addClass('active')
395
+ $active.removeClass(['active', direction].join(' '))
396
+ that.sliding = false
397
+ setTimeout(function () {
398
+ that.$element.trigger(slidEvent)
399
+ }, 0)
400
+ })
401
+ .emulateTransitionEnd(Carousel.TRANSITION_DURATION)
402
+ } else {
403
+ $active.removeClass('active')
404
+ $next.addClass('active')
405
+ this.sliding = false
406
+ this.$element.trigger(slidEvent)
407
+ }
408
+
409
+ isCycling && this.cycle()
410
+
411
+ return this
412
+ }
413
+
414
+
415
+ // CAROUSEL PLUGIN DEFINITION
416
+ // ==========================
417
+
418
+ function Plugin(option) {
419
+ return this.each(function () {
420
+ var $this = $(this)
421
+ var data = $this.data('bs.carousel')
422
+ var options = $.extend({}, Carousel.DEFAULTS, $this.data(), typeof option == 'object' && option)
423
+ var action = typeof option == 'string' ? option : options.slide
424
+
425
+ if (!data) $this.data('bs.carousel', (data = new Carousel(this, options)))
426
+ if (typeof option == 'number') data.to(option)
427
+ else if (action) data[action]()
428
+ else if (options.interval) data.pause().cycle()
429
+ })
430
+ }
431
+
432
+ var old = $.fn.carousel
433
+
434
+ $.fn.carousel = Plugin
435
+ $.fn.carousel.Constructor = Carousel
436
+
437
+
438
+ // CAROUSEL NO CONFLICT
439
+ // ====================
440
+
441
+ $.fn.carousel.noConflict = function () {
442
+ $.fn.carousel = old
443
+ return this
444
+ }
445
+
446
+
447
+ // CAROUSEL DATA-API
448
+ // =================
449
+
450
+ var clickHandler = function (e) {
451
+ var href
452
+ var $this = $(this)
453
+ var $target = $($this.attr('data-target') || (href = $this.attr('href')) && href.replace(/.*(?=#[^\s]+$)/, '')) // strip for ie7
454
+ if (!$target.hasClass('carousel')) return
455
+ var options = $.extend({}, $target.data(), $this.data())
456
+ var slideIndex = $this.attr('data-slide-to')
457
+ if (slideIndex) options.interval = false
458
+
459
+ Plugin.call($target, options)
460
+
461
+ if (slideIndex) {
462
+ $target.data('bs.carousel').to(slideIndex)
463
+ }
464
+
465
+ e.preventDefault()
466
+ }
467
+
468
+ $(document)
469
+ .on('click.bs.carousel.data-api', '[data-slide]', clickHandler)
470
+ .on('click.bs.carousel.data-api', '[data-slide-to]', clickHandler)
471
+
472
+ $(window).on('load', function () {
473
+ $('[data-ride="carousel"]').each(function () {
474
+ var $carousel = $(this)
475
+ Plugin.call($carousel, $carousel.data())
476
+ })
477
+ })
478
+
479
+ }(jQuery);
480
+
481
+
482
+ +function ($) {
483
+ 'use strict';
484
+
485
+ // COLLAPSE PUBLIC CLASS DEFINITION
486
+ // ================================
487
+
488
+ var Collapse = function (element, options) {
489
+ this.$element = $(element)
490
+ this.options = $.extend({}, Collapse.DEFAULTS, options)
491
+ this.$trigger = $('[data-toggle="collapse"][href="#' + element.id + '"],' +
492
+ '[data-toggle="collapse"][data-target="#' + element.id + '"]')
493
+ this.transitioning = null
494
+
495
+ if (this.options.parent) {
496
+ this.$parent = this.getParent()
497
+ } else {
498
+ this.addAriaAndCollapsedClass(this.$element, this.$trigger)
499
+ }
500
+
501
+ if (this.options.toggle) this.toggle()
502
+ }
503
+
504
+ Collapse.VERSION = '3.3.6'
505
+
506
+ Collapse.TRANSITION_DURATION = 350
507
+
508
+ Collapse.DEFAULTS = {
509
+ toggle: true
510
+ }
511
+
512
+ Collapse.prototype.dimension = function () {
513
+ var hasWidth = this.$element.hasClass('width')
514
+ return hasWidth ? 'width' : 'height'
515
+ }
516
+
517
+ Collapse.prototype.show = function () {
518
+ if (this.transitioning || this.$element.hasClass('in')) return
519
+
520
+ var activesData
521
+ var actives = this.$parent && this.$parent.children('.wpsm_panel').children('.in, .collapsing')
522
+
523
+ if (actives && actives.length) {
524
+ activesData = actives.data('bs.collapse')
525
+ if (activesData && activesData.transitioning) return
526
+ }
527
+
528
+ var startEvent = $.Event('show.bs.collapse')
529
+ this.$element.trigger(startEvent)
530
+ if (startEvent.isDefaultPrevented()) return
531
+
532
+ if (actives && actives.length) {
533
+ Plugin.call(actives, 'hide')
534
+ activesData || actives.data('bs.collapse', null)
535
+ }
536
+
537
+ var dimension = this.dimension()
538
+
539
+ this.$element
540
+ .removeClass('collapse')
541
+ .addClass('collapsing')[dimension](0)
542
+ .attr('aria-expanded', true)
543
+
544
+ this.$trigger
545
+ .removeClass('collapsed')
546
+ .attr('aria-expanded', true)
547
+
548
+ this.transitioning = 1
549
+
550
+ var complete = function () {
551
+ this.$element
552
+ .removeClass('collapsing')
553
+ .addClass('collapse in')[dimension]('')
554
+ this.transitioning = 0
555
+ this.$element
556
+ .trigger('shown.bs.collapse')
557
+ }
558
+
559
+ if (!$.support.transition) return complete.call(this)
560
+
561
+ var scrollSize = $.camelCase(['scroll', dimension].join('-'))
562
+
563
+ this.$element
564
+ .one('bsTransitionEnd', $.proxy(complete, this))
565
+ .emulateTransitionEnd(Collapse.TRANSITION_DURATION)[dimension](this.$element[0][scrollSize])
566
+ }
567
+
568
+ Collapse.prototype.hide = function () {
569
+ if (this.transitioning || !this.$element.hasClass('in')) return
570
+
571
+ var startEvent = $.Event('hide.bs.collapse')
572
+ this.$element.trigger(startEvent)
573
+ if (startEvent.isDefaultPrevented()) return
574
+
575
+ var dimension = this.dimension()
576
+
577
+ this.$element[dimension](this.$element[dimension]())[0].offsetHeight
578
+
579
+ this.$element
580
+ .addClass('collapsing')
581
+ .removeClass('collapse in')
582
+ .attr('aria-expanded', false)
583
+
584
+ this.$trigger
585
+ .addClass('collapsed')
586
+ .attr('aria-expanded', false)
587
+
588
+ this.transitioning = 1
589
+
590
+ var complete = function () {
591
+ this.transitioning = 0
592
+ this.$element
593
+ .removeClass('collapsing')
594
+ .addClass('collapse')
595
+ .trigger('hidden.bs.collapse')
596
+ }
597
+
598
+ if (!$.support.transition) return complete.call(this)
599
+
600
+ this.$element
601
+ [dimension](0)
602
+ .one('bsTransitionEnd', $.proxy(complete, this))
603
+ .emulateTransitionEnd(Collapse.TRANSITION_DURATION)
604
+ }
605
+
606
+ Collapse.prototype.toggle = function () {
607
+ this[this.$element.hasClass('in') ? 'hide' : 'show']()
608
+ }
609
+
610
+ Collapse.prototype.getParent = function () {
611
+ return $(this.options.parent)
612
+ .find('[data-toggle="collapse"][data-parent="' + this.options.parent + '"]')
613
+ .each($.proxy(function (i, element) {
614
+ var $element = $(element)
615
+ this.addAriaAndCollapsedClass(getTargetFromTrigger($element), $element)
616
+ }, this))
617
+ .end()
618
+ }
619
+
620
+ Collapse.prototype.addAriaAndCollapsedClass = function ($element, $trigger) {
621
+ var isOpen = $element.hasClass('in')
622
+
623
+ $element.attr('aria-expanded', isOpen)
624
+ $trigger
625
+ .toggleClass('collapsed', !isOpen)
626
+ .attr('aria-expanded', isOpen)
627
+ }
628
+
629
+ function getTargetFromTrigger($trigger) {
630
+ var href
631
+ var target = $trigger.attr('data-target')
632
+ || (href = $trigger.attr('href')) && href.replace(/.*(?=#[^\s]+$)/, '') // strip for ie7
633
+
634
+ return $(target)
635
+ }
636
+
637
+
638
+ // COLLAPSE PLUGIN DEFINITION
639
+ // ==========================
640
+
641
+ function Plugin(option) {
642
+ return this.each(function () {
643
+ var $this = $(this)
644
+ var data = $this.data('bs.collapse')
645
+ var options = $.extend({}, Collapse.DEFAULTS, $this.data(), typeof option == 'object' && option)
646
+
647
+ if (!data && options.toggle && /show|hide/.test(option)) options.toggle = false
648
+ if (!data) $this.data('bs.collapse', (data = new Collapse(this, options)))
649
+ if (typeof option == 'string') data[option]()
650
+ })
651
+ }
652
+
653
+ var old = $.fn.collapse
654
+
655
+ $.fn.collapse = Plugin
656
+ $.fn.collapse.Constructor = Collapse
657
+
658
+
659
+ // COLLAPSE NO CONFLICT
660
+ // ====================
661
+
662
+ $.fn.collapse.noConflict = function () {
663
+ $.fn.collapse = old
664
+ return this
665
+ }
666
+
667
+
668
+ // COLLAPSE DATA-API
669
+ // =================
670
+
671
+ $(document).on('click.bs.collapse.data-api', '[data-toggle="collapse"]', function (e) {
672
+ var $this = $(this)
673
+
674
+ if (!$this.attr('data-target')) e.preventDefault()
675
+
676
+ var $target = getTargetFromTrigger($this)
677
+ var data = $target.data('bs.collapse')
678
+ var option = data ? 'toggle' : $this.data()
679
+
680
+ Plugin.call($target, option)
681
+ })
682
+
683
+ }(jQuery);
684
+
685
+ +function ($) {
686
+ 'use strict';
687
+
688
+ // DROPDOWN CLASS DEFINITION
689
+ // =========================
690
+
691
+ var backdrop = '.dropdown-backdrop'
692
+ var toggle = '[data-toggle="dropdown"]'
693
+ var Dropdown = function (element) {
694
+ $(element).on('click.bs.dropdown', this.toggle)
695
+ }
696
+
697
+ Dropdown.VERSION = '3.3.6'
698
+
699
+ function getParent($this) {
700
+ var selector = $this.attr('data-target')
701
+
702
+ if (!selector) {
703
+ selector = $this.attr('href')
704
+ selector = selector && /#[A-Za-z]/.test(selector) && selector.replace(/.*(?=#[^\s]*$)/, '') // strip for ie7
705
+ }
706
+
707
+ var $parent = selector && $(selector)
708
+
709
+ return $parent && $parent.length ? $parent : $this.parent()
710
+ }
711
+
712
+ function clearMenus(e) {
713
+ if (e && e.which === 3) return
714
+ $(backdrop).remove()
715
+ $(toggle).each(function () {
716
+ var $this = $(this)
717
+ var $parent = getParent($this)
718
+ var relatedTarget = { relatedTarget: this }
719
+
720
+ if (!$parent.hasClass('open')) return
721
+
722
+ if (e && e.type == 'click' && /input|textarea/i.test(e.target.tagName) && $.contains($parent[0], e.target)) return
723
+
724
+ $parent.trigger(e = $.Event('hide.bs.dropdown', relatedTarget))
725
+
726
+ if (e.isDefaultPrevented()) return
727
+
728
+ $this.attr('aria-expanded', 'false')
729
+ $parent.removeClass('open').trigger($.Event('hidden.bs.dropdown', relatedTarget))
730
+ })
731
+ }
732
+
733
+ Dropdown.prototype.toggle = function (e) {
734
+ var $this = $(this)
735
+
736
+ if ($this.is('.disabled, :disabled')) return
737
+
738
+ var $parent = getParent($this)
739
+ var isActive = $parent.hasClass('open')
740
+
741
+ clearMenus()
742
+
743
+ if (!isActive) {
744
+ if ('ontouchstart' in document.documentElement && !$parent.closest('.navbar-nav').length) {
745
+ // if mobile we use a backdrop because click events don't delegate
746
+ $(document.createElement('div'))
747
+ .addClass('dropdown-backdrop')
748
+ .insertAfter($(this))
749
+ .on('click', clearMenus)
750
+ }
751
+
752
+ var relatedTarget = { relatedTarget: this }
753
+ $parent.trigger(e = $.Event('show.bs.dropdown', relatedTarget))
754
+
755
+ if (e.isDefaultPrevented()) return
756
+
757
+ $this
758
+ .trigger('focus')
759
+ .attr('aria-expanded', 'true')
760
+
761
+ $parent
762
+ .toggleClass('open')
763
+ .trigger($.Event('shown.bs.dropdown', relatedTarget))
764
+ }
765
+
766
+ return false
767
+ }
768
+
769
+ Dropdown.prototype.keydown = function (e) {
770
+ if (!/(38|40|27|32)/.test(e.which) || /input|textarea/i.test(e.target.tagName)) return
771
+
772
+ var $this = $(this)
773
+
774
+ e.preventDefault()
775
+ e.stopPropagation()
776
+
777
+ if ($this.is('.disabled, :disabled')) return
778
+
779
+ var $parent = getParent($this)
780
+ var isActive = $parent.hasClass('open')
781
+
782
+ if (!isActive && e.which != 27 || isActive && e.which == 27) {
783
+ if (e.which == 27) $parent.find(toggle).trigger('focus')
784
+ return $this.trigger('click')
785
+ }
786
+
787
+ var desc = ' li:not(.disabled):visible a'
788
+ var $items = $parent.find('.dropdown-menu' + desc)
789
+
790
+ if (!$items.length) return
791
+
792
+ var index = $items.index(e.target)
793
+
794
+ if (e.which == 38 && index > 0) index-- // up
795
+ if (e.which == 40 && index < $items.length - 1) index++ // down
796
+ if (!~index) index = 0
797
+
798
+ $items.eq(index).trigger('focus')
799
+ }
800
+
801
+
802
+ // DROPDOWN PLUGIN DEFINITION
803
+ // ==========================
804
+
805
+ function Plugin(option) {
806
+ return this.each(function () {
807
+ var $this = $(this)
808
+ var data = $this.data('bs.dropdown')
809
+
810
+ if (!data) $this.data('bs.dropdown', (data = new Dropdown(this)))
811
+ if (typeof option == 'string') data[option].call($this)
812
+ })
813
+ }
814
+
815
+ var old = $.fn.dropdown
816
+
817
+ $.fn.dropdown = Plugin
818
+ $.fn.dropdown.Constructor = Dropdown
819
+
820
+
821
+ // DROPDOWN NO CONFLICT
822
+ // ====================
823
+
824
+ $.fn.dropdown.noConflict = function () {
825
+ $.fn.dropdown = old
826
+ return this
827
+ }
828
+
829
+
830
+ // APPLY TO STANDARD DROPDOWN ELEMENTS
831
+ // ===================================
832
+
833
+ $(document)
834
+ .on('click.bs.dropdown.data-api', clearMenus)
835
+ .on('click.bs.dropdown.data-api', '.dropdown form', function (e) { e.stopPropagation() })
836
+ .on('click.bs.dropdown.data-api', toggle, Dropdown.prototype.toggle)
837
+ .on('keydown.bs.dropdown.data-api', toggle, Dropdown.prototype.keydown)
838
+ .on('keydown.bs.dropdown.data-api', '.dropdown-menu', Dropdown.prototype.keydown)
839
+
840
+ }(jQuery);
841
+
842
+
843
+ +function ($) {
844
+ 'use strict';
845
+
846
+ // MODAL CLASS DEFINITION
847
+ // ======================
848
+
849
+ var Modal = function (element, options) {
850
+ this.options = options
851
+ this.$body = $(document.body)
852
+ this.$element = $(element)
853
+ this.$dialog = this.$element.find('.modal-dialog')
854
+ this.$backdrop = null
855
+ this.isShown = null
856
+ this.originalBodyPad = null
857
+ this.scrollbarWidth = 0
858
+ this.ignoreBackdropClick = false
859
+
860
+ if (this.options.remote) {
861
+ this.$element
862
+ .find('.modal-content')
863
+ .load(this.options.remote, $.proxy(function () {
864
+ this.$element.trigger('loaded.bs.modal')
865
+ }, this))
866
+ }
867
+ }
868
+
869
+ Modal.VERSION = '3.3.6'
870
+
871
+ Modal.TRANSITION_DURATION = 300
872
+ Modal.BACKDROP_TRANSITION_DURATION = 150
873
+
874
+ Modal.DEFAULTS = {
875
+ backdrop: true,
876
+ keyboard: true,
877
+ show: true
878
+ }
879
+
880
+ Modal.prototype.toggle = function (_relatedTarget) {
881
+ return this.isShown ? this.hide() : this.show(_relatedTarget)
882
+ }
883
+
884
+ Modal.prototype.show = function (_relatedTarget) {
885
+ var that = this
886
+ var e = $.Event('show.bs.modal', { relatedTarget: _relatedTarget })
887
+
888
+ this.$element.trigger(e)
889
+
890
+ if (this.isShown || e.isDefaultPrevented()) return
891
+
892
+ this.isShown = true
893
+
894
+ this.checkScrollbar()
895
+ this.setScrollbar()
896
+ this.$body.addClass('modal-open')
897
+
898
+ this.escape()
899
+ this.resize()
900
+
901
+ this.$element.on('click.dismiss.bs.modal', '[data-dismiss="modal"]', $.proxy(this.hide, this))
902
+
903
+ this.$dialog.on('mousedown.dismiss.bs.modal', function () {
904
+ that.$element.one('mouseup.dismiss.bs.modal', function (e) {
905
+ if ($(e.target).is(that.$element)) that.ignoreBackdropClick = true
906
+ })
907
+ })
908
+
909
+ this.backdrop(function () {
910
+ var transition = $.support.transition && that.$element.hasClass('fade')
911
+
912
+ if (!that.$element.parent().length) {
913
+ that.$element.appendTo(that.$body) // don't move modals dom position
914
+ }
915
+
916
+ that.$element
917
+ .show()
918
+ .scrollTop(0)
919
+
920
+ that.adjustDialog()
921
+
922
+ if (transition) {
923
+ that.$element[0].offsetWidth // force reflow
924
+ }
925
+
926
+ that.$element.addClass('in')
927
+
928
+ that.enforceFocus()
929
+
930
+ var e = $.Event('shown.bs.modal', { relatedTarget: _relatedTarget })
931
+
932
+ transition ?
933
+ that.$dialog // wait for modal to slide in
934
+ .one('bsTransitionEnd', function () {
935
+ that.$element.trigger('focus').trigger(e)
936
+ })
937
+ .emulateTransitionEnd(Modal.TRANSITION_DURATION) :
938
+ that.$element.trigger('focus').trigger(e)
939
+ })
940
+ }
941
+
942
+ Modal.prototype.hide = function (e) {
943
+ if (e) e.preventDefault()
944
+
945
+ e = $.Event('hide.bs.modal')
946
+
947
+ this.$element.trigger(e)
948
+
949
+ if (!this.isShown || e.isDefaultPrevented()) return
950
+
951
+ this.isShown = false
952
+
953
+ this.escape()
954
+ this.resize()
955
+
956
+ $(document).off('focusin.bs.modal')
957
+
958
+ this.$element
959
+ .removeClass('in')
960
+ .off('click.dismiss.bs.modal')
961
+ .off('mouseup.dismiss.bs.modal')
962
+
963
+ this.$dialog.off('mousedown.dismiss.bs.modal')
964
+
965
+ $.support.transition && this.$element.hasClass('fade') ?
966
+ this.$element
967
+ .one('bsTransitionEnd', $.proxy(this.hideModal, this))
968
+ .emulateTransitionEnd(Modal.TRANSITION_DURATION) :
969
+ this.hideModal()
970
+ }
971
+
972
+ Modal.prototype.enforceFocus = function () {
973
+ $(document)
974
+ .off('focusin.bs.modal') // guard against infinite focus loop
975
+ .on('focusin.bs.modal', $.proxy(function (e) {
976
+ if (this.$element[0] !== e.target && !this.$element.has(e.target).length) {
977
+ this.$element.trigger('focus')
978
+ }
979
+ }, this))
980
+ }
981
+
982
+ Modal.prototype.escape = function () {
983
+ if (this.isShown && this.options.keyboard) {
984
+ this.$element.on('keydown.dismiss.bs.modal', $.proxy(function (e) {
985
+ e.which == 27 && this.hide()
986
+ }, this))
987
+ } else if (!this.isShown) {
988
+ this.$element.off('keydown.dismiss.bs.modal')
989
+ }
990
+ }
991
+
992
+ Modal.prototype.resize = function () {
993
+ if (this.isShown) {
994
+ $(window).on('resize.bs.modal', $.proxy(this.handleUpdate, this))
995
+ } else {
996
+ $(window).off('resize.bs.modal')
997
+ }
998
+ }
999
+
1000
+ Modal.prototype.hideModal = function () {
1001
+ var that = this
1002
+ this.$element.hide()
1003
+ this.backdrop(function () {
1004
+ that.$body.removeClass('modal-open')
1005
+ that.resetAdjustments()
1006
+ that.resetScrollbar()
1007
+ that.$element.trigger('hidden.bs.modal')
1008
+ })
1009
+ }
1010
+
1011
+ Modal.prototype.removeBackdrop = function () {
1012
+ this.$backdrop && this.$backdrop.remove()
1013
+ this.$backdrop = null
1014
+ }
1015
+
1016
+ Modal.prototype.backdrop = function (callback) {
1017
+ var that = this
1018
+ var animate = this.$element.hasClass('fade') ? 'fade' : ''
1019
+
1020
+ if (this.isShown && this.options.backdrop) {
1021
+ var doAnimate = $.support.transition && animate
1022
+
1023
+ this.$backdrop = $(document.createElement('div'))
1024
+ .addClass('modal-backdrop ' + animate)
1025
+ .appendTo(this.$body)
1026
+
1027
+ this.$element.on('click.dismiss.bs.modal', $.proxy(function (e) {
1028
+ if (this.ignoreBackdropClick) {
1029
+ this.ignoreBackdropClick = false
1030
+ return
1031
+ }
1032
+ if (e.target !== e.currentTarget) return
1033
+ this.options.backdrop == 'static'
1034
+ ? this.$element[0].focus()
1035
+ : this.hide()
1036
+ }, this))
1037
+
1038
+ if (doAnimate) this.$backdrop[0].offsetWidth // force reflow
1039
+
1040
+ this.$backdrop.addClass('in')
1041
+
1042
+ if (!callback) return
1043
+
1044
+ doAnimate ?
1045
+ this.$backdrop
1046
+ .one('bsTransitionEnd', callback)
1047
+ .emulateTransitionEnd(Modal.BACKDROP_TRANSITION_DURATION) :
1048
+ callback()
1049
+
1050
+ } else if (!this.isShown && this.$backdrop) {
1051
+ this.$backdrop.removeClass('in')
1052
+
1053
+ var callbackRemove = function () {
1054
+ that.removeBackdrop()
1055
+ callback && callback()
1056
+ }
1057
+ $.support.transition && this.$element.hasClass('fade') ?
1058
+ this.$backdrop
1059
+ .one('bsTransitionEnd', callbackRemove)
1060
+ .emulateTransitionEnd(Modal.BACKDROP_TRANSITION_DURATION) :
1061
+ callbackRemove()
1062
+
1063
+ } else if (callback) {
1064
+ callback()
1065
+ }
1066
+ }
1067
+
1068
+ // these following methods are used to handle overflowing modals
1069
+
1070
+ Modal.prototype.handleUpdate = function () {
1071
+ this.adjustDialog()
1072
+ }
1073
+
1074
+ Modal.prototype.adjustDialog = function () {
1075
+ var modalIsOverflowing = this.$element[0].scrollHeight > document.documentElement.clientHeight
1076
+
1077
+ this.$element.css({
1078
+ paddingLeft: !this.bodyIsOverflowing && modalIsOverflowing ? this.scrollbarWidth : '',
1079
+ paddingRight: this.bodyIsOverflowing && !modalIsOverflowing ? this.scrollbarWidth : ''
1080
+ })
1081
+ }
1082
+
1083
+ Modal.prototype.resetAdjustments = function () {
1084
+ this.$element.css({
1085
+ paddingLeft: '',
1086
+ paddingRight: ''
1087
+ })
1088
+ }
1089
+
1090
+ Modal.prototype.checkScrollbar = function () {
1091
+ var fullWindowWidth = window.innerWidth
1092
+ if (!fullWindowWidth) { // workaround for missing window.innerWidth in IE8
1093
+ var documentElementRect = document.documentElement.getBoundingClientRect()
1094
+ fullWindowWidth = documentElementRect.right - Math.abs(documentElementRect.left)
1095
+ }
1096
+ this.bodyIsOverflowing = document.body.clientWidth < fullWindowWidth
1097
+ this.scrollbarWidth = this.measureScrollbar()
1098
+ }
1099
+
1100
+ Modal.prototype.setScrollbar = function () {
1101
+ var bodyPad = parseInt((this.$body.css('padding-right') || 0), 10)
1102
+ this.originalBodyPad = document.body.style.paddingRight || ''
1103
+ if (this.bodyIsOverflowing) this.$body.css('padding-right', bodyPad + this.scrollbarWidth)
1104
+ }
1105
+
1106
+ Modal.prototype.resetScrollbar = function () {
1107
+ this.$body.css('padding-right', this.originalBodyPad)
1108
+ }
1109
+
1110
+ Modal.prototype.measureScrollbar = function () { // thx walsh
1111
+ var scrollDiv = document.createElement('div')
1112
+ scrollDiv.className = 'modal-scrollbar-measure'
1113
+ this.$body.append(scrollDiv)
1114
+ var scrollbarWidth = scrollDiv.offsetWidth - scrollDiv.clientWidth
1115
+ this.$body[0].removeChild(scrollDiv)
1116
+ return scrollbarWidth
1117
+ }
1118
+
1119
+
1120
+ // MODAL PLUGIN DEFINITION
1121
+ // =======================
1122
+
1123
+ function Plugin(option, _relatedTarget) {
1124
+ return this.each(function () {
1125
+ var $this = $(this)
1126
+ var data = $this.data('bs.modal')
1127
+ var options = $.extend({}, Modal.DEFAULTS, $this.data(), typeof option == 'object' && option)
1128
+
1129
+ if (!data) $this.data('bs.modal', (data = new Modal(this, options)))
1130
+ if (typeof option == 'string') data[option](_relatedTarget)
1131
+ else if (options.show) data.show(_relatedTarget)
1132
+ })
1133
+ }
1134
+
1135
+ var old = $.fn.modal
1136
+
1137
+ $.fn.modal = Plugin
1138
+ $.fn.modal.Constructor = Modal
1139
+
1140
+
1141
+ // MODAL NO CONFLICT
1142
+ // =================
1143
+
1144
+ $.fn.modal.noConflict = function () {
1145
+ $.fn.modal = old
1146
+ return this
1147
+ }
1148
+
1149
+
1150
+ // MODAL DATA-API
1151
+ // ==============
1152
+
1153
+ $(document).on('click.bs.modal.data-api', '[data-toggle="modal"]', function (e) {
1154
+ var $this = $(this)
1155
+ var href = $this.attr('href')
1156
+ var $target = $($this.attr('data-target') || (href && href.replace(/.*(?=#[^\s]+$)/, ''))) // strip for ie7
1157
+ var option = $target.data('bs.modal') ? 'toggle' : $.extend({ remote: !/#/.test(href) && href }, $target.data(), $this.data())
1158
+
1159
+ if ($this.is('a')) e.preventDefault()
1160
+
1161
+ $target.one('show.bs.modal', function (showEvent) {
1162
+ if (showEvent.isDefaultPrevented()) return // only register focus restorer if modal will actually get shown
1163
+ $target.one('hidden.bs.modal', function () {
1164
+ $this.is(':visible') && $this.trigger('focus')
1165
+ })
1166
+ })
1167
+ Plugin.call($target, option, this)
1168
+ })
1169
+
1170
+ }(jQuery);
1171
+
1172
+
1173
+ +function ($) {
1174
+ 'use strict';
1175
+
1176
+ // TOOLTIP PUBLIC CLASS DEFINITION
1177
+ // ===============================
1178
+
1179
+ var Tooltip = function (element, options) {
1180
+ this.type = null
1181
+ this.options = null
1182
+ this.enabled = null
1183
+ this.timeout = null
1184
+ this.hoverState = null
1185
+ this.$element = null
1186
+ this.inState = null
1187
+
1188
+ this.init('tooltip', element, options)
1189
+ }
1190
+
1191
+ Tooltip.VERSION = '3.3.6'
1192
+
1193
+ Tooltip.TRANSITION_DURATION = 150
1194
+
1195
+ Tooltip.DEFAULTS = {
1196
+ animation: true,
1197
+ placement: 'top',
1198
+ selector: false,
1199
+ template: '<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',
1200
+ trigger: 'hover focus',
1201
+ title: '',
1202
+ delay: 0,
1203
+ html: false,
1204
+ container: false,
1205
+ viewport: {
1206
+ selector: 'body',
1207
+ padding: 0
1208
+ }
1209
+ }
1210
+
1211
+ Tooltip.prototype.init = function (type, element, options) {
1212
+ this.enabled = true
1213
+ this.type = type
1214
+ this.$element = $(element)
1215
+ this.options = this.getOptions(options)
1216
+ this.$viewport = this.options.viewport && $($.isFunction(this.options.viewport) ? this.options.viewport.call(this, this.$element) : (this.options.viewport.selector || this.options.viewport))
1217
+ this.inState = { click: false, hover: false, focus: false }
1218
+
1219
+ if (this.$element[0] instanceof document.constructor && !this.options.selector) {
1220
+ throw new Error('`selector` option must be specified when initializing ' + this.type + ' on the window.document object!')
1221
+ }
1222
+
1223
+ var triggers = this.options.trigger.split(' ')
1224
+
1225
+ for (var i = triggers.length; i--;) {
1226
+ var trigger = triggers[i]
1227
+
1228
+ if (trigger == 'click') {
1229
+ this.$element.on('click.' + this.type, this.options.selector, $.proxy(this.toggle, this))
1230
+ } else if (trigger != 'manual') {
1231
+ var eventIn = trigger == 'hover' ? 'mouseenter' : 'focusin'
1232
+ var eventOut = trigger == 'hover' ? 'mouseleave' : 'focusout'
1233
+
1234
+ this.$element.on(eventIn + '.' + this.type, this.options.selector, $.proxy(this.enter, this))
1235
+ this.$element.on(eventOut + '.' + this.type, this.options.selector, $.proxy(this.leave, this))
1236
+ }
1237
+ }
1238
+
1239
+ this.options.selector ?
1240
+ (this._options = $.extend({}, this.options, { trigger: 'manual', selector: '' })) :
1241
+ this.fixTitle()
1242
+ }
1243
+
1244
+ Tooltip.prototype.getDefaults = function () {
1245
+ return Tooltip.DEFAULTS
1246
+ }
1247
+
1248
+ Tooltip.prototype.getOptions = function (options) {
1249
+ options = $.extend({}, this.getDefaults(), this.$element.data(), options)
1250
+
1251
+ if (options.delay && typeof options.delay == 'number') {
1252
+ options.delay = {
1253
+ show: options.delay,
1254
+ hide: options.delay
1255
+ }
1256
+ }
1257
+
1258
+ return options
1259
+ }
1260
+
1261
+ Tooltip.prototype.getDelegateOptions = function () {
1262
+ var options = {}
1263
+ var defaults = this.getDefaults()
1264
+
1265
+ this._options && $.each(this._options, function (key, value) {
1266
+ if (defaults[key] != value) options[key] = value
1267
+ })
1268
+
1269
+ return options
1270
+ }
1271
+
1272
+ Tooltip.prototype.enter = function (obj) {
1273
+ var self = obj instanceof this.constructor ?
1274
+ obj : $(obj.currentTarget).data('bs.' + this.type)
1275
+
1276
+ if (!self) {
1277
+ self = new this.constructor(obj.currentTarget, this.getDelegateOptions())
1278
+ $(obj.currentTarget).data('bs.' + this.type, self)
1279
+ }
1280
+
1281
+ if (obj instanceof $.Event) {
1282
+ self.inState[obj.type == 'focusin' ? 'focus' : 'hover'] = true
1283
+ }
1284
+
1285
+ if (self.tip().hasClass('in') || self.hoverState == 'in') {
1286
+ self.hoverState = 'in'
1287
+ return
1288
+ }
1289
+
1290
+ clearTimeout(self.timeout)
1291
+
1292
+ self.hoverState = 'in'
1293
+
1294
+ if (!self.options.delay || !self.options.delay.show) return self.show()
1295
+
1296
+ self.timeout = setTimeout(function () {
1297
+ if (self.hoverState == 'in') self.show()
1298
+ }, self.options.delay.show)
1299
+ }
1300
+
1301
+ Tooltip.prototype.isInStateTrue = function () {
1302
+ for (var key in this.inState) {
1303
+ if (this.inState[key]) return true
1304
+ }
1305
+
1306
+ return false
1307
+ }
1308
+
1309
+ Tooltip.prototype.leave = function (obj) {
1310
+ var self = obj instanceof this.constructor ?
1311
+ obj : $(obj.currentTarget).data('bs.' + this.type)
1312
+
1313
+ if (!self) {
1314
+ self = new this.constructor(obj.currentTarget, this.getDelegateOptions())
1315
+ $(obj.currentTarget).data('bs.' + this.type, self)
1316
+ }
1317
+
1318
+ if (obj instanceof $.Event) {
1319
+ self.inState[obj.type == 'focusout' ? 'focus' : 'hover'] = false
1320
+ }
1321
+
1322
+ if (self.isInStateTrue()) return
1323
+
1324
+ clearTimeout(self.timeout)
1325
+
1326
+ self.hoverState = 'out'
1327
+
1328
+ if (!self.options.delay || !self.options.delay.hide) return self.hide()
1329
+
1330
+ self.timeout = setTimeout(function () {
1331
+ if (self.hoverState == 'out') self.hide()
1332
+ }, self.options.delay.hide)
1333
+ }
1334
+
1335
+ Tooltip.prototype.show = function () {
1336
+ var e = $.Event('show.bs.' + this.type)
1337
+
1338
+ if (this.hasContent() && this.enabled) {
1339
+ this.$element.trigger(e)
1340
+
1341
+ var inDom = $.contains(this.$element[0].ownerDocument.documentElement, this.$element[0])
1342
+ if (e.isDefaultPrevented() || !inDom) return
1343
+ var that = this
1344
+
1345
+ var $tip = this.tip()
1346
+
1347
+ var tipId = this.getUID(this.type)
1348
+
1349
+ this.setContent()
1350
+ $tip.attr('id', tipId)
1351
+ this.$element.attr('aria-describedby', tipId)
1352
+
1353
+ if (this.options.animation) $tip.addClass('fade')
1354
+
1355
+ var placement = typeof this.options.placement == 'function' ?
1356
+ this.options.placement.call(this, $tip[0], this.$element[0]) :
1357
+ this.options.placement
1358
+
1359
+ var autoToken = /\s?auto?\s?/i
1360
+ var autoPlace = autoToken.test(placement)
1361
+ if (autoPlace) placement = placement.replace(autoToken, '') || 'top'
1362
+
1363
+ $tip
1364
+ .detach()
1365
+ .css({ top: 0, left: 0, display: 'block' })
1366
+ .addClass(placement)
1367
+ .data('bs.' + this.type, this)
1368
+
1369
+ this.options.container ? $tip.appendTo(this.options.container) : $tip.insertAfter(this.$element)
1370
+ this.$element.trigger('inserted.bs.' + this.type)
1371
+
1372
+ var pos = this.getPosition()
1373
+ var actualWidth = $tip[0].offsetWidth
1374
+ var actualHeight = $tip[0].offsetHeight
1375
+
1376
+ if (autoPlace) {
1377
+ var orgPlacement = placement
1378
+ var viewportDim = this.getPosition(this.$viewport)
1379
+
1380
+ placement = placement == 'bottom' && pos.bottom + actualHeight > viewportDim.bottom ? 'top' :
1381
+ placement == 'top' && pos.top - actualHeight < viewportDim.top ? 'bottom' :
1382
+ placement == 'right' && pos.right + actualWidth > viewportDim.width ? 'left' :
1383
+ placement == 'left' && pos.left - actualWidth < viewportDim.left ? 'right' :
1384
+ placement
1385
+
1386
+ $tip
1387
+ .removeClass(orgPlacement)
1388
+ .addClass(placement)
1389
+ }
1390
+
1391
+ var calculatedOffset = this.getCalculatedOffset(placement, pos, actualWidth, actualHeight)
1392
+
1393
+ this.applyPlacement(calculatedOffset, placement)
1394
+
1395
+ var complete = function () {
1396
+ var prevHoverState = that.hoverState
1397
+ that.$element.trigger('shown.bs.' + that.type)
1398
+ that.hoverState = null
1399
+
1400
+ if (prevHoverState == 'out') that.leave(that)
1401
+ }
1402
+
1403
+ $.support.transition && this.$tip.hasClass('fade') ?
1404
+ $tip
1405
+ .one('bsTransitionEnd', complete)
1406
+ .emulateTransitionEnd(Tooltip.TRANSITION_DURATION) :
1407
+ complete()
1408
+ }
1409
+ }
1410
+
1411
+ Tooltip.prototype.applyPlacement = function (offset, placement) {
1412
+ var $tip = this.tip()
1413
+ var width = $tip[0].offsetWidth
1414
+ var height = $tip[0].offsetHeight
1415
+
1416
+ // manually read margins because getBoundingClientRect includes difference
1417
+ var marginTop = parseInt($tip.css('margin-top'), 10)
1418
+ var marginLeft = parseInt($tip.css('margin-left'), 10)
1419
+
1420
+ // we must check for NaN for ie 8/9
1421
+ if (isNaN(marginTop)) marginTop = 0
1422
+ if (isNaN(marginLeft)) marginLeft = 0
1423
+
1424
+ offset.top += marginTop
1425
+ offset.left += marginLeft
1426
+
1427
+ // $.fn.offset doesn't round pixel values
1428
+ // so we use setOffset directly with our own function B-0
1429
+ $.offset.setOffset($tip[0], $.extend({
1430
+ using: function (props) {
1431
+ $tip.css({
1432
+ top: Math.round(props.top),
1433
+ left: Math.round(props.left)
1434
+ })
1435
+ }
1436
+ }, offset), 0)
1437
+
1438
+ $tip.addClass('in')
1439
+
1440
+ // check to see if placing tip in new offset caused the tip to resize itself
1441
+ var actualWidth = $tip[0].offsetWidth
1442
+ var actualHeight = $tip[0].offsetHeight
1443
+
1444
+ if (placement == 'top' && actualHeight != height) {
1445
+ offset.top = offset.top + height - actualHeight
1446
+ }
1447
+
1448
+ var delta = this.getViewportAdjustedDelta(placement, offset, actualWidth, actualHeight)
1449
+
1450
+ if (delta.left) offset.left += delta.left
1451
+ else offset.top += delta.top
1452
+
1453
+ var isVertical = /top|bottom/.test(placement)
1454
+ var arrowDelta = isVertical ? delta.left * 2 - width + actualWidth : delta.top * 2 - height + actualHeight
1455
+ var arrowOffsetPosition = isVertical ? 'offsetWidth' : 'offsetHeight'
1456
+
1457
+ $tip.offset(offset)
1458
+ this.replaceArrow(arrowDelta, $tip[0][arrowOffsetPosition], isVertical)
1459
+ }
1460
+
1461
+ Tooltip.prototype.replaceArrow = function (delta, dimension, isVertical) {
1462
+ this.arrow()
1463
+ .css(isVertical ? 'left' : 'top', 50 * (1 - delta / dimension) + '%')
1464
+ .css(isVertical ? 'top' : 'left', '')
1465
+ }
1466
+
1467
+ Tooltip.prototype.setContent = function () {
1468
+ var $tip = this.tip()
1469
+ var title = this.getTitle()
1470
+
1471
+ $tip.find('.tooltip-inner')[this.options.html ? 'html' : 'text'](title)
1472
+ $tip.removeClass('fade in top bottom left right')
1473
+ }
1474
+
1475
+ Tooltip.prototype.hide = function (callback) {
1476
+ var that = this
1477
+ var $tip = $(this.$tip)
1478
+ var e = $.Event('hide.bs.' + this.type)
1479
+
1480
+ function complete() {
1481
+ if (that.hoverState != 'in') $tip.detach()
1482
+ that.$element
1483
+ .removeAttr('aria-describedby')
1484
+ .trigger('hidden.bs.' + that.type)
1485
+ callback && callback()
1486
+ }
1487
+
1488
+ this.$element.trigger(e)
1489
+
1490
+ if (e.isDefaultPrevented()) return
1491
+
1492
+ $tip.removeClass('in')
1493
+
1494
+ $.support.transition && $tip.hasClass('fade') ?
1495
+ $tip
1496
+ .one('bsTransitionEnd', complete)
1497
+ .emulateTransitionEnd(Tooltip.TRANSITION_DURATION) :
1498
+ complete()
1499
+
1500
+ this.hoverState = null
1501
+
1502
+ return this
1503
+ }
1504
+
1505
+ Tooltip.prototype.fixTitle = function () {
1506
+ var $e = this.$element
1507
+ if ($e.attr('title') || typeof $e.attr('data-original-title') != 'string') {
1508
+ $e.attr('data-original-title', $e.attr('title') || '').attr('title', '')
1509
+ }
1510
+ }
1511
+
1512
+ Tooltip.prototype.hasContent = function () {
1513
+ return this.getTitle()
1514
+ }
1515
+
1516
+ Tooltip.prototype.getPosition = function ($element) {
1517
+ $element = $element || this.$element
1518
+
1519
+ var el = $element[0]
1520
+ var isBody = el.tagName == 'BODY'
1521
+
1522
+ var elRect = el.getBoundingClientRect()
1523
+ if (elRect.width == null) {
1524
+ elRect = $.extend({}, elRect, { width: elRect.right - elRect.left, height: elRect.bottom - elRect.top })
1525
+ }
1526
+ var elOffset = isBody ? { top: 0, left: 0 } : $element.offset()
1527
+ var scroll = { scroll: isBody ? document.documentElement.scrollTop || document.body.scrollTop : $element.scrollTop() }
1528
+ var outerDims = isBody ? { width: $(window).width(), height: $(window).height() } : null
1529
+
1530
+ return $.extend({}, elRect, scroll, outerDims, elOffset)
1531
+ }
1532
+
1533
+ Tooltip.prototype.getCalculatedOffset = function (placement, pos, actualWidth, actualHeight) {
1534
+ return placement == 'bottom' ? { top: pos.top + pos.height, left: pos.left + pos.width / 2 - actualWidth / 2 } :
1535
+ placement == 'top' ? { top: pos.top - actualHeight, left: pos.left + pos.width / 2 - actualWidth / 2 } :
1536
+ placement == 'left' ? { top: pos.top + pos.height / 2 - actualHeight / 2, left: pos.left - actualWidth } :
1537
+ /* placement == 'right' */ { top: pos.top + pos.height / 2 - actualHeight / 2, left: pos.left + pos.width }
1538
+
1539
+ }
1540
+
1541
+ Tooltip.prototype.getViewportAdjustedDelta = function (placement, pos, actualWidth, actualHeight) {
1542
+ var delta = { top: 0, left: 0 }
1543
+ if (!this.$viewport) return delta
1544
+
1545
+ var viewportPadding = this.options.viewport && this.options.viewport.padding || 0
1546
+ var viewportDimensions = this.getPosition(this.$viewport)
1547
+
1548
+ if (/right|left/.test(placement)) {
1549
+ var topEdgeOffset = pos.top - viewportPadding - viewportDimensions.scroll
1550
+ var bottomEdgeOffset = pos.top + viewportPadding - viewportDimensions.scroll + actualHeight
1551
+ if (topEdgeOffset < viewportDimensions.top) { // top overflow
1552
+ delta.top = viewportDimensions.top - topEdgeOffset
1553
+ } else if (bottomEdgeOffset > viewportDimensions.top + viewportDimensions.height) { // bottom overflow
1554
+ delta.top = viewportDimensions.top + viewportDimensions.height - bottomEdgeOffset
1555
+ }
1556
+ } else {
1557
+ var leftEdgeOffset = pos.left - viewportPadding
1558
+ var rightEdgeOffset = pos.left + viewportPadding + actualWidth
1559
+ if (leftEdgeOffset < viewportDimensions.left) { // left overflow
1560
+ delta.left = viewportDimensions.left - leftEdgeOffset
1561
+ } else if (rightEdgeOffset > viewportDimensions.right) { // right overflow
1562
+ delta.left = viewportDimensions.left + viewportDimensions.width - rightEdgeOffset
1563
+ }
1564
+ }
1565
+
1566
+ return delta
1567
+ }
1568
+
1569
+ Tooltip.prototype.getTitle = function () {
1570
+ var title
1571
+ var $e = this.$element
1572
+ var o = this.options
1573
+
1574
+ title = $e.attr('data-original-title')
1575
+ || (typeof o.title == 'function' ? o.title.call($e[0]) : o.title)
1576
+
1577
+ return title
1578
+ }
1579
+
1580
+ Tooltip.prototype.getUID = function (prefix) {
1581
+ do prefix += ~~(Math.random() * 1000000)
1582
+ while (document.getElementById(prefix))
1583
+ return prefix
1584
+ }
1585
+
1586
+ Tooltip.prototype.tip = function () {
1587
+ if (!this.$tip) {
1588
+ this.$tip = $(this.options.template)
1589
+ if (this.$tip.length != 1) {
1590
+ throw new Error(this.type + ' `template` option must consist of exactly 1 top-level element!')
1591
+ }
1592
+ }
1593
+ return this.$tip
1594
+ }
1595
+
1596
+ Tooltip.prototype.arrow = function () {
1597
+ return (this.$arrow = this.$arrow || this.tip().find('.tooltip-arrow'))
1598
+ }
1599
+
1600
+ Tooltip.prototype.enable = function () {
1601
+ this.enabled = true
1602
+ }
1603
+
1604
+ Tooltip.prototype.disable = function () {
1605
+ this.enabled = false
1606
+ }
1607
+
1608
+ Tooltip.prototype.toggleEnabled = function () {
1609
+ this.enabled = !this.enabled
1610
+ }
1611
+
1612
+ Tooltip.prototype.toggle = function (e) {
1613
+ var self = this
1614
+ if (e) {
1615
+ self = $(e.currentTarget).data('bs.' + this.type)
1616
+ if (!self) {
1617
+ self = new this.constructor(e.currentTarget, this.getDelegateOptions())
1618
+ $(e.currentTarget).data('bs.' + this.type, self)
1619
+ }
1620
+ }
1621
+
1622
+ if (e) {
1623
+ self.inState.click = !self.inState.click
1624
+ if (self.isInStateTrue()) self.enter(self)
1625
+ else self.leave(self)
1626
+ } else {
1627
+ self.tip().hasClass('in') ? self.leave(self) : self.enter(self)
1628
+ }
1629
+ }
1630
+
1631
+ Tooltip.prototype.destroy = function () {
1632
+ var that = this
1633
+ clearTimeout(this.timeout)
1634
+ this.hide(function () {
1635
+ that.$element.off('.' + that.type).removeData('bs.' + that.type)
1636
+ if (that.$tip) {
1637
+ that.$tip.detach()
1638
+ }
1639
+ that.$tip = null
1640
+ that.$arrow = null
1641
+ that.$viewport = null
1642
+ })
1643
+ }
1644
+
1645
+
1646
+ // TOOLTIP PLUGIN DEFINITION
1647
+ // =========================
1648
+
1649
+ function Plugin(option) {
1650
+ return this.each(function () {
1651
+ var $this = $(this)
1652
+ var data = $this.data('bs.tooltip')
1653
+ var options = typeof option == 'object' && option
1654
+
1655
+ if (!data && /destroy|hide/.test(option)) return
1656
+ if (!data) $this.data('bs.tooltip', (data = new Tooltip(this, options)))
1657
+ if (typeof option == 'string') data[option]()
1658
+ })
1659
+ }
1660
+
1661
+ var old = $.fn.tooltip
1662
+
1663
+ $.fn.tooltip = Plugin
1664
+ $.fn.tooltip.Constructor = Tooltip
1665
+
1666
+
1667
+ // TOOLTIP NO CONFLICT
1668
+ // ===================
1669
+
1670
+ $.fn.tooltip.noConflict = function () {
1671
+ $.fn.tooltip = old
1672
+ return this
1673
+ }
1674
+
1675
+ }(jQuery);
1676
+
1677
+
1678
+ +function ($) {
1679
+ 'use strict';
1680
+
1681
+ // POPOVER PUBLIC CLASS DEFINITION
1682
+ // ===============================
1683
+
1684
+ var Popover = function (element, options) {
1685
+ this.init('popover', element, options)
1686
+ }
1687
+
1688
+ if (!$.fn.tooltip) throw new Error('Popover requires tooltip.js')
1689
+
1690
+ Popover.VERSION = '3.3.6'
1691
+
1692
+ Popover.DEFAULTS = $.extend({}, $.fn.tooltip.Constructor.DEFAULTS, {
1693
+ placement: 'right',
1694
+ trigger: 'click',
1695
+ content: '',
1696
+ template: '<div class="popover" role="tooltip"><div class="arrow"></div><h3 class="popover-title"></h3><div class="popover-content"></div></div>'
1697
+ })
1698
+
1699
+
1700
+ // NOTE: POPOVER EXTENDS tooltip.js
1701
+ // ================================
1702
+
1703
+ Popover.prototype = $.extend({}, $.fn.tooltip.Constructor.prototype)
1704
+
1705
+ Popover.prototype.constructor = Popover
1706
+
1707
+ Popover.prototype.getDefaults = function () {
1708
+ return Popover.DEFAULTS
1709
+ }
1710
+
1711
+ Popover.prototype.setContent = function () {
1712
+ var $tip = this.tip()
1713
+ var title = this.getTitle()
1714
+ var content = this.getContent()
1715
+
1716
+ $tip.find('.popover-title')[this.options.html ? 'html' : 'text'](title)
1717
+ $tip.find('.popover-content').children().detach().end()[ // we use append for html objects to maintain js events
1718
+ this.options.html ? (typeof content == 'string' ? 'html' : 'append') : 'text'
1719
+ ](content)
1720
+
1721
+ $tip.removeClass('fade top bottom left right in')
1722
+
1723
+ // IE8 doesn't accept hiding via the `:empty` pseudo selector, we have to do
1724
+ // this manually by checking the contents.
1725
+ if (!$tip.find('.popover-title').html()) $tip.find('.popover-title').hide()
1726
+ }
1727
+
1728
+ Popover.prototype.hasContent = function () {
1729
+ return this.getTitle() || this.getContent()
1730
+ }
1731
+
1732
+ Popover.prototype.getContent = function () {
1733
+ var $e = this.$element
1734
+ var o = this.options
1735
+
1736
+ return $e.attr('data-content')
1737
+ || (typeof o.content == 'function' ?
1738
+ o.content.call($e[0]) :
1739
+ o.content)
1740
+ }
1741
+
1742
+ Popover.prototype.arrow = function () {
1743
+ return (this.$arrow = this.$arrow || this.tip().find('.arrow'))
1744
+ }
1745
+
1746
+
1747
+ // POPOVER PLUGIN DEFINITION
1748
+ // =========================
1749
+
1750
+ function Plugin(option) {
1751
+ return this.each(function () {
1752
+ var $this = $(this)
1753
+ var data = $this.data('bs.popover')
1754
+ var options = typeof option == 'object' && option
1755
+
1756
+ if (!data && /destroy|hide/.test(option)) return
1757
+ if (!data) $this.data('bs.popover', (data = new Popover(this, options)))
1758
+ if (typeof option == 'string') data[option]()
1759
+ })
1760
+ }
1761
+
1762
+ var old = $.fn.popover
1763
+
1764
+ $.fn.popover = Plugin
1765
+ $.fn.popover.Constructor = Popover
1766
+
1767
+
1768
+ // POPOVER NO CONFLICT
1769
+ // ===================
1770
+
1771
+ $.fn.popover.noConflict = function () {
1772
+ $.fn.popover = old
1773
+ return this
1774
+ }
1775
+
1776
+ }(jQuery);
1777
+
1778
+
1779
+ +function ($) {
1780
+ 'use strict';
1781
+
1782
+ // SCROLLSPY CLASS DEFINITION
1783
+ // ==========================
1784
+
1785
+ function ScrollSpy(element, options) {
1786
+ this.$body = $(document.body)
1787
+ this.$scrollElement = $(element).is(document.body) ? $(window) : $(element)
1788
+ this.options = $.extend({}, ScrollSpy.DEFAULTS, options)
1789
+ this.selector = (this.options.target || '') + ' .nav li > a'
1790
+ this.offsets = []
1791
+ this.targets = []
1792
+ this.activeTarget = null
1793
+ this.scrollHeight = 0
1794
+
1795
+ this.$scrollElement.on('scroll.bs.scrollspy', $.proxy(this.process, this))
1796
+ this.refresh()
1797
+ this.process()
1798
+ }
1799
+
1800
+ ScrollSpy.VERSION = '3.3.6'
1801
+
1802
+ ScrollSpy.DEFAULTS = {
1803
+ offset: 10
1804
+ }
1805
+
1806
+ ScrollSpy.prototype.getScrollHeight = function () {
1807
+ return this.$scrollElement[0].scrollHeight || Math.max(this.$body[0].scrollHeight, document.documentElement.scrollHeight)
1808
+ }
1809
+
1810
+ ScrollSpy.prototype.refresh = function () {
1811
+ var that = this
1812
+ var offsetMethod = 'offset'
1813
+ var offsetBase = 0
1814
+
1815
+ this.offsets = []
1816
+ this.targets = []
1817
+ this.scrollHeight = this.getScrollHeight()
1818
+
1819
+ if (!$.isWindow(this.$scrollElement[0])) {
1820
+ offsetMethod = 'position'
1821
+ offsetBase = this.$scrollElement.scrollTop()
1822
+ }
1823
+
1824
+ this.$body
1825
+ .find(this.selector)
1826
+ .map(function () {
1827
+ var $el = $(this)
1828
+ var href = $el.data('target') || $el.attr('href')
1829
+ var $href = /^#./.test(href) && $(href)
1830
+
1831
+ return ($href
1832
+ && $href.length
1833
+ && $href.is(':visible')
1834
+ && [[$href[offsetMethod]().top + offsetBase, href]]) || null
1835
+ })
1836
+ .sort(function (a, b) { return a[0] - b[0] })
1837
+ .each(function () {
1838
+ that.offsets.push(this[0])
1839
+ that.targets.push(this[1])
1840
+ })
1841
+ }
1842
+
1843
+ ScrollSpy.prototype.process = function () {
1844
+ var scrollTop = this.$scrollElement.scrollTop() + this.options.offset
1845
+ var scrollHeight = this.getScrollHeight()
1846
+ var maxScroll = this.options.offset + scrollHeight - this.$scrollElement.height()
1847
+ var offsets = this.offsets
1848
+ var targets = this.targets
1849
+ var activeTarget = this.activeTarget
1850
+ var i
1851
+
1852
+ if (this.scrollHeight != scrollHeight) {
1853
+ this.refresh()
1854
+ }
1855
+
1856
+ if (scrollTop >= maxScroll) {
1857
+ return activeTarget != (i = targets[targets.length - 1]) && this.activate(i)
1858
+ }
1859
+
1860
+ if (activeTarget && scrollTop < offsets[0]) {
1861
+ this.activeTarget = null
1862
+ return this.clear()
1863
+ }
1864
+
1865
+ for (i = offsets.length; i--;) {
1866
+ activeTarget != targets[i]
1867
+ && scrollTop >= offsets[i]
1868
+ && (offsets[i + 1] === undefined || scrollTop < offsets[i + 1])
1869
+ && this.activate(targets[i])
1870
+ }
1871
+ }
1872
+
1873
+ ScrollSpy.prototype.activate = function (target) {
1874
+ this.activeTarget = target
1875
+
1876
+ this.clear()
1877
+
1878
+ var selector = this.selector +
1879
+ '[data-target="' + target + '"],' +
1880
+ this.selector + '[href="' + target + '"]'
1881
+
1882
+ var active = $(selector)
1883
+ .parents('li')
1884
+ .addClass('active')
1885
+
1886
+ if (active.parent('.dropdown-menu').length) {
1887
+ active = active
1888
+ .closest('li.dropdown')
1889
+ .addClass('active')
1890
+ }
1891
+
1892
+ active.trigger('activate.bs.scrollspy')
1893
+ }
1894
+
1895
+ ScrollSpy.prototype.clear = function () {
1896
+ $(this.selector)
1897
+ .parentsUntil(this.options.target, '.active')
1898
+ .removeClass('active')
1899
+ }
1900
+
1901
+
1902
+ // SCROLLSPY PLUGIN DEFINITION
1903
+ // ===========================
1904
+
1905
+ function Plugin(option) {
1906
+ return this.each(function () {
1907
+ var $this = $(this)
1908
+ var data = $this.data('bs.scrollspy')
1909
+ var options = typeof option == 'object' && option
1910
+
1911
+ if (!data) $this.data('bs.scrollspy', (data = new ScrollSpy(this, options)))
1912
+ if (typeof option == 'string') data[option]()
1913
+ })
1914
+ }
1915
+
1916
+ var old = $.fn.scrollspy
1917
+
1918
+ $.fn.scrollspy = Plugin
1919
+ $.fn.scrollspy.Constructor = ScrollSpy
1920
+
1921
+
1922
+ // SCROLLSPY NO CONFLICT
1923
+ // =====================
1924
+
1925
+ $.fn.scrollspy.noConflict = function () {
1926
+ $.fn.scrollspy = old
1927
+ return this
1928
+ }
1929
+
1930
+
1931
+ // SCROLLSPY DATA-API
1932
+ // ==================
1933
+
1934
+ $(window).on('load.bs.scrollspy.data-api', function () {
1935
+ $('[data-spy="scroll"]').each(function () {
1936
+ var $spy = $(this)
1937
+ Plugin.call($spy, $spy.data())
1938
+ })
1939
+ })
1940
+
1941
+ }(jQuery);
1942
+
1943
+
1944
+ +function ($) {
1945
+ 'use strict';
1946
+
1947
+ // TAB CLASS DEFINITION
1948
+ // ====================
1949
+
1950
+ var Tab = function (element) {
1951
+ // jscs:disable requireDollarBeforejQueryAssignment
1952
+ this.element = $(element)
1953
+ // jscs:enable requireDollarBeforejQueryAssignment
1954
+ }
1955
+
1956
+ Tab.VERSION = '3.3.6'
1957
+
1958
+ Tab.TRANSITION_DURATION = 150
1959
+
1960
+ Tab.prototype.show = function () {
1961
+ var $this = this.element
1962
+ var $ul = $this.closest('ul:not(.dropdown-menu)')
1963
+ var selector = $this.data('target')
1964
+
1965
+ if (!selector) {
1966
+ selector = $this.attr('href')
1967
+ selector = selector && selector.replace(/.*(?=#[^\s]*$)/, '') // strip for ie7
1968
+ }
1969
+
1970
+ if ($this.parent('li').hasClass('active')) return
1971
+
1972
+ var $previous = $ul.find('.active:last a')
1973
+ var hideEvent = $.Event('hide.bs.tab', {
1974
+ relatedTarget: $this[0]
1975
+ })
1976
+ var showEvent = $.Event('show.bs.tab', {
1977
+ relatedTarget: $previous[0]
1978
+ })
1979
+
1980
+ $previous.trigger(hideEvent)
1981
+ $this.trigger(showEvent)
1982
+
1983
+ if (showEvent.isDefaultPrevented() || hideEvent.isDefaultPrevented()) return
1984
+
1985
+ var $target = $(selector)
1986
+
1987
+ this.activate($this.closest('li'), $ul)
1988
+ this.activate($target, $target.parent(), function () {
1989
+ $previous.trigger({
1990
+ type: 'hidden.bs.tab',
1991
+ relatedTarget: $this[0]
1992
+ })
1993
+ $this.trigger({
1994
+ type: 'shown.bs.tab',
1995
+ relatedTarget: $previous[0]
1996
+ })
1997
+ })
1998
+ }
1999
+
2000
+ Tab.prototype.activate = function (element, container, callback) {
2001
+ var $active = container.find('> .active')
2002
+ var transition = callback
2003
+ && $.support.transition
2004
+ && ($active.length && $active.hasClass('fade') || !!container.find('> .fade').length)
2005
+
2006
+ function next() {
2007
+ $active
2008
+ .removeClass('active')
2009
+ .find('> .dropdown-menu > .active')
2010
+ .removeClass('active')
2011
+ .end()
2012
+ .find('[data-toggle="tab"]')
2013
+ .attr('aria-expanded', false)
2014
+
2015
+ element
2016
+ .addClass('active')
2017
+ .find('[data-toggle="tab"]')
2018
+ .attr('aria-expanded', true)
2019
+
2020
+ if (transition) {
2021
+ element[0].offsetWidth // reflow for transition
2022
+ element.addClass('in')
2023
+ } else {
2024
+ element.removeClass('fade')
2025
+ }
2026
+
2027
+ if (element.parent('.dropdown-menu').length) {
2028
+ element
2029
+ .closest('li.dropdown')
2030
+ .addClass('active')
2031
+ .end()
2032
+ .find('[data-toggle="tab"]')
2033
+ .attr('aria-expanded', true)
2034
+ }
2035
+
2036
+ callback && callback()
2037
+ }
2038
+
2039
+ $active.length && transition ?
2040
+ $active
2041
+ .one('bsTransitionEnd', next)
2042
+ .emulateTransitionEnd(Tab.TRANSITION_DURATION) :
2043
+ next()
2044
+
2045
+ $active.removeClass('in')
2046
+ }
2047
+
2048
+
2049
+ // TAB PLUGIN DEFINITION
2050
+ // =====================
2051
+
2052
+ function Plugin(option) {
2053
+ return this.each(function () {
2054
+ var $this = $(this)
2055
+ var data = $this.data('bs.tab')
2056
+
2057
+ if (!data) $this.data('bs.tab', (data = new Tab(this)))
2058
+ if (typeof option == 'string') data[option]()
2059
+ })
2060
+ }
2061
+
2062
+ var old = $.fn.tab
2063
+
2064
+ $.fn.tab = Plugin
2065
+ $.fn.tab.Constructor = Tab
2066
+
2067
+
2068
+ // TAB NO CONFLICT
2069
+ // ===============
2070
+
2071
+ $.fn.tab.noConflict = function () {
2072
+ $.fn.tab = old
2073
+ return this
2074
+ }
2075
+
2076
+
2077
+ // TAB DATA-API
2078
+ // ============
2079
+
2080
+ var clickHandler = function (e) {
2081
+ e.preventDefault()
2082
+ Plugin.call($(this), 'show')
2083
+ }
2084
+
2085
+ $(document)
2086
+ .on('click.bs.tab.data-api', '[data-toggle="tab"]', clickHandler)
2087
+ .on('click.bs.tab.data-api', '[data-toggle="pill"]', clickHandler)
2088
+
2089
+ }(jQuery);
2090
+
2091
+
2092
+ +function ($) {
2093
+ 'use strict';
2094
+
2095
+ // AFFIX CLASS DEFINITION
2096
+ // ======================
2097
+
2098
+ var Affix = function (element, options) {
2099
+ this.options = $.extend({}, Affix.DEFAULTS, options)
2100
+
2101
+ this.$target = $(this.options.target)
2102
+ .on('scroll.bs.affix.data-api', $.proxy(this.checkPosition, this))
2103
+ .on('click.bs.affix.data-api', $.proxy(this.checkPositionWithEventLoop, this))
2104
+
2105
+ this.$element = $(element)
2106
+ this.affixed = null
2107
+ this.unpin = null
2108
+ this.pinnedOffset = null
2109
+
2110
+ this.checkPosition()
2111
+ }
2112
+
2113
+ Affix.VERSION = '3.3.6'
2114
+
2115
+ Affix.RESET = 'affix affix-top affix-bottom'
2116
+
2117
+ Affix.DEFAULTS = {
2118
+ offset: 0,
2119
+ target: window
2120
+ }
2121
+
2122
+ Affix.prototype.getState = function (scrollHeight, height, offsetTop, offsetBottom) {
2123
+ var scrollTop = this.$target.scrollTop()
2124
+ var position = this.$element.offset()
2125
+ var targetHeight = this.$target.height()
2126
+
2127
+ if (offsetTop != null && this.affixed == 'top') return scrollTop < offsetTop ? 'top' : false
2128
+
2129
+ if (this.affixed == 'bottom') {
2130
+ if (offsetTop != null) return (scrollTop + this.unpin <= position.top) ? false : 'bottom'
2131
+ return (scrollTop + targetHeight <= scrollHeight - offsetBottom) ? false : 'bottom'
2132
+ }
2133
+
2134
+ var initializing = this.affixed == null
2135
+ var colliderTop = initializing ? scrollTop : position.top
2136
+ var colliderHeight = initializing ? targetHeight : height
2137
+
2138
+ if (offsetTop != null && scrollTop <= offsetTop) return 'top'
2139
+ if (offsetBottom != null && (colliderTop + colliderHeight >= scrollHeight - offsetBottom)) return 'bottom'
2140
+
2141
+ return false
2142
+ }
2143
+
2144
+ Affix.prototype.getPinnedOffset = function () {
2145
+ if (this.pinnedOffset) return this.pinnedOffset
2146
+ this.$element.removeClass(Affix.RESET).addClass('affix')
2147
+ var scrollTop = this.$target.scrollTop()
2148
+ var position = this.$element.offset()
2149
+ return (this.pinnedOffset = position.top - scrollTop)
2150
+ }
2151
+
2152
+ Affix.prototype.checkPositionWithEventLoop = function () {
2153
+ setTimeout($.proxy(this.checkPosition, this), 1)
2154
+ }
2155
+
2156
+ Affix.prototype.checkPosition = function () {
2157
+ if (!this.$element.is(':visible')) return
2158
+
2159
+ var height = this.$element.height()
2160
+ var offset = this.options.offset
2161
+ var offsetTop = offset.top
2162
+ var offsetBottom = offset.bottom
2163
+ var scrollHeight = Math.max($(document).height(), $(document.body).height())
2164
+
2165
+ if (typeof offset != 'object') offsetBottom = offsetTop = offset
2166
+ if (typeof offsetTop == 'function') offsetTop = offset.top(this.$element)
2167
+ if (typeof offsetBottom == 'function') offsetBottom = offset.bottom(this.$element)
2168
+
2169
+ var affix = this.getState(scrollHeight, height, offsetTop, offsetBottom)
2170
+
2171
+ if (this.affixed != affix) {
2172
+ if (this.unpin != null) this.$element.css('top', '')
2173
+
2174
+ var affixType = 'affix' + (affix ? '-' + affix : '')
2175
+ var e = $.Event(affixType + '.bs.affix')
2176
+
2177
+ this.$element.trigger(e)
2178
+
2179
+ if (e.isDefaultPrevented()) return
2180
+
2181
+ this.affixed = affix
2182
+ this.unpin = affix == 'bottom' ? this.getPinnedOffset() : null
2183
+
2184
+ this.$element
2185
+ .removeClass(Affix.RESET)
2186
+ .addClass(affixType)
2187
+ .trigger(affixType.replace('affix', 'affixed') + '.bs.affix')
2188
+ }
2189
+
2190
+ if (affix == 'bottom') {
2191
+ this.$element.offset({
2192
+ top: scrollHeight - height - offsetBottom
2193
+ })
2194
+ }
2195
+ }
2196
+
2197
+
2198
+ // AFFIX PLUGIN DEFINITION
2199
+ // =======================
2200
+
2201
+ function Plugin(option) {
2202
+ return this.each(function () {
2203
+ var $this = $(this)
2204
+ var data = $this.data('bs.affix')
2205
+ var options = typeof option == 'object' && option
2206
+
2207
+ if (!data) $this.data('bs.affix', (data = new Affix(this, options)))
2208
+ if (typeof option == 'string') data[option]()
2209
+ })
2210
+ }
2211
+
2212
+ var old = $.fn.affix
2213
+
2214
+ $.fn.affix = Plugin
2215
+ $.fn.affix.Constructor = Affix
2216
+
2217
+
2218
+ // AFFIX NO CONFLICT
2219
+ // =================
2220
+
2221
+ $.fn.affix.noConflict = function () {
2222
+ $.fn.affix = old
2223
+ return this
2224
+ }
2225
+
2226
+
2227
+ // AFFIX DATA-API
2228
+ // ==============
2229
+
2230
+ $(window).on('load', function () {
2231
+ $('[data-spy="affix"]').each(function () {
2232
+ var $spy = $(this)
2233
+ var data = $spy.data()
2234
+
2235
+ data.offset = data.offset || {}
2236
+
2237
+ if (data.offsetBottom != null) data.offset.bottom = data.offsetBottom
2238
+ if (data.offsetTop != null) data.offset.top = data.offsetTop
2239
+
2240
+ Plugin.call($spy, data)
2241
+ })
2242
+ })
2243
+
2244
+ }(jQuery);
js/bootstrap.js CHANGED
@@ -1,2363 +0,0 @@
1
- /*!
2
- * Bootstrap v3.3.6 (http://getbootstrap.com)
3
- * Copyright 2011-2015 Twitter, Inc.
4
- * Licensed under the MIT license
5
- */
6
-
7
- if (typeof jQuery === 'undefined') {
8
- throw new Error('Bootstrap\'s JavaScript requires jQuery')
9
- }
10
-
11
- /*+function ($) {
12
- 'use strict';
13
- var version = $.fn.jquery.split(' ')[0].split('.')
14
- if ((version[0] < 2 && version[1] < 9) || (version[0] == 1 && version[1] == 9 && version[2] < 1) || (version[0] > 2)) {
15
- throw new Error('Bootstrap\'s JavaScript requires jQuery version 1.9.1 or higher, but lower than version 3')
16
- }
17
- }(jQuery);*/
18
-
19
- /* ========================================================================
20
- * Bootstrap: transition.js v3.3.6
21
- * http://getbootstrap.com/javascript/#transitions
22
- * ========================================================================
23
- * Copyright 2011-2015 Twitter, Inc.
24
- * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
25
- * ======================================================================== */
26
-
27
-
28
- +function ($) {
29
- 'use strict';
30
-
31
- // CSS TRANSITION SUPPORT (Shoutout: http://www.modernizr.com/)
32
- // ============================================================
33
-
34
- function transitionEnd() {
35
- var el = document.createElement('bootstrap')
36
-
37
- var transEndEventNames = {
38
- WebkitTransition : 'webkitTransitionEnd',
39
- MozTransition : 'transitionend',
40
- OTransition : 'oTransitionEnd otransitionend',
41
- transition : 'transitionend'
42
- }
43
-
44
- for (var name in transEndEventNames) {
45
- if (el.style[name] !== undefined) {
46
- return { end: transEndEventNames[name] }
47
- }
48
- }
49
-
50
- return false // explicit for ie8 ( ._.)
51
- }
52
-
53
- // http://blog.alexmaccaw.com/css-transitions
54
- $.fn.emulateTransitionEnd = function (duration) {
55
- var called = false
56
- var $el = this
57
- $(this).one('bsTransitionEnd', function () { called = true })
58
- var callback = function () { if (!called) $($el).trigger($.support.transition.end) }
59
- setTimeout(callback, duration)
60
- return this
61
- }
62
-
63
- $(function () {
64
- $.support.transition = transitionEnd()
65
-
66
- if (!$.support.transition) return
67
-
68
- $.event.special.bsTransitionEnd = {
69
- bindType: $.support.transition.end,
70
- delegateType: $.support.transition.end,
71
- handle: function (e) {
72
- if ($(e.target).is(this)) return e.handleObj.handler.apply(this, arguments)
73
- }
74
- }
75
- })
76
-
77
- }(jQuery);
78
-
79
- /* ========================================================================
80
- * Bootstrap: alert.js v3.3.6
81
- * http://getbootstrap.com/javascript/#alerts
82
- * ========================================================================
83
- * Copyright 2011-2015 Twitter, Inc.
84
- * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
85
- * ======================================================================== */
86
-
87
-
88
- +function ($) {
89
- 'use strict';
90
-
91
- // ALERT CLASS DEFINITION
92
- // ======================
93
-
94
- var dismiss = '[data-dismiss="alert"]'
95
- var Alert = function (el) {
96
- $(el).on('click', dismiss, this.close)
97
- }
98
-
99
- Alert.VERSION = '3.3.6'
100
-
101
- Alert.TRANSITION_DURATION = 150
102
-
103
- Alert.prototype.close = function (e) {
104
- var $this = $(this)
105
- var selector = $this.attr('data-target')
106
-
107
- if (!selector) {
108
- selector = $this.attr('href')
109
- selector = selector && selector.replace(/.*(?=#[^\s]*$)/, '') // strip for ie7
110
- }
111
-
112
- var $parent = $(selector)
113
-
114
- if (e) e.preventDefault()
115
-
116
- if (!$parent.length) {
117
- $parent = $this.closest('.alert')
118
- }
119
-
120
- $parent.trigger(e = $.Event('close.bs.alert'))
121
-
122
- if (e.isDefaultPrevented()) return
123
-
124
- $parent.removeClass('in')
125
-
126
- function removeElement() {
127
- // detach from parent, fire event then clean up data
128
- $parent.detach().trigger('closed.bs.alert').remove()
129
- }
130
-
131
- $.support.transition && $parent.hasClass('fade') ?
132
- $parent
133
- .one('bsTransitionEnd', removeElement)
134
- .emulateTransitionEnd(Alert.TRANSITION_DURATION) :
135
- removeElement()
136
- }
137
-
138
-
139
- // ALERT PLUGIN DEFINITION
140
- // =======================
141
-
142
- function Plugin(option) {
143
- return this.each(function () {
144
- var $this = $(this)
145
- var data = $this.data('bs.alert')
146
-
147
- if (!data) $this.data('bs.alert', (data = new Alert(this)))
148
- if (typeof option == 'string') data[option].call($this)
149
- })
150
- }
151
-
152
- var old = $.fn.alert
153
-
154
- $.fn.alert = Plugin
155
- $.fn.alert.Constructor = Alert
156
-
157
-
158
- // ALERT NO CONFLICT
159
- // =================
160
-
161
- $.fn.alert.noConflict = function () {
162
- $.fn.alert = old
163
- return this
164
- }
165
-
166
-
167
- // ALERT DATA-API
168
- // ==============
169
-
170
- $(document).on('click.bs.alert.data-api', dismiss, Alert.prototype.close)
171
-
172
- }(jQuery);
173
-
174
- /* ========================================================================
175
- * Bootstrap: button.js v3.3.6
176
- * http://getbootstrap.com/javascript/#buttons
177
- * ========================================================================
178
- * Copyright 2011-2015 Twitter, Inc.
179
- * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
180
- * ======================================================================== */
181
-
182
-
183
- +function ($) {
184
- 'use strict';
185
-
186
- // BUTTON PUBLIC CLASS DEFINITION
187
- // ==============================
188
-
189
- var Button = function (element, options) {
190
- this.$element = $(element)
191
- this.options = $.extend({}, Button.DEFAULTS, options)
192
- this.isLoading = false
193
- }
194
-
195
- Button.VERSION = '3.3.6'
196
-
197
- Button.DEFAULTS = {
198
- loadingText: 'loading...'
199
- }
200
-
201
- Button.prototype.setState = function (state) {
202
- var d = 'disabled'
203
- var $el = this.$element
204
- var val = $el.is('input') ? 'val' : 'html'
205
- var data = $el.data()
206
-
207
- state += 'Text'
208
-
209
- if (data.resetText == null) $el.data('resetText', $el[val]())
210
-
211
- // push to event loop to allow forms to submit
212
- setTimeout($.proxy(function () {
213
- $el[val](data[state] == null ? this.options[state] : data[state])
214
-
215
- if (state == 'loadingText') {
216
- this.isLoading = true
217
- $el.addClass(d).attr(d, d)
218
- } else if (this.isLoading) {
219
- this.isLoading = false
220
- $el.removeClass(d).removeAttr(d)
221
- }
222
- }, this), 0)
223
- }
224
-
225
- Button.prototype.toggle = function () {
226
- var changed = true
227
- var $parent = this.$element.closest('[data-toggle="buttons"]')
228
-
229
- if ($parent.length) {
230
- var $input = this.$element.find('input')
231
- if ($input.prop('type') == 'radio') {
232
- if ($input.prop('checked')) changed = false
233
- $parent.find('.active').removeClass('active')
234
- this.$element.addClass('active')
235
- } else if ($input.prop('type') == 'checkbox') {
236
- if (($input.prop('checked')) !== this.$element.hasClass('active')) changed = false
237
- this.$element.toggleClass('active')
238
- }
239
- $input.prop('checked', this.$element.hasClass('active'))
240
- if (changed) $input.trigger('change')
241
- } else {
242
- this.$element.attr('aria-pressed', !this.$element.hasClass('active'))
243
- this.$element.toggleClass('active')
244
- }
245
- }
246
-
247
-
248
- // BUTTON PLUGIN DEFINITION
249
- // ========================
250
-
251
- function Plugin(option) {
252
- return this.each(function () {
253
- var $this = $(this)
254
- var data = $this.data('bs.button')
255
- var options = typeof option == 'object' && option
256
-
257
- if (!data) $this.data('bs.button', (data = new Button(this, options)))
258
-
259
- if (option == 'toggle') data.toggle()
260
- else if (option) data.setState(option)
261
- })
262
- }
263
-
264
- var old = $.fn.button
265
-
266
- $.fn.button = Plugin
267
- $.fn.button.Constructor = Button
268
-
269
-
270
- // BUTTON NO CONFLICT
271
- // ==================
272
-
273
- $.fn.button.noConflict = function () {
274
- $.fn.button = old
275
- return this
276
- }
277
-
278
-
279
- // BUTTON DATA-API
280
- // ===============
281
-
282
- $(document)
283
- .on('click.bs.button.data-api', '[data-toggle^="button"]', function (e) {
284
- var $btn = $(e.target)
285
- if (!$btn.hasClass('btn')) $btn = $btn.closest('.btn')
286
- Plugin.call($btn, 'toggle')
287
- if (!($(e.target).is('input[type="radio"]') || $(e.target).is('input[type="checkbox"]'))) e.preventDefault()
288
- })
289
- .on('focus.bs.button.data-api blur.bs.button.data-api', '[data-toggle^="button"]', function (e) {
290
- $(e.target).closest('.btn').toggleClass('focus', /^focus(in)?$/.test(e.type))
291
- })
292
-
293
- }(jQuery);
294
-
295
- /* ========================================================================
296
- * Bootstrap: carousel.js v3.3.6
297
- * http://getbootstrap.com/javascript/#carousel
298
- * ========================================================================
299
- * Copyright 2011-2015 Twitter, Inc.
300
- * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
301
- * ======================================================================== */
302
-
303
-
304
- +function ($) {
305
- 'use strict';
306
-
307
- // CAROUSEL CLASS DEFINITION
308
- // =========================
309
-
310
- var Carousel = function (element, options) {
311
- this.$element = $(element)
312
- this.$indicators = this.$element.find('.carousel-indicators')
313
- this.options = options
314
- this.paused = null
315
- this.sliding = null
316
- this.interval = null
317
- this.$active = null
318
- this.$items = null
319
-
320
- this.options.keyboard && this.$element.on('keydown.bs.carousel', $.proxy(this.keydown, this))
321
-
322
- this.options.pause == 'hover' && !('ontouchstart' in document.documentElement) && this.$element
323
- .on('mouseenter.bs.carousel', $.proxy(this.pause, this))
324
- .on('mouseleave.bs.carousel', $.proxy(this.cycle, this))
325
- }
326
-
327
- Carousel.VERSION = '3.3.6'
328
-
329
- Carousel.TRANSITION_DURATION = 600
330
-
331
- Carousel.DEFAULTS = {
332
- interval: 5000,
333
- pause: 'hover',
334
- wrap: true,
335
- keyboard: true
336
- }
337
-
338
- Carousel.prototype.keydown = function (e) {
339
- if (/input|textarea/i.test(e.target.tagName)) return
340
- switch (e.which) {
341
- case 37: this.prev(); break
342
- case 39: this.next(); break
343
- default: return
344
- }
345
-
346
- e.preventDefault()
347
- }
348
-
349
- Carousel.prototype.cycle = function (e) {
350
- e || (this.paused = false)
351
-
352
- this.interval && clearInterval(this.interval)
353
-
354
- this.options.interval
355
- && !this.paused
356
- && (this.interval = setInterval($.proxy(this.next, this), this.options.interval))
357
-
358
- return this
359
- }
360
-
361
- Carousel.prototype.getItemIndex = function (item) {
362
- this.$items = item.parent().children('.item')
363
- return this.$items.index(item || this.$active)
364
- }
365
-
366
- Carousel.prototype.getItemForDirection = function (direction, active) {
367
- var activeIndex = this.getItemIndex(active)
368
- var willWrap = (direction == 'prev' && activeIndex === 0)
369
- || (direction == 'next' && activeIndex == (this.$items.length - 1))
370
- if (willWrap && !this.options.wrap) return active
371
- var delta = direction == 'prev' ? -1 : 1
372
- var itemIndex = (activeIndex + delta) % this.$items.length
373
- return this.$items.eq(itemIndex)
374
- }
375
-
376
- Carousel.prototype.to = function (pos) {
377
- var that = this
378
- var activeIndex = this.getItemIndex(this.$active = this.$element.find('.item.active'))
379
-
380
- if (pos > (this.$items.length - 1) || pos < 0) return
381
-
382
- if (this.sliding) return this.$element.one('slid.bs.carousel', function () { that.to(pos) }) // yes, "slid"
383
- if (activeIndex == pos) return this.pause().cycle()
384
-
385
- return this.slide(pos > activeIndex ? 'next' : 'prev', this.$items.eq(pos))
386
- }
387
-
388
- Carousel.prototype.pause = function (e) {
389
- e || (this.paused = true)
390
-
391
- if (this.$element.find('.next, .prev').length && $.support.transition) {
392
- this.$element.trigger($.support.transition.end)
393
- this.cycle(true)
394
- }
395
-
396
- this.interval = clearInterval(this.interval)
397
-
398
- return this
399
- }
400
-
401
- Carousel.prototype.next = function () {
402
- if (this.sliding) return
403
- return this.slide('next')
404
- }
405
-
406
- Carousel.prototype.prev = function () {
407
- if (this.sliding) return
408
- return this.slide('prev')
409
- }
410
-
411
- Carousel.prototype.slide = function (type, next) {
412
- var $active = this.$element.find('.item.active')
413
- var $next = next || this.getItemForDirection(type, $active)
414
- var isCycling = this.interval
415
- var direction = type == 'next' ? 'left' : 'right'
416
- var that = this
417
-
418
- if ($next.hasClass('active')) return (this.sliding = false)
419
-
420
- var relatedTarget = $next[0]
421
- var slideEvent = $.Event('slide.bs.carousel', {
422
- relatedTarget: relatedTarget,
423
- direction: direction
424
- })
425
- this.$element.trigger(slideEvent)
426
- if (slideEvent.isDefaultPrevented()) return
427
-
428
- this.sliding = true
429
-
430
- isCycling && this.pause()
431
-
432
- if (this.$indicators.length) {
433
- this.$indicators.find('.active').removeClass('active')
434
- var $nextIndicator = $(this.$indicators.children()[this.getItemIndex($next)])
435
- $nextIndicator && $nextIndicator.addClass('active')
436
- }
437
-
438
- var slidEvent = $.Event('slid.bs.carousel', { relatedTarget: relatedTarget, direction: direction }) // yes, "slid"
439
- if ($.support.transition && this.$element.hasClass('slide')) {
440
- $next.addClass(type)
441
- $next[0].offsetWidth // force reflow
442
- $active.addClass(direction)
443
- $next.addClass(direction)
444
- $active
445
- .one('bsTransitionEnd', function () {
446
- $next.removeClass([type, direction].join(' ')).addClass('active')
447
- $active.removeClass(['active', direction].join(' '))
448
- that.sliding = false
449
- setTimeout(function () {
450
- that.$element.trigger(slidEvent)
451
- }, 0)
452
- })
453
- .emulateTransitionEnd(Carousel.TRANSITION_DURATION)
454
- } else {
455
- $active.removeClass('active')
456
- $next.addClass('active')
457
- this.sliding = false
458
- this.$element.trigger(slidEvent)
459
- }
460
-
461
- isCycling && this.cycle()
462
-
463
- return this
464
- }
465
-
466
-
467
- // CAROUSEL PLUGIN DEFINITION
468
- // ==========================
469
-
470
- function Plugin(option) {
471
- return this.each(function () {
472
- var $this = $(this)
473
- var data = $this.data('bs.carousel')
474
- var options = $.extend({}, Carousel.DEFAULTS, $this.data(), typeof option == 'object' && option)
475
- var action = typeof option == 'string' ? option : options.slide
476
-
477
- if (!data) $this.data('bs.carousel', (data = new Carousel(this, options)))
478
- if (typeof option == 'number') data.to(option)
479
- else if (action) data[action]()
480
- else if (options.interval) data.pause().cycle()
481
- })
482
- }
483
-
484
- var old = $.fn.carousel
485
-
486
- $.fn.carousel = Plugin
487
- $.fn.carousel.Constructor = Carousel
488
-
489
-
490
- // CAROUSEL NO CONFLICT
491
- // ====================
492
-
493
- $.fn.carousel.noConflict = function () {
494
- $.fn.carousel = old
495
- return this
496
- }
497
-
498
-
499
- // CAROUSEL DATA-API
500
- // =================
501
-
502
- var clickHandler = function (e) {
503
- var href
504
- var $this = $(this)
505
- var $target = $($this.attr('data-target') || (href = $this.attr('href')) && href.replace(/.*(?=#[^\s]+$)/, '')) // strip for ie7
506
- if (!$target.hasClass('carousel')) return
507
- var options = $.extend({}, $target.data(), $this.data())
508
- var slideIndex = $this.attr('data-slide-to')
509
- if (slideIndex) options.interval = false
510
-
511
- Plugin.call($target, options)
512
-
513
- if (slideIndex) {
514
- $target.data('bs.carousel').to(slideIndex)
515
- }
516
-
517
- e.preventDefault()
518
- }
519
-
520
- $(document)
521
- .on('click.bs.carousel.data-api', '[data-slide]', clickHandler)
522
- .on('click.bs.carousel.data-api', '[data-slide-to]', clickHandler)
523
-
524
- $(window).on('load', function () {
525
- $('[data-ride="carousel"]').each(function () {
526
- var $carousel = $(this)
527
- Plugin.call($carousel, $carousel.data())
528
- })
529
- })
530
-
531
- }(jQuery);
532
-
533
- /* ========================================================================
534
- * Bootstrap: collapse.js v3.3.6
535
- * http://getbootstrap.com/javascript/#collapse
536
- * ========================================================================
537
- * Copyright 2011-2015 Twitter, Inc.
538
- * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
539
- * ======================================================================== */
540
-
541
-
542
- +function ($) {
543
- 'use strict';
544
-
545
- // COLLAPSE PUBLIC CLASS DEFINITION
546
- // ================================
547
-
548
- var Collapse = function (element, options) {
549
- this.$element = $(element)
550
- this.options = $.extend({}, Collapse.DEFAULTS, options)
551
- this.$trigger = $('[data-toggle="collapse"][href="#' + element.id + '"],' +
552
- '[data-toggle="collapse"][data-target="#' + element.id + '"]')
553
- this.transitioning = null
554
-
555
- if (this.options.parent) {
556
- this.$parent = this.getParent()
557
- } else {
558
- this.addAriaAndCollapsedClass(this.$element, this.$trigger)
559
- }
560
-
561
- if (this.options.toggle) this.toggle()
562
- }
563
-
564
- Collapse.VERSION = '3.3.6'
565
-
566
- Collapse.TRANSITION_DURATION = 350
567
-
568
- Collapse.DEFAULTS = {
569
- toggle: true
570
- }
571
-
572
- Collapse.prototype.dimension = function () {
573
- var hasWidth = this.$element.hasClass('width')
574
- return hasWidth ? 'width' : 'height'
575
- }
576
-
577
- Collapse.prototype.show = function () {
578
- if (this.transitioning || this.$element.hasClass('in')) return
579
-
580
- var activesData
581
- var actives = this.$parent && this.$parent.children('.wpsm_panel').children('.in, .collapsing')
582
-
583
- if (actives && actives.length) {
584
- activesData = actives.data('bs.collapse')
585
- if (activesData && activesData.transitioning) return
586
- }
587
-
588
- var startEvent = $.Event('show.bs.collapse')
589
- this.$element.trigger(startEvent)
590
- if (startEvent.isDefaultPrevented()) return
591
-
592
- if (actives && actives.length) {
593
- Plugin.call(actives, 'hide')
594
- activesData || actives.data('bs.collapse', null)
595
- }
596
-
597
- var dimension = this.dimension()
598
-
599
- this.$element
600
- .removeClass('collapse')
601
- .addClass('collapsing')[dimension](0)
602
- .attr('aria-expanded', true)
603
-
604
- this.$trigger
605
- .removeClass('collapsed')
606
- .attr('aria-expanded', true)
607
-
608
- this.transitioning = 1
609
-
610
- var complete = function () {
611
- this.$element
612
- .removeClass('collapsing')
613
- .addClass('collapse in')[dimension]('')
614
- this.transitioning = 0
615
- this.$element
616
- .trigger('shown.bs.collapse')
617
- }
618
-
619
- if (!$.support.transition) return complete.call(this)
620
-
621
- var scrollSize = $.camelCase(['scroll', dimension].join('-'))
622
-
623
- this.$element
624
- .one('bsTransitionEnd', $.proxy(complete, this))
625
- .emulateTransitionEnd(Collapse.TRANSITION_DURATION)[dimension](this.$element[0][scrollSize])
626
- }
627
-
628
- Collapse.prototype.hide = function () {
629
- if (this.transitioning || !this.$element.hasClass('in')) return
630
-
631
- var startEvent = $.Event('hide.bs.collapse')
632
- this.$element.trigger(startEvent)
633
- if (startEvent.isDefaultPrevented()) return
634
-
635
- var dimension = this.dimension()
636
-
637
- this.$element[dimension](this.$element[dimension]())[0].offsetHeight
638
-
639
- this.$element
640
- .addClass('collapsing')
641
- .removeClass('collapse in')
642
- .attr('aria-expanded', false)
643
-
644
- this.$trigger
645
- .addClass('collapsed')
646
- .attr('aria-expanded', false)
647
-
648
- this.transitioning = 1
649
-
650
- var complete = function () {
651
- this.transitioning = 0
652
- this.$element
653
- .removeClass('collapsing')
654
- .addClass('collapse')
655
- .trigger('hidden.bs.collapse')
656
- }
657
-
658
- if (!$.support.transition) return complete.call(this)
659
-
660
- this.$element
661
- [dimension](0)
662
- .one('bsTransitionEnd', $.proxy(complete, this))
663
- .emulateTransitionEnd(Collapse.TRANSITION_DURATION)
664
- }
665
-
666
- Collapse.prototype.toggle = function () {
667
- this[this.$element.hasClass('in') ? 'hide' : 'show']()
668
- }
669
-
670
- Collapse.prototype.getParent = function () {
671
- return $(this.options.parent)
672
- .find('[data-toggle="collapse"][data-parent="' + this.options.parent + '"]')
673
- .each($.proxy(function (i, element) {
674
- var $element = $(element)
675
- this.addAriaAndCollapsedClass(getTargetFromTrigger($element), $element)
676
- }, this))
677
- .end()
678
- }
679
-
680
- Collapse.prototype.addAriaAndCollapsedClass = function ($element, $trigger) {
681
- var isOpen = $element.hasClass('in')
682
-
683
- $element.attr('aria-expanded', isOpen)
684
- $trigger
685
- .toggleClass('collapsed', !isOpen)
686
- .attr('aria-expanded', isOpen)
687
- }
688
-
689
- function getTargetFromTrigger($trigger) {
690
- var href
691
- var target = $trigger.attr('data-target')
692
- || (href = $trigger.attr('href')) && href.replace(/.*(?=#[^\s]+$)/, '') // strip for ie7
693
-
694
- return $(target)
695
- }
696
-
697
-
698
- // COLLAPSE PLUGIN DEFINITION
699
- // ==========================
700
-
701
- function Plugin(option) {
702
- return this.each(function () {
703
- var $this = $(this)
704
- var data = $this.data('bs.collapse')
705
- var options = $.extend({}, Collapse.DEFAULTS, $this.data(), typeof option == 'object' && option)
706
-
707
- if (!data && options.toggle && /show|hide/.test(option)) options.toggle = false
708
- if (!data) $this.data('bs.collapse', (data = new Collapse(this, options)))
709
- if (typeof option == 'string') data[option]()
710
- })
711
- }
712
-
713
- var old = $.fn.collapse
714
-
715
- $.fn.collapse = Plugin
716
- $.fn.collapse.Constructor = Collapse
717
-
718
-
719
- // COLLAPSE NO CONFLICT
720
- // ====================
721
-
722
- $.fn.collapse.noConflict = function () {
723
- $.fn.collapse = old
724
- return this
725
- }
726
-
727
-
728
- // COLLAPSE DATA-API
729
- // =================
730
-
731
- $(document).on('click.bs.collapse.data-api', '[data-toggle="collapse"]', function (e) {
732
- var $this = $(this)
733
-
734
- if (!$this.attr('data-target')) e.preventDefault()
735
-
736
- var $target = getTargetFromTrigger($this)
737
- var data = $target.data('bs.collapse')
738
- var option = data ? 'toggle' : $this.data()
739
-
740
- Plugin.call($target, option)
741
- })
742
-
743
- }(jQuery);
744
-
745
- /* ========================================================================
746
- * Bootstrap: dropdown.js v3.3.6
747
- * http://getbootstrap.com/javascript/#dropdowns
748
- * ========================================================================
749
- * Copyright 2011-2015 Twitter, Inc.
750
- * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
751
- * ======================================================================== */
752
-
753
-
754
- +function ($) {
755
- 'use strict';
756
-
757
- // DROPDOWN CLASS DEFINITION
758
- // =========================
759
-
760
- var backdrop = '.dropdown-backdrop'
761
- var toggle = '[data-toggle="dropdown"]'
762
- var Dropdown = function (element) {
763
- $(element).on('click.bs.dropdown', this.toggle)
764
- }
765
-
766
- Dropdown.VERSION = '3.3.6'
767
-
768
- function getParent($this) {
769
- var selector = $this.attr('data-target')
770
-
771
- if (!selector) {
772
- selector = $this.attr('href')
773
- selector = selector && /#[A-Za-z]/.test(selector) && selector.replace(/.*(?=#[^\s]*$)/, '') // strip for ie7
774
- }
775
-
776
- var $parent = selector && $(selector)
777
-
778
- return $parent && $parent.length ? $parent : $this.parent()
779
- }
780
-
781
- function clearMenus(e) {
782
- if (e && e.which === 3) return
783
- $(backdrop).remove()
784
- $(toggle).each(function () {
785
- var $this = $(this)
786
- var $parent = getParent($this)
787
- var relatedTarget = { relatedTarget: this }
788
-
789
- if (!$parent.hasClass('open')) return
790
-
791
- if (e && e.type == 'click' && /input|textarea/i.test(e.target.tagName) && $.contains($parent[0], e.target)) return
792
-
793
- $parent.trigger(e = $.Event('hide.bs.dropdown', relatedTarget))
794
-
795
- if (e.isDefaultPrevented()) return
796
-
797
- $this.attr('aria-expanded', 'false')
798
- $parent.removeClass('open').trigger($.Event('hidden.bs.dropdown', relatedTarget))
799
- })
800
- }
801
-
802
- Dropdown.prototype.toggle = function (e) {
803
- var $this = $(this)
804
-
805
- if ($this.is('.disabled, :disabled')) return
806
-
807
- var $parent = getParent($this)
808
- var isActive = $parent.hasClass('open')
809
-
810
- clearMenus()
811
-
812
- if (!isActive) {
813
- if ('ontouchstart' in document.documentElement && !$parent.closest('.navbar-nav').length) {
814
- // if mobile we use a backdrop because click events don't delegate
815
- $(document.createElement('div'))
816
- .addClass('dropdown-backdrop')
817
- .insertAfter($(this))
818
- .on('click', clearMenus)
819
- }
820
-
821
- var relatedTarget = { relatedTarget: this }
822
- $parent.trigger(e = $.Event('show.bs.dropdown', relatedTarget))
823
-
824
- if (e.isDefaultPrevented()) return
825
-
826
- $this
827
- .trigger('focus')
828
- .attr('aria-expanded', 'true')
829
-
830
- $parent
831
- .toggleClass('open')
832
- .trigger($.Event('shown.bs.dropdown', relatedTarget))
833
- }
834
-
835
- return false
836
- }
837
-
838
- Dropdown.prototype.keydown = function (e) {
839
- if (!/(38|40|27|32)/.test(e.which) || /input|textarea/i.test(e.target.tagName)) return
840
-
841
- var $this = $(this)
842
-
843
- e.preventDefault()
844
- e.stopPropagation()
845
-
846
- if ($this.is('.disabled, :disabled')) return
847
-
848
- var $parent = getParent($this)
849
- var isActive = $parent.hasClass('open')
850
-
851
- if (!isActive && e.which != 27 || isActive && e.which == 27) {
852
- if (e.which == 27) $parent.find(toggle).trigger('focus')
853
- return $this.trigger('click')
854
- }
855
-
856
- var desc = ' li:not(.disabled):visible a'
857
- var $items = $parent.find('.dropdown-menu' + desc)
858
-
859
- if (!$items.length) return
860
-
861
- var index = $items.index(e.target)
862
-
863
- if (e.which == 38 && index > 0) index-- // up
864
- if (e.which == 40 && index < $items.length - 1) index++ // down
865
- if (!~index) index = 0
866
-
867
- $items.eq(index).trigger('focus')
868
- }
869
-
870
-
871
- // DROPDOWN PLUGIN DEFINITION
872
- // ==========================
873
-
874
- function Plugin(option) {
875
- return this.each(function () {
876
- var $this = $(this)
877
- var data = $this.data('bs.dropdown')
878
-
879
- if (!data) $this.data('bs.dropdown', (data = new Dropdown(this)))
880
- if (typeof option == 'string') data[option].call($this)
881
- })
882
- }
883
-
884
- var old = $.fn.dropdown
885
-
886
- $.fn.dropdown = Plugin
887
- $.fn.dropdown.Constructor = Dropdown
888
-
889
-
890
- // DROPDOWN NO CONFLICT
891
- // ====================
892
-
893
- $.fn.dropdown.noConflict = function () {
894
- $.fn.dropdown = old
895
- return this
896
- }
897
-
898
-
899
- // APPLY TO STANDARD DROPDOWN ELEMENTS
900
- // ===================================
901
-
902
- $(document)
903
- .on('click.bs.dropdown.data-api', clearMenus)
904
- .on('click.bs.dropdown.data-api', '.dropdown form', function (e) { e.stopPropagation() })
905
- .on('click.bs.dropdown.data-api', toggle, Dropdown.prototype.toggle)
906
- .on('keydown.bs.dropdown.data-api', toggle, Dropdown.prototype.keydown)
907
- .on('keydown.bs.dropdown.data-api', '.dropdown-menu', Dropdown.prototype.keydown)
908
-
909
- }(jQuery);
910
-
911
- /* ========================================================================
912
- * Bootstrap: modal.js v3.3.6
913
- * http://getbootstrap.com/javascript/#modals
914
- * ========================================================================
915
- * Copyright 2011-2015 Twitter, Inc.
916
- * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
917
- * ======================================================================== */
918
-
919
-
920
- +function ($) {
921
- 'use strict';
922
-
923
- // MODAL CLASS DEFINITION
924
- // ======================
925
-
926
- var Modal = function (element, options) {
927
- this.options = options
928
- this.$body = $(document.body)
929
- this.$element = $(element)
930
- this.$dialog = this.$element.find('.modal-dialog')
931
- this.$backdrop = null
932
- this.isShown = null
933
- this.originalBodyPad = null
934
- this.scrollbarWidth = 0
935
- this.ignoreBackdropClick = false
936
-
937
- if (this.options.remote) {
938
- this.$element
939
- .find('.modal-content')
940
- .load(this.options.remote, $.proxy(function () {
941
- this.$element.trigger('loaded.bs.modal')
942
- }, this))
943
- }
944
- }
945
-
946
- Modal.VERSION = '3.3.6'
947
-
948
- Modal.TRANSITION_DURATION = 300
949
- Modal.BACKDROP_TRANSITION_DURATION = 150
950
-
951
- Modal.DEFAULTS = {
952
- backdrop: true,
953
- keyboard: true,
954
- show: true
955
- }
956
-
957
- Modal.prototype.toggle = function (_relatedTarget) {
958
- return this.isShown ? this.hide() : this.show(_relatedTarget)
959
- }
960
-
961
- Modal.prototype.show = function (_relatedTarget) {
962
- var that = this
963
- var e = $.Event('show.bs.modal', { relatedTarget: _relatedTarget })
964
-
965
- this.$element.trigger(e)
966
-
967
- if (this.isShown || e.isDefaultPrevented()) return
968
-
969
- this.isShown = true
970
-
971
- this.checkScrollbar()
972
- this.setScrollbar()
973
- this.$body.addClass('modal-open')
974
-
975
- this.escape()
976
- this.resize()
977
-
978
- this.$element.on('click.dismiss.bs.modal', '[data-dismiss="modal"]', $.proxy(this.hide, this))
979
-
980
- this.$dialog.on('mousedown.dismiss.bs.modal', function () {
981
- that.$element.one('mouseup.dismiss.bs.modal', function (e) {
982
- if ($(e.target).is(that.$element)) that.ignoreBackdropClick = true
983
- })
984
- })
985
-
986
- this.backdrop(function () {
987
- var transition = $.support.transition && that.$element.hasClass('fade')
988
-
989
- if (!that.$element.parent().length) {
990
- that.$element.appendTo(that.$body) // don't move modals dom position
991
- }
992
-
993
- that.$element
994
- .show()
995
- .scrollTop(0)
996
-
997
- that.adjustDialog()
998
-
999
- if (transition) {
1000
- that.$element[0].offsetWidth // force reflow
1001
- }
1002
-
1003
- that.$element.addClass('in')
1004
-
1005
- that.enforceFocus()
1006
-
1007
- var e = $.Event('shown.bs.modal', { relatedTarget: _relatedTarget })
1008
-
1009
- transition ?
1010
- that.$dialog // wait for modal to slide in
1011
- .one('bsTransitionEnd', function () {
1012
- that.$element.trigger('focus').trigger(e)
1013
- })
1014
- .emulateTransitionEnd(Modal.TRANSITION_DURATION) :
1015
- that.$element.trigger('focus').trigger(e)
1016
- })
1017
- }
1018
-
1019
- Modal.prototype.hide = function (e) {
1020
- if (e) e.preventDefault()
1021
-
1022
- e = $.Event('hide.bs.modal')
1023
-
1024
- this.$element.trigger(e)
1025
-
1026
- if (!this.isShown || e.isDefaultPrevented()) return
1027
-
1028
- this.isShown = false
1029
-
1030
- this.escape()
1031
- this.resize()
1032
-
1033
- $(document).off('focusin.bs.modal')
1034
-
1035
- this.$element
1036
- .removeClass('in')
1037
- .off('click.dismiss.bs.modal')
1038
- .off('mouseup.dismiss.bs.modal')
1039
-
1040
- this.$dialog.off('mousedown.dismiss.bs.modal')
1041
-
1042
- $.support.transition && this.$element.hasClass('fade') ?
1043
- this.$element
1044
- .one('bsTransitionEnd', $.proxy(this.hideModal, this))
1045
- .emulateTransitionEnd(Modal.TRANSITION_DURATION) :
1046
- this.hideModal()
1047
- }
1048
-
1049
- Modal.prototype.enforceFocus = function () {
1050
- $(document)
1051
- .off('focusin.bs.modal') // guard against infinite focus loop
1052
- .on('focusin.bs.modal', $.proxy(function (e) {
1053
- if (this.$element[0] !== e.target && !this.$element.has(e.target).length) {
1054
- this.$element.trigger('focus')
1055
- }
1056
- }, this))
1057
- }
1058
-
1059
- Modal.prototype.escape = function () {
1060
- if (this.isShown && this.options.keyboard) {
1061
- this.$element.on('keydown.dismiss.bs.modal', $.proxy(function (e) {
1062
- e.which == 27 && this.hide()
1063
- }, this))
1064
- } else if (!this.isShown) {
1065
- this.$element.off('keydown.dismiss.bs.modal')
1066
- }
1067
- }
1068
-
1069
- Modal.prototype.resize = function () {
1070
- if (this.isShown) {
1071
- $(window).on('resize.bs.modal', $.proxy(this.handleUpdate, this))
1072
- } else {
1073
- $(window).off('resize.bs.modal')
1074
- }
1075
- }
1076
-
1077
- Modal.prototype.hideModal = function () {
1078
- var that = this
1079
- this.$element.hide()
1080
- this.backdrop(function () {
1081
- that.$body.removeClass('modal-open')
1082
- that.resetAdjustments()
1083
- that.resetScrollbar()
1084
- that.$element.trigger('hidden.bs.modal')
1085
- })
1086
- }
1087
-
1088
- Modal.prototype.removeBackdrop = function () {
1089
- this.$backdrop && this.$backdrop.remove()
1090
- this.$backdrop = null
1091
- }
1092
-
1093
- Modal.prototype.backdrop = function (callback) {
1094
- var that = this
1095
- var animate = this.$element.hasClass('fade') ? 'fade' : ''
1096
-
1097
- if (this.isShown && this.options.backdrop) {
1098
- var doAnimate = $.support.transition && animate
1099
-
1100
- this.$backdrop = $(document.createElement('div'))
1101
- .addClass('modal-backdrop ' + animate)
1102
- .appendTo(this.$body)
1103
-
1104
- this.$element.on('click.dismiss.bs.modal', $.proxy(function (e) {
1105
- if (this.ignoreBackdropClick) {
1106
- this.ignoreBackdropClick = false
1107
- return
1108
- }
1109
- if (e.target !== e.currentTarget) return
1110
- this.options.backdrop == 'static'
1111
- ? this.$element[0].focus()
1112
- : this.hide()
1113
- }, this))
1114
-
1115
- if (doAnimate) this.$backdrop[0].offsetWidth // force reflow
1116
-
1117
- this.$backdrop.addClass('in')
1118
-
1119
- if (!callback) return
1120
-
1121
- doAnimate ?
1122
- this.$backdrop
1123
- .one('bsTransitionEnd', callback)
1124
- .emulateTransitionEnd(Modal.BACKDROP_TRANSITION_DURATION) :
1125
- callback()
1126
-
1127
- } else if (!this.isShown && this.$backdrop) {
1128
- this.$backdrop.removeClass('in')
1129
-
1130
- var callbackRemove = function () {
1131
- that.removeBackdrop()
1132
- callback && callback()
1133
- }
1134
- $.support.transition && this.$element.hasClass('fade') ?
1135
- this.$backdrop
1136
- .one('bsTransitionEnd', callbackRemove)
1137
- .emulateTransitionEnd(Modal.BACKDROP_TRANSITION_DURATION) :
1138
- callbackRemove()
1139
-
1140
- } else if (callback) {
1141
- callback()
1142
- }
1143
- }
1144
-
1145
- // these following methods are used to handle overflowing modals
1146
-
1147
- Modal.prototype.handleUpdate = function () {
1148
- this.adjustDialog()
1149
- }
1150
-
1151
- Modal.prototype.adjustDialog = function () {
1152
- var modalIsOverflowing = this.$element[0].scrollHeight > document.documentElement.clientHeight
1153
-
1154
- this.$element.css({
1155
- paddingLeft: !this.bodyIsOverflowing && modalIsOverflowing ? this.scrollbarWidth : '',
1156
- paddingRight: this.bodyIsOverflowing && !modalIsOverflowing ? this.scrollbarWidth : ''
1157
- })
1158
- }
1159
-
1160
- Modal.prototype.resetAdjustments = function () {
1161
- this.$element.css({
1162
- paddingLeft: '',
1163
- paddingRight: ''
1164
- })
1165
- }
1166
-
1167
- Modal.prototype.checkScrollbar = function () {
1168
- var fullWindowWidth = window.innerWidth
1169
- if (!fullWindowWidth) { // workaround for missing window.innerWidth in IE8
1170
- var documentElementRect = document.documentElement.getBoundingClientRect()
1171
- fullWindowWidth = documentElementRect.right - Math.abs(documentElementRect.left)
1172
- }
1173
- this.bodyIsOverflowing = document.body.clientWidth < fullWindowWidth
1174
- this.scrollbarWidth = this.measureScrollbar()
1175
- }
1176
-
1177
- Modal.prototype.setScrollbar = function () {
1178
- var bodyPad = parseInt((this.$body.css('padding-right') || 0), 10)
1179
- this.originalBodyPad = document.body.style.paddingRight || ''
1180
- if (this.bodyIsOverflowing) this.$body.css('padding-right', bodyPad + this.scrollbarWidth)
1181
- }
1182
-
1183
- Modal.prototype.resetScrollbar = function () {
1184
- this.$body.css('padding-right', this.originalBodyPad)
1185
- }
1186
-
1187
- Modal.prototype.measureScrollbar = function () { // thx walsh
1188
- var scrollDiv = document.createElement('div')
1189
- scrollDiv.className = 'modal-scrollbar-measure'
1190
- this.$body.append(scrollDiv)
1191
- var scrollbarWidth = scrollDiv.offsetWidth - scrollDiv.clientWidth
1192
- this.$body[0].removeChild(scrollDiv)
1193
- return scrollbarWidth
1194
- }
1195
-
1196
-
1197
- // MODAL PLUGIN DEFINITION
1198
- // =======================
1199
-
1200
- function Plugin(option, _relatedTarget) {
1201
- return this.each(function () {
1202
- var $this = $(this)
1203
- var data = $this.data('bs.modal')
1204
- var options = $.extend({}, Modal.DEFAULTS, $this.data(), typeof option == 'object' && option)
1205
-
1206
- if (!data) $this.data('bs.modal', (data = new Modal(this, options)))
1207
- if (typeof option == 'string') data[option](_relatedTarget)
1208
- else if (options.show) data.show(_relatedTarget)
1209
- })
1210
- }
1211
-
1212
- var old = $.fn.modal
1213
-
1214
- $.fn.modal = Plugin
1215
- $.fn.modal.Constructor = Modal
1216
-
1217
-
1218
- // MODAL NO CONFLICT
1219
- // =================
1220
-
1221
- $.fn.modal.noConflict = function () {
1222
- $.fn.modal = old
1223
- return this
1224
- }
1225
-
1226
-
1227
- // MODAL DATA-API
1228
- // ==============
1229
-
1230
- $(document).on('click.bs.modal.data-api', '[data-toggle="modal"]', function (e) {
1231
- var $this = $(this)
1232
- var href = $this.attr('href')
1233
- var $target = $($this.attr('data-target') || (href && href.replace(/.*(?=#[^\s]+$)/, ''))) // strip for ie7
1234
- var option = $target.data('bs.modal') ? 'toggle' : $.extend({ remote: !/#/.test(href) && href }, $target.data(), $this.data())
1235
-
1236
- if ($this.is('a')) e.preventDefault()
1237
-
1238
- $target.one('show.bs.modal', function (showEvent) {
1239
- if (showEvent.isDefaultPrevented()) return // only register focus restorer if modal will actually get shown
1240
- $target.one('hidden.bs.modal', function () {
1241
- $this.is(':visible') && $this.trigger('focus')
1242
- })
1243
- })
1244
- Plugin.call($target, option, this)
1245
- })
1246
-
1247
- }(jQuery);
1248
-
1249
- /* ========================================================================
1250
- * Bootstrap: tooltip.js v3.3.6
1251
- * http://getbootstrap.com/javascript/#tooltip
1252
- * Inspired by the original jQuery.tipsy by Jason Frame
1253
- * ========================================================================
1254
- * Copyright 2011-2015 Twitter, Inc.
1255
- * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
1256
- * ======================================================================== */
1257
-
1258
-
1259
- +function ($) {
1260
- 'use strict';
1261
-
1262
- // TOOLTIP PUBLIC CLASS DEFINITION
1263
- // ===============================
1264
-
1265
- var Tooltip = function (element, options) {
1266
- this.type = null
1267
- this.options = null
1268
- this.enabled = null
1269
- this.timeout = null
1270
- this.hoverState = null
1271
- this.$element = null
1272
- this.inState = null
1273
-
1274
- this.init('tooltip', element, options)
1275
- }
1276
-
1277
- Tooltip.VERSION = '3.3.6'
1278
-
1279
- Tooltip.TRANSITION_DURATION = 150
1280
-
1281
- Tooltip.DEFAULTS = {
1282
- animation: true,
1283
- placement: 'top',
1284
- selector: false,
1285
- template: '<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',
1286
- trigger: 'hover focus',
1287
- title: '',
1288
- delay: 0,
1289
- html: false,
1290
- container: false,
1291
- viewport: {
1292
- selector: 'body',
1293
- padding: 0
1294
- }
1295
- }
1296
-
1297
- Tooltip.prototype.init = function (type, element, options) {
1298
- this.enabled = true
1299
- this.type = type
1300
- this.$element = $(element)
1301
- this.options = this.getOptions(options)
1302
- this.$viewport = this.options.viewport && $($.isFunction(this.options.viewport) ? this.options.viewport.call(this, this.$element) : (this.options.viewport.selector || this.options.viewport))
1303
- this.inState = { click: false, hover: false, focus: false }
1304
-
1305
- if (this.$element[0] instanceof document.constructor && !this.options.selector) {
1306
- throw new Error('`selector` option must be specified when initializing ' + this.type + ' on the window.document object!')
1307
- }
1308
-
1309
- var triggers = this.options.trigger.split(' ')
1310
-
1311
- for (var i = triggers.length; i--;) {
1312
- var trigger = triggers[i]
1313
-
1314
- if (trigger == 'click') {
1315
- this.$element.on('click.' + this.type, this.options.selector, $.proxy(this.toggle, this))
1316
- } else if (trigger != 'manual') {
1317
- var eventIn = trigger == 'hover' ? 'mouseenter' : 'focusin'
1318
- var eventOut = trigger == 'hover' ? 'mouseleave' : 'focusout'
1319
-
1320
- this.$element.on(eventIn + '.' + this.type, this.options.selector, $.proxy(this.enter, this))
1321
- this.$element.on(eventOut + '.' + this.type, this.options.selector, $.proxy(this.leave, this))
1322
- }
1323
- }
1324
-
1325
- this.options.selector ?
1326
- (this._options = $.extend({}, this.options, { trigger: 'manual', selector: '' })) :
1327
- this.fixTitle()
1328
- }
1329
-
1330
- Tooltip.prototype.getDefaults = function () {
1331
- return Tooltip.DEFAULTS
1332
- }
1333
-
1334
- Tooltip.prototype.getOptions = function (options) {
1335
- options = $.extend({}, this.getDefaults(), this.$element.data(), options)
1336
-
1337
- if (options.delay && typeof options.delay == 'number') {
1338
- options.delay = {
1339
- show: options.delay,
1340
- hide: options.delay
1341
- }
1342
- }
1343
-
1344
- return options
1345
- }
1346
-
1347
- Tooltip.prototype.getDelegateOptions = function () {
1348
- var options = {}
1349
- var defaults = this.getDefaults()
1350
-
1351
- this._options && $.each(this._options, function (key, value) {
1352
- if (defaults[key] != value) options[key] = value
1353
- })
1354
-
1355
- return options
1356
- }
1357
-
1358
- Tooltip.prototype.enter = function (obj) {
1359
- var self = obj instanceof this.constructor ?
1360
- obj : $(obj.currentTarget).data('bs.' + this.type)
1361
-
1362
- if (!self) {
1363
- self = new this.constructor(obj.currentTarget, this.getDelegateOptions())
1364
- $(obj.currentTarget).data('bs.' + this.type, self)
1365
- }
1366
-
1367
- if (obj instanceof $.Event) {
1368
- self.inState[obj.type == 'focusin' ? 'focus' : 'hover'] = true
1369
- }
1370
-
1371
- if (self.tip().hasClass('in') || self.hoverState == 'in') {
1372
- self.hoverState = 'in'
1373
- return
1374
- }
1375
-
1376
- clearTimeout(self.timeout)
1377
-
1378
- self.hoverState = 'in'
1379
-
1380
- if (!self.options.delay || !self.options.delay.show) return self.show()
1381
-
1382
- self.timeout = setTimeout(function () {
1383
- if (self.hoverState == 'in') self.show()
1384
- }, self.options.delay.show)
1385
- }
1386
-
1387
- Tooltip.prototype.isInStateTrue = function () {
1388
- for (var key in this.inState) {
1389
- if (this.inState[key]) return true
1390
- }
1391
-
1392
- return false
1393
- }
1394
-
1395
- Tooltip.prototype.leave = function (obj) {
1396
- var self = obj instanceof this.constructor ?
1397
- obj : $(obj.currentTarget).data('bs.' + this.type)
1398
-
1399
- if (!self) {
1400
- self = new this.constructor(obj.currentTarget, this.getDelegateOptions())
1401
- $(obj.currentTarget).data('bs.' + this.type, self)
1402
- }
1403
-
1404
- if (obj instanceof $.Event) {
1405
- self.inState[obj.type == 'focusout' ? 'focus' : 'hover'] = false
1406
- }
1407
-
1408
- if (self.isInStateTrue()) return
1409
-
1410
- clearTimeout(self.timeout)
1411
-
1412
- self.hoverState = 'out'
1413
-
1414
- if (!self.options.delay || !self.options.delay.hide) return self.hide()
1415
-
1416
- self.timeout = setTimeout(function () {
1417
- if (self.hoverState == 'out') self.hide()
1418
- }, self.options.delay.hide)
1419
- }
1420
-
1421
- Tooltip.prototype.show = function () {
1422
- var e = $.Event('show.bs.' + this.type)
1423
-
1424
- if (this.hasContent() && this.enabled) {
1425
- this.$element.trigger(e)
1426
-
1427
- var inDom = $.contains(this.$element[0].ownerDocument.documentElement, this.$element[0])
1428
- if (e.isDefaultPrevented() || !inDom) return
1429
- var that = this
1430
-
1431
- var $tip = this.tip()
1432
-
1433
- var tipId = this.getUID(this.type)
1434
-
1435
- this.setContent()
1436
- $tip.attr('id', tipId)
1437
- this.$element.attr('aria-describedby', tipId)
1438
-
1439
- if (this.options.animation) $tip.addClass('fade')
1440
-
1441
- var placement = typeof this.options.placement == 'function' ?
1442
- this.options.placement.call(this, $tip[0], this.$element[0]) :
1443
- this.options.placement
1444
-
1445
- var autoToken = /\s?auto?\s?/i
1446
- var autoPlace = autoToken.test(placement)
1447
- if (autoPlace) placement = placement.replace(autoToken, '') || 'top'
1448
-
1449
- $tip
1450
- .detach()
1451
- .css({ top: 0, left: 0, display: 'block' })
1452
- .addClass(placement)
1453
- .data('bs.' + this.type, this)
1454
-
1455
- this.options.container ? $tip.appendTo(this.options.container) : $tip.insertAfter(this.$element)
1456
- this.$element.trigger('inserted.bs.' + this.type)
1457
-
1458
- var pos = this.getPosition()
1459
- var actualWidth = $tip[0].offsetWidth
1460
- var actualHeight = $tip[0].offsetHeight
1461
-
1462
- if (autoPlace) {
1463
- var orgPlacement = placement
1464
- var viewportDim = this.getPosition(this.$viewport)
1465
-
1466
- placement = placement == 'bottom' && pos.bottom + actualHeight > viewportDim.bottom ? 'top' :
1467
- placement == 'top' && pos.top - actualHeight < viewportDim.top ? 'bottom' :
1468
- placement == 'right' && pos.right + actualWidth > viewportDim.width ? 'left' :
1469
- placement == 'left' && pos.left - actualWidth < viewportDim.left ? 'right' :
1470
- placement
1471
-
1472
- $tip
1473
- .removeClass(orgPlacement)
1474
- .addClass(placement)
1475
- }
1476
-
1477
- var calculatedOffset = this.getCalculatedOffset(placement, pos, actualWidth, actualHeight)
1478
-
1479
- this.applyPlacement(calculatedOffset, placement)
1480
-
1481
- var complete = function () {
1482
- var prevHoverState = that.hoverState
1483
- that.$element.trigger('shown.bs.' + that.type)
1484
- that.hoverState = null
1485
-
1486
- if (prevHoverState == 'out') that.leave(that)
1487
- }
1488
-
1489
- $.support.transition && this.$tip.hasClass('fade') ?
1490
- $tip
1491
- .one('bsTransitionEnd', complete)
1492
- .emulateTransitionEnd(Tooltip.TRANSITION_DURATION) :
1493
- complete()
1494
- }
1495
- }
1496
-
1497
- Tooltip.prototype.applyPlacement = function (offset, placement) {
1498
- var $tip = this.tip()
1499
- var width = $tip[0].offsetWidth
1500
- var height = $tip[0].offsetHeight
1501
-
1502
- // manually read margins because getBoundingClientRect includes difference
1503
- var marginTop = parseInt($tip.css('margin-top'), 10)
1504
- var marginLeft = parseInt($tip.css('margin-left'), 10)
1505
-
1506
- // we must check for NaN for ie 8/9
1507
- if (isNaN(marginTop)) marginTop = 0
1508
- if (isNaN(marginLeft)) marginLeft = 0
1509
-
1510
- offset.top += marginTop
1511
- offset.left += marginLeft
1512
-
1513
- // $.fn.offset doesn't round pixel values
1514
- // so we use setOffset directly with our own function B-0
1515
- $.offset.setOffset($tip[0], $.extend({
1516
- using: function (props) {
1517
- $tip.css({
1518
- top: Math.round(props.top),
1519
- left: Math.round(props.left)
1520
- })
1521
- }
1522
- }, offset), 0)
1523
-
1524
- $tip.addClass('in')
1525
-
1526
- // check to see if placing tip in new offset caused the tip to resize itself
1527
- var actualWidth = $tip[0].offsetWidth
1528
- var actualHeight = $tip[0].offsetHeight
1529
-
1530
- if (placement == 'top' && actualHeight != height) {
1531
- offset.top = offset.top + height - actualHeight
1532
- }
1533
-
1534
- var delta = this.getViewportAdjustedDelta(placement, offset, actualWidth, actualHeight)
1535
-
1536
- if (delta.left) offset.left += delta.left
1537
- else offset.top += delta.top
1538
-
1539
- var isVertical = /top|bottom/.test(placement)
1540
- var arrowDelta = isVertical ? delta.left * 2 - width + actualWidth : delta.top * 2 - height + actualHeight
1541
- var arrowOffsetPosition = isVertical ? 'offsetWidth' : 'offsetHeight'
1542
-
1543
- $tip.offset(offset)
1544
- this.replaceArrow(arrowDelta, $tip[0][arrowOffsetPosition], isVertical)
1545
- }
1546
-
1547
- Tooltip.prototype.replaceArrow = function (delta, dimension, isVertical) {
1548
- this.arrow()
1549
- .css(isVertical ? 'left' : 'top', 50 * (1 - delta / dimension) + '%')
1550
- .css(isVertical ? 'top' : 'left', '')
1551
- }
1552
-
1553
- Tooltip.prototype.setContent = function () {
1554
- var $tip = this.tip()
1555
- var title = this.getTitle()
1556
-
1557
- $tip.find('.tooltip-inner')[this.options.html ? 'html' : 'text'](title)
1558
- $tip.removeClass('fade in top bottom left right')
1559
- }
1560
-
1561
- Tooltip.prototype.hide = function (callback) {
1562
- var that = this
1563
- var $tip = $(this.$tip)
1564
- var e = $.Event('hide.bs.' + this.type)
1565
-
1566
- function complete() {
1567
- if (that.hoverState != 'in') $tip.detach()
1568
- that.$element
1569
- .removeAttr('aria-describedby')
1570
- .trigger('hidden.bs.' + that.type)
1571
- callback && callback()
1572
- }
1573
-
1574
- this.$element.trigger(e)
1575
-
1576
- if (e.isDefaultPrevented()) return
1577
-
1578
- $tip.removeClass('in')
1579
-
1580
- $.support.transition && $tip.hasClass('fade') ?
1581
- $tip
1582
- .one('bsTransitionEnd', complete)
1583
- .emulateTransitionEnd(Tooltip.TRANSITION_DURATION) :
1584
- complete()
1585
-
1586
- this.hoverState = null
1587
-
1588
- return this
1589
- }
1590
-
1591
- Tooltip.prototype.fixTitle = function () {
1592
- var $e = this.$element
1593
- if ($e.attr('title') || typeof $e.attr('data-original-title') != 'string') {
1594
- $e.attr('data-original-title', $e.attr('title') || '').attr('title', '')
1595
- }
1596
- }
1597
-
1598
- Tooltip.prototype.hasContent = function () {
1599
- return this.getTitle()
1600
- }
1601
-
1602
- Tooltip.prototype.getPosition = function ($element) {
1603
- $element = $element || this.$element
1604
-
1605
- var el = $element[0]
1606
- var isBody = el.tagName == 'BODY'
1607
-
1608
- var elRect = el.getBoundingClientRect()
1609
- if (elRect.width == null) {
1610
- // width and height are missing in IE8, so compute them manually; see https://github.com/twbs/bootstrap/issues/14093
1611
- elRect = $.extend({}, elRect, { width: elRect.right - elRect.left, height: elRect.bottom - elRect.top })
1612
- }
1613
- var elOffset = isBody ? { top: 0, left: 0 } : $element.offset()
1614
- var scroll = { scroll: isBody ? document.documentElement.scrollTop || document.body.scrollTop : $element.scrollTop() }
1615
- var outerDims = isBody ? { width: $(window).width(), height: $(window).height() } : null
1616
-
1617
- return $.extend({}, elRect, scroll, outerDims, elOffset)
1618
- }
1619
-
1620
- Tooltip.prototype.getCalculatedOffset = function (placement, pos, actualWidth, actualHeight) {
1621
- return placement == 'bottom' ? { top: pos.top + pos.height, left: pos.left + pos.width / 2 - actualWidth / 2 } :
1622
- placement == 'top' ? { top: pos.top - actualHeight, left: pos.left + pos.width / 2 - actualWidth / 2 } :
1623
- placement == 'left' ? { top: pos.top + pos.height / 2 - actualHeight / 2, left: pos.left - actualWidth } :
1624
- /* placement == 'right' */ { top: pos.top + pos.height / 2 - actualHeight / 2, left: pos.left + pos.width }
1625
-
1626
- }
1627
-
1628
- Tooltip.prototype.getViewportAdjustedDelta = function (placement, pos, actualWidth, actualHeight) {
1629
- var delta = { top: 0, left: 0 }
1630
- if (!this.$viewport) return delta
1631
-
1632
- var viewportPadding = this.options.viewport && this.options.viewport.padding || 0
1633
- var viewportDimensions = this.getPosition(this.$viewport)
1634
-
1635
- if (/right|left/.test(placement)) {
1636
- var topEdgeOffset = pos.top - viewportPadding - viewportDimensions.scroll
1637
- var bottomEdgeOffset = pos.top + viewportPadding - viewportDimensions.scroll + actualHeight
1638
- if (topEdgeOffset < viewportDimensions.top) { // top overflow
1639
- delta.top = viewportDimensions.top - topEdgeOffset
1640
- } else if (bottomEdgeOffset > viewportDimensions.top + viewportDimensions.height) { // bottom overflow
1641
- delta.top = viewportDimensions.top + viewportDimensions.height - bottomEdgeOffset
1642
- }
1643
- } else {
1644
- var leftEdgeOffset = pos.left - viewportPadding
1645
- var rightEdgeOffset = pos.left + viewportPadding + actualWidth
1646
- if (leftEdgeOffset < viewportDimensions.left) { // left overflow
1647
- delta.left = viewportDimensions.left - leftEdgeOffset
1648
- } else if (rightEdgeOffset > viewportDimensions.right) { // right overflow
1649
- delta.left = viewportDimensions.left + viewportDimensions.width - rightEdgeOffset
1650
- }
1651
- }
1652
-
1653
- return delta
1654
- }
1655
-
1656
- Tooltip.prototype.getTitle = function () {
1657
- var title
1658
- var $e = this.$element
1659
- var o = this.options
1660
-
1661
- title = $e.attr('data-original-title')
1662
- || (typeof o.title == 'function' ? o.title.call($e[0]) : o.title)
1663
-
1664
- return title
1665
- }
1666
-
1667
- Tooltip.prototype.getUID = function (prefix) {
1668
- do prefix += ~~(Math.random() * 1000000)
1669
- while (document.getElementById(prefix))
1670
- return prefix
1671
- }
1672
-
1673
- Tooltip.prototype.tip = function () {
1674
- if (!this.$tip) {
1675
- this.$tip = $(this.options.template)
1676
- if (this.$tip.length != 1) {
1677
- throw new Error(this.type + ' `template` option must consist of exactly 1 top-level element!')
1678
- }
1679
- }
1680
- return this.$tip
1681
- }
1682
-
1683
- Tooltip.prototype.arrow = function () {
1684
- return (this.$arrow = this.$arrow || this.tip().find('.tooltip-arrow'))
1685
- }
1686
-
1687
- Tooltip.prototype.enable = function () {
1688
- this.enabled = true
1689
- }
1690
-
1691
- Tooltip.prototype.disable = function () {
1692
- this.enabled = false
1693
- }
1694
-
1695
- Tooltip.prototype.toggleEnabled = function () {
1696
- this.enabled = !this.enabled
1697
- }
1698
-
1699
- Tooltip.prototype.toggle = function (e) {
1700
- var self = this
1701
- if (e) {
1702
- self = $(e.currentTarget).data('bs.' + this.type)
1703
- if (!self) {
1704
- self = new this.constructor(e.currentTarget, this.getDelegateOptions())
1705
- $(e.currentTarget).data('bs.' + this.type, self)
1706
- }
1707
- }
1708
-
1709
- if (e) {
1710
- self.inState.click = !self.inState.click
1711
- if (self.isInStateTrue()) self.enter(self)
1712
- else self.leave(self)
1713
- } else {
1714
- self.tip().hasClass('in') ? self.leave(self) : self.enter(self)
1715
- }
1716
- }
1717
-
1718
- Tooltip.prototype.destroy = function () {
1719
- var that = this
1720
- clearTimeout(this.timeout)
1721
- this.hide(function () {
1722
- that.$element.off('.' + that.type).removeData('bs.' + that.type)
1723
- if (that.$tip) {
1724
- that.$tip.detach()
1725
- }
1726
- that.$tip = null
1727
- that.$arrow = null
1728
- that.$viewport = null
1729
- })
1730
- }
1731
-
1732
-
1733
- // TOOLTIP PLUGIN DEFINITION
1734
- // =========================
1735
-
1736
- function Plugin(option) {
1737
- return this.each(function () {
1738
- var $this = $(this)
1739
- var data = $this.data('bs.tooltip')
1740
- var options = typeof option == 'object' && option
1741
-
1742
- if (!data && /destroy|hide/.test(option)) return
1743
- if (!data) $this.data('bs.tooltip', (data = new Tooltip(this, options)))
1744
- if (typeof option == 'string') data[option]()
1745
- })
1746
- }
1747
-
1748
- var old = $.fn.tooltip
1749
-
1750
- $.fn.tooltip = Plugin
1751
- $.fn.tooltip.Constructor = Tooltip
1752
-
1753
-
1754
- // TOOLTIP NO CONFLICT
1755
- // ===================
1756
-
1757
- $.fn.tooltip.noConflict = function () {
1758
- $.fn.tooltip = old
1759
- return this
1760
- }
1761
-
1762
- }(jQuery);
1763
-
1764
- /* ========================================================================
1765
- * Bootstrap: popover.js v3.3.6
1766
- * http://getbootstrap.com/javascript/#popovers
1767
- * ========================================================================
1768
- * Copyright 2011-2015 Twitter, Inc.
1769
- * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
1770
- * ======================================================================== */
1771
-
1772
-
1773
- +function ($) {
1774
- 'use strict';
1775
-
1776
- // POPOVER PUBLIC CLASS DEFINITION
1777
- // ===============================
1778
-
1779
- var Popover = function (element, options) {
1780
- this.init('popover', element, options)
1781
- }
1782
-
1783
- if (!$.fn.tooltip) throw new Error('Popover requires tooltip.js')
1784
-
1785
- Popover.VERSION = '3.3.6'
1786
-
1787
- Popover.DEFAULTS = $.extend({}, $.fn.tooltip.Constructor.DEFAULTS, {
1788
- placement: 'right',
1789
- trigger: 'click',
1790
- content: '',
1791
- template: '<div class="popover" role="tooltip"><div class="arrow"></div><h3 class="popover-title"></h3><div class="popover-content"></div></div>'
1792
- })
1793
-
1794
-
1795
- // NOTE: POPOVER EXTENDS tooltip.js
1796
- // ================================
1797
-
1798
- Popover.prototype = $.extend({}, $.fn.tooltip.Constructor.prototype)
1799
-
1800
- Popover.prototype.constructor = Popover
1801
-
1802
- Popover.prototype.getDefaults = function () {
1803
- return Popover.DEFAULTS
1804
- }
1805
-
1806
- Popover.prototype.setContent = function () {
1807
- var $tip = this.tip()
1808
- var title = this.getTitle()
1809
- var content = this.getContent()
1810
-
1811
- $tip.find('.popover-title')[this.options.html ? 'html' : 'text'](title)
1812
- $tip.find('.popover-content').children().detach().end()[ // we use append for html objects to maintain js events
1813
- this.options.html ? (typeof content == 'string' ? 'html' : 'append') : 'text'
1814
- ](content)
1815
-
1816
- $tip.removeClass('fade top bottom left right in')
1817
-
1818
- // IE8 doesn't accept hiding via the `:empty` pseudo selector, we have to do
1819
- // this manually by checking the contents.
1820
- if (!$tip.find('.popover-title').html()) $tip.find('.popover-title').hide()
1821
- }
1822
-
1823
- Popover.prototype.hasContent = function () {
1824
- return this.getTitle() || this.getContent()
1825
- }
1826
-
1827
- Popover.prototype.getContent = function () {
1828
- var $e = this.$element
1829
- var o = this.options
1830
-
1831
- return $e.attr('data-content')
1832
- || (typeof o.content == 'function' ?
1833
- o.content.call($e[0]) :
1834
- o.content)
1835
- }
1836
-
1837
- Popover.prototype.arrow = function () {
1838
- return (this.$arrow = this.$arrow || this.tip().find('.arrow'))
1839
- }
1840
-
1841
-
1842
- // POPOVER PLUGIN DEFINITION
1843
- // =========================
1844
-
1845
- function Plugin(option) {
1846
- return this.each(function () {
1847
- var $this = $(this)
1848
- var data = $this.data('bs.popover')
1849
- var options = typeof option == 'object' && option
1850
-
1851
- if (!data && /destroy|hide/.test(option)) return
1852
- if (!data) $this.data('bs.popover', (data = new Popover(this, options)))
1853
- if (typeof option == 'string') data[option]()
1854
- })
1855
- }
1856
-
1857
- var old = $.fn.popover
1858
-
1859
- $.fn.popover = Plugin
1860
- $.fn.popover.Constructor = Popover
1861
-
1862
-
1863
- // POPOVER NO CONFLICT
1864
- // ===================
1865
-
1866
- $.fn.popover.noConflict = function () {
1867
- $.fn.popover = old
1868
- return this
1869
- }
1870
-
1871
- }(jQuery);
1872
-
1873
- /* ========================================================================
1874
- * Bootstrap: scrollspy.js v3.3.6
1875
- * http://getbootstrap.com/javascript/#scrollspy
1876
- * ========================================================================
1877
- * Copyright 2011-2015 Twitter, Inc.
1878
- * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
1879
- * ======================================================================== */
1880
-
1881
-
1882
- +function ($) {
1883
- 'use strict';
1884
-
1885
- // SCROLLSPY CLASS DEFINITION
1886
- // ==========================
1887
-
1888
- function ScrollSpy(element, options) {
1889
- this.$body = $(document.body)
1890
- this.$scrollElement = $(element).is(document.body) ? $(window) : $(element)
1891
- this.options = $.extend({}, ScrollSpy.DEFAULTS, options)
1892
- this.selector = (this.options.target || '') + ' .nav li > a'
1893
- this.offsets = []
1894
- this.targets = []
1895
- this.activeTarget = null
1896
- this.scrollHeight = 0
1897
-
1898
- this.$scrollElement.on('scroll.bs.scrollspy', $.proxy(this.process, this))
1899
- this.refresh()
1900
- this.process()
1901
- }
1902
-
1903
- ScrollSpy.VERSION = '3.3.6'
1904
-
1905
- ScrollSpy.DEFAULTS = {
1906
- offset: 10
1907
- }
1908
-
1909
- ScrollSpy.prototype.getScrollHeight = function () {
1910
- return this.$scrollElement[0].scrollHeight || Math.max(this.$body[0].scrollHeight, document.documentElement.scrollHeight)
1911
- }
1912
-
1913
- ScrollSpy.prototype.refresh = function () {
1914
- var that = this
1915
- var offsetMethod = 'offset'
1916
- var offsetBase = 0
1917
-
1918
- this.offsets = []
1919
- this.targets = []
1920
- this.scrollHeight = this.getScrollHeight()
1921
-
1922
- if (!$.isWindow(this.$scrollElement[0])) {
1923
- offsetMethod = 'position'
1924
- offsetBase = this.$scrollElement.scrollTop()
1925
- }
1926
-
1927
- this.$body
1928
- .find(this.selector)
1929
- .map(function () {
1930
- var $el = $(this)
1931
- var href = $el.data('target') || $el.attr('href')
1932
- var $href = /^#./.test(href) && $(href)
1933
-
1934
- return ($href
1935
- && $href.length
1936
- && $href.is(':visible')
1937
- && [[$href[offsetMethod]().top + offsetBase, href]]) || null
1938
- })
1939
- .sort(function (a, b) { return a[0] - b[0] })
1940
- .each(function () {
1941
- that.offsets.push(this[0])
1942
- that.targets.push(this[1])
1943
- })
1944
- }
1945
-
1946
- ScrollSpy.prototype.process = function () {
1947
- var scrollTop = this.$scrollElement.scrollTop() + this.options.offset
1948
- var scrollHeight = this.getScrollHeight()
1949
- var maxScroll = this.options.offset + scrollHeight - this.$scrollElement.height()
1950
- var offsets = this.offsets
1951
- var targets = this.targets
1952
- var activeTarget = this.activeTarget
1953
- var i
1954
-
1955
- if (this.scrollHeight != scrollHeight) {
1956
- this.refresh()
1957
- }
1958
-
1959
- if (scrollTop >= maxScroll) {
1960
- return activeTarget != (i = targets[targets.length - 1]) && this.activate(i)
1961
- }
1962
-
1963
- if (activeTarget && scrollTop < offsets[0]) {
1964
- this.activeTarget = null
1965
- return this.clear()
1966
- }
1967
-
1968
- for (i = offsets.length; i--;) {
1969
- activeTarget != targets[i]
1970
- && scrollTop >= offsets[i]
1971
- && (offsets[i + 1] === undefined || scrollTop < offsets[i + 1])
1972
- && this.activate(targets[i])
1973
- }
1974
- }
1975
-
1976
- ScrollSpy.prototype.activate = function (target) {
1977
- this.activeTarget = target
1978
-
1979
- this.clear()
1980
-
1981
- var selector = this.selector +
1982
- '[data-target="' + target + '"],' +
1983
- this.selector + '[href="' + target + '"]'
1984
-
1985
- var active = $(selector)
1986
- .parents('li')
1987
- .addClass('active')
1988
-
1989
- if (active.parent('.dropdown-menu').length) {
1990
- active = active
1991
- .closest('li.dropdown')
1992
- .addClass('active')
1993
- }
1994
-
1995
- active.trigger('activate.bs.scrollspy')
1996
- }
1997
-
1998
- ScrollSpy.prototype.clear = function () {
1999
- $(this.selector)
2000
- .parentsUntil(this.options.target, '.active')
2001
- .removeClass('active')
2002
- }
2003
-
2004
-
2005
- // SCROLLSPY PLUGIN DEFINITION
2006
- // ===========================
2007
-
2008
- function Plugin(option) {
2009
- return this.each(function () {
2010
- var $this = $(this)
2011
- var data = $this.data('bs.scrollspy')
2012
- var options = typeof option == 'object' && option
2013
-
2014
- if (!data) $this.data('bs.scrollspy', (data = new ScrollSpy(this, options)))
2015
- if (typeof option == 'string') data[option]()
2016
- })
2017
- }
2018
-
2019
- var old = $.fn.scrollspy
2020
-
2021
- $.fn.scrollspy = Plugin
2022
- $.fn.scrollspy.Constructor = ScrollSpy
2023
-
2024
-
2025
- // SCROLLSPY NO CONFLICT
2026
- // =====================
2027
-
2028
- $.fn.scrollspy.noConflict = function () {
2029
- $.fn.scrollspy = old
2030
- return this
2031
- }
2032
-
2033
-
2034
- // SCROLLSPY DATA-API
2035
- // ==================
2036
-
2037
- $(window).on('load.bs.scrollspy.data-api', function () {
2038
- $('[data-spy="scroll"]').each(function () {
2039
- var $spy = $(this)
2040
- Plugin.call($spy, $spy.data())
2041
- })
2042
- })
2043
-
2044
- }(jQuery);
2045
-
2046
- /* ========================================================================
2047
- * Bootstrap: tab.js v3.3.6
2048
- * http://getbootstrap.com/javascript/#tabs
2049
- * ========================================================================
2050
- * Copyright 2011-2015 Twitter, Inc.
2051
- * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
2052
- * ======================================================================== */
2053
-
2054
-
2055
- +function ($) {
2056
- 'use strict';
2057
-
2058
- // TAB CLASS DEFINITION
2059
- // ====================
2060
-
2061
- var Tab = function (element) {
2062
- // jscs:disable requireDollarBeforejQueryAssignment
2063
- this.element = $(element)
2064
- // jscs:enable requireDollarBeforejQueryAssignment
2065
- }
2066
-
2067
- Tab.VERSION = '3.3.6'
2068
-
2069
- Tab.TRANSITION_DURATION = 150
2070
-
2071
- Tab.prototype.show = function () {
2072
- var $this = this.element
2073
- var $ul = $this.closest('ul:not(.dropdown-menu)')
2074
- var selector = $this.data('target')
2075
-
2076
- if (!selector) {
2077
- selector = $this.attr('href')
2078
- selector = selector && selector.replace(/.*(?=#[^\s]*$)/, '') // strip for ie7
2079
- }
2080
-
2081
- if ($this.parent('li').hasClass('active')) return
2082
-
2083
- var $previous = $ul.find('.active:last a')
2084
- var hideEvent = $.Event('hide.bs.tab', {
2085
- relatedTarget: $this[0]
2086
- })
2087
- var showEvent = $.Event('show.bs.tab', {
2088
- relatedTarget: $previous[0]
2089
- })
2090
-
2091
- $previous.trigger(hideEvent)
2092
- $this.trigger(showEvent)
2093
-
2094
- if (showEvent.isDefaultPrevented() || hideEvent.isDefaultPrevented()) return
2095
-
2096
- var $target = $(selector)
2097
-
2098
- this.activate($this.closest('li'), $ul)
2099
- this.activate($target, $target.parent(), function () {
2100
- $previous.trigger({
2101
- type: 'hidden.bs.tab',
2102
- relatedTarget: $this[0]
2103
- })
2104
- $this.trigger({
2105
- type: 'shown.bs.tab',
2106
- relatedTarget: $previous[0]
2107
- })
2108
- })
2109
- }
2110
-
2111
- Tab.prototype.activate = function (element, container, callback) {
2112
- var $active = container.find('> .active')
2113
- var transition = callback
2114
- && $.support.transition
2115
- && ($active.length && $active.hasClass('fade') || !!container.find('> .fade').length)
2116
-
2117
- function next() {
2118
- $active
2119
- .removeClass('active')
2120
- .find('> .dropdown-menu > .active')
2121
- .removeClass('active')
2122
- .end()
2123
- .find('[data-toggle="tab"]')
2124
- .attr('aria-expanded', false)
2125
-
2126
- element
2127
- .addClass('active')
2128
- .find('[data-toggle="tab"]')
2129
- .attr('aria-expanded', true)
2130
-
2131
- if (transition) {
2132
- element[0].offsetWidth // reflow for transition
2133
- element.addClass('in')
2134
- } else {
2135
- element.removeClass('fade')
2136
- }
2137
-
2138
- if (element.parent('.dropdown-menu').length) {
2139
- element
2140
- .closest('li.dropdown')
2141
- .addClass('active')
2142
- .end()
2143
- .find('[data-toggle="tab"]')
2144
- .attr('aria-expanded', true)
2145
- }
2146
-
2147
- callback && callback()
2148
- }
2149
-
2150
- $active.length && transition ?
2151
- $active
2152
- .one('bsTransitionEnd', next)
2153
- .emulateTransitionEnd(Tab.TRANSITION_DURATION) :
2154
- next()
2155
-
2156
- $active.removeClass('in')
2157
- }
2158
-
2159
-
2160
- // TAB PLUGIN DEFINITION
2161
- // =====================
2162
-
2163
- function Plugin(option) {
2164
- return this.each(function () {
2165
- var $this = $(this)
2166
- var data = $this.data('bs.tab')
2167
-
2168
- if (!data) $this.data('bs.tab', (data = new Tab(this)))
2169
- if (typeof option == 'string') data[option]()
2170
- })
2171
- }
2172
-
2173
- var old = $.fn.tab
2174
-
2175
- $.fn.tab = Plugin
2176
- $.fn.tab.Constructor = Tab
2177
-
2178
-
2179
- // TAB NO CONFLICT
2180
- // ===============
2181
-
2182
- $.fn.tab.noConflict = function () {
2183
- $.fn.tab = old
2184
- return this
2185
- }
2186
-
2187
-
2188
- // TAB DATA-API
2189
- // ============
2190
-
2191
- var clickHandler = function (e) {
2192
- e.preventDefault()
2193
- Plugin.call($(this), 'show')
2194
- }
2195
-
2196
- $(document)
2197
- .on('click.bs.tab.data-api', '[data-toggle="tab"]', clickHandler)
2198
- .on('click.bs.tab.data-api', '[data-toggle="pill"]', clickHandler)
2199
-
2200
- }(jQuery);
2201
-
2202
- /* ========================================================================
2203
- * Bootstrap: affix.js v3.3.6
2204
- * http://getbootstrap.com/javascript/#affix
2205
- * ========================================================================
2206
- * Copyright 2011-2015 Twitter, Inc.
2207
- * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
2208
- * ======================================================================== */
2209
-
2210
-
2211
- +function ($) {
2212
- 'use strict';
2213
-
2214
- // AFFIX CLASS DEFINITION
2215
- // ======================
2216
-
2217
- var Affix = function (element, options) {
2218
- this.options = $.extend({}, Affix.DEFAULTS, options)
2219
-
2220
- this.$target = $(this.options.target)
2221
- .on('scroll.bs.affix.data-api', $.proxy(this.checkPosition, this))
2222
- .on('click.bs.affix.data-api', $.proxy(this.checkPositionWithEventLoop, this))
2223
-
2224
- this.$element = $(element)
2225
- this.affixed = null
2226
- this.unpin = null
2227
- this.pinnedOffset = null
2228
-
2229
- this.checkPosition()
2230
- }
2231
-
2232
- Affix.VERSION = '3.3.6'
2233
-
2234
- Affix.RESET = 'affix affix-top affix-bottom'
2235
-
2236
- Affix.DEFAULTS = {
2237
- offset: 0,
2238
- target: window
2239
- }
2240
-
2241
- Affix.prototype.getState = function (scrollHeight, height, offsetTop, offsetBottom) {
2242
- var scrollTop = this.$target.scrollTop()
2243
- var position = this.$element.offset()
2244
- var targetHeight = this.$target.height()
2245
-
2246
- if (offsetTop != null && this.affixed == 'top') return scrollTop < offsetTop ? 'top' : false
2247
-
2248
- if (this.affixed == 'bottom') {
2249
- if (offsetTop != null) return (scrollTop + this.unpin <= position.top) ? false : 'bottom'
2250
- return (scrollTop + targetHeight <= scrollHeight - offsetBottom) ? false : 'bottom'
2251
- }
2252
-
2253
- var initializing = this.affixed == null
2254
- var colliderTop = initializing ? scrollTop : position.top
2255
- var colliderHeight = initializing ? targetHeight : height
2256
-
2257
- if (offsetTop != null && scrollTop <= offsetTop) return 'top'
2258
- if (offsetBottom != null && (colliderTop + colliderHeight >= scrollHeight - offsetBottom)) return 'bottom'
2259
-
2260
- return false
2261
- }
2262
-
2263
- Affix.prototype.getPinnedOffset = function () {
2264
- if (this.pinnedOffset) return this.pinnedOffset
2265
- this.$element.removeClass(Affix.RESET).addClass('affix')
2266
- var scrollTop = this.$target.scrollTop()
2267
- var position = this.$element.offset()
2268
- return (this.pinnedOffset = position.top - scrollTop)
2269
- }
2270
-
2271
- Affix.prototype.checkPositionWithEventLoop = function () {
2272
- setTimeout($.proxy(this.checkPosition, this), 1)
2273
- }
2274
-
2275
- Affix.prototype.checkPosition = function () {
2276
- if (!this.$element.is(':visible')) return
2277
-
2278
- var height = this.$element.height()
2279
- var offset = this.options.offset
2280
- var offsetTop = offset.top
2281
- var offsetBottom = offset.bottom
2282
- var scrollHeight = Math.max($(document).height(), $(document.body).height())
2283
-
2284
- if (typeof offset != 'object') offsetBottom = offsetTop = offset
2285
- if (typeof offsetTop == 'function') offsetTop = offset.top(this.$element)
2286
- if (typeof offsetBottom == 'function') offsetBottom = offset.bottom(this.$element)
2287
-
2288
- var affix = this.getState(scrollHeight, height, offsetTop, offsetBottom)
2289
-
2290
- if (this.affixed != affix) {
2291
- if (this.unpin != null) this.$element.css('top', '')
2292
-
2293
- var affixType = 'affix' + (affix ? '-' + affix : '')
2294
- var e = $.Event(affixType + '.bs.affix')
2295
-
2296
- this.$element.trigger(e)
2297
-
2298
- if (e.isDefaultPrevented()) return
2299
-
2300
- this.affixed = affix
2301
- this.unpin = affix == 'bottom' ? this.getPinnedOffset() : null
2302
-
2303
- this.$element
2304
- .removeClass(Affix.RESET)
2305
- .addClass(affixType)
2306
- .trigger(affixType.replace('affix', 'affixed') + '.bs.affix')
2307
- }
2308
-
2309
- if (affix == 'bottom') {
2310
- this.$element.offset({
2311
- top: scrollHeight - height - offsetBottom
2312
- })
2313
- }
2314
- }
2315
-
2316
-
2317
- // AFFIX PLUGIN DEFINITION
2318
- // =======================
2319
-
2320
- function Plugin(option) {
2321
- return this.each(function () {
2322
- var $this = $(this)
2323
- var data = $this.data('bs.affix')
2324
- var options = typeof option == 'object' && option
2325
-
2326
- if (!data) $this.data('bs.affix', (data = new Affix(this, options)))
2327
- if (typeof option == 'string') data[option]()
2328
- })
2329
- }
2330
-
2331
- var old = $.fn.affix
2332
-
2333
- $.fn.affix = Plugin
2334
- $.fn.affix.Constructor = Affix
2335
-
2336
-
2337
- // AFFIX NO CONFLICT
2338
- // =================
2339
-
2340
- $.fn.affix.noConflict = function () {
2341
- $.fn.affix = old
2342
- return this
2343
- }
2344
-
2345
-
2346
- // AFFIX DATA-API
2347
- // ==============
2348
-
2349
- $(window).on('load', function () {
2350
- $('[data-spy="affix"]').each(function () {
2351
- var $spy = $(this)
2352
- var data = $spy.data()
2353
-
2354
- data.offset = data.offset || {}
2355
-
2356
- if (data.offsetBottom != null) data.offset.bottom = data.offsetBottom
2357
- if (data.offsetTop != null) data.offset.top = data.offsetTop
2358
-
2359
- Plugin.call($spy, data)
2360
- })
2361
- })
2362
-
2363
- }(jQuery);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
lib/admin/add-acc.php CHANGED
@@ -7,8 +7,8 @@
7
  margin-bottom:20px;
8
  }
9
  </style>
10
- <h1>Accordion Design Template </h1>
11
- <div style="overflow:hidden;display:block;width:100%;padding-top:20px">
12
 
13
  <div class="col-md-3">
14
  <div class="demoftr">
@@ -16,12 +16,12 @@
16
  <div class="">
17
  <div class="wpsm_home_portfolio_showcase">
18
  <div class="wpsm_ribbon"><a target="_blank" href="https://wpshopmart.com/plugins/tabs-pro-plugin/"><span> Selected </span></a></div>
19
- <img class="wpsm_img_responsive ftr_img" src="<?php echo wpshopmart_accordion_directory_url.'/img/accordion-1.png'?>">
20
  </div>
21
  </div>
22
  <div style="padding:13px;overflow:hidden; background: #EFEFEF; border-top: 1px dashed #ccc;">
23
  <h3 class="text-center pull-left" style="margin-top: 10px;margin-bottom: 10px;font-weight:900">Selected Design</h3>
24
- <a type="button" class="pull-right btn btn-danger design_btn" id="templates_btn1" target="_blank" href="http://demo.wpshopmart.com/responsive-accordion-and-collapse/" >Check Demo</a>
25
  </div>
26
  </div>
27
  </div>
@@ -32,12 +32,12 @@
32
  <div class="">
33
  <div class="wpsm_home_portfolio_showcase">
34
  <div class="wpsm_ribbon wpsm_ribbon2"><a target="_blank" href="https://wpshopmart.com/plugins/accordion-pro/"><span>Buy Now</span></a></div>
35
- <img class="wpsm_img_responsive ftr_img" src="<?php echo wpshopmart_accordion_directory_url.'/img/Untitled-1.jpg'?>">
36
  </div>
37
  </div>
38
  <div style="padding:13px;overflow:hidden; background: #EFEFEF; border-top: 1px dashed #ccc;">
39
  <h3 class="text-center pull-left" style="margin-top: 10px;margin-bottom: 10px;font-weight:900">Pro Templates </h3>
40
- <a type="button" class="pull-right btn btn-danger design_btn" id="templates_btn2" target="_blank" href="http://demo.wpshopmart.com/accordion-pro/" >Check Demo</a>
41
  </div>
42
  </div>
43
  </div>
@@ -66,17 +66,17 @@
66
  <input type="text" id="accordion_title[]" name="accordion_title[]" value="<?php echo esc_attr($accordion_title); ?>" placeholder="Enter Accordion Title Here" class="wpsm_ac_label_text">
67
  <span class="ac_label"><?php _e('Accordion Description',wpshopmart_accordion_text_domain); ?></span>
68
  <textarea id="accordion_desc[]" name="accordion_desc[]" placeholder="Enter Accordion Description Here" class="wpsm_ac_label_text"><?php echo esc_html($accordion_desc); ?></textarea>
69
- <a type="button" class="btn btn-primary btn-block html_editor_button" data-remodal-target="modal" href="#" id="<?php echo $i; ?>" onclick="open_editor(<?php echo $i; ?>)">Use WYSIWYG Editor </a>
70
 
71
  <span class="ac_label"><?php _e('Accordion Icon',wpshopmart_accordion_text_domain); ?></span>
72
  <div class="form-group input-group">
73
- <input data-placement="bottomRight" id="accordion_title_icon[]" name="accordion_title_icon[]" class="form-control icp icp-auto" value="<?php echo $accordion_title_icon; ?>" type="text" readonly="readonly" />
74
  <span class="input-group-addon "></span>
75
  </div>
76
  <span class="ac_label"><?php _e('Display Above Icon',wpshopmart_accordion_text_domain); ?></span>
77
  <select name="enable_single_icon[]" style="width:100%" >
78
- <option value="yes" <?php if($enable_single_icon == 'yes') echo "selected=selected"; ?>>Yes</option>
79
- <option value="no" <?php if($enable_single_icon == 'no') echo "selected=selected"; ?>>No</option>
80
 
81
  </select>
82
 
@@ -101,7 +101,7 @@
101
  <span class="ac_label"><?php _e('Accordion Description',wpshopmart_accordion_text_domain); ?></span>
102
 
103
  <textarea id="accordion_desc[]" name="accordion_desc[]" placeholder="Enter Accordion Description Here" class="wpsm_ac_label_text">Accordion Sample Description</textarea>
104
- <a type="button" class="btn btn-primary btn-block html_editor_button" data-remodal-target="modal" href="#" id="<?php echo $i; ?>" onclick="open_editor(<?php echo $i; ?>)">Use WYSIWYG Editor </a>
105
 
106
  <span class="ac_label"><?php _e('Accordion Icon',wpshopmart_accordion_text_domain); ?></span>
107
  <div class="form-group input-group">
@@ -111,8 +111,8 @@
111
  <span class="ac_label"><?php _e('Display Above Icon',wpshopmart_accordion_text_domain); ?></span>
112
 
113
  <select name="enable_single_icon[]" style="width:100%" >
114
- <option value="yes" selected=selected>Yes</option>
115
- <option value="no" >No</option>
116
  </select>
117
  <a class="remove_button" href="#delete" id="remove_bt" ><i class="fa fa-trash-o"></i></a>
118
 
@@ -127,7 +127,7 @@
127
  <div class="remodal" data-remodal-options=" closeOnOutsideClick: false" data-remodal-id="modal" role="dialog" aria-labelledby="modal1Title" aria-describedby="modal1Desc">
128
  <button data-remodal-action="close" class="remodal-close" aria-label="Close"></button>
129
  <div>
130
- <h2 id="modal1Title">Accordion Editor</h2>
131
  <p id="modal1Desc">
132
  <?php
133
  $content = '';
7
  margin-bottom:20px;
8
  }
9
  </style>
10
+ <h1><?php esc_html_e('Accordion Design Template',wpshopmart_accordion_text_domain); ?></h1>
11
+ <div class="row" style="overflow:hidden;width:100%;padding-top:20px">
12
 
13
  <div class="col-md-3">
14
  <div class="demoftr">
16
  <div class="">
17
  <div class="wpsm_home_portfolio_showcase">
18
  <div class="wpsm_ribbon"><a target="_blank" href="https://wpshopmart.com/plugins/tabs-pro-plugin/"><span> Selected </span></a></div>
19
+ <img class="wpsm_img_responsive ftr_img" src="<?php echo esc_url(wpshopmart_accordion_directory_url.'/img/accordion-1.png'); ?>">
20
  </div>
21
  </div>
22
  <div style="padding:13px;overflow:hidden; background: #EFEFEF; border-top: 1px dashed #ccc;">
23
  <h3 class="text-center pull-left" style="margin-top: 10px;margin-bottom: 10px;font-weight:900">Selected Design</h3>
24
+ <a type="button" class="pull-right btn btn-danger design_btn" id="templates_btn1" target="_blank" href="http://demo.wpshopmart.com/responsive-accordion-and-collapse/" ><?php esc_html_e('Check Demo',wpshopmart_accordion_text_domain); ?></a>
25
  </div>
26
  </div>
27
  </div>
32
  <div class="">
33
  <div class="wpsm_home_portfolio_showcase">
34
  <div class="wpsm_ribbon wpsm_ribbon2"><a target="_blank" href="https://wpshopmart.com/plugins/accordion-pro/"><span>Buy Now</span></a></div>
35
+ <img class="wpsm_img_responsive ftr_img" src="<?php echo esc_url(wpshopmart_accordion_directory_url.'/img/Untitled-1.jpg'); ?>">
36
  </div>
37
  </div>
38
  <div style="padding:13px;overflow:hidden; background: #EFEFEF; border-top: 1px dashed #ccc;">
39
  <h3 class="text-center pull-left" style="margin-top: 10px;margin-bottom: 10px;font-weight:900">Pro Templates </h3>
40
+ <a type="button" class="pull-right btn btn-danger design_btn" id="templates_btn2" target="_blank" href="http://demo.wpshopmart.com/accordion-pro/" ><?php esc_html_e('Check Demo',wpshopmart_accordion_text_domain); ?></a>
41
  </div>
42
  </div>
43
  </div>
66
  <input type="text" id="accordion_title[]" name="accordion_title[]" value="<?php echo esc_attr($accordion_title); ?>" placeholder="Enter Accordion Title Here" class="wpsm_ac_label_text">
67
  <span class="ac_label"><?php _e('Accordion Description',wpshopmart_accordion_text_domain); ?></span>
68
  <textarea id="accordion_desc[]" name="accordion_desc[]" placeholder="Enter Accordion Description Here" class="wpsm_ac_label_text"><?php echo esc_html($accordion_desc); ?></textarea>
69
+ <a type="button" class="btn btn-primary btn-block html_editor_button" data-remodal-target="modal" href="#" id="<?php echo esc_attr($i); ?>" onclick="open_editor(<?php echo esc_attr($i); ?>)"><?php esc_html_e('Use WYSIWYG Editor',wpshopmart_accordion_text_domain); ?></a>
70
 
71
  <span class="ac_label"><?php _e('Accordion Icon',wpshopmart_accordion_text_domain); ?></span>
72
  <div class="form-group input-group">
73
+ <input data-placement="bottomRight" id="accordion_title_icon[]" name="accordion_title_icon[]" class="form-control icp icp-auto" value="<?php echo esc_attr($accordion_title_icon); ?>" type="text" readonly="readonly" />
74
  <span class="input-group-addon "></span>
75
  </div>
76
  <span class="ac_label"><?php _e('Display Above Icon',wpshopmart_accordion_text_domain); ?></span>
77
  <select name="enable_single_icon[]" style="width:100%" >
78
+ <option value="yes" <?php if($enable_single_icon == 'yes') echo "selected=selected"; ?>><?php esc_html_e('Yes',wpshopmart_accordion_text_domain); ?></option>
79
+ <option value="no" <?php if($enable_single_icon == 'no') echo "selected=selected"; ?>><?php esc_html_e('No',wpshopmart_accordion_text_domain); ?></option>
80
 
81
  </select>
82
 
101
  <span class="ac_label"><?php _e('Accordion Description',wpshopmart_accordion_text_domain); ?></span>
102
 
103
  <textarea id="accordion_desc[]" name="accordion_desc[]" placeholder="Enter Accordion Description Here" class="wpsm_ac_label_text">Accordion Sample Description</textarea>
104
+ <a type="button" class="btn btn-primary btn-block html_editor_button" data-remodal-target="modal" href="#" id="<?php echo esc_attr($i); ?>" onclick="open_editor(<?php echo esc_attr($i); ?>)"><?php esc_html_e('Use WYSIWYG Editor',wpshopmart_accordion_text_domain); ?></a>
105
 
106
  <span class="ac_label"><?php _e('Accordion Icon',wpshopmart_accordion_text_domain); ?></span>
107
  <div class="form-group input-group">
111
  <span class="ac_label"><?php _e('Display Above Icon',wpshopmart_accordion_text_domain); ?></span>
112
 
113
  <select name="enable_single_icon[]" style="width:100%" >
114
+ <option value="yes" selected=selected><?php esc_html_e('Yes',wpshopmart_accordion_text_domain); ?></option>
115
+ <option value="no" ><?php esc_html_e('No',wpshopmart_accordion_text_domain); ?></option>
116
  </select>
117
  <a class="remove_button" href="#delete" id="remove_bt" ><i class="fa fa-trash-o"></i></a>
118
 
127
  <div class="remodal" data-remodal-options=" closeOnOutsideClick: false" data-remodal-id="modal" role="dialog" aria-labelledby="modal1Title" aria-describedby="modal1Desc">
128
  <button data-remodal-action="close" class="remodal-close" aria-label="Close"></button>
129
  <div>
130
+ <h2 id="modal1Title"><?php esc_html_e('Accordion Editor',wpshopmart_accordion_text_domain); ?></h2>
131
  <p id="modal1Desc">
132
  <?php
133
  $content = '';
lib/admin/data-post/ac-save-data.php CHANGED
@@ -1,5 +1,8 @@
1
  <?php
2
  if(isset($PostID) && isset($_POST['ac_save_data_action']) ) {
 
 
 
3
  $TotalCount = count($_POST['accordion_title']);
4
  $AccordionArray = array();
5
  if($TotalCount) {
@@ -7,7 +10,7 @@ if(isset($PostID) && isset($_POST['ac_save_data_action']) ) {
7
  $accordion_title = stripslashes(sanitize_text_field($_POST['accordion_title'][$i]));
8
  $accordion_title_icon = sanitize_text_field($_POST['accordion_title_icon'][$i]);
9
  $enable_single_icon = sanitize_text_field($_POST['enable_single_icon'][$i]);
10
- $accordion_desc = stripslashes($_POST['accordion_desc'][$i]);
11
 
12
  $AccordionArray[] = array(
13
  'accordion_title' => $accordion_title,
1
  <?php
2
  if(isset($PostID) && isset($_POST['ac_save_data_action']) ) {
3
+ if (!wp_verify_nonce($_POST['wpsm_accordion_security'], 'wpsm_accordion_nonce_save_settings_values')) {
4
+ die();
5
+ }
6
  $TotalCount = count($_POST['accordion_title']);
7
  $AccordionArray = array();
8
  if($TotalCount) {
10
  $accordion_title = stripslashes(sanitize_text_field($_POST['accordion_title'][$i]));
11
  $accordion_title_icon = sanitize_text_field($_POST['accordion_title_icon'][$i]);
12
  $enable_single_icon = sanitize_text_field($_POST['enable_single_icon'][$i]);
13
+ $accordion_desc = stripslashes(wp_kses_post($_POST['accordion_desc'][$i]));
14
 
15
  $AccordionArray[] = array(
16
  'accordion_title' => $accordion_title,
lib/admin/data-post/ac-settings-save-data.php CHANGED
@@ -1,5 +1,8 @@
1
  <?php
2
  if(isset($PostID) && isset($_POST['accordion_setting_save_action'])) {
 
 
 
3
  $acc_sec_title = sanitize_option('acc_sec_title', $_POST['acc_sec_title']);
4
  $op_cl_icon = sanitize_option('op_cl_icon', $_POST['op_cl_icon']);
5
  $acc_title_icon = sanitize_option('acc_title_icon', $_POST['acc_title_icon']);
@@ -17,7 +20,7 @@ if(isset($PostID) && isset($_POST['accordion_setting_save_action'])) {
17
  $title_size = sanitize_text_field($_POST['title_size']);
18
  $des_size = sanitize_text_field($_POST['des_size']);
19
  $font_family = sanitize_text_field($_POST['font_family']);
20
- $custom_css = stripslashes($_POST['custom_css']);
21
 
22
  $Accordion_Settings_Array = serialize( array(
23
  'acc_sec_title' => $acc_sec_title,
1
  <?php
2
  if(isset($PostID) && isset($_POST['accordion_setting_save_action'])) {
3
+ if (!wp_verify_nonce($_POST['wpsm_accordion_security'], 'wpsm_accordion_nonce_save_settings_values')) {
4
+ die();
5
+ }
6
  $acc_sec_title = sanitize_option('acc_sec_title', $_POST['acc_sec_title']);
7
  $op_cl_icon = sanitize_option('op_cl_icon', $_POST['op_cl_icon']);
8
  $acc_title_icon = sanitize_option('acc_title_icon', $_POST['acc_title_icon']);
20
  $title_size = sanitize_text_field($_POST['title_size']);
21
  $des_size = sanitize_text_field($_POST['des_size']);
22
  $font_family = sanitize_text_field($_POST['font_family']);
23
+ $custom_css = sanitize_textarea_field($_POST['custom_css']);
24
 
25
  $Accordion_Settings_Array = serialize( array(
26
  'acc_sec_title' => $acc_sec_title,
lib/admin/help.php CHANGED
@@ -51,20 +51,22 @@
51
  </style>
52
 
53
 
54
- <div class="row wpsm_ac_h_i2 " >
55
- <h1 style="color:#000;">Get Support Help Here</h1>
56
- <h3 style="color:#000;">If You have any issue then please ask us any time</h3>
57
- <a href="https://wordpress.org/support/plugin/responsive-accordion-and-collapse" target="_blank" class="button button-primary button-hero ">Get Support Here</a>
58
  </br></br>
59
  <div>
60
- <h1 style="color:#000;font-size:24px;font-weight:500;line-height:1.4">Accordion documentation</h1>
61
  </div>
62
 
63
- <div class="col-md-12" style="margin-bottom: 30px;">
64
- <div class="col-md-4"> <img width="100" height="20" style="width:310px;height:auto; margin-top: 20px;" src="<?php echo wpshopmart_accordion_directory_url.'img/wpshopmart-logo.png'; ?>" > </div>
65
- <div class="col-md-8"><a class="btn btn-danger btn-lg " href="https://www.youtube.com/c/wpshopmart?sub_confirmation=1" target="_blank">Subscribe Our Channel</a>
66
- <a class="btn btn-success btn-lg " href="https://www.youtube.com/c/wpshopmart" target="_blank">Check More Helping Videos</a></div>
67
- </div>
 
 
68
  </br></br>
69
  <div class="col-md-12" >
70
  <iframe width="600" height="370" src="https://www.youtube.com/embed/iu2Wj7qZo_g" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
51
  </style>
52
 
53
 
54
+ <div class="wpsm_ac_h_i2 " >
55
+ <h1 style="color:#000;"><?php esc_html_e('Get Support Help Here',wpshopmart_accordion_text_domain); ?></h1>
56
+ <h3 style="color:#000;"><?php esc_html_e('If You have any issue then please ask us any time',wpshopmart_accordion_text_domain); ?></h3>
57
+ <a href="https://wordpress.org/support/plugin/responsive-accordion-and-collapse" target="_blank" class="button button-primary button-hero "><?php esc_html_e('Get Support Here',wpshopmart_accordion_text_domain); ?></a>
58
  </br></br>
59
  <div>
60
+ <h1 style="color:#000;font-size:24px;font-weight:500;line-height:1.4"><?php esc_html_e('Accordion documentation',wpshopmart_accordion_text_domain); ?></h1>
61
  </div>
62
 
63
+ <div class="row">
64
+ <div class="row col-md-12" style="margin-bottom: 30px;">
65
+ <div class="col-md-4"> <img width="100" height="20" style="width:310px;height:auto; margin-top: 20px;" src="<?php echo esc_url(wpshopmart_accordion_directory_url.'img/wpshopmart-logo.png'); ?>" > </div>
66
+ <div class="col-md-8"><a class="btn btn-danger btn-lg " href="https://www.youtube.com/c/wpshopmart?sub_confirmation=1" target="_blank"><?php esc_html_e('Subscribe Our Channel',wpshopmart_accordion_text_domain); ?></a>
67
+ <a class="btn btn-success btn-lg " href="https://www.youtube.com/c/wpshopmart" target="_blank"><?php esc_html_e('Check More Helping Videos',wpshopmart_accordion_text_domain); ?></a></div>
68
+ </div>
69
+ </div>
70
  </br></br>
71
  <div class="col-md-12" >
72
  <iframe width="600" height="370" src="https://www.youtube.com/embed/iu2Wj7qZo_g" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
lib/admin/menu.php CHANGED
@@ -45,6 +45,7 @@ class wpsm_accordion {
45
  //line editor
46
  wp_enqueue_style('wpsm_ac_line-edtor', wpshopmart_accordion_directory_url.'css/jquery-linedtextarea.css');
47
  wp_enqueue_script( 'wpsm_ac-line-edit-js', wpshopmart_accordion_directory_url.'js/jquery-linedtextarea.js');
 
48
  wp_enqueue_script( 'wpsm_ac-bootstrap-js', wpshopmart_accordion_directory_url.'js/bootstrap.js');
49
 
50
  //tooltip
@@ -83,7 +84,7 @@ class wpsm_accordion {
83
  global $post;
84
  switch( $column ) {
85
  case 'shortcode' :
86
- echo '<input type="text" onclick="this.select()" value="[WPSM_AC id='.$post_id.']" readonly="readonly" />';
87
  break;
88
  default :
89
  break;
@@ -128,13 +129,15 @@ class wpsm_accordion {
128
  }
129
 
130
  </style>
131
- <h3>Accordion Shortcode</h3>
132
  <p><?php _e("Use below shortcode in any Page/Post to publish your Accordion", wpshopmart_accordion_text_domain);?></p>
133
- <input readonly="readonly" type="text" onclick="this.select()" value="<?php echo "[WPSM_AC id=".get_the_ID()."]"; ?>">
134
  <?php
135
  $PostId = get_the_ID();
136
  $Accordion_Settings = unserialize(get_post_meta( $PostId, 'Accordion_Settings', true));
137
- if($Accordion_Settings['acc_sec_title'] && $Accordion_Settings['op_cl_icon'] && $Accordion_Settings['acc_title_bg_clr']) {
 
 
138
  $custom_css = $Accordion_Settings['custom_css'];
139
  }
140
  else{
@@ -142,8 +145,8 @@ class wpsm_accordion {
142
  }
143
  ?>
144
  <h3>Custom Css</h3>
145
- <textarea name="custom_css" id="custom_css" style="width:100% !important ;height:300px;background:#ECECEC;"><?php echo $custom_css ; ?></textarea>
146
- <p>Enter Css without <strong>&lt;style&gt; &lt;/style&gt; </strong> tag</p>
147
  <br>
148
 
149
  <?php
@@ -222,7 +225,7 @@ class wpsm_accordion {
222
  }
223
  </style>
224
  <br />
225
- <a href="http://demo.wpshopmart.com/responsive-accordion-and-collapse/" target="_blank" class="button button-primary button-hero ">View Demo For Help</a>
226
 
227
  <?php
228
  }
@@ -274,10 +277,10 @@ class wpsm_accordion {
274
 
275
  }
276
  </style>
277
- <h1>Follow Us On</h1>
278
- <h3>Youtube To Grab Free Web design Course & WordPress Help/Tips </h3>
279
- <a href="https://www.youtube.com/c/wpshopmart" target="_blank"><img style="width:200px;height:auto" src="<?php echo wpshopmart_accordion_directory_url.'img/youtube.png'; ?>" /></a>
280
- <a href="https://www.youtube.com/c/wpshopmart?sub_confirmation=1" target="_blank" class="button button-primary button-hero ">Subscribe Us Now</a>
281
 
282
  <?php
283
  }
45
  //line editor
46
  wp_enqueue_style('wpsm_ac_line-edtor', wpshopmart_accordion_directory_url.'css/jquery-linedtextarea.css');
47
  wp_enqueue_script( 'wpsm_ac-line-edit-js', wpshopmart_accordion_directory_url.'js/jquery-linedtextarea.js');
48
+ wp_enqueue_script( 'wpsm_ac-custom-js', wpshopmart_accordion_directory_url.'js/accordion-custom.js');
49
  wp_enqueue_script( 'wpsm_ac-bootstrap-js', wpshopmart_accordion_directory_url.'js/bootstrap.js');
50
 
51
  //tooltip
84
  global $post;
85
  switch( $column ) {
86
  case 'shortcode' :
87
+ echo '<input type="text" onclick="this.select()" value="[WPSM_AC id='.esc_html($post_id).']" readonly="readonly" />';
88
  break;
89
  default :
90
  break;
129
  }
130
 
131
  </style>
132
+ <h3><?php esc_html_e('Accordion Shortcode',wpshopmart_accordion_text_domain); ?></h3>
133
  <p><?php _e("Use below shortcode in any Page/Post to publish your Accordion", wpshopmart_accordion_text_domain);?></p>
134
+ <input readonly="readonly" type="text" onclick="this.select()" value="<?php echo esc_attr("[WPSM_AC id=".get_the_ID()."]"); ?>">
135
  <?php
136
  $PostId = get_the_ID();
137
  $Accordion_Settings = unserialize(get_post_meta( $PostId, 'Accordion_Settings', true));
138
+
139
+
140
+ if( $Accordion_Settings !="" ) {
141
  $custom_css = $Accordion_Settings['custom_css'];
142
  }
143
  else{
145
  }
146
  ?>
147
  <h3>Custom Css</h3>
148
+ <textarea name="custom_css" id="custom_css" style="width:100% !important ;height:300px;background:#ECECEC;"><?php echo esc_html($custom_css); ?></textarea>
149
+ <p><?php esc_html_e('Enter Css without ',wpshopmart_accordion_text_domain); ?><strong>&lt;style&gt; &lt;/style&gt; </strong><?php esc_html_e(' tag',wpshopmart_accordion_text_domain); ?></p>
150
  <br>
151
 
152
  <?php
225
  }
226
  </style>
227
  <br />
228
+ <a href="http://demo.wpshopmart.com/responsive-accordion-and-collapse/" target="_blank" class="button button-primary button-hero "><?php esc_html_e('View Demo For Help',wpshopmart_accordion_text_domain); ?></a>
229
 
230
  <?php
231
  }
277
 
278
  }
279
  </style>
280
+ <h1><?php esc_html_e('Follow Us On',wpshopmart_accordion_text_domain); ?></h1>
281
+ <h3><?php esc_html_e('Youtube To Grab Free Web design Course & WordPress Help/Tips',wpshopmart_accordion_text_domain); ?></h3>
282
+ <a href="https://www.youtube.com/c/wpshopmart" target="_blank"><img style="width:200px;height:auto" src="<?php echo esc_url(wpshopmart_accordion_directory_url.'img/youtube.png'); ?>" /></a>
283
+ <a href="https://www.youtube.com/c/wpshopmart?sub_confirmation=1" target="_blank" class="button button-primary button-hero "><?php esc_html_e('Subscribe Us Now',wpshopmart_accordion_text_domain); ?></a>
284
 
285
  <?php
286
  }
lib/admin/more-free-plugins.php CHANGED
@@ -112,8 +112,31 @@
112
  padding-left: 22px;
113
  padding-right: 22px;
114
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
115
  </style>
116
- <h1>Recommended Free WordPress Plugins From Wpshopmart</h1>
117
  <div style="overflow:hidden;display:block;width:100%;padding-top:20px;padding-bottom:20px;">
118
  <div class="col-md-12">
119
 
@@ -174,235 +197,232 @@
174
  }
175
 
176
  echo '<div class="star-rating" title="' . esc_attr( $title ) . '">';
177
- echo '<span class="screen-reader-text">' . $title . '</span>';
178
- echo str_repeat( '<div class="star star-full"></div>', $full_stars );
179
- echo str_repeat( '<div class="star star-half"></div>', $half_stars );
180
- echo str_repeat( '<div class="star star-empty"></div>', $empty_stars);
181
  echo '</div>';
182
  }
183
  }
184
  ?>
185
- <form id="frmrecommendation" class="layout-form">
186
- <div id="poststuff" style="width: 99% !important;">
187
- <div id="post-body" class="metabox-holder">
188
- <div id="postbox-container-2" class="postbox-container">
189
- <div id="advanced" class="meta-box-sortables">
190
- <div id="gallery_bank_get_started" >
191
-
192
- <div class="inside">
193
- <div id="ux_recommendation" class="gallery_bank_layout">
194
-
195
- <div class="fluid-layout">
196
- <div class="layout-span12">
197
- <div class="wp-list-table plugin-install">
198
- <div id="the-list">
199
- <?php
200
- foreach ((array) $item as $plugin)
201
- {
202
-
203
- if (is_object( $plugin))
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
204
  {
205
- $plugin = (array) $plugin;
206
-
207
  }
208
- if (!empty($plugin["icons"]["svg"]))
 
 
209
  {
210
- $plugin_icon_url = $plugin["icons"]["svg"];
211
- }
212
- elseif (!empty( $plugin["icons"]["2x"]))
213
- {
214
- $plugin_icon_url = $plugin["icons"]["2x"];
215
- }
216
- elseif (!empty( $plugin["icons"]["1x"]))
217
- {
218
- $plugin_icon_url = $plugin["icons"]["1x"];
219
- }
220
- else
221
- {
222
- $plugin_icon_url = $plugin["icons"]["default"];
223
  }
224
- $plugins_allowedtags = array
225
- (
226
- "a" => array( "href" => array(),"title" => array(), "target" => array() ),
227
- "abbr" => array( "title" => array() ),"acronym" => array( "title" => array() ),
228
- "code" => array(), "pre" => array(), "em" => array(),"strong" => array(),
229
- "ul" => array(), "ol" => array(), "li" => array(), "p" => array(), "br" => array()
230
- );
231
- $title = wp_kses($plugin["name"], $plugins_allowedtags);
232
- $description = strip_tags($plugin["short_description"]);
233
- $author = wp_kses($plugin["author"], $plugins_allowedtags);
234
- $version = wp_kses($plugin["version"], $plugins_allowedtags);
235
- $name = strip_tags( $title . " " . $version );
236
- $details_link = self_admin_url( "plugin-install.php?tab=plugin-information&amp;plugin=" . $plugin["slug"] .
237
- "&amp;TB_iframe=true&amp;width=600&amp;height=550" );
238
-
239
- /* translators: 1: Plugin name and version. */
240
- $action_links[] = '<a href="' . esc_url( $details_link ) . '" class="thickbox" aria-label="' . esc_attr( sprintf("More information about %s", $name ) ) . '" data-title="' . esc_attr( $name ) . '">' . __( 'More Details' ) . '</a>';
241
- $action_links = array();
242
- if (current_user_can( "install_plugins") || current_user_can("update_plugins"))
243
- {
244
- $status = install_plugin_install_status( $plugin );
245
- switch ($status["status"])
246
- {
247
- case "install":
248
- if ( $status["url"] )
 
 
 
 
 
 
 
 
 
 
249
  {
250
- /* translators: 1: Plugin name and version. */
251
- $action_links[] = '<a class="install-now button" href="' . $status['url'] . '" aria-label="' . esc_attr( sprintf("Install %s now", $name ) ) . '">' . __( 'Install Now' ) . '</a>';
252
  }
253
- break;
254
- case "update_available":
255
- if ($status["url"])
256
  {
257
- /* translators: 1: Plugin name and version */
258
- $action_links[] = '<a class="button" href="' . $status['url'] . '" aria-label="' . esc_attr( sprintf( "Update %s now", $name ) ) . '">' . __( 'Update Now' ) . '</a>';
259
- }
260
- break;
261
- case "latest_installed":
262
- case "newer_installed":
263
- $action_links[] = '<span class="button button-disabled" title="' . esc_attr__( "This plugin is already installed and is up to date" ) . ' ">' . _x( 'Installed', 'plugin' ) . '</span>';
264
- break;
265
- }
266
- }
267
- ?>
268
- <div class="plugin-div plugin-div-settings">
269
- <div class="plugin-div-top plugin-div-settings-top">
270
- <div class="plugin-div-inner-content">
271
- <a href="<?php echo esc_url( $details_link ); ?>" class="thickbox plugin-icon plugin-icon-custom">
272
- <img class="custom_icon" src="<?php echo esc_attr( $plugin_icon_url ) ?>" />
273
- </a>
274
- <div class="name column-name">
275
- <h4>
276
- <a href="<?php echo esc_url( $details_link ); ?>" class="thickbox"><?php echo $title; ?></a>
277
- </h4>
278
- </div>
279
- <div class="desc column-description">
280
- <p>
281
- <?php echo $description; ?>
282
- </p>
283
- <p class="authors">
284
- <cite>
285
- By <?php echo $author;?>
286
- </cite>
287
- </p>
288
- </div>
289
- </div>
290
- <div class="action-links">
291
- <ul class="plugin-action-buttons-custom">
292
- <li>
293
  <?php
294
- if ($action_links)
295
- {
296
- echo implode("</li><li>", $action_links);
297
- }
298
-
299
- switch($plugin["slug"])
300
- {
301
- case "gallery-bank" :
302
- ?>
303
- <a class="plugin-div-button install-now button" href="http://tech-banker.com/products/wp-gallery-bank/pricing/" target="_blank" >
304
- <?php _e("Premium Editions", wpshopmart_accordion_shortcode_text_domain); ?>
305
- </a>
306
- <a class="plugin-div-button install-now button" href="http://tech-banker.com/products/wp-gallery-bank/" target="_blank" >
307
- <?php _e("Visit Website", wpshopmart_accordion_shortcode_text_domain); ?>
308
- </a>
309
- <?php
310
- break;
311
- case "contact-bank" :
312
- ?>
313
- <a class="plugin-div-button install-now button" href="http://tech-banker.com/products/wp-contact-bank/pricing/" target="_blank" >
314
- <?php _e("Premium Editions", wpshopmart_accordion_shortcode_text_domain); ?>
315
- </a>
316
- <a class="plugin-div-button install-now button" href="http://tech-banker.com/products/wp-contact-bank/" target="_blank" >
317
- <?php _e("Visit Website", wpshopmart_accordion_shortcode_text_domain); ?>
318
- </a>
319
- <?php
320
- break;
321
- case "captcha-bank" :
322
- ?>
323
- <a class="plugin-div-button install-now button" href="http://tech-banker.com/products/wp-captcha-bank/pricing/" target="_blank" >
324
- <?php _e("Premium Editions", wpshopmart_accordion_shortcode_text_domain); ?>
325
- </a>
326
- <a class="plugin-div-button install-now button" href="http://tech-banker.com/products/wp-captcha-bank/" target="_blank" >
327
- <?php _e("Visit Website", wpshopmart_accordion_shortcode_text_domain); ?>
328
- </a>
329
- <?php
330
- break;
331
- case "wp-clean-up-optimizer" :
332
- ?>
333
- <a class="plugin-div-button install-now button" href="http://tech-banker.com/products/wp-clean-up-optimizer/pricing/" target="_blank" >
334
- <?php _e("Premium Editions", wpshopmart_accordion_shortcode_text_domain); ?>
335
- </a>
336
- <a class="plugin-div-button install-now button" href="http://tech-banker.com/products/wp-clean-up-optimizer/" target="_blank" >
337
- <?php _e("Visit Website", wpshopmart_accordion_shortcode_text_domain); ?>
338
- </a>
339
- <?php
340
- break;
341
- case "google-maps-bank":
342
- ?>
343
- <a class="plugin-div-button install-now button" href="http://tech-banker.com/products/wp-google-maps-bank/pricing/" target="_blank" >
344
- <?php _e("Premium Editions", wpshopmart_accordion_shortcode_text_domain); ?>
345
- </a>
346
- <a class="plugin-div-button install-now button" href="http://tech-banker.com/products/wp-google-maps-bank/" target="_blank" >
347
- <?php _e("Visit Website", wpshopmart_accordion_shortcode_text_domain); ?>
348
- </a>
349
- <?php
350
- break;
351
- case "wp-backup-bank":
352
- ?>
353
- <a class="plugin-div-button install-now button" href="http://tech-banker.com/products/wp-backup-bank/pricing/" target="_blank" >
354
- <?php _e("Premium Editions", wpshopmart_accordion_shortcode_text_domain); ?>
355
- </a>
356
- <a class="plugin-div-button install-now button" href="http://tech-banker.com/products/wp-backup-bank/" target="_blank" >
357
- <?php _e("Visit Website", wpshopmart_accordion_shortcode_text_domain); ?>
358
- </a>
359
- <?php
360
- break;
361
- }
362
  ?>
363
- </li>
364
- </ul>
365
- </div>
366
- </div>
367
- <div class="plugin-card-bottom plugin-card-bottom_settings">
368
- <div class="vers column-rating">
369
- <?php wp_star_rating( array( "rating" => $plugin["rating"], "type" => "percent", "number" => $plugin["num_ratings"] ) ); ?>
370
- <span class="num-ratings">
371
- (<?php echo number_format_i18n( $plugin["num_ratings"] ); ?>)
372
- </span>
373
- </div>
374
- <div class="column-updated">
375
- <strong><?php _e("Last Updated:"); ?></strong> <span title="<?php echo esc_attr($plugin["last_updated"]); ?>">
376
- <?php printf("%s ago", human_time_diff(strtotime($plugin["last_updated"]))); ?>
377
- </span>
378
- </div>
379
- <div class="column-downloaded">
380
- <?php echo sprintf( _n("%s download", "%s downloads", $plugin["downloaded"]), number_format_i18n($plugin["downloaded"])); ?>
381
- </div>
382
- <div class="column-compatibility">
383
- <?php
384
- if ( !empty($plugin["tested"]) && version_compare(substr($GLOBALS["wp_version"], 0, strlen($plugin["tested"])), $plugin["tested"], ">"))
385
- {
386
- echo '<span class="compatibility-untested">' . __( "<strong>Untested</strong> with your version of WordPress" ) . '</span>';
387
- }
388
- elseif (!empty($plugin["requires"]) && version_compare(substr($GLOBALS["wp_version"], 0, strlen($plugin["requires"])), $plugin["requires"], "<"))
389
- {
390
- echo '<span class="compatibility-incompatible">' . __("Incompatible with your version of WordPress") . '</span>';
391
- }
392
- else
393
- {
394
- echo '<span class="compatibility-compatible">' . __("Compatible with your version of WordPress") . '</span>';
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
395
  }
396
- ?>
397
- </div>
398
- </div>
399
- </div>
400
- <?php
401
- }
402
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
403
  </div>
404
  </div>
405
- </div>
 
 
406
  </div>
407
  </div>
408
  </div>
@@ -411,7 +431,10 @@
411
  </div>
412
  </div>
413
  </div>
414
- </form>
 
 
 
415
  </td>
416
  </tr>
417
  </table>
112
  padding-left: 22px;
113
  padding-right: 22px;
114
  }
115
+
116
+ .plugin-div-settings ul.plugin-action-buttons-custom li{
117
+ color: #a7aaad!important;
118
+ border-color: #dcdcde!important;
119
+ background: #f6f7f7!important;
120
+ box-shadow: none!important;
121
+ cursor: default;
122
+ transform: none!important;
123
+ display: inline-block;
124
+ text-decoration: none;
125
+ font-size: 13px;
126
+ line-height: 2.15384615;
127
+ min-height: 30px;
128
+ margin: 0;
129
+ padding: 0 10px;
130
+ cursor: pointer;
131
+ border-width: 1px;
132
+ border-style: solid;
133
+ -webkit-appearance: none;
134
+ border-radius: 3px;
135
+ white-space: nowrap;
136
+ box-sizing: border-box;
137
+ }
138
  </style>
139
+ <h1><?php esc_html_e('Recommended Free WordPress Plugins From Wpshopmart',wpshopmart_accordion_text_domain); ?></h1>
140
  <div style="overflow:hidden;display:block;width:100%;padding-top:20px;padding-bottom:20px;">
141
  <div class="col-md-12">
142
 
197
  }
198
 
199
  echo '<div class="star-rating" title="' . esc_attr( $title ) . '">';
200
+ echo '<span class="screen-reader-text">' . esc_html($title) . '</span>';
201
+ echo str_repeat( '<div class="star star-full"></div>', esc_html($full_stars) );
202
+ echo str_repeat( '<div class="star star-half"></div>', esc_html($half_stars) );
203
+ echo str_repeat( '<div class="star star-empty"></div>', esc_html($empty_stars) );
204
  echo '</div>';
205
  }
206
  }
207
  ?>
208
+ <form id="frmrecommendation" class="layout-form">
209
+ <div id="poststuff" style="width: 99% !important;">
210
+ <div id="post-body" class="metabox-holder">
211
+ <div id="postbox-container-2" class="postbox-container">
212
+ <div id="advanced" class="meta-box-sortables">
213
+ <div id="gallery_bank_get_started" >
214
+
215
+ <div class="inside">
216
+ <div id="ux_recommendation" class="gallery_bank_layout">
217
+
218
+ <div class="fluid-layout">
219
+ <div class="layout-span12">
220
+ <div class="wp-list-table plugin-install">
221
+ <div id="the-list">
222
+ <?php
223
+ foreach ((array) $item as $plugin)
224
+ {
225
+
226
+ if (is_object( $plugin))
227
+ {
228
+ $plugin = (array) $plugin;
229
+
230
+ }
231
+ if (!empty($plugin["icons"]["svg"]))
232
+ {
233
+ $plugin_icon_url = $plugin["icons"]["svg"];
234
+ }
235
+ elseif (!empty( $plugin["icons"]["2x"]))
236
+ {
237
+ $plugin_icon_url = $plugin["icons"]["2x"];
238
+ }
239
+ elseif (!empty( $plugin["icons"]["1x"]))
240
+ {
241
+ $plugin_icon_url = $plugin["icons"]["1x"];
242
+ }
243
+ else
244
+ {
245
+ $plugin_icon_url = $plugin["icons"]["default"];
246
+ }
247
+ $plugins_allowedtags = array
248
+ (
249
+ "a" => array( "href" => array(),"title" => array(), "target" => array() ),
250
+ "abbr" => array( "title" => array() ),"acronym" => array( "title" => array() ),
251
+ "code" => array(), "pre" => array(), "em" => array(),"strong" => array(),
252
+ "ul" => array(), "ol" => array(), "li" => array(), "p" => array(), "br" => array()
253
+ );
254
+ $title = wp_kses($plugin["name"], $plugins_allowedtags);
255
+ $description = strip_tags($plugin["short_description"]);
256
+ $author = wp_kses($plugin["author"], $plugins_allowedtags);
257
+ $version = wp_kses($plugin["version"], $plugins_allowedtags);
258
+ $name = strip_tags( $title . " " . $version );
259
+ $details_link = self_admin_url( "plugin-install.php?tab=plugin-information&amp;plugin=" . $plugin["slug"] .
260
+ "&amp;TB_iframe=true&amp;width=600&amp;height=550" );
261
+
262
+ /* translators: 1: Plugin name and version. */
263
+ $action_links[] = '<a href="' . esc_url( $details_link ) . '" class="thickbox" aria-label="' . esc_attr( sprintf("More information about %s", $name ) ) . '" data-title="' . esc_attr( $name ) . '">' . __( 'More Details' ) . '</a>';
264
+ $action_links = array();
265
+ if (current_user_can( "install_plugins") || current_user_can("update_plugins"))
266
+ {
267
+ $status = install_plugin_install_status( $plugin );
268
+ switch ($status["status"])
269
+ {
270
+ case "install":
271
+ if ( $status["url"] )
272
  {
273
+ /* translators: 1: Plugin name and version. */
274
+ $action_links[] = '<a class="install-now button" href="' . $status['url'] . '" aria-label="' . esc_attr( sprintf("Install %s now", $name ) ) . '">' . __( 'Install Now' ) . '</a>';
275
  }
276
+ break;
277
+ case "update_available":
278
+ if ($status["url"])
279
  {
280
+ /* translators: 1: Plugin name and version */
281
+ $action_links[] = '<a class="button" href="' . $status['url'] . '" aria-label="' . esc_attr( sprintf( "Update %s now", $name ) ) . '">' . __( 'Update Now' ) . '</a>';
 
 
 
 
 
 
 
 
 
 
 
282
  }
283
+ break;
284
+ case "latest_installed":
285
+ case "newer_installed":
286
+ $action_links[] = '<span class="button button-disabled" title="' . esc_attr__( "This plugin is already installed and is up to date" ) . ' ">' . _x( 'Installed', 'plugin' ) . '</span>';
287
+ break;
288
+ }
289
+ }
290
+ ?>
291
+ <div class="plugin-div plugin-div-settings">
292
+ <div class="plugin-div-top plugin-div-settings-top">
293
+ <div class="plugin-div-inner-content">
294
+ <a href="<?php echo esc_url( $details_link ); ?>" class="thickbox plugin-icon plugin-icon-custom">
295
+ <img class="custom_icon" src="<?php echo esc_url( $plugin_icon_url ) ?>" />
296
+ </a>
297
+ <div class="name column-name">
298
+ <h4>
299
+ <a href="<?php echo esc_url( $details_link ); ?>" class="thickbox"><?php echo esc_html($title); ?></a>
300
+ </h4>
301
+ </div>
302
+ <div class="desc column-description">
303
+ <p>
304
+ <?php echo esc_html($description); ?>
305
+ </p>
306
+ <p class="authors">
307
+ <cite>
308
+ <?php esc_html_e('By ',wpshopmart_accordion_text_domain); ?><?php echo wp_kses_data($author);?>
309
+ </cite>
310
+ </p>
311
+ </div>
312
+ </div>
313
+ <div class="action-links">
314
+ <ul class="plugin-action-buttons-custom">
315
+ <li>
316
+ <?php
317
+ if ($action_links)
318
  {
319
+ echo wp_kses_data(implode("</li><li>", $action_links));
 
320
  }
321
+
322
+ switch($plugin["slug"])
 
323
  {
324
+ case "gallery-bank" :
325
+ ?>
326
+ <a class="plugin-div-button install-now button" href="http://tech-banker.com/products/wp-gallery-bank/pricing/" target="_blank" >
327
+ <?php _e("Premium Editions", wpshopmart_accordion_shortcode_text_domain); ?>
328
+ </a>
329
+ <a class="plugin-div-button install-now button" href="http://tech-banker.com/products/wp-gallery-bank/" target="_blank" >
330
+ <?php _e("Visit Website", wpshopmart_accordion_shortcode_text_domain); ?>
331
+ </a>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
332
  <?php
333
+ break;
334
+ case "contact-bank" :
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
335
  ?>
336
+ <a class="plugin-div-button install-now button" href="http://tech-banker.com/products/wp-contact-bank/pricing/" target="_blank" >
337
+ <?php _e("Premium Editions", wpshopmart_accordion_shortcode_text_domain); ?>
338
+ </a>
339
+ <a class="plugin-div-button install-now button" href="http://tech-banker.com/products/wp-contact-bank/" target="_blank" >
340
+ <?php _e("Visit Website", wpshopmart_accordion_shortcode_text_domain); ?>
341
+ </a>
342
+ <?php
343
+ break;
344
+ case "captcha-bank" :
345
+ ?>
346
+ <a class="plugin-div-button install-now button" href="http://tech-banker.com/products/wp-captcha-bank/pricing/" target="_blank" >
347
+ <?php _e("Premium Editions", wpshopmart_accordion_shortcode_text_domain); ?>
348
+ </a>
349
+ <a class="plugin-div-button install-now button" href="http://tech-banker.com/products/wp-captcha-bank/" target="_blank" >
350
+ <?php _e("Visit Website", wpshopmart_accordion_shortcode_text_domain); ?>
351
+ </a>
352
+ <?php
353
+ break;
354
+ case "wp-clean-up-optimizer" :
355
+ ?>
356
+ <a class="plugin-div-button install-now button" href="http://tech-banker.com/products/wp-clean-up-optimizer/pricing/" target="_blank" >
357
+ <?php _e("Premium Editions", wpshopmart_accordion_shortcode_text_domain); ?>
358
+ </a>
359
+ <a class="plugin-div-button install-now button" href="http://tech-banker.com/products/wp-clean-up-optimizer/" target="_blank" >
360
+ <?php _e("Visit Website", wpshopmart_accordion_shortcode_text_domain); ?>
361
+ </a>
362
+ <?php
363
+ break;
364
+ case "google-maps-bank":
365
+ ?>
366
+ <a class="plugin-div-button install-now button" href="http://tech-banker.com/products/wp-google-maps-bank/pricing/" target="_blank" >
367
+ <?php _e("Premium Editions", wpshopmart_accordion_shortcode_text_domain); ?>
368
+ </a>
369
+ <a class="plugin-div-button install-now button" href="http://tech-banker.com/products/wp-google-maps-bank/" target="_blank" >
370
+ <?php _e("Visit Website", wpshopmart_accordion_shortcode_text_domain); ?>
371
+ </a>
372
+ <?php
373
+ break;
374
+ case "wp-backup-bank":
375
+ ?>
376
+ <a class="plugin-div-button install-now button" href="http://tech-banker.com/products/wp-backup-bank/pricing/" target="_blank" >
377
+ <?php _e("Premium Editions", wpshopmart_accordion_shortcode_text_domain); ?>
378
+ </a>
379
+ <a class="plugin-div-button install-now button" href="http://tech-banker.com/products/wp-backup-bank/" target="_blank" >
380
+ <?php _e("Visit Website", wpshopmart_accordion_shortcode_text_domain); ?>
381
+ </a>
382
+ <?php
383
+ break;
384
  }
385
+ ?>
386
+ </li>
387
+ </ul>
388
+ </div>
389
+ </div>
390
+ <div class="plugin-card-bottom plugin-card-bottom_settings">
391
+ <div class="vers column-rating">
392
+ <?php wp_star_rating( array( "rating" => $plugin["rating"], "type" => "percent", "number" => $plugin["num_ratings"] ) ); ?>
393
+ <span class="num-ratings">
394
+ (<?php echo number_format_i18n( $plugin["num_ratings"] ); ?>)
395
+ </span>
396
+ </div>
397
+ <div class="column-updated">
398
+ <strong><?php _e("Last Updated:"); ?></strong> <span title="<?php echo esc_html($plugin["last_updated"]); ?>">
399
+ <?php printf("%s ago", human_time_diff(strtotime($plugin["last_updated"]))); ?>
400
+ </span>
401
+ </div>
402
+ <div class="column-downloaded">
403
+ <?php echo sprintf( _n("%s download", "%s downloads", $plugin["downloaded"]), number_format_i18n($plugin["downloaded"])); ?>
404
+ </div>
405
+ <div class="column-compatibility">
406
+ <?php
407
+ if ( !empty($plugin["tested"]) && version_compare(substr($GLOBALS["wp_version"], 0, strlen($plugin["tested"])), $plugin["tested"], ">"))
408
+ {
409
+ echo '<span class="compatibility-untested">' . __( "<strong>Untested</strong> with your version of WordPress" ) . '</span>';
410
+ }
411
+ elseif (!empty($plugin["requires"]) && version_compare(substr($GLOBALS["wp_version"], 0, strlen($plugin["requires"])), $plugin["requires"], "<"))
412
+ {
413
+ echo '<span class="compatibility-incompatible">' . __("Incompatible with your version of WordPress") . '</span>';
414
+ }
415
+ else
416
+ {
417
+ echo '<span class="compatibility-compatible">' . __("Compatible with your version of WordPress") . '</span>';
418
+ }
419
+ ?>
420
+ </div>
421
  </div>
422
  </div>
423
+ <?php
424
+ }
425
+ ?>
426
  </div>
427
  </div>
428
  </div>
431
  </div>
432
  </div>
433
  </div>
434
+ </div>
435
+ </div>
436
+ </div>
437
+ </form>
438
  </td>
439
  </tr>
440
  </table>
lib/admin/more-free-themes.php CHANGED
@@ -1,202 +0,0 @@
1
- <style>
2
- #accordion_more_free_themes{
3
- background:transparent #fff;
4
-
5
- margin-top:40px;
6
- }
7
- #accordion_more_free_themes .hndle , #accordion_more_free_themes .handlediv{
8
- display:none;
9
- }
10
- #accordion_more_free_themes p{
11
- color:#000;
12
- font-size:15px;
13
- }
14
- .wpsm-theme-container {
15
- background: #fff;
16
- padding-left: 0px;
17
- padding-right: 0px;
18
- box-shadow: 0 0 20px rgba(0,0,0,.2);
19
- margin-bottom: 20px;
20
- }
21
- .wpsm_site-img-responsive {
22
- display: block;
23
- width: 100%;
24
- height: auto;
25
- }
26
- .wpsm_product_wrapper {
27
- padding: 20px;
28
- overflow: hidden;
29
- }
30
- .wpsm_product_wrapper h3 {
31
- float: left;
32
- margin-bottom: 0px;
33
- color: #000 !important;
34
- letter-spacing: 0px;
35
- text-transform: uppercase;
36
- font-size: 18px;
37
- font-weight: 700;
38
- text-align: left;
39
- margin:0px;
40
- }
41
- .wpsm_product_wrapper h3 span {
42
- display: block;
43
- float: left;
44
- width: 100%;
45
- overflow: hidden;
46
- font-size: 14px;
47
- color: #919499;
48
- margin-top: 6px;
49
- }
50
- .wpsm_product_wrapper .price {
51
- float: right;
52
- font-size: 24px;
53
- color: #000;
54
- font-family: sans-serif;
55
- font-weight: 500;
56
- }
57
- .wpsm-btn-block {
58
- overflow: hidden;
59
- float: left;
60
- width: 100%;
61
- margin-top: 20px;
62
- display: block;
63
- }
64
- .portfolio_read_more_btn {
65
- border: 1px solid #1e73be;
66
- border-radius: 0px;
67
- margin-bottom: 10px;
68
- text-transform: uppercase;
69
- font-weight: 700;
70
- font-size: 15px;
71
- padding: 12px 12px;
72
- display: block;
73
- text-align:center;
74
- width:100%;
75
- border-radius: 2px;
76
- cursor: pointer;
77
- letter-spacing: 1px;
78
- outline: none;
79
- position: relative;
80
- text-decoration: none !important;
81
- color: #fff !important;
82
- -webkit-transition: all ease 0.5s;
83
- -moz-transition: all ease 0.5s;
84
- transition: all ease 0.5s;
85
- background: #1e73be;
86
- padding-left: 22px;
87
- padding-right: 22px;
88
- }
89
- .portfolio_demo_btn {
90
- border: 1px solid #919499;
91
- border-radius: 0px;
92
- margin-bottom: 10px;
93
- text-transform: uppercase;
94
- font-weight: 700;
95
- font-size: 15px;
96
- padding: 12px 12px;
97
- display: block;
98
- text-align:center;
99
- width:100%;
100
- border-radius: 2px;
101
- cursor: pointer;
102
- letter-spacing: 1px;
103
- outline: none;
104
- position: relative;
105
- text-decoration: none !important;
106
- background-color: #242629;
107
- border-color: #242629;
108
- color: #fff !important;
109
- -webkit-transition: all ease 0.5s;
110
- -moz-transition: all ease 0.5s;
111
- transition: all ease 0.5s;
112
- padding-left: 22px;
113
- padding-right: 22px;
114
- }
115
- #accordion_more_free_themes .theme-id-container {
116
- position: relative;
117
- height: 49px;
118
- }
119
- #accordion_more_free_themes .theme-browser .theme .theme-name{
120
- height: auto;
121
- }#accordion_more_free_themes .theme-browser .theme .theme-actions{
122
- opacity: 1;
123
- }
124
- </style>
125
- <h1>Recommended Free Wordpress Themes From Wpshopmart</h1>
126
- <div style="overflow:hidden;display:block;width:100%;padding-top:20px;padding-bottom:20px;height: 330px; overflow: auto;">
127
- <div class="col-md-12">
128
-
129
- <?php
130
- /**
131
- * @access protected
132
- *
133
- * @return bool
134
- */
135
- /**
136
- * Ajax handler for getting themes from themes_api().
137
- *
138
- * @since 3.9.0
139
- *
140
- * @global array $themes_allowedtags
141
- * @global array $theme_field_defaults
142
- */
143
- function wp_ajax_query_themes()
144
- {
145
- global $themes_allowedtags, $theme_field_defaults;
146
- if (!current_user_can('install_themes')) {
147
- wp_send_json_error();
148
- }
149
- $args = array('per_page' => 20, 'fields' => $theme_field_defaults,'author'=>'wpshopmart');
150
- if (isset($args['browse']) && 'favorites' === $args['browse'] && !isset($args['user'])) {
151
- $user = 'wpshopmart';
152
- if ($user) {
153
- $args['user'] = $user;
154
- }
155
- }
156
- $old_filter = isset($args['browse']) ? $args['browse'] : 'search';
157
- /** This filter is documented in wp-admin/includes/class-wp-theme-install-list-table.php */
158
- $args = apply_filters('install_themes_table_api_args_' . $old_filter, $args);
159
- $api = themes_api('query_themes', $args);
160
- if (is_wp_error($api)) {
161
- wp_send_json_error();
162
- }
163
- $update_php = network_admin_url('update.php?action=install-theme');
164
-
165
- ?>
166
- <div class="theme-browser rendered">
167
- <div class="themes">
168
- <?php
169
- foreach ($api->themes as &$theme) {
170
- //print_r($theme);
171
- $theme->install_url = add_query_arg(array('theme' => $theme->slug, '_wpnonce' => wp_create_nonce('install-theme_' . $theme->slug)), $update_php);
172
-
173
- ?>
174
- <div class="theme">
175
- <div class="theme-screenshot">
176
- <img src="<?php echo $theme->screenshot_url ?>" alt="">
177
- </div>
178
- <div class="theme-id-container">
179
-
180
- <h2 class="theme-name" id="<?php echo $theme->name ?>-name"><?php echo $theme->name ?></h2>
181
- <div class="theme-actions">
182
- <a class="button button-primary" href="<?php echo $theme->install_url ?>" aria-label="Activate bizlite">Install/Activate</a>
183
- </div>
184
- </div>
185
-
186
- </div>
187
- <?php
188
-
189
- }
190
- //wp_send_json_success($api);
191
- ?>
192
- </div>
193
- </div>
194
- <?php
195
- }
196
- wp_ajax_query_themes();
197
-
198
- ?>
199
-
200
-
201
- </div>
202
- </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
lib/admin/more-pro.php CHANGED
@@ -113,21 +113,21 @@
113
  padding-right: 22px;
114
  }
115
  </style>
116
- <h1>Recommended Premium Plugins From Wpshopmart</h1>
117
  <div style="overflow:hidden;display:block;width:100%;padding-top:20px;padding-bottom:20px;height: 450px; overflow: auto;">
118
- <div class="col-md-12">
119
 
120
  <div class="col-md-4">
121
 
122
  <div class="wpsm-theme-container" style="">
123
- <img width="700" height="394" src="<?php echo wpshopmart_accordion_directory_url.'img/ac.png'; ?>" class="wpsm_site-img-responsive wp-post-image" alt="Colorbox and panels pro plugin">
124
  <div class="wpsm_product_wrapper">
125
- <h3 style="width:70%">Team Pro<span>wordpress</span></h3>
126
  <span class="price"><span class="amount"></span></span>
127
  <div class="wpsm-btn-block" style="">
128
 
129
- <a title="Check Detail" target="_blank" href="https://wpshopmart.com/plugins/team-pro/" class="portfolio_read_more_btn pull-left">Check Detail</a>
130
- <a title="View Demo" target="_blank" href="http://demo.wpshopmart.com/team-pro-demo/" class="portfolio_demo_btn pull-right">View Demo</a>
131
  </div>
132
  </div>
133
  </div>
@@ -137,14 +137,14 @@
137
  <div class="col-md-4">
138
 
139
  <div class="wpsm-theme-container" style="">
140
- <img width="700" height="394" src="<?php echo wpshopmart_accordion_directory_url.'img/tabs-pro-screesnhot.png'; ?>" class="wpsm_site-img-responsive wp-post-image" alt="tabs pro plugin">
141
  <div class="wpsm_product_wrapper">
142
- <h3 style="width:70%">Tabs Pro <span>wordpress</span></h3>
143
  <span class="price"><span class="amount"></span></span>
144
  <div class="wpsm-btn-block" style="">
145
 
146
- <a title="Check Detail" target="_blank" href="https://wpshopmart.com/plugins/tabs-pro-plugin/" class="portfolio_read_more_btn pull-left">Check Detail</a>
147
- <a title="View Demo" target="_blank" href="http://demo.wpshopmart.com/tabs-pro-plugin-demo-for-wordpress/" class="portfolio_demo_btn pull-right">View Demo</a>
148
  </div>
149
  </div>
150
  </div>
@@ -154,13 +154,13 @@
154
  <div class="col-md-4">
155
 
156
  <div class="wpsm-theme-container" style="">
157
- <img width="700" height="394" src="<?php echo wpshopmart_accordion_directory_url.'img/csp.png'; ?>" class="wpsm_site-img-responsive wp-post-image" alt="Colorbox and panels pro plugin">
158
  <div class="wpsm_product_wrapper">
159
- <h3 style="width:70%">Coming Soon Pro <span>wordpress</span></h3>
160
  <span class="price"><span class="amount"></span></span>
161
  <div class="wpsm-btn-block" style="">
162
- <a title="Check Detail" target="_blank" href="http://wpshopmart.com/plugins/coming-soon-pro/" class="portfolio_read_more_btn pull-left">Check Detail</a>
163
- <a title="View Demo" target="_blank" href="http://wpshopmart.com/coming-soon-pro-demo-page/" class="portfolio_demo_btn pull-right">View Demo</a>
164
  </div>
165
  </div>
166
  </div>
@@ -173,14 +173,14 @@
173
  <div class="col-md-4">
174
 
175
  <div class="wpsm-theme-container" style="">
176
- <img width="700" height="394" src="<?php echo wpshopmart_accordion_directory_url.'img/counters.jpg'; ?>" class="wpsm_site-img-responsive wp-post-image" alt="Colorbox and panels pro plugin">
177
  <div class="wpsm_product_wrapper">
178
- <h3 style="width:70%">Counter Number Pro<span>wordpress</span></h3>
179
  <span class="price"><span class="amount"></span></span>
180
  <div class="wpsm-btn-block" style="">
181
 
182
- <a title="Check Detail" target="_blank" href="https://wpshopmart.com/plugins/counter-numbers-pro/" class="portfolio_read_more_btn pull-left">Check Detail</a>
183
- <a title="View Demo" target="_blank" href="http://demo.wpshopmart.com/counter-number-pro/" class="portfolio_demo_btn pull-right">View Demo</a>
184
  </div>
185
  </div>
186
  </div>
@@ -191,14 +191,14 @@
191
  <div class="col-md-4">
192
 
193
  <div class="wpsm-theme-container" style="">
194
- <img width="700" height="394" src="<?php echo wpshopmart_accordion_directory_url.'img/service-showcase-pro-preview.jpg'; ?>" class="wpsm_site-img-responsive wp-post-image" alt="Colorbox and panels pro plugin">
195
  <div class="wpsm_product_wrapper">
196
- <h3 style="width:70%">Service Showcase<span>wordpress</span></h3>
197
  <span class="price"><span class="amount"></span></span>
198
  <div class="wpsm-btn-block" style="">
199
 
200
- <a title="Check Detail" target="_blank" href="https://wpshopmart.com/plugins/service-showcase-pro-plugin-wordpress/" class="portfolio_read_more_btn pull-left">Check Detail</a>
201
- <a title="View Demo" target="_blank" href="http://dazzlersoftware.com/wpshopmart-demo/service-showcase-pro-plugin-demo/" class="portfolio_demo_btn pull-right">View Demo</a>
202
  </div>
203
  </div>
204
  </div>
@@ -209,14 +209,14 @@
209
  <div class="col-md-4">
210
 
211
  <div class="wpsm-theme-container" style="">
212
- <img width="700" height="394" src="<?php echo wpshopmart_accordion_directory_url.'img/cb.png'; ?>" class="wpsm_site-img-responsive wp-post-image" alt="Colorbox and panels pro plugin">
213
  <div class="wpsm_product_wrapper">
214
- <h3 style="width:70%">Colorbox Pro<span>wordpress</span></h3>
215
  <span class="price"><span class="amount"></span></span>
216
  <div class="wpsm-btn-block" style="">
217
 
218
- <a title="Check Detail" target="_blank" href="https://wpshopmart.com/plugins/colorbox-pro/" class="portfolio_read_more_btn pull-left">Check Detail</a>
219
- <a title="View Demo" target="_blank" href="http://demo.wpshopmart.com/colorbox-pro/" class="portfolio_demo_btn pull-right">View Demo</a>
220
  </div>
221
  </div>
222
  </div>
113
  padding-right: 22px;
114
  }
115
  </style>
116
+ <h1><?php esc_html_e('Recommended Premium Plugins From Wpshopmart',wpshopmart_accordion_text_domain); ?></h1>
117
  <div style="overflow:hidden;display:block;width:100%;padding-top:20px;padding-bottom:20px;height: 450px; overflow: auto;">
118
+ <div class="row col-md-12">
119
 
120
  <div class="col-md-4">
121
 
122
  <div class="wpsm-theme-container" style="">
123
+ <img width="700" height="394" src="<?php echo esc_url(wpshopmart_accordion_directory_url.'img/ac.png'); ?>" class="wpsm_site-img-responsive wp-post-image" alt="Colorbox and panels pro plugin">
124
  <div class="wpsm_product_wrapper">
125
+ <h3 style="width:70%"><?php esc_html_e('Team Pro',wpshopmart_accordion_text_domain); ?><span><?php esc_html_e('wordpress',wpshopmart_accordion_text_domain); ?></span></h3>
126
  <span class="price"><span class="amount"></span></span>
127
  <div class="wpsm-btn-block" style="">
128
 
129
+ <a title="Check Detail" target="_blank" href="https://wpshopmart.com/plugins/team-pro/" class="portfolio_read_more_btn pull-left"><?php esc_html_e('Check Detail',wpshopmart_accordion_text_domain); ?></a>
130
+ <a title="View Demo" target="_blank" href="http://demo.wpshopmart.com/team-pro-demo/" class="portfolio_demo_btn pull-right"><?php esc_html_e('View Demo',wpshopmart_accordion_text_domain); ?></a>
131
  </div>
132
  </div>
133
  </div>
137
  <div class="col-md-4">
138
 
139
  <div class="wpsm-theme-container" style="">
140
+ <img width="700" height="394" src="<?php echo esc_url(wpshopmart_accordion_directory_url.'img/tabs-pro-screesnhot.png'); ?>" class="wpsm_site-img-responsive wp-post-image" alt="tabs pro plugin">
141
  <div class="wpsm_product_wrapper">
142
+ <h3 style="width:70%"><?php esc_html_e('Tabs Pro',wpshopmart_accordion_text_domain); ?> <span><?php esc_html_e('wordpress',wpshopmart_accordion_text_domain); ?></span></h3>
143
  <span class="price"><span class="amount"></span></span>
144
  <div class="wpsm-btn-block" style="">
145
 
146
+ <a title="Check Detail" target="_blank" href="https://wpshopmart.com/plugins/tabs-pro-plugin/" class="portfolio_read_more_btn pull-left"><?php esc_html_e('Check Detail',wpshopmart_accordion_text_domain); ?></a>
147
+ <a title="View Demo" target="_blank" href="http://demo.wpshopmart.com/tabs-pro-plugin-demo-for-wordpress/" class="portfolio_demo_btn pull-right"><?php esc_html_e('View Demo',wpshopmart_accordion_text_domain); ?></a>
148
  </div>
149
  </div>
150
  </div>
154
  <div class="col-md-4">
155
 
156
  <div class="wpsm-theme-container" style="">
157
+ <img width="700" height="394" src="<?php echo esc_url(wpshopmart_accordion_directory_url.'img/csp.png'); ?>" class="wpsm_site-img-responsive wp-post-image" alt="Colorbox and panels pro plugin">
158
  <div class="wpsm_product_wrapper">
159
+ <h3 style="width:70%"><?php esc_html_e('Coming Soon Pro',wpshopmart_accordion_text_domain); ?> <span><?php esc_html_e('wordpress',wpshopmart_accordion_text_domain); ?></span></h3>
160
  <span class="price"><span class="amount"></span></span>
161
  <div class="wpsm-btn-block" style="">
162
+ <a title="Check Detail" target="_blank" href="http://wpshopmart.com/plugins/coming-soon-pro/" class="portfolio_read_more_btn pull-left"><?php esc_html_e('Check Detail',wpshopmart_accordion_text_domain); ?></a>
163
+ <a title="View Demo" target="_blank" href="http://wpshopmart.com/coming-soon-pro-demo-page/" class="portfolio_demo_btn pull-right"><?php esc_html_e('View Demo',wpshopmart_accordion_text_domain); ?></a>
164
  </div>
165
  </div>
166
  </div>
173
  <div class="col-md-4">
174
 
175
  <div class="wpsm-theme-container" style="">
176
+ <img width="700" height="394" src="<?php echo esc_url(wpshopmart_accordion_directory_url.'img/counters.jpg'); ?>" class="wpsm_site-img-responsive wp-post-image" alt="Colorbox and panels pro plugin">
177
  <div class="wpsm_product_wrapper">
178
+ <h3 style="width:70%"><?php esc_html_e('Counter Number Pro',wpshopmart_accordion_text_domain); ?><span><?php esc_html_e('wordpress',wpshopmart_accordion_text_domain); ?></span></h3>
179
  <span class="price"><span class="amount"></span></span>
180
  <div class="wpsm-btn-block" style="">
181
 
182
+ <a title="Check Detail" target="_blank" href="https://wpshopmart.com/plugins/counter-numbers-pro/" class="portfolio_read_more_btn pull-left"><?php esc_html_e('Check Detail',wpshopmart_accordion_text_domain); ?></a>
183
+ <a title="View Demo" target="_blank" href="http://demo.wpshopmart.com/counter-number-pro/" class="portfolio_demo_btn pull-right"><?php esc_html_e('View Demo',wpshopmart_accordion_text_domain); ?></a>
184
  </div>
185
  </div>
186
  </div>
191
  <div class="col-md-4">
192
 
193
  <div class="wpsm-theme-container" style="">
194
+ <img width="700" height="394" src="<?php echo esc_url(wpshopmart_accordion_directory_url.'img/service-showcase-pro-preview.jpg'); ?>" class="wpsm_site-img-responsive wp-post-image" alt="Colorbox and panels pro plugin">
195
  <div class="wpsm_product_wrapper">
196
+ <h3 style="width:70%"><?php esc_html_e('Service Showcase',wpshopmart_accordion_text_domain); ?><span><?php esc_html_e('wordpress',wpshopmart_accordion_text_domain); ?></span></h3>
197
  <span class="price"><span class="amount"></span></span>
198
  <div class="wpsm-btn-block" style="">
199
 
200
+ <a title="Check Detail" target="_blank" href="https://wpshopmart.com/plugins/service-showcase-pro-plugin-wordpress/" class="portfolio_read_more_btn pull-left"><?php esc_html_e('Check Detail',wpshopmart_accordion_text_domain); ?></a>
201
+ <a title="View Demo" target="_blank" href="http://dazzlersoftware.com/wpshopmart-demo/service-showcase-pro-plugin-demo/" class="portfolio_demo_btn pull-right"><?php esc_html_e('View Demo',wpshopmart_accordion_text_domain); ?></a>
202
  </div>
203
  </div>
204
  </div>
209
  <div class="col-md-4">
210
 
211
  <div class="wpsm-theme-container" style="">
212
+ <img width="700" height="394" src="<?php echo esc_url(wpshopmart_accordion_directory_url.'img/cb.png'); ?>" class="wpsm_site-img-responsive wp-post-image" alt="Colorbox and panels pro plugin">
213
  <div class="wpsm_product_wrapper">
214
+ <h3 style="width:70%"><?php esc_html_e('Colorbox Pro',wpshopmart_accordion_text_domain); ?><span><?php esc_html_e('wordpress',wpshopmart_accordion_text_domain); ?></span></h3>
215
  <span class="price"><span class="amount"></span></span>
216
  <div class="wpsm-btn-block" style="">
217
 
218
+ <a title="Check Detail" target="_blank" href="https://wpshopmart.com/plugins/colorbox-pro/" class="portfolio_read_more_btn pull-left"><?php esc_html_e('Check Detail',wpshopmart_accordion_text_domain); ?></a>
219
+ <a title="View Demo" target="_blank" href="http://demo.wpshopmart.com/colorbox-pro/" class="portfolio_demo_btn pull-right"><?php esc_html_e('View Demo',wpshopmart_accordion_text_domain); ?></a>
220
  </div>
221
  </div>
222
  </div>
lib/admin/settings.php CHANGED
@@ -1,4 +1,5 @@
1
  <?php
 
2
  $PostId = $post->ID;
3
  $Accordion_Settings = unserialize(get_post_meta( $PostId, 'Accordion_Settings', true));
4
 
@@ -11,9 +12,9 @@
11
  "enable_toggle" => "no",
12
  "enable_ac_border" => "yes",
13
  "acc_op_cl_align" => "right",
14
- "acc_title_bg_clr" => "#e8e8e8",
15
- "acc_title_icon_clr" => "#000000",
16
- "acc_desc_bg_clr" => "#ffffff",
17
  "acc_desc_font_clr" => "#000000",
18
  "title_size" => "18",
19
  "des_size" => "16",
@@ -44,7 +45,7 @@
44
  }
45
  });
46
 
47
- jQuery( "#title_size_id" ).slider("value",<?php echo $title_size; ?> );
48
  jQuery( "#title_size" ).val( jQuery( "#title_size_id" ).slider( "value") );
49
 
50
  });
@@ -63,11 +64,12 @@
63
  }
64
  });
65
 
66
- jQuery( "#des_size_id" ).slider("value",<?php echo $des_size; ?>);
67
  jQuery( "#des_size" ).val( jQuery( "#des_size_id" ).slider( "value") );
68
 
69
  });
70
  </script>
 
71
  <input type="hidden" id="accordion_setting_save_action" name="accordion_setting_save_action" value="accordion_setting_save_action">
72
 
73
  <table class="form-table acc_table">
@@ -84,11 +86,11 @@
84
  <span class="switch-selection"></span>
85
  </div>
86
  <!-- Tooltip -->
87
- <a class="ac_tooltip" href="#help" data-tooltip="#acc_sec_title_tp">help</a>
88
  <div id="acc_sec_title_tp" style="display:none;">
89
  <div style="color:#fff !important;padding:10px;">
90
  <h2 style="color:#fff !important;"><?php _e('Display Accordion Section Title ',wpshopmart_accordion_text_domain); ?></h2>
91
- <img src="<?php echo wpshopmart_accordion_directory_url.'tooltip/img/sec-title.png'; ?>">
92
  </div>
93
  </div>
94
  </td>
@@ -104,14 +106,14 @@
104
  <span class="switch-selection"></span>
105
  </div>
106
  <!-- Tooltip -->
107
- <a class="ac_tooltip" href="#help" data-tooltip="#acc_op_cl_align_tp">help</a>
108
  <div id="acc_op_cl_align_tp" style="display:none;">
109
  <div style="color:#fff !important;padding:10px;">
110
  <h2 style="color:#fff !important;"><?php _e('Accordion Open/Close Icon Alignment',wpshopmart_accordion_text_domain); ?></h2>
111
 
112
- <img src="<?php echo wpshopmart_accordion_directory_url.'tooltip/img/op-cl-icon.png' ?>">
113
  <br>
114
- <img src="<?php echo wpshopmart_accordion_directory_url.'tooltip/img/right-align.png'; ?>">
115
  </div>
116
  </div>
117
  </td>
@@ -128,11 +130,11 @@
128
  <span class="switch-selection"></span>
129
  </div>
130
  <!-- Tooltip -->
131
- <a class="ac_tooltip" href="#help" data-tooltip="#op_cl_icon_tp">help</a>
132
  <div id="op_cl_icon_tp" style="display:none;">
133
  <div style="color:#fff !important;padding:10px;">
134
  <h2 style="color:#fff !important;"><?php _e('Display Open Close Icon ',wpshopmart_accordion_text_domain); ?></h2>
135
- <img src="<?php echo wpshopmart_accordion_directory_url.'tooltip/img/op-cl-icon.png'; ?>">
136
  </div>
137
  </div>
138
  </td>
@@ -149,11 +151,11 @@
149
  <span class="switch-selection"></span>
150
  </div>
151
  <!-- Tooltip -->
152
- <a class="ac_tooltip" href="#help" data-tooltip="#acc_title_icon_tp">help</a>
153
  <div id="acc_title_icon_tp" style="display:none;">
154
  <div style="color:#fff !important;padding:10px;">
155
  <h2 style="color:#fff !important;"><?php _e('Display Accordion Title Font Icon ',wpshopmart_accordion_text_domain); ?></h2>
156
- <img src="<?php echo wpshopmart_accordion_directory_url.'tooltip/img/title-icon.png'; ?>">
157
  </div>
158
  </div>
159
  </td>
@@ -170,11 +172,11 @@
170
  <span class="switch-selection"></span>
171
  </div>
172
  <!-- Tooltip -->
173
- <a class="ac_tooltip" href="#help" data-tooltip="#acc_radius_tp">help</a>
174
  <div id="acc_radius_tp" style="display:none;">
175
  <div style="color:#fff !important;padding:10px;">
176
  <h2 style="color:#fff !important;"><?php _e('Enable Accordion Radius ',wpshopmart_accordion_text_domain); ?></h2>
177
- <img src="<?php echo wpshopmart_accordion_directory_url.'tooltip/img/radius.png'; ?>">
178
  </div>
179
  </div>
180
  </td>
@@ -191,11 +193,11 @@
191
  <span class="switch-selection"></span>
192
  </div>
193
  <!-- Tooltip -->
194
- <a class="ac_tooltip" href="#help" data-tooltip="#acc_margin_tp">help</a>
195
  <div id="acc_margin_tp" style="display:none;">
196
  <div style="color:#fff !important;padding:10px;">
197
  <h2 style="color:#fff !important;"><?php _e('Enable Accordion Margin/Space',wpshopmart_accordion_text_domain); ?></h2>
198
- <img src="<?php echo wpshopmart_accordion_directory_url.'tooltip/img/margin.png'; ?>">
199
  </div>
200
  </div>
201
  </td>
@@ -212,11 +214,11 @@
212
  <span class="switch-selection"></span>
213
  </div>
214
  <!-- Tooltip -->
215
- <a class="ac_tooltip" href="#help" data-tooltip="#enable_toggle_tp">help</a>
216
  <div id="enable_toggle_tp" style="display:none;">
217
  <div style="color:#fff !important;padding:10px;">
218
  <h2 style="color:#fff !important;"><?php _e('Enable Toggle/Collapse ',wpshopmart_accordion_text_domain); ?></strong> very html</h2>
219
- <img src="<?php echo wpshopmart_accordion_directory_url.'tooltip/img/collapase.png'; ?>">
220
  </div>
221
  </div>
222
  </td>
@@ -232,11 +234,11 @@
232
  <span class="switch-selection"></span>
233
  </div>
234
  <!-- Tooltip -->
235
- <a class="ac_tooltip" href="#enable_ac_border_tp" data-tooltip="#enable_ac_border_tp">help</a>
236
  <div id="enable_ac_border_tp" style="display:none;">
237
  <div style="color:#fff !important;padding:10px;">
238
  <h2 style="color:#fff !important;"><?php _e('Display Accordion Border',wpshopmart_accordion_text_domain); ?></h2>
239
- <img src="<?php echo wpshopmart_accordion_directory_url.'tooltip/img/border.png'; ?>">
240
  </div>
241
  </div>
242
  </td>
@@ -249,13 +251,13 @@
249
  <span style="display:block;margin-bottom:10px"><input type="radio" name="expand_option" id="expand_option2" value="2" <?php if($expand_option == '2' ) { echo "checked"; } ?> /> Open All Accordion </span>
250
  <span style="display:block"><input type="radio" name="expand_option" id="expand_option2" value="3" <?php if($expand_option == '3' ) { echo "checked"; } ?> /> Hide/close All Accordion </span>
251
  <!-- Tooltip -->
252
- <a class="ac_tooltip" href="#help" data-tooltip="#expand_option_tp">help</a>
253
  <div id="expand_option_tp" style="display:none;">
254
  <div style="color:#fff !important;padding:10px;">
255
  <h2 style="color:#fff !important;"><?php _e('Expand/Collapse Accordion Option On Page Load',wpshopmart_accordion_text_domain); ?></h2>
256
- <img src="<?php echo wpshopmart_accordion_directory_url.'tooltip/img/collapase.png'; ?>">
257
  <br>
258
- <img src="<?php echo wpshopmart_accordion_directory_url.'tooltip/img/all-close.png'; ?>">
259
  </div>
260
  </div>
261
 
@@ -269,16 +271,16 @@
269
  <span style="display:block;margin-bottom:10px"><input type="radio" name="ac_styles" id="ac_styles2" value="2" <?php if($ac_styles == '2' ) { echo "checked"; } ?> /> Soft </span>
270
  <span style="display:block"><input type="radio" name="ac_styles" id="ac_styles3" value="3" <?php if($ac_styles == '3' ) { echo "checked"; } ?> /> Noise </span>
271
  <!-- Tooltip -->
272
- <a class="ac_tooltip" href="#help" data-tooltip="#ac_styles_tp">help</a>
273
  <div id="ac_styles_tp" style="display:none;">
274
  <div style="color:#fff !important;padding:10px;">
275
  <h2 style="color:#fff !important;"><?php _e('Accordion Styles',wpshopmart_accordion_text_domain); ?></h2>
276
- <img src="<?php echo wpshopmart_accordion_directory_url.'tooltip/img/ac-style.png'; ?>">
277
  <br>
278
- <img src="<?php echo wpshopmart_accordion_directory_url.'tooltip/img/ac-style2.png'; ?>">
279
  </div>
280
  </div>
281
- <div style="margin-top:10px;display:block;overflow:hidden;width:100%;"> <a style="margin-top:10px" href="https://wpshopmart.com/plugins/accordion-pro/" target="_balnk">Unlock 2 More Overlays Styles In Premium Version</a> </div>
282
 
283
  </td>
284
  </tr>
@@ -286,13 +288,13 @@
286
  <tr >
287
  <th scope="row"><label><?php _e('Accordion Title Background Colour',wpshopmart_accordion_text_domain); ?></label></th>
288
  <td>
289
- <input id="acc_title_bg_clr" name="acc_title_bg_clr" type="text" value="<?php echo $acc_title_bg_clr; ?>" class="my-color-field" data-default-color="#e8e8e8" />
290
  <!-- Tooltip -->
291
- <a class="ac_tooltip" href="#help" data-tooltip="#acc_title_bg_clr_tp">help</a>
292
  <div id="acc_title_bg_clr_tp" style="display:none;">
293
  <div style="color:#fff !important;padding:10px;">
294
  <h2 style="color:#fff !important;"><?php _e('Accordion Title Background Colour',wpshopmart_accordion_text_domain); ?></h2>
295
- <img src="<?php echo wpshopmart_accordion_directory_url.'tooltip/img/title-bg-color.png'; ?>">
296
  </div>
297
  </div>
298
  </td>
@@ -301,13 +303,13 @@
301
  <tr >
302
  <th scope="row"><label><?php _e('Accordion Title/Icon Font Colour',wpshopmart_accordion_text_domain); ?></label></th>
303
  <td>
304
- <input id="acc_title_icon_clr" name="acc_title_icon_clr" type="text" value="<?php echo $acc_title_icon_clr; ?>" class="my-color-field" data-default-color="#ffffff" />
305
  <!-- Tooltip -->
306
- <a class="ac_tooltip" href="#help" data-tooltip="#acc_title_icon_clr_tp">help</a>
307
  <div id="acc_title_icon_clr_tp" style="display:none;">
308
  <div style="color:#fff !important;padding:10px;">
309
  <h2 style="color:#fff !important;"><?php _e('Accordion Title/Icon Font Colour',wpshopmart_accordion_text_domain); ?></h2>
310
- <img src="<?php echo wpshopmart_accordion_directory_url.'tooltip/img/title-ft-color.png'; ?>">
311
  </div>
312
  </div>
313
  </td>
@@ -318,13 +320,13 @@
318
  <tr >
319
  <th scope="row"><label><?php _e('Accordion Description Background Colour',wpshopmart_accordion_text_domain); ?></label></th>
320
  <td>
321
- <input id="acc_desc_bg_clr" name="acc_desc_bg_clr" type="text" value="<?php echo $acc_desc_bg_clr; ?>" class="my-color-field" data-default-color="#ffffff" />
322
  <!-- Tooltip -->
323
- <a class="ac_tooltip" href="#help" data-tooltip="#acc_desc_bg_clr_tp">help</a>
324
  <div id="acc_desc_bg_clr_tp" style="display:none;">
325
  <div style="color:#fff !important;padding:10px;">
326
  <h2 style="color:#fff !important;"><?php _e('Accordion Description Background Colour',wpshopmart_accordion_text_domain); ?></h2>
327
- <img src="<?php echo wpshopmart_accordion_directory_url.'tooltip/img/description.png'; ?>">
328
  </div>
329
  </div>
330
  </td>
@@ -333,13 +335,13 @@
333
  <tr >
334
  <th scope="row"><label><?php _e('Accordion Description Font Colour',wpshopmart_accordion_text_domain); ?></label></th>
335
  <td>
336
- <input id="acc_desc_font_clr" name="acc_desc_font_clr" type="text" value="<?php echo $acc_desc_font_clr; ?>" class="my-color-field" data-default-color="#000000" />
337
  <!-- Tooltip -->
338
- <a class="ac_tooltip" href="#acc_desc_font_clr_tp" data-tooltip="#acc_desc_font_clr_tp">help</a>
339
  <div id="acc_desc_font_clr_tp" style="display:none;">
340
  <div style="color:#fff !important;padding:10px;">
341
  <h2 style="color:#fff !important;"><?php _e('Accordion Description Font Colour',wpshopmart_accordion_text_domain); ?></h2>
342
- <img src="<?php echo wpshopmart_accordion_directory_url.'tooltip/img/description.png'; ?>">
343
  </div>
344
  </div>
345
  </td>
@@ -350,10 +352,10 @@
350
  <div id="title_size_id" class="size-slider" ></div>
351
  <input type="text" class="slider-text" id="title_size" name="title_size" readonly="readonly">
352
  <!-- Tooltip -->
353
- <a class="ac_tooltip" href="#help" data-tooltip="#title_size_tp">help</a>
354
  <div id="title_size_tp" style="display:none;">
355
  <div style="color:#fff !important;padding:10px;max-width: 300px;">
356
- <h2 style="color:#fff !important;">You can update Title and Icon Font Size from here. Just Scroll it to change size.</h2>
357
 
358
  </div>
359
  </div>
@@ -366,10 +368,10 @@
366
  <div id="des_size_id" class="size-slider" ></div>
367
  <input type="text" class="slider-text" id="des_size" name="des_size" readonly="readonly">
368
  <!-- Tooltip -->
369
- <a class="ac_tooltip" href="#help" data-tooltip="#des_size_tp">help</a>
370
  <div id="des_size_tp" style="display:none;">
371
  <div style="color:#fff !important;padding:10px;max-width: 300px;">
372
- <h2 style="color:#fff !important;">You can update Description Font Size from here. Just Scroll it to change size.</h2>
373
 
374
  </div>
375
  </div>
@@ -381,24 +383,24 @@
381
  <?php if(!isset($font_family)) $font_family = "Open Sans";?>
382
  <select name="font_family" id="font_family" class="standard-dropdown" style="width:100%" >
383
  <optgroup label="Default Fonts">
384
- <option value="Arial" <?php if($font_family == 'Arial' ) { echo "selected"; } ?>>Arial</option>
385
- <option value="Arial Black" <?php if($font_family == 'Arial Black' ) { echo "selected"; } ?>>Arial Black</option>
386
- <option value="Courier New" <?php if($font_family == 'Courier New' ) { echo "selected"; } ?>>Courier New</option>
387
- <option value="Georgia" <?php if($font_family == 'Georgia' ) { echo "selected"; } ?>>Georgia</option>
388
- <option value="Grande" <?php if($font_family == 'Grande' ) { echo "selected"; } ?>>Grande</option>
389
- <option value="Helvetica" <?php if($font_family == 'Helvetica' ) { echo "selected"; } ?>>Helvetica Neue</option>
390
- <option value="Impact" <?php if($font_family == 'Impact' ) { echo "selected"; } ?>>Impact</option>
391
- <option value="Lucida" <?php if($font_family == 'Lucida' ) { echo "selected"; } ?>>Lucida</option>
392
- <option value="Lucida Grande" <?php if($font_family == 'Lucida Grande' ) { echo "selected"; } ?>>Lucida Grande</option>
393
- <option value="Open Sans" <?php if($font_family == 'Open Sans' ) { echo "selected"; } ?>>Open Sans</option>
394
- <option value="OpenSansBold" <?php if($font_family == 'OpenSansBold' ) { echo "selected"; } ?>>OpenSansBold</option>
395
- <option value="Palatino Linotype" <?php if($font_family == 'Palatino Linotype' ) { echo "selected"; } ?>>Palatino</option>
396
- <option value="Sans" <?php if($font_family == 'Sans' ) { echo "selected"; } ?>>Sans</option>
397
- <option value="sans-serif" <?php if($font_family == 'sans-serif' ) { echo "selected"; } ?>>Sans-Serif</option>
398
- <option value="Tahoma" <?php if($font_family == 'Tahoma' ) { echo "selected"; } ?>>Tahoma</option>
399
- <option value="Times New Roman" <?php if($font_family == 'Times New Roman' ) { echo "selected"; } ?>>Times New Roman</option>
400
- <option value="Trebuchet" <?php if($font_family == 'Trebuchet' ) { echo "selected"; } ?>>Trebuchet</option>
401
- <option value="Verdana" <?php if($font_family == 'Verdana' ) { echo "selected"; } ?>>Verdana</option>
402
  </optgroup>
403
  </select>
404
 
@@ -406,11 +408,11 @@
406
  <a class="ac_tooltip" href="#help" data-tooltip="#font_family_tp">help</a>
407
  <div id="font_family_tp" style="display:none;">
408
  <div style="color:#fff !important;padding:10px;max-width: 300px;">
409
- <h2 style="color:#fff !important;">You can update Title and Description Font Family/Style from here. Select any one form these options.</h2>
410
 
411
  </div>
412
  </div>
413
- <div style="margin-top:10px;display:block;overflow:hidden;width:100%;"> <a style="margin-top:10px" href="https://wpshopmart.com/plugins/accordion-pro/" target="_balnk">Get 500+ Google Fonts In Premium Version</a> </div>
414
 
415
  </td>
416
  </tr>
@@ -425,7 +427,7 @@
425
  <label for="disable_acc_scroll" class="switch-label switch-label-on"><?php _e('No',wpshopmart_accordion_text_domain); ?></label>
426
  <span class="switch-selection"></span>
427
  </div>
428
- <a style="margin-top:10px" href="https://wpshopmart.com/plugins/accordion-pro/" target="_balnk">Available In Premium Version</a>
429
  </td>
430
  </tr>
431
  <tr>
@@ -438,14 +440,14 @@
438
  <label for="disable_acc_hover" class="switch-label switch-label-on"><?php _e('No',wpshopmart_accordion_text_domain); ?></label>
439
  <span class="switch-selection"></span>
440
  </div>
441
- <a style="margin-top:10px" href="https://wpshopmart.com/plugins/accordion-pro/" target="_balnk">Available In Premium Version</a>
442
  </td>
443
  </tr>
444
  <tr>
445
  <th scope="row"><label><?php _e('Open Close Icon',wpshopmart_accordion_text_domain); ?></label></th>
446
  <td>
447
- <img class="wpsm_img_responsive" src="<?php echo wpshopmart_accordion_directory_url.'img/snap-1.png'; ?>" />
448
- <a style="margin-top:10px" href="https://wpshopmart.com/plugins/accordion-pro/" target="_balnk">Available In Premium Version</a>
449
  </td>
450
  </tr>
451
  <tr>
@@ -453,38 +455,38 @@
453
  <?php $content_animation = "0" ?>
454
  <td><select name="content_animation" id="content_animation" class="standard-dropdown" style="width:100%" >
455
 
456
- <option value="0" <?php if($content_animation == '0' ) { echo "selected"; } ?> >Content Animation</option>
457
- <option disabled value="fadeIn" <?php if($content_animation == 'fadeIn' ) { echo "selected"; } ?> >fadeIn</option>
458
- <option disabled value="fadeInLeft" <?php if($content_animation == 'fadeInLeft' ) { echo "selected"; } ?> >fadeInLeft</option>
459
- <option disabled value="fadeInRight" <?php if($content_animation == 'fadeInRight' ) { echo "selected"; } ?> >fadeInRight</option>
460
- <option disabled value="fadeInUp" <?php if($content_animation == 'fadeInUp' ) { echo "selected"; } ?> >fadeInUp</option>
461
- <option disabled value="fadeInDown" <?php if($content_animation == 'fadeInDown' ) { echo "selected"; } ?> >fadeInDown</option>
462
- <option disabled value="flip" <?php if($content_animation == 'flip' ) { echo "selected"; } ?> >flip</option>
463
- <option disabled value="flipX" <?php if($content_animation == 'flipX' ) { echo "selected"; } ?> >flipX</option>
464
- <option disabled value="flipY" <?php if($content_animation == 'flipY' ) { echo "selected"; } ?> >flipY</option>
465
- <option disabled value="zoomIn" <?php if($content_animation == 'zoomIn' ) { echo "selected"; } ?> >ZoomIn</option>
466
- <option disabled value="zoomInLeft" <?php if($content_animation == 'zoomInLeft' ) { echo "selected"; } ?> >ZoomInLeft</option>
467
- <option disabled value="zoomInRight" <?php if($content_animation == 'zoomInRight' ) { echo "selected"; } ?> >ZoomInRight</option>
468
- <option disabled value="zoomInUp" <?php if($content_animation == 'zoomInUp' ) { echo "selected"; } ?> >ZoomInUp</option>
469
- <option disabled value="zoomInDown" <?php if($content_animation == 'zoomInDown' ) { echo "selected"; } ?> >ZoomInDown</option>
470
- <option disabled value="bounce" <?php if($content_animation == 'bounce' ) { echo "selected"; } ?> >bounce</option>
471
- <option disabled value="bounceIn" <?php if($content_animation == 'bounceIn' ) { echo "selected"; } ?> >bounceIn</option>
472
- <option disabled value="bounceInLeft" <?php if($content_animation == 'bounceInLeft' ) { echo "selected"; } ?> >bounceInLeft</option>
473
- <option disabled value="bounceInRight" <?php if($content_animation == 'bounceInRight' ) { echo "selected"; } ?> >bounceInRight</option>
474
- <option disabled value="bounceInUp" <?php if($content_animation == 'bounceInUp' ) { echo "selected"; } ?> >bounceInUp</option>
475
- <option disabled value="bounceInDown" <?php if($content_animation == 'bounceInDown' ) { echo "selected"; } ?> >bounceInDown</option>
476
- <option disabled value="flash" <?php if($content_animation == 'flash' ) { echo "selected"; } ?> >flash</option>
477
- <option disabled value="pulse" <?php if($content_animation == 'pulse' ) { echo "selected"; } ?> >pulse</option>
478
- <option disabled value="rubberBand" <?php if($content_animation == 'rubberBand' ) { echo "selected"; } ?> >rubberBand</option>
479
- <option disabled value="shake" <?php if($content_animation == 'shake' ) { echo "selected"; } ?> >shake</option>
480
- <option disabled value="swing" <?php if($content_animation == 'swing' ) { echo "selected"; } ?> >swing</option>
481
- <option disabled value="tada" <?php if($content_animation == 'tada' ) { echo "selected"; } ?> >tada</option>
482
- <option disabled value="wobble" <?php if($content_animation == 'wobble' ) { echo "selected"; } ?> >wobble</option>
483
- <option disabled value="lightSpeedIn" <?php if($content_animation == 'lightSpeedIn' ) { echo "selected"; } ?> >lightSpeedIn</option>
484
- <option disabled value="rollIn" <?php if($content_animation == 'rollIn' ) { echo "selected"; } ?> >rollIn</option>
485
 
486
  </select>
487
- <div style="margin-top:10px;display:block;overflow:hidden;width:100%;"> <a style="margin-top:10px" href="https://wpshopmart.com/plugins/accordion-pro/" target="_balnk">Available In Premium Version</a> </div>
488
 
489
  </td>
490
  </tr>
1
  <?php
2
+ $wpsm_nonce = wp_create_nonce( 'wpsm_accordion_nonce_save_settings_values' );
3
  $PostId = $post->ID;
4
  $Accordion_Settings = unserialize(get_post_meta( $PostId, 'Accordion_Settings', true));
5
 
12
  "enable_toggle" => "no",
13
  "enable_ac_border" => "yes",
14
  "acc_op_cl_align" => "right",
15
+ "acc_title_bg_clr" => "#e8e8e8",
16
+ "acc_title_icon_clr" => "#000000",
17
+ "acc_desc_bg_clr" => "#ffffff",
18
  "acc_desc_font_clr" => "#000000",
19
  "title_size" => "18",
20
  "des_size" => "16",
45
  }
46
  });
47
 
48
+ jQuery( "#title_size_id" ).slider("value",<?php echo esc_html($title_size); ?> );
49
  jQuery( "#title_size" ).val( jQuery( "#title_size_id" ).slider( "value") );
50
 
51
  });
64
  }
65
  });
66
 
67
+ jQuery( "#des_size_id" ).slider("value",<?php echo esc_html($des_size); ?>);
68
  jQuery( "#des_size" ).val( jQuery( "#des_size_id" ).slider( "value") );
69
 
70
  });
71
  </script>
72
+ <input type="hidden" name="wpsm_accordion_security" value="<?php echo esc_attr( $wpsm_nonce ); ?>">
73
  <input type="hidden" id="accordion_setting_save_action" name="accordion_setting_save_action" value="accordion_setting_save_action">
74
 
75
  <table class="form-table acc_table">
86
  <span class="switch-selection"></span>
87
  </div>
88
  <!-- Tooltip -->
89
+ <a class="ac_tooltip" href="#help" data-tooltip="#acc_sec_title_tp"><?php esc_html_e('help',wpshopmart_accordion_text_domain); ?></a>
90
  <div id="acc_sec_title_tp" style="display:none;">
91
  <div style="color:#fff !important;padding:10px;">
92
  <h2 style="color:#fff !important;"><?php _e('Display Accordion Section Title ',wpshopmart_accordion_text_domain); ?></h2>
93
+ <img src="<?php echo esc_url(wpshopmart_accordion_directory_url.'tooltip/img/sec-title.png'); ?>">
94
  </div>
95
  </div>
96
  </td>
106
  <span class="switch-selection"></span>
107
  </div>
108
  <!-- Tooltip -->
109
+ <a class="ac_tooltip" href="#help" data-tooltip="#acc_op_cl_align_tp"><?php esc_html_e('help',wpshopmart_accordion_text_domain); ?></a>
110
  <div id="acc_op_cl_align_tp" style="display:none;">
111
  <div style="color:#fff !important;padding:10px;">
112
  <h2 style="color:#fff !important;"><?php _e('Accordion Open/Close Icon Alignment',wpshopmart_accordion_text_domain); ?></h2>
113
 
114
+ <img src="<?php echo esc_url(wpshopmart_accordion_directory_url.'tooltip/img/op-cl-icon.png') ?>">
115
  <br>
116
+ <img src="<?php echo esc_url(wpshopmart_accordion_directory_url.'tooltip/img/right-align.png'); ?>">
117
  </div>
118
  </div>
119
  </td>
130
  <span class="switch-selection"></span>
131
  </div>
132
  <!-- Tooltip -->
133
+ <a class="ac_tooltip" href="#help" data-tooltip="#op_cl_icon_tp"><?php esc_html_e('help',wpshopmart_accordion_text_domain); ?></a>
134
  <div id="op_cl_icon_tp" style="display:none;">
135
  <div style="color:#fff !important;padding:10px;">
136
  <h2 style="color:#fff !important;"><?php _e('Display Open Close Icon ',wpshopmart_accordion_text_domain); ?></h2>
137
+ <img src="<?php echo esc_url(wpshopmart_accordion_directory_url.'tooltip/img/op-cl-icon.png'); ?>">
138
  </div>
139
  </div>
140
  </td>
151
  <span class="switch-selection"></span>
152
  </div>
153
  <!-- Tooltip -->
154
+ <a class="ac_tooltip" href="#help" data-tooltip="#acc_title_icon_tp"><?php esc_html_e('help',wpshopmart_accordion_text_domain); ?></a>
155
  <div id="acc_title_icon_tp" style="display:none;">
156
  <div style="color:#fff !important;padding:10px;">
157
  <h2 style="color:#fff !important;"><?php _e('Display Accordion Title Font Icon ',wpshopmart_accordion_text_domain); ?></h2>
158
+ <img src="<?php echo esc_url(wpshopmart_accordion_directory_url.'tooltip/img/title-icon.png'); ?>">
159
  </div>
160
  </div>
161
  </td>
172
  <span class="switch-selection"></span>
173
  </div>
174
  <!-- Tooltip -->
175
+ <a class="ac_tooltip" href="#help" data-tooltip="#acc_radius_tp"><?php esc_html_e('help',wpshopmart_accordion_text_domain);?></a>
176
  <div id="acc_radius_tp" style="display:none;">
177
  <div style="color:#fff !important;padding:10px;">
178
  <h2 style="color:#fff !important;"><?php _e('Enable Accordion Radius ',wpshopmart_accordion_text_domain); ?></h2>
179
+ <img src="<?php echo esc_url(wpshopmart_accordion_directory_url.'tooltip/img/radius.png'); ?>">
180
  </div>
181
  </div>
182
  </td>
193
  <span class="switch-selection"></span>
194
  </div>
195
  <!-- Tooltip -->
196
+ <a class="ac_tooltip" href="#help" data-tooltip="#acc_margin_tp"><?php esc_html_e('help',wpshopmart_accordion_text_domain); ?></a>
197
  <div id="acc_margin_tp" style="display:none;">
198
  <div style="color:#fff !important;padding:10px;">
199
  <h2 style="color:#fff !important;"><?php _e('Enable Accordion Margin/Space',wpshopmart_accordion_text_domain); ?></h2>
200
+ <img src="<?php echo esc_url(wpshopmart_accordion_directory_url.'tooltip/img/margin.png'); ?>">
201
  </div>
202
  </div>
203
  </td>
214
  <span class="switch-selection"></span>
215
  </div>
216
  <!-- Tooltip -->
217
+ <a class="ac_tooltip" href="#help" data-tooltip="#enable_toggle_tp"><?php esc_html_e('help',wpshopmart_accordion_text_domain); ?></a>
218
  <div id="enable_toggle_tp" style="display:none;">
219
  <div style="color:#fff !important;padding:10px;">
220
  <h2 style="color:#fff !important;"><?php _e('Enable Toggle/Collapse ',wpshopmart_accordion_text_domain); ?></strong> very html</h2>
221
+ <img src="<?php echo esc_url(wpshopmart_accordion_directory_url.'tooltip/img/collapase.png'); ?>">
222
  </div>
223
  </div>
224
  </td>
234
  <span class="switch-selection"></span>
235
  </div>
236
  <!-- Tooltip -->
237
+ <a class="ac_tooltip" href="#enable_ac_border_tp" data-tooltip="#enable_ac_border_tp"><?php esc_html_e('help',wpshopmart_accordion_text_domain); ?></a>
238
  <div id="enable_ac_border_tp" style="display:none;">
239
  <div style="color:#fff !important;padding:10px;">
240
  <h2 style="color:#fff !important;"><?php _e('Display Accordion Border',wpshopmart_accordion_text_domain); ?></h2>
241
+ <img src="<?php echo esc_url(wpshopmart_accordion_directory_url.'tooltip/img/border.png'); ?>">
242
  </div>
243
  </div>
244
  </td>
251
  <span style="display:block;margin-bottom:10px"><input type="radio" name="expand_option" id="expand_option2" value="2" <?php if($expand_option == '2' ) { echo "checked"; } ?> /> Open All Accordion </span>
252
  <span style="display:block"><input type="radio" name="expand_option" id="expand_option2" value="3" <?php if($expand_option == '3' ) { echo "checked"; } ?> /> Hide/close All Accordion </span>
253
  <!-- Tooltip -->
254
+ <a class="ac_tooltip" href="#help" data-tooltip="#expand_option_tp"><?php esc_html_e('help',wpshopmart_accordion_text_domain); ?></a>
255
  <div id="expand_option_tp" style="display:none;">
256
  <div style="color:#fff !important;padding:10px;">
257
  <h2 style="color:#fff !important;"><?php _e('Expand/Collapse Accordion Option On Page Load',wpshopmart_accordion_text_domain); ?></h2>
258
+ <img src="<?php echo esc_url(wpshopmart_accordion_directory_url.'tooltip/img/collapase.png'); ?>">
259
  <br>
260
+ <img src="<?php echo esc_url(wpshopmart_accordion_directory_url.'tooltip/img/all-close.png'); ?>">
261
  </div>
262
  </div>
263
 
271
  <span style="display:block;margin-bottom:10px"><input type="radio" name="ac_styles" id="ac_styles2" value="2" <?php if($ac_styles == '2' ) { echo "checked"; } ?> /> Soft </span>
272
  <span style="display:block"><input type="radio" name="ac_styles" id="ac_styles3" value="3" <?php if($ac_styles == '3' ) { echo "checked"; } ?> /> Noise </span>
273
  <!-- Tooltip -->
274
+ <a class="ac_tooltip" href="#help" data-tooltip="#ac_styles_tp"><?php esc_html_e('help',wpshopmart_accordion_text_domain); ?></a>
275
  <div id="ac_styles_tp" style="display:none;">
276
  <div style="color:#fff !important;padding:10px;">
277
  <h2 style="color:#fff !important;"><?php _e('Accordion Styles',wpshopmart_accordion_text_domain); ?></h2>
278
+ <img src="<?php echo esc_url(wpshopmart_accordion_directory_url.'tooltip/img/ac-style.png'); ?>">
279
  <br>
280
+ <img src="<?php echo esc_url(wpshopmart_accordion_directory_url.'tooltip/img/ac-style2.png'); ?>">
281
  </div>
282
  </div>
283
+ <div style="margin-top:10px;display:block;overflow:hidden;width:100%;"> <a style="margin-top:10px" href="https://wpshopmart.com/plugins/accordion-pro/" target="_balnk"><?php esc_html_e('Unlock 2 More Overlays Styles In Premium Version',wpshopmart_accordion_text_domain); ?></a> </div>
284
 
285
  </td>
286
  </tr>
288
  <tr >
289
  <th scope="row"><label><?php _e('Accordion Title Background Colour',wpshopmart_accordion_text_domain); ?></label></th>
290
  <td>
291
+ <input id="acc_title_bg_clr" name="acc_title_bg_clr" type="text" value="<?php echo esc_attr($acc_title_bg_clr); ?>" class="my-color-field" data-default-color="#e8e8e8" />
292
  <!-- Tooltip -->
293
+ <a class="ac_tooltip" href="#help" data-tooltip="#acc_title_bg_clr_tp"><?php esc_html_e('help',wpshopmart_accordion_text_domain); ?></a>
294
  <div id="acc_title_bg_clr_tp" style="display:none;">
295
  <div style="color:#fff !important;padding:10px;">
296
  <h2 style="color:#fff !important;"><?php _e('Accordion Title Background Colour',wpshopmart_accordion_text_domain); ?></h2>
297
+ <img src="<?php echo esc_url(wpshopmart_accordion_directory_url.'tooltip/img/title-bg-color.png'); ?>">
298
  </div>
299
  </div>
300
  </td>
303
  <tr >
304
  <th scope="row"><label><?php _e('Accordion Title/Icon Font Colour',wpshopmart_accordion_text_domain); ?></label></th>
305
  <td>
306
+ <input id="acc_title_icon_clr" name="acc_title_icon_clr" type="text" value="<?php echo esc_attr($acc_title_icon_clr); ?>" class="my-color-field" data-default-color="#ffffff" />
307
  <!-- Tooltip -->
308
+ <a class="ac_tooltip" href="#help" data-tooltip="#acc_title_icon_clr_tp"><?php esc_html_e('help',wpshopmart_accordion_text_domain); ?></a>
309
  <div id="acc_title_icon_clr_tp" style="display:none;">
310
  <div style="color:#fff !important;padding:10px;">
311
  <h2 style="color:#fff !important;"><?php _e('Accordion Title/Icon Font Colour',wpshopmart_accordion_text_domain); ?></h2>
312
+ <img src="<?php echo esc_url(wpshopmart_accordion_directory_url.'tooltip/img/title-ft-color.png'); ?>">
313
  </div>
314
  </div>
315
  </td>
320
  <tr >
321
  <th scope="row"><label><?php _e('Accordion Description Background Colour',wpshopmart_accordion_text_domain); ?></label></th>
322
  <td>
323
+ <input id="acc_desc_bg_clr" name="acc_desc_bg_clr" type="text" value="<?php echo esc_attr($acc_desc_bg_clr); ?>" class="my-color-field" data-default-color="#ffffff" />
324
  <!-- Tooltip -->
325
+ <a class="ac_tooltip" href="#help" data-tooltip="#acc_desc_bg_clr_tp"><?php esc_html_e('help',wpshopmart_accordion_text_domain); ?></a>
326
  <div id="acc_desc_bg_clr_tp" style="display:none;">
327
  <div style="color:#fff !important;padding:10px;">
328
  <h2 style="color:#fff !important;"><?php _e('Accordion Description Background Colour',wpshopmart_accordion_text_domain); ?></h2>
329
+ <img src="<?php echo esc_url(wpshopmart_accordion_directory_url.'tooltip/img/description.png'); ?>">
330
  </div>
331
  </div>
332
  </td>
335
  <tr >
336
  <th scope="row"><label><?php _e('Accordion Description Font Colour',wpshopmart_accordion_text_domain); ?></label></th>
337
  <td>
338
+ <input id="acc_desc_font_clr" name="acc_desc_font_clr" type="text" value="<?php echo esc_attr($acc_desc_font_clr); ?>" class="my-color-field" data-default-color="#000000" />
339
  <!-- Tooltip -->
340
+ <a class="ac_tooltip" href="#acc_desc_font_clr_tp" data-tooltip="#acc_desc_font_clr_tp"><?php esc_html_e('help',wpshopmart_accordion_text_domain); ?></a>
341
  <div id="acc_desc_font_clr_tp" style="display:none;">
342
  <div style="color:#fff !important;padding:10px;">
343
  <h2 style="color:#fff !important;"><?php _e('Accordion Description Font Colour',wpshopmart_accordion_text_domain); ?></h2>
344
+ <img src="<?php echo esc_url(wpshopmart_accordion_directory_url.'tooltip/img/description.png'); ?>">
345
  </div>
346
  </div>
347
  </td>
352
  <div id="title_size_id" class="size-slider" ></div>
353
  <input type="text" class="slider-text" id="title_size" name="title_size" readonly="readonly">
354
  <!-- Tooltip -->
355
+ <a class="ac_tooltip" href="#help" data-tooltip="#title_size_tp"><?php esc_html_e('help',wpshopmart_accordion_text_domain); ?></a>
356
  <div id="title_size_tp" style="display:none;">
357
  <div style="color:#fff !important;padding:10px;max-width: 300px;">
358
+ <h2 style="color:#fff !important;"><?php esc_html_e('You can update Title and Icon Font Size from here. Just Scroll it to change size.',wpshopmart_accordion_text_domain); ?></h2>
359
 
360
  </div>
361
  </div>
368
  <div id="des_size_id" class="size-slider" ></div>
369
  <input type="text" class="slider-text" id="des_size" name="des_size" readonly="readonly">
370
  <!-- Tooltip -->
371
+ <a class="ac_tooltip" href="#help" data-tooltip="#des_size_tp"><?php esc_html_e('help',wpshopmart_accordion_text_domain); ?></a>
372
  <div id="des_size_tp" style="display:none;">
373
  <div style="color:#fff !important;padding:10px;max-width: 300px;">
374
+ <h2 style="color:#fff !important;"><?php esc_html_e('You can update Description Font Size from here. Just Scroll it to change size.',wpshopmart_accordion_text_domain); ?></h2>
375
 
376
  </div>
377
  </div>
383
  <?php if(!isset($font_family)) $font_family = "Open Sans";?>
384
  <select name="font_family" id="font_family" class="standard-dropdown" style="width:100%" >
385
  <optgroup label="Default Fonts">
386
+ <option value="Arial" <?php if($font_family == 'Arial' ) { echo "selected"; } ?>><?php esc_html_e('Arial',wpshopmart_accordion_text_domain); ?></option>
387
+ <option value="Arial Black" <?php if($font_family == 'Arial Black' ) { echo "selected"; } ?>><?php esc_html_e('Arial Black',wpshopmart_accordion_text_domain); ?></option>
388
+ <option value="Courier New" <?php if($font_family == 'Courier New' ) { echo "selected"; } ?>><?php esc_html_e('Courier New',wpshopmart_accordion_text_domain); ?></option>
389
+ <option value="Georgia" <?php if($font_family == 'Georgia' ) { echo "selected"; } ?>><?php esc_html_e('Georgia',wpshopmart_accordion_text_domain); ?></option>
390
+ <option value="Grande" <?php if($font_family == 'Grande' ) { echo "selected"; } ?>><?php esc_html_e('Grande',wpshopmart_accordion_text_domain); ?></option>
391
+ <option value="Helvetica" <?php if($font_family == 'Helvetica' ) { echo "selected"; } ?>><?php esc_html_e('Helvetica Neue',wpshopmart_accordion_text_domain); ?></option>
392
+ <option value="Impact" <?php if($font_family == 'Impact' ) { echo "selected"; } ?>><?php esc_html_e('Impact',wpshopmart_accordion_text_domain); ?></option>
393
+ <option value="Lucida" <?php if($font_family == 'Lucida' ) { echo "selected"; } ?>><?php esc_html_e('Lucida',wpshopmart_accordion_text_domain); ?></option>
394
+ <option value="Lucida Grande" <?php if($font_family == 'Lucida Grande' ) { echo "selected"; } ?>><?php esc_html_e('Lucida Grande',wpshopmart_accordion_text_domain); ?></option>
395
+ <option value="Open Sans" <?php if($font_family == 'Open Sans' ) { echo "selected"; } ?>><?php esc_html_e('Open Sans',wpshopmart_accordion_text_domain); ?></option>
396
+ <option value="OpenSansBold" <?php if($font_family == 'OpenSansBold' ) { echo "selected"; } ?>><?php esc_html_e('OpenSansBold',wpshopmart_accordion_text_domain); ?></option>
397
+ <option value="Palatino Linotype" <?php if($font_family == 'Palatino Linotype' ) { echo "selected"; } ?>><?php esc_html_e('Palatino',wpshopmart_accordion_text_domain); ?></option>
398
+ <option value="Sans" <?php if($font_family == 'Sans' ) { echo "selected"; } ?>><?php esc_html_e('Sans',wpshopmart_accordion_text_domain); ?></option>
399
+ <option value="sans-serif" <?php if($font_family == 'sans-serif' ) { echo "selected"; } ?>><?php esc_html_e('Sans-Serif',wpshopmart_accordion_text_domain); ?></option>
400
+ <option value="Tahoma" <?php if($font_family == 'Tahoma' ) { echo "selected"; } ?>><?php esc_html_e('Tahoma',wpshopmart_accordion_text_domain); ?></option>
401
+ <option value="Times New Roman" <?php if($font_family == 'Times New Roman' ) { echo "selected"; } ?>><?php esc_html_e('Times New Roman',wpshopmart_accordion_text_domain); ?></option>
402
+ <option value="Trebuchet" <?php if($font_family == 'Trebuchet' ) { echo "selected"; } ?>><?php esc_html_e('Trebuchet',wpshopmart_accordion_text_domain); ?></option>
403
+ <option value="Verdana" <?php if($font_family == 'Verdana' ) { echo "selected"; } ?>><?php esc_html_e('Verdana',wpshopmart_accordion_text_domain); ?></option>
404
  </optgroup>
405
  </select>
406
 
408
  <a class="ac_tooltip" href="#help" data-tooltip="#font_family_tp">help</a>
409
  <div id="font_family_tp" style="display:none;">
410
  <div style="color:#fff !important;padding:10px;max-width: 300px;">
411
+ <h2 style="color:#fff !important;"><?php esc_html_e('You can update Title and Description Font Family/Style from here. Select any one form these options.',wpshopmart_accordion_text_domain); ?></h2>
412
 
413
  </div>
414
  </div>
415
+ <div style="margin-top:10px;display:block;overflow:hidden;width:100%;"> <a style="margin-top:10px" href="https://wpshopmart.com/plugins/accordion-pro/" target="_balnk"><?php esc_html_e('Get 500+ Google Fonts In Premium Version',wpshopmart_accordion_text_domain); ?></a> </div>
416
 
417
  </td>
418
  </tr>
427
  <label for="disable_acc_scroll" class="switch-label switch-label-on"><?php _e('No',wpshopmart_accordion_text_domain); ?></label>
428
  <span class="switch-selection"></span>
429
  </div>
430
+ <a style="margin-top:10px" href="https://wpshopmart.com/plugins/accordion-pro/" target="_balnk"><?php esc_html_e('Available In Premium Version',wpshopmart_accordion_text_domain); ?></a>
431
  </td>
432
  </tr>
433
  <tr>
440
  <label for="disable_acc_hover" class="switch-label switch-label-on"><?php _e('No',wpshopmart_accordion_text_domain); ?></label>
441
  <span class="switch-selection"></span>
442
  </div>
443
+ <a style="margin-top:10px" href="https://wpshopmart.com/plugins/accordion-pro/" target="_balnk"><?php esc_html_e('Available In Premium Version',wpshopmart_accordion_text_domain); ?></a>
444
  </td>
445
  </tr>
446
  <tr>
447
  <th scope="row"><label><?php _e('Open Close Icon',wpshopmart_accordion_text_domain); ?></label></th>
448
  <td>
449
+ <img class="wpsm_img_responsive" src="<?php echo esc_url(wpshopmart_accordion_directory_url.'img/snap-1.png'); ?>" />
450
+ <a style="margin-top:10px" href="https://wpshopmart.com/plugins/accordion-pro/" target="_balnk"><?php esc_html_e('Available In Premium Version',wpshopmart_accordion_text_domain); ?></a>
451
  </td>
452
  </tr>
453
  <tr>
455
  <?php $content_animation = "0" ?>
456
  <td><select name="content_animation" id="content_animation" class="standard-dropdown" style="width:100%" >
457
 
458
+ <option value="0" <?php if($content_animation == '0' ) { echo "selected"; } ?> ><?php esc_html_e('Content Animation',wpshopmart_accordion_text_domain); ?></option>
459
+ <option disabled value="fadeIn" <?php if($content_animation == 'fadeIn' ) { echo "selected"; } ?> ><?php esc_html_e('fadeIn',wpshopmart_accordion_text_domain); ?></option>
460
+ <option disabled value="fadeInLeft" <?php if($content_animation == 'fadeInLeft' ) { echo "selected"; } ?> ><?php esc_html_e('fadeInLeft',wpshopmart_accordion_text_domain); ?></option>
461
+ <option disabled value="fadeInRight" <?php if($content_animation == 'fadeInRight' ) { echo "selected"; } ?> ><?php esc_html_e('fadeInRight',wpshopmart_accordion_text_domain); ?></option>
462
+ <option disabled value="fadeInUp" <?php if($content_animation == 'fadeInUp' ) { echo "selected"; } ?> ><?php esc_html_e('fadeInUp',wpshopmart_accordion_text_domain); ?></option>
463
+ <option disabled value="fadeInDown" <?php if($content_animation == 'fadeInDown' ) { echo "selected"; } ?> ><?php esc_html_e('fadeInDown',wpshopmart_accordion_text_domain); ?></option>
464
+ <option disabled value="flip" <?php if($content_animation == 'flip' ) { echo "selected"; } ?> ><?php esc_html_e('flip',wpshopmart_accordion_text_domain); ?></option>
465
+ <option disabled value="flipX" <?php if($content_animation == 'flipX' ) { echo "selected"; } ?> ><?php esc_html_e('flipX',wpshopmart_accordion_text_domain); ?></option>
466
+ <option disabled value="flipY" <?php if($content_animation == 'flipY' ) { echo "selected"; } ?> ><?php esc_html_e('flipY',wpshopmart_accordion_text_domain); ?></option>
467
+ <option disabled value="zoomIn" <?php if($content_animation == 'zoomIn' ) { echo "selected"; } ?> ><?php esc_html_e('ZoomIn',wpshopmart_accordion_text_domain); ?></option>
468
+ <option disabled value="zoomInLeft" <?php if($content_animation == 'zoomInLeft' ) { echo "selected"; } ?> ><?php esc_html_e('ZoomInLeft',wpshopmart_accordion_text_domain); ?></option>
469
+ <option disabled value="zoomInRight" <?php if($content_animation == 'zoomInRight' ) { echo "selected"; } ?> ><?php esc_html_e('ZoomInRight',wpshopmart_accordion_text_domain); ?></option>
470
+ <option disabled value="zoomInUp" <?php if($content_animation == 'zoomInUp' ) { echo "selected"; } ?> ><?php esc_html_e('ZoomInUp',wpshopmart_accordion_text_domain); ?></option>
471
+ <option disabled value="zoomInDown" <?php if($content_animation == 'zoomInDown' ) { echo "selected"; } ?> ><?php esc_html_e('ZoomInDown',wpshopmart_accordion_text_domain); ?></option>
472
+ <option disabled value="bounce" <?php if($content_animation == 'bounce' ) { echo "selected"; } ?> ><?php esc_html_e('bounce',wpshopmart_accordion_text_domain); ?></option>
473
+ <option disabled value="bounceIn" <?php if($content_animation == 'bounceIn' ) { echo "selected"; } ?> ><?php esc_html_e('bounceIn',wpshopmart_accordion_text_domain); ?></option>
474
+ <option disabled value="bounceInLeft" <?php if($content_animation == 'bounceInLeft' ) { echo "selected"; } ?> ><?php esc_html_e('bounceInLeft',wpshopmart_accordion_text_domain); ?></option>
475
+ <option disabled value="bounceInRight" <?php if($content_animation == 'bounceInRight' ) { echo "selected"; } ?> ><?php esc_html_e('bounceInRight',wpshopmart_accordion_text_domain); ?></option>
476
+ <option disabled value="bounceInUp" <?php if($content_animation == 'bounceInUp' ) { echo "selected"; } ?> ><?php esc_html_e('bounceInUp',wpshopmart_accordion_text_domain); ?></option>
477
+ <option disabled value="bounceInDown" <?php if($content_animation == 'bounceInDown' ) { echo "selected"; } ?> ><?php esc_html_e('bounceInDown',wpshopmart_accordion_text_domain); ?></option>
478
+ <option disabled value="flash" <?php if($content_animation == 'flash' ) { echo "selected"; } ?> ><?php esc_html_e('flash',wpshopmart_accordion_text_domain); ?></option>
479
+ <option disabled value="pulse" <?php if($content_animation == 'pulse' ) { echo "selected"; } ?> ><?php esc_html_e('pulse',wpshopmart_accordion_text_domain); ?></option>
480
+ <option disabled value="rubberBand" <?php if($content_animation == 'rubberBand' ) { echo "selected"; } ?> ><?php esc_html_e('rubberBand',wpshopmart_accordion_text_domain); ?></option>
481
+ <option disabled value="shake" <?php if($content_animation == 'shake' ) { echo "selected"; } ?> ><?php esc_html_e('shake',wpshopmart_accordion_text_domain); ?></option>
482
+ <option disabled value="swing" <?php if($content_animation == 'swing' ) { echo "selected"; } ?> ><?php esc_html_e('swing',wpshopmart_accordion_text_domain); ?></option>
483
+ <option disabled value="tada" <?php if($content_animation == 'tada' ) { echo "selected"; } ?> ><?php esc_html_e('tada',wpshopmart_accordion_text_domain); ?></option>
484
+ <option disabled value="wobble" <?php if($content_animation == 'wobble' ) { echo "selected"; } ?> ><?php esc_html_e('wobble',wpshopmart_accordion_text_domain); ?></option>
485
+ <option disabled value="lightSpeedIn" <?php if($content_animation == 'lightSpeedIn' ) { echo "selected"; } ?> ><?php esc_html_e('lightSpeedIn',wpshopmart_accordion_text_domain); ?></option>
486
+ <option disabled value="rollIn" <?php if($content_animation == 'rollIn' ) { echo "selected"; } ?> ><?php esc_html_e('rollIn',wpshopmart_accordion_text_domain); ?></option>
487
 
488
  </select>
489
+ <div style="margin-top:10px;display:block;overflow:hidden;width:100%;"> <a style="margin-top:10px" href="https://wpshopmart.com/plugins/accordion-pro/" target="_balnk"><?php esc_html_e('Available In Premium Version',wpshopmart_accordion_text_domain); ?></a> </div>
490
 
491
  </td>
492
  </tr>
lib/help.php CHANGED
@@ -1,6 +1,6 @@
1
  <style>
2
  .wpsm_ac_h_i{
3
- background:url('<?php echo wpshopmart_accordion_directory_url.'img/slideshow-01.jpg'; ?>') 50% 0 repeat fixed;
4
  margin-left: -20px;
5
  font-family: Myriad Pro ;
6
  cursor: pointer;
@@ -172,10 +172,10 @@
172
  }
173
 
174
  echo '<div class="star-rating" title="' . esc_attr( $title ) . '">';
175
- echo '<span class="screen-reader-text">' . $title . '</span>';
176
- echo str_repeat( '<div class="star star-full"></div>', $full_stars );
177
- echo str_repeat( '<div class="star star-half"></div>', $half_stars );
178
- echo str_repeat( '<div class="star star-empty"></div>', $empty_stars);
179
  echo '</div>';
180
  }
181
  }
@@ -268,20 +268,20 @@
268
  <div class="plugin-div-top plugin-div-settings-top">
269
  <div class="plugin-div-inner-content">
270
  <a href="<?php echo esc_url( $details_link ); ?>" class="thickbox plugin-icon plugin-icon-custom">
271
- <img class="custom_icon" src="<?php echo esc_attr( $plugin_icon_url ) ?>" />
272
  </a>
273
  <div class="name column-name">
274
  <h4>
275
- <a href="<?php echo esc_url( $details_link ); ?>" class="thickbox"><?php echo $title; ?></a>
276
  </h4>
277
  </div>
278
  <div class="desc column-description">
279
  <p>
280
- <?php echo $description; ?>
281
  </p>
282
  <p class="authors">
283
  <cite>
284
- By <?php echo $author;?>
285
  </cite>
286
  </p>
287
  </div>
@@ -292,7 +292,7 @@
292
  <?php
293
  if ($action_links)
294
  {
295
- echo implode("</li><li>", $action_links);
296
  }
297
 
298
  switch($plugin["slug"])
1
  <style>
2
  .wpsm_ac_h_i{
3
+ background:url('<?php echo esc_url(wpshopmart_accordion_directory_url.'img/slideshow-01.jpg'); ?>') 50% 0 repeat fixed;
4
  margin-left: -20px;
5
  font-family: Myriad Pro ;
6
  cursor: pointer;
172
  }
173
 
174
  echo '<div class="star-rating" title="' . esc_attr( $title ) . '">';
175
+ echo '<span class="screen-reader-text">' . esc_html($title) . '</span>';
176
+ echo str_repeat( '<div class="star star-full"></div>', esc_html($full_stars) );
177
+ echo str_repeat( '<div class="star star-half"></div>', esc_html($half_stars) );
178
+ echo str_repeat( '<div class="star star-empty"></div>', esc_html($empty_stars) );
179
  echo '</div>';
180
  }
181
  }
268
  <div class="plugin-div-top plugin-div-settings-top">
269
  <div class="plugin-div-inner-content">
270
  <a href="<?php echo esc_url( $details_link ); ?>" class="thickbox plugin-icon plugin-icon-custom">
271
+ <img class="custom_icon" src="<?php echo esc_url( $plugin_icon_url ) ?>" />
272
  </a>
273
  <div class="name column-name">
274
  <h4>
275
+ <a href="<?php echo esc_url( $details_link ); ?>" class="thickbox"><?php echo esc_html($title); ?></a>
276
  </h4>
277
  </div>
278
  <div class="desc column-description">
279
  <p>
280
+ <?php echo esc_html($description); ?>
281
  </p>
282
  <p class="authors">
283
  <cite>
284
+ <?php esc_html_e('By ',wpshopmart_accordion_text_domain); ?><?php echo wp_kses_data($author);?>
285
  </cite>
286
  </p>
287
  </div>
292
  <?php
293
  if ($action_links)
294
  {
295
+ echo wp_kses_data(implode("</li><li>", $action_links));
296
  }
297
 
298
  switch($plugin["slug"])
lib/installation/installation.php CHANGED
@@ -13,6 +13,7 @@ function wpsm_ac_front_script() {
13
  wp_enqueue_style('wpsm_ac_bootstrap-front', wpshopmart_accordion_directory_url.'css/bootstrap-front.css');
14
 
15
  wp_enqueue_script( 'wpsm_ac_bootstrap-js-front', wpshopmart_accordion_directory_url.'js/bootstrap.js', array(), '', true );
 
16
  wp_enqueue_script( 'call_ac-js-front', wpshopmart_accordion_directory_url.'js/accordion.js', array(), '', true );
17
 
18
  }
@@ -27,7 +28,7 @@ function wpsm_ac_header_info() {
27
  ?>
28
  <style>
29
  .wpsm_ac_h_i{
30
- background:url('<?php echo wpshopmart_accordion_directory_url.'img/slideshow-01.jpg'; ?>') 50% 0 no-repeat fixed;
31
  -webkit-box-shadow: 0px 13px 21px -10px rgba(128,128,128,1);
32
  -moz-box-shadow: 0px 13px 21px -10px rgba(128,128,128,1);
33
  box-shadow: 0px 13px 21px -10px rgba(128,128,128,1);
@@ -98,27 +99,30 @@ function wpsm_ac_header_info() {
98
  }
99
  .pro-div-wrapper{
100
  overflow:hidden;
101
- display:block;
102
  width:100%;
 
 
 
 
103
  }
104
-
105
  </style>
106
  <div class="wpsm_ac_h_i ">
107
  <div class="texture-layer">
108
 
109
- <div class="wpsm_ac_h_b"><a class="btn btn-danger btn-lg " href="https://wpshopmart.com/plugins/accordion-pro/" target="_blank">Try Accordion/FAQ Pro Now</a><a class="btn btn-success btn-lg " href="http://demo.wpshopmart.com/accordion-pro/" target="_blank">View Demo</a></div>
110
  <div style="overflow:hidden;display:block;width:100%;text-align:center">
111
- <h1 style="color:#fff;font-size:30px;text-transform:uppercase">Unlock More Features In Pro version</h1>
112
  </div>
113
- <div class="pro-div-wrapper">
114
  <div class="col-md-3">
115
  <a href="https://wpshopmart.com/plugins/accordion-pro/" target="_blank">
116
  <ul>
117
- <li> <i class="fa fa-check"></i>18+ Design Templates </li>
118
- <li> <i class="fa fa-check"></i>30 Content Animations </li>
119
- <li> <i class="fa fa-check"></i>Individual Color FAQ</li>
120
- <li> <i class="fa fa-check"></i>Add Custom Image Icon </li>
121
- <li> <i class="fa fa-check"></i>12 Open/Close Icons Sets </li>
122
 
123
  </ul>
124
  </a>
@@ -126,11 +130,11 @@ function wpsm_ac_header_info() {
126
  <div class="col-md-3">
127
  <a href="https://wpshopmart.com/plugins/accordion-pro/" target="_blank">
128
  <ul>
129
- <li> <i class="fa fa-check"></i>4 Overlay Effect </li>
130
- <li> <i class="fa fa-check"></i>500+ Google Fonts </li>
131
- <li> <i class="fa fa-check"></i>Accordion Scroll Effect </li>
132
- <li> <i class="fa fa-check"></i>Set Accordion Height </li>
133
- <li> <i class="fa fa-check"></i>On Hover Accordion </li>
134
 
135
  </ul>
136
  </a>
@@ -138,22 +142,22 @@ function wpsm_ac_header_info() {
138
  <div class="col-md-3">
139
  <a href="https://wpshopmart.com/plugins/accordion-pro/" target="_blank">
140
  <ul>
141
- <li> <i class="fa fa-check"></i>Widget Option </li>
142
- <li> <i class="fa fa-check"></i>Unlimited Shortcode </li>
143
- <li> <i class="fa fa-check"></i>Unlimited Color Scheme </li>
144
- <li> <i class="fa fa-check"></i>Drag And Drop Builder </li>
145
- <li> <i class="fa fa-check"></i>Preview Option </li>
146
  </ul>
147
  </a>
148
  </div>
149
  <div class="col-md-3">
150
  <a href="https://wpshopmart.com/plugins/accordion-pro/" target="_blank">
151
  <ul>
152
- <li> <i class="fa fa-check"></i>Border Customization </li>
153
- <li> <i class="fa fa-check"></i>Collapse Mode </li>
154
- <li> <i class="fa fa-check"></i>Border Color Customization </li>
155
- <li> <i class="fa fa-check"></i>High Priority Support </li>
156
- <li> <i class="fa fa-check"></i>All Browser Compatible </li>
157
  </ul>
158
  </a>
159
  </div>
@@ -199,12 +203,12 @@ function wpsm_acc_r_review() {
199
  ?>
200
  <div class="notice notice-info is-dismissible wpsm-acc-r-review-notice">
201
  <div style="float:left;margin-right:10px;margin-bottom:5px;">
202
- <img style="width:100%;width: 150px;height: auto;" src="<?php echo wpshopmart_accordion_directory_url.'img/icon-show.png'; ?>" />
203
  </div>
204
- <p style="font-size:18px;">'Hi! We saw you have been using <strong>Responsive Accordion And Collapse plugin</strong> for a few days and wanted to ask for your help to <strong>make the plugin better</strong>.We just need a minute of your time to rate the plugin. Thank you!</p>
205
  <p style="font-size:18px;"><strong><?php _e( '~ wpshopmart', '' ); ?></strong></p>
206
  <p style="font-size:19px;">
207
- <a style="color: #fff;background: #ef4238;padding: 5px 7px 4px 6px;border-radius: 4px;" href="https://wordpress.org/support/plugin/responsive-accordion-and-collapse/reviews/?filter=5" class="wpsm-acc-r-dismiss-review-notice wpsm-acc-r-review-out" target="_blank" rel="noopener">Rate the plugin</a>&nbsp; &nbsp;
208
  <a style="color: #fff;background: #27d63c;padding: 5px 7px 4px 6px;border-radius: 4px;" href="#" class="wpsm-acc-r-dismiss-review-notice wpsm-rate-later" target="_self" rel="noopener"><?php _e( 'Nope, maybe later', '' ); ?></a>&nbsp; &nbsp;
209
  <a style="color: #fff;background: #31a3dd;padding: 5px 7px 4px 6px;border-radius: 4px;" href="#" class="wpsm-acc-r-dismiss-review-notice wpsm-rated" target="_self" rel="noopener"><?php _e( 'I already did', '' ); ?></a>
210
 
13
  wp_enqueue_style('wpsm_ac_bootstrap-front', wpshopmart_accordion_directory_url.'css/bootstrap-front.css');
14
 
15
  wp_enqueue_script( 'wpsm_ac_bootstrap-js-front', wpshopmart_accordion_directory_url.'js/bootstrap.js', array(), '', true );
16
+ wp_enqueue_script( 'call_ac-custom-js-front', wpshopmart_accordion_directory_url.'js/accordion-custom.js', array(), '', true );
17
  wp_enqueue_script( 'call_ac-js-front', wpshopmart_accordion_directory_url.'js/accordion.js', array(), '', true );
18
 
19
  }
28
  ?>
29
  <style>
30
  .wpsm_ac_h_i{
31
+ background:url('<?php echo esc_url(wpshopmart_accordion_directory_url.'img/slideshow-01.jpg'); ?>') 50% 0 no-repeat fixed;
32
  -webkit-box-shadow: 0px 13px 21px -10px rgba(128,128,128,1);
33
  -moz-box-shadow: 0px 13px 21px -10px rgba(128,128,128,1);
34
  box-shadow: 0px 13px 21px -10px rgba(128,128,128,1);
99
  }
100
  .pro-div-wrapper{
101
  overflow:hidden;
102
+ /*display:block;*/
103
  width:100%;
104
+ margin-left: 0;
105
+ }
106
+ .wpsm_ac_h_b .btn-danger{
107
+ color: #fff;
108
  }
 
109
  </style>
110
  <div class="wpsm_ac_h_i ">
111
  <div class="texture-layer">
112
 
113
+ <div class="wpsm_ac_h_b"><a class="btn btn-danger btn-lg " href="https://wpshopmart.com/plugins/accordion-pro/" target="_blank"><?php esc_html_e('Try Accordion/FAQ Pro Now',wpshopmart_accordion_text_domain); ?></a><a class="btn btn-success btn-lg " href="http://demo.wpshopmart.com/accordion-pro/" target="_blank"><?php esc_html_e('View Demo',wpshopmart_accordion_text_domain); ?></a></div>
114
  <div style="overflow:hidden;display:block;width:100%;text-align:center">
115
+ <h1 style="color:#fff;font-size:30px;text-transform:uppercase"><?php esc_html_e('Unlock More Features In Pro version',wpshopmart_accordion_text_domain); ?></h1>
116
  </div>
117
+ <div class="row pro-div-wrapper">
118
  <div class="col-md-3">
119
  <a href="https://wpshopmart.com/plugins/accordion-pro/" target="_blank">
120
  <ul>
121
+ <li> <i class="fa fa-check"></i><?php esc_html_e('18+ Design Templates',wpshopmart_accordion_text_domain); ?> </li>
122
+ <li> <i class="fa fa-check"></i><?php esc_html_e('30 Content Animations',wpshopmart_accordion_text_domain); ?> </li>
123
+ <li> <i class="fa fa-check"></i><?php esc_html_e('Individual Color FAQ',wpshopmart_accordion_text_domain); ?> </li>
124
+ <li> <i class="fa fa-check"></i><?php esc_html_e('Add Custom Image Icon',wpshopmart_accordion_text_domain); ?> </li>
125
+ <li> <i class="fa fa-check"></i><?php esc_html_e('12 Open/Close Icons Sets',wpshopmart_accordion_text_domain); ?> </li>
126
 
127
  </ul>
128
  </a>
130
  <div class="col-md-3">
131
  <a href="https://wpshopmart.com/plugins/accordion-pro/" target="_blank">
132
  <ul>
133
+ <li> <i class="fa fa-check"></i><?php esc_html_e('4 Overlay Effect',wpshopmart_accordion_text_domain); ?> </li>
134
+ <li> <i class="fa fa-check"></i><?php esc_html_e('500+ Google Fonts',wpshopmart_accordion_text_domain); ?> </li>
135
+ <li> <i class="fa fa-check"></i><?php esc_html_e('Accordion Scroll Effect',wpshopmart_accordion_text_domain); ?> </li>
136
+ <li> <i class="fa fa-check"></i><?php esc_html_e('Set Accordion Height',wpshopmart_accordion_text_domain); ?> </li>
137
+ <li> <i class="fa fa-check"></i><?php esc_html_e('On Hover Accordion',wpshopmart_accordion_text_domain); ?> </li>
138
 
139
  </ul>
140
  </a>
142
  <div class="col-md-3">
143
  <a href="https://wpshopmart.com/plugins/accordion-pro/" target="_blank">
144
  <ul>
145
+ <li> <i class="fa fa-check"></i><?php esc_html_e('Widget Option',wpshopmart_accordion_text_domain); ?> </li>
146
+ <li> <i class="fa fa-check"></i><?php esc_html_e('Unlimited Shortcode',wpshopmart_accordion_text_domain); ?> </li>
147
+ <li> <i class="fa fa-check"></i><?php esc_html_e('Unlimited Color Scheme',wpshopmart_accordion_text_domain); ?> </li>
148
+ <li> <i class="fa fa-check"></i><?php esc_html_e('Drag And Drop Builder',wpshopmart_accordion_text_domain); ?> </li>
149
+ <li> <i class="fa fa-check"></i><?php esc_html_e('Preview Option',wpshopmart_accordion_text_domain); ?> </li>
150
  </ul>
151
  </a>
152
  </div>
153
  <div class="col-md-3">
154
  <a href="https://wpshopmart.com/plugins/accordion-pro/" target="_blank">
155
  <ul>
156
+ <li> <i class="fa fa-check"></i><?php esc_html_e('Border Customization',wpshopmart_accordion_text_domain); ?> </li>
157
+ <li> <i class="fa fa-check"></i><?php esc_html_e('Collapse Mode',wpshopmart_accordion_text_domain); ?> </li>
158
+ <li> <i class="fa fa-check"></i><?php esc_html_e('Border Color Customization',wpshopmart_accordion_text_domain); ?> </li>
159
+ <li> <i class="fa fa-check"></i><?php esc_html_e('High Priority Support',wpshopmart_accordion_text_domain); ?> </li>
160
+ <li> <i class="fa fa-check"></i><?php esc_html_e('All Browser Compatible',wpshopmart_accordion_text_domain); ?> </li>
161
  </ul>
162
  </a>
163
  </div>
203
  ?>
204
  <div class="notice notice-info is-dismissible wpsm-acc-r-review-notice">
205
  <div style="float:left;margin-right:10px;margin-bottom:5px;">
206
+ <img style="width:100%;width: 150px;height: auto;" src="<?php echo esc_url(wpshopmart_accordion_directory_url.'img/icon-show.png'); ?>" />
207
  </div>
208
+ <p style="font-size:18px;"><?php esc_html_e('Hi! We saw you have been using ',wpshopmart_accordion_text_domain); ?><strong><?php esc_html_e('Responsive Accordion And Collapse plugin',wpshopmart_accordion_text_domain); ?></strong><?php esc_html_e(' for a few days and wanted to ask for your help to ',wpshopmart_accordion_text_domain); ?><strong><?php esc_html_e('make the plugin better',wpshopmart_accordion_text_domain); ?></strong><?php esc_html_e(' .We just need a minute of your time to rate the plugin. Thank you!',wpshopmart_accordion_text_domain); ?></p>
209
  <p style="font-size:18px;"><strong><?php _e( '~ wpshopmart', '' ); ?></strong></p>
210
  <p style="font-size:19px;">
211
+ <a style="color: #fff;background: #ef4238;padding: 5px 7px 4px 6px;border-radius: 4px;" href="https://wordpress.org/support/plugin/responsive-accordion-and-collapse/reviews/?filter=5" class="wpsm-acc-r-dismiss-review-notice wpsm-acc-r-review-out" target="_blank" rel="noopener"><?php esc_html_e('Rate the plugin',wpshopmart_accordion_text_domain); ?></a>&nbsp; &nbsp;
212
  <a style="color: #fff;background: #27d63c;padding: 5px 7px 4px 6px;border-radius: 4px;" href="#" class="wpsm-acc-r-dismiss-review-notice wpsm-rate-later" target="_self" rel="noopener"><?php _e( 'Nope, maybe later', '' ); ?></a>&nbsp; &nbsp;
213
  <a style="color: #fff;background: #31a3dd;padding: 5px 7px 4px 6px;border-radius: 4px;" href="#" class="wpsm-acc-r-dismiss-review-notice wpsm-rated" target="_self" rel="noopener"><?php _e( 'I already did', '' ); ?></a>
214
 
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: wpshopmart
3
  Donate link: https://www.wpshopmart.com
4
  Tags: Accordion, accordions, accordion plugin, FAQ, collapse, accordion plugin jquery, accordions plugin wordpress, accordions shortcode, accordion shortcode, accordions Widget, accordion Widget, jQuery accordions, Responsive accordion, Responsive accordions, collapsable content, collapsible, display, expand, expandable, expandable content, hidden, hide, javascript, jquery, toggle, css accordion, css3 , bootstrap, bootstrap accordion, bootstrap collapse, wordpress accordion, widget, shortcode, responsive, plugin, wordpress accordion plugin
5
  Requires at least: 5.0
6
- Tested up to: 5.8
7
- Stable tag: 2.2.8
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -183,6 +183,10 @@ We love your feedback please submit your review here [pluign review](https://wor
183
 
184
  == Changelog ==
185
 
 
 
 
 
186
  = 2.2.8 =
187
  * scroll issue resolved
188
  * bootstrap 5 version compatible
3
  Donate link: https://www.wpshopmart.com
4
  Tags: Accordion, accordions, accordion plugin, FAQ, collapse, accordion plugin jquery, accordions plugin wordpress, accordions shortcode, accordion shortcode, accordions Widget, accordion Widget, jQuery accordions, Responsive accordion, Responsive accordions, collapsable content, collapsible, display, expand, expandable, expandable content, hidden, hide, javascript, jquery, toggle, css accordion, css3 , bootstrap, bootstrap accordion, bootstrap collapse, wordpress accordion, widget, shortcode, responsive, plugin, wordpress accordion plugin
5
  Requires at least: 5.0
6
+ Tested up to: 5.8.1
7
+ Stable tag: 2.2.9
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
183
 
184
  == Changelog ==
185
 
186
+ = 2.2.9 =
187
+ * Sanitization, Escaping , Nonce issue resolved
188
+ * Bootstrap updated
189
+
190
  = 2.2.8 =
191
  * scroll issue resolved
192
  * bootstrap 5 version compatible
responsive-accordion.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /**
3
  * Plugin Name: Responsive Accordion And Collapse
4
- * Version: 2.2.8
5
  * Description: Responsive Accordion is the most easiest drag & drop accordion builder for WordPress. You can generate multiple accordion and collapse with multiple colour.
6
  * Author: wpshopmart
7
  * Author URI: https://www.wpshopmart.com
1
  <?php
2
  /**
3
  * Plugin Name: Responsive Accordion And Collapse
4
+ * Version: 2.2.9
5
  * Description: Responsive Accordion is the most easiest drag & drop accordion builder for WordPress. You can generate multiple accordion and collapse with multiple colour.
6
  * Author: wpshopmart
7
  * Author URI: https://www.wpshopmart.com