x-editable-rails 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/x-editable-rails/version.rb +1 -1
- data/vendor/assets/javascripts/editable/bootstrap-editable.js +1142 -713
- data/vendor/assets/javascripts/editable/jquery-editable-poshytip.js +353 -182
- data/vendor/assets/javascripts/editable/jqueryui-editable.js +352 -181
- data/vendor/assets/stylesheets/editable/{bootstrap-editable.css → bootstrap-editable.scss} +164 -8
- data/vendor/assets/stylesheets/editable/{jquery-editable.css → jquery-editable.scss} +11 -3
- data/vendor/assets/stylesheets/editable/{jqueryui-editable.css → jqueryui-editable.scss} +11 -3
- metadata +5 -5
@@ -1,4 +1,4 @@
|
|
1
|
-
/*! X-editable - v1.4.
|
1
|
+
/*! X-editable - v1.4.5
|
2
2
|
* In-place editing with Twitter Bootstrap, jQuery UI or pure jQuery
|
3
3
|
* http://github.com/vitalets/x-editable
|
4
4
|
* Copyright (c) 2013 Vitaliy Potapov; Licensed MIT */
|
@@ -49,7 +49,7 @@
|
|
49
49
|
}
|
50
50
|
|
51
51
|
.editableform-loading {
|
52
|
-
background: url('
|
52
|
+
background: image-url('editable/loading.gif') center center no-repeat;
|
53
53
|
height: 25px;
|
54
54
|
width: auto;
|
55
55
|
min-width: 25px;
|
@@ -117,7 +117,7 @@
|
|
117
117
|
|
118
118
|
/* IOS-style clear button for text inputs */
|
119
119
|
.editable-clear-x {
|
120
|
-
background: url('
|
120
|
+
background: image-url('editable/clear.png') center center no-repeat;
|
121
121
|
display: block;
|
122
122
|
width: 13px;
|
123
123
|
height: 13px;
|
@@ -184,6 +184,14 @@ a.editable-click.editable-disabled:hover {
|
|
184
184
|
/* content: '*'*/
|
185
185
|
}
|
186
186
|
|
187
|
+
.editable-bg-transition {
|
188
|
+
-webkit-transition: background-color 1400ms ease-out;
|
189
|
+
-moz-transition: background-color 1400ms ease-out;
|
190
|
+
-o-transition: background-color 1400ms ease-out;
|
191
|
+
-ms-transition: background-color 1400ms ease-out;
|
192
|
+
transition: background-color 1400ms ease-out;
|
193
|
+
}
|
194
|
+
|
187
195
|
/*see https://github.com/vitalets/x-editable/issues/139 */
|
188
196
|
.form-horizontal .editable
|
189
197
|
{
|
@@ -305,7 +313,7 @@ a.editable-click.editable-disabled:hover {
|
|
305
313
|
border-color: #fdf59a #fdf59a #fbed50;
|
306
314
|
border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
|
307
315
|
filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
|
308
|
-
color: #000
|
316
|
+
color: #000;
|
309
317
|
}
|
310
318
|
.datepicker table tr td.today:hover,
|
311
319
|
.datepicker table tr td.today:hover:hover,
|
@@ -339,6 +347,124 @@ a.editable-click.editable-disabled:hover {
|
|
339
347
|
.datepicker table tr td.today.disabled:hover.active {
|
340
348
|
background-color: #fbf069 \9;
|
341
349
|
}
|
350
|
+
.datepicker table tr td.today:hover:hover {
|
351
|
+
color: #000;
|
352
|
+
}
|
353
|
+
.datepicker table tr td.today.active:hover {
|
354
|
+
color: #fff;
|
355
|
+
}
|
356
|
+
.datepicker table tr td.range,
|
357
|
+
.datepicker table tr td.range:hover,
|
358
|
+
.datepicker table tr td.range.disabled,
|
359
|
+
.datepicker table tr td.range.disabled:hover {
|
360
|
+
background: #eeeeee;
|
361
|
+
-webkit-border-radius: 0;
|
362
|
+
-moz-border-radius: 0;
|
363
|
+
border-radius: 0;
|
364
|
+
}
|
365
|
+
.datepicker table tr td.range.today,
|
366
|
+
.datepicker table tr td.range.today:hover,
|
367
|
+
.datepicker table tr td.range.today.disabled,
|
368
|
+
.datepicker table tr td.range.today.disabled:hover {
|
369
|
+
background-color: #f3d17a;
|
370
|
+
background-image: -moz-linear-gradient(top, #f3c17a, #f3e97a);
|
371
|
+
background-image: -ms-linear-gradient(top, #f3c17a, #f3e97a);
|
372
|
+
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#f3c17a), to(#f3e97a));
|
373
|
+
background-image: -webkit-linear-gradient(top, #f3c17a, #f3e97a);
|
374
|
+
background-image: -o-linear-gradient(top, #f3c17a, #f3e97a);
|
375
|
+
background-image: linear-gradient(top, #f3c17a, #f3e97a);
|
376
|
+
background-repeat: repeat-x;
|
377
|
+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f3c17a', endColorstr='#f3e97a', GradientType=0);
|
378
|
+
border-color: #f3e97a #f3e97a #edde34;
|
379
|
+
border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
|
380
|
+
filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
|
381
|
+
-webkit-border-radius: 0;
|
382
|
+
-moz-border-radius: 0;
|
383
|
+
border-radius: 0;
|
384
|
+
}
|
385
|
+
.datepicker table tr td.range.today:hover,
|
386
|
+
.datepicker table tr td.range.today:hover:hover,
|
387
|
+
.datepicker table tr td.range.today.disabled:hover,
|
388
|
+
.datepicker table tr td.range.today.disabled:hover:hover,
|
389
|
+
.datepicker table tr td.range.today:active,
|
390
|
+
.datepicker table tr td.range.today:hover:active,
|
391
|
+
.datepicker table tr td.range.today.disabled:active,
|
392
|
+
.datepicker table tr td.range.today.disabled:hover:active,
|
393
|
+
.datepicker table tr td.range.today.active,
|
394
|
+
.datepicker table tr td.range.today:hover.active,
|
395
|
+
.datepicker table tr td.range.today.disabled.active,
|
396
|
+
.datepicker table tr td.range.today.disabled:hover.active,
|
397
|
+
.datepicker table tr td.range.today.disabled,
|
398
|
+
.datepicker table tr td.range.today:hover.disabled,
|
399
|
+
.datepicker table tr td.range.today.disabled.disabled,
|
400
|
+
.datepicker table tr td.range.today.disabled:hover.disabled,
|
401
|
+
.datepicker table tr td.range.today[disabled],
|
402
|
+
.datepicker table tr td.range.today:hover[disabled],
|
403
|
+
.datepicker table tr td.range.today.disabled[disabled],
|
404
|
+
.datepicker table tr td.range.today.disabled:hover[disabled] {
|
405
|
+
background-color: #f3e97a;
|
406
|
+
}
|
407
|
+
.datepicker table tr td.range.today:active,
|
408
|
+
.datepicker table tr td.range.today:hover:active,
|
409
|
+
.datepicker table tr td.range.today.disabled:active,
|
410
|
+
.datepicker table tr td.range.today.disabled:hover:active,
|
411
|
+
.datepicker table tr td.range.today.active,
|
412
|
+
.datepicker table tr td.range.today:hover.active,
|
413
|
+
.datepicker table tr td.range.today.disabled.active,
|
414
|
+
.datepicker table tr td.range.today.disabled:hover.active {
|
415
|
+
background-color: #efe24b \9;
|
416
|
+
}
|
417
|
+
.datepicker table tr td.selected,
|
418
|
+
.datepicker table tr td.selected:hover,
|
419
|
+
.datepicker table tr td.selected.disabled,
|
420
|
+
.datepicker table tr td.selected.disabled:hover {
|
421
|
+
background-color: #9e9e9e;
|
422
|
+
background-image: -moz-linear-gradient(top, #b3b3b3, #808080);
|
423
|
+
background-image: -ms-linear-gradient(top, #b3b3b3, #808080);
|
424
|
+
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#b3b3b3), to(#808080));
|
425
|
+
background-image: -webkit-linear-gradient(top, #b3b3b3, #808080);
|
426
|
+
background-image: -o-linear-gradient(top, #b3b3b3, #808080);
|
427
|
+
background-image: linear-gradient(top, #b3b3b3, #808080);
|
428
|
+
background-repeat: repeat-x;
|
429
|
+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#b3b3b3', endColorstr='#808080', GradientType=0);
|
430
|
+
border-color: #808080 #808080 #595959;
|
431
|
+
border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
|
432
|
+
filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
|
433
|
+
color: #fff;
|
434
|
+
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
|
435
|
+
}
|
436
|
+
.datepicker table tr td.selected:hover,
|
437
|
+
.datepicker table tr td.selected:hover:hover,
|
438
|
+
.datepicker table tr td.selected.disabled:hover,
|
439
|
+
.datepicker table tr td.selected.disabled:hover:hover,
|
440
|
+
.datepicker table tr td.selected:active,
|
441
|
+
.datepicker table tr td.selected:hover:active,
|
442
|
+
.datepicker table tr td.selected.disabled:active,
|
443
|
+
.datepicker table tr td.selected.disabled:hover:active,
|
444
|
+
.datepicker table tr td.selected.active,
|
445
|
+
.datepicker table tr td.selected:hover.active,
|
446
|
+
.datepicker table tr td.selected.disabled.active,
|
447
|
+
.datepicker table tr td.selected.disabled:hover.active,
|
448
|
+
.datepicker table tr td.selected.disabled,
|
449
|
+
.datepicker table tr td.selected:hover.disabled,
|
450
|
+
.datepicker table tr td.selected.disabled.disabled,
|
451
|
+
.datepicker table tr td.selected.disabled:hover.disabled,
|
452
|
+
.datepicker table tr td.selected[disabled],
|
453
|
+
.datepicker table tr td.selected:hover[disabled],
|
454
|
+
.datepicker table tr td.selected.disabled[disabled],
|
455
|
+
.datepicker table tr td.selected.disabled:hover[disabled] {
|
456
|
+
background-color: #808080;
|
457
|
+
}
|
458
|
+
.datepicker table tr td.selected:active,
|
459
|
+
.datepicker table tr td.selected:hover:active,
|
460
|
+
.datepicker table tr td.selected.disabled:active,
|
461
|
+
.datepicker table tr td.selected.disabled:hover:active,
|
462
|
+
.datepicker table tr td.selected.active,
|
463
|
+
.datepicker table tr td.selected:hover.active,
|
464
|
+
.datepicker table tr td.selected.disabled.active,
|
465
|
+
.datepicker table tr td.selected.disabled:hover.active {
|
466
|
+
background-color: #666666 \9;
|
467
|
+
}
|
342
468
|
.datepicker table tr td.active,
|
343
469
|
.datepicker table tr td.active:hover,
|
344
470
|
.datepicker table tr td.active.disabled,
|
@@ -462,18 +588,19 @@ a.editable-click.editable-disabled:hover {
|
|
462
588
|
.datepicker table tr td span.active.disabled:hover.active {
|
463
589
|
background-color: #003399 \9;
|
464
590
|
}
|
465
|
-
.datepicker table tr td span.old
|
591
|
+
.datepicker table tr td span.old,
|
592
|
+
.datepicker table tr td span.new {
|
466
593
|
color: #999999;
|
467
594
|
}
|
468
|
-
.datepicker th.switch {
|
595
|
+
.datepicker th.datepicker-switch {
|
469
596
|
width: 145px;
|
470
597
|
}
|
471
598
|
.datepicker thead tr:first-child th,
|
472
|
-
.datepicker tfoot tr
|
599
|
+
.datepicker tfoot tr th {
|
473
600
|
cursor: pointer;
|
474
601
|
}
|
475
602
|
.datepicker thead tr:first-child th:hover,
|
476
|
-
.datepicker tfoot tr
|
603
|
+
.datepicker tfoot tr th:hover {
|
477
604
|
background: #eeeeee;
|
478
605
|
}
|
479
606
|
.datepicker .cw {
|
@@ -493,3 +620,32 @@ a.editable-click.editable-disabled:hover {
|
|
493
620
|
width: 16px;
|
494
621
|
height: 16px;
|
495
622
|
}
|
623
|
+
.input-daterange input {
|
624
|
+
text-align: center;
|
625
|
+
}
|
626
|
+
.input-daterange input:first-child {
|
627
|
+
-webkit-border-radius: 3px 0 0 3px;
|
628
|
+
-moz-border-radius: 3px 0 0 3px;
|
629
|
+
border-radius: 3px 0 0 3px;
|
630
|
+
}
|
631
|
+
.input-daterange input:last-child {
|
632
|
+
-webkit-border-radius: 0 3px 3px 0;
|
633
|
+
-moz-border-radius: 0 3px 3px 0;
|
634
|
+
border-radius: 0 3px 3px 0;
|
635
|
+
}
|
636
|
+
.input-daterange .add-on {
|
637
|
+
display: inline-block;
|
638
|
+
width: auto;
|
639
|
+
min-width: 16px;
|
640
|
+
height: 18px;
|
641
|
+
padding: 4px 5px;
|
642
|
+
font-weight: normal;
|
643
|
+
line-height: 18px;
|
644
|
+
text-align: center;
|
645
|
+
text-shadow: 0 1px 0 #ffffff;
|
646
|
+
vertical-align: middle;
|
647
|
+
background-color: #eeeeee;
|
648
|
+
border: 1px solid #ccc;
|
649
|
+
margin-left: -5px;
|
650
|
+
margin-right: -5px;
|
651
|
+
}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
/*! X-editable - v1.4.
|
1
|
+
/*! X-editable - v1.4.5
|
2
2
|
* In-place editing with Twitter Bootstrap, jQuery UI or pure jQuery
|
3
3
|
* http://github.com/vitalets/x-editable
|
4
4
|
* Copyright (c) 2013 Vitaliy Potapov; Licensed MIT */
|
@@ -49,7 +49,7 @@
|
|
49
49
|
}
|
50
50
|
|
51
51
|
.editableform-loading {
|
52
|
-
background: url('
|
52
|
+
background: image-url('editable/loading.gif') center center no-repeat;
|
53
53
|
height: 25px;
|
54
54
|
width: auto;
|
55
55
|
min-width: 25px;
|
@@ -117,7 +117,7 @@
|
|
117
117
|
|
118
118
|
/* IOS-style clear button for text inputs */
|
119
119
|
.editable-clear-x {
|
120
|
-
background: url('
|
120
|
+
background: image-url('editable/clear.png') center center no-repeat;
|
121
121
|
display: block;
|
122
122
|
width: 13px;
|
123
123
|
height: 13px;
|
@@ -184,6 +184,14 @@ a.editable-click.editable-disabled:hover {
|
|
184
184
|
/* content: '*'*/
|
185
185
|
}
|
186
186
|
|
187
|
+
.editable-bg-transition {
|
188
|
+
-webkit-transition: background-color 1400ms ease-out;
|
189
|
+
-moz-transition: background-color 1400ms ease-out;
|
190
|
+
-o-transition: background-color 1400ms ease-out;
|
191
|
+
-ms-transition: background-color 1400ms ease-out;
|
192
|
+
transition: background-color 1400ms ease-out;
|
193
|
+
}
|
194
|
+
|
187
195
|
/*see https://github.com/vitalets/x-editable/issues/139 */
|
188
196
|
.form-horizontal .editable
|
189
197
|
{
|
@@ -1,4 +1,4 @@
|
|
1
|
-
/*! X-editable - v1.4.
|
1
|
+
/*! X-editable - v1.4.5
|
2
2
|
* In-place editing with Twitter Bootstrap, jQuery UI or pure jQuery
|
3
3
|
* http://github.com/vitalets/x-editable
|
4
4
|
* Copyright (c) 2013 Vitaliy Potapov; Licensed MIT */
|
@@ -49,7 +49,7 @@
|
|
49
49
|
}
|
50
50
|
|
51
51
|
.editableform-loading {
|
52
|
-
background: url('
|
52
|
+
background: image-url('editable/loading.gif') center center no-repeat;
|
53
53
|
height: 25px;
|
54
54
|
width: auto;
|
55
55
|
min-width: 25px;
|
@@ -117,7 +117,7 @@
|
|
117
117
|
|
118
118
|
/* IOS-style clear button for text inputs */
|
119
119
|
.editable-clear-x {
|
120
|
-
background: url('
|
120
|
+
background: image-url('editable/clear.png') center center no-repeat;
|
121
121
|
display: block;
|
122
122
|
width: 13px;
|
123
123
|
height: 13px;
|
@@ -184,6 +184,14 @@ a.editable-click.editable-disabled:hover {
|
|
184
184
|
/* content: '*'*/
|
185
185
|
}
|
186
186
|
|
187
|
+
.editable-bg-transition {
|
188
|
+
-webkit-transition: background-color 1400ms ease-out;
|
189
|
+
-moz-transition: background-color 1400ms ease-out;
|
190
|
+
-o-transition: background-color 1400ms ease-out;
|
191
|
+
-ms-transition: background-color 1400ms ease-out;
|
192
|
+
transition: background-color 1400ms ease-out;
|
193
|
+
}
|
194
|
+
|
187
195
|
/*see https://github.com/vitalets/x-editable/issues/139 */
|
188
196
|
.form-horizontal .editable
|
189
197
|
{
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: x-editable-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jiri Kolarik
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-
|
11
|
+
date: 2013-08-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -68,9 +68,9 @@ files:
|
|
68
68
|
- vendor/assets/javascripts/editable/jquery-editable-poshytip.js
|
69
69
|
- vendor/assets/javascripts/editable/jqueryui-editable.js
|
70
70
|
- vendor/assets/javascripts/editable/rails.js.coffee
|
71
|
-
- vendor/assets/stylesheets/editable/bootstrap-editable.
|
72
|
-
- vendor/assets/stylesheets/editable/jquery-editable.
|
73
|
-
- vendor/assets/stylesheets/editable/jqueryui-editable.
|
71
|
+
- vendor/assets/stylesheets/editable/bootstrap-editable.scss
|
72
|
+
- vendor/assets/stylesheets/editable/jquery-editable.scss
|
73
|
+
- vendor/assets/stylesheets/editable/jqueryui-editable.scss
|
74
74
|
- LICENSE.txt
|
75
75
|
- README.md
|
76
76
|
homepage: https://github.com/werein/x-editable-rails
|