webshims-rails 1.14.3 → 1.14.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/webshims-rails/version.rb +2 -2
- data/vendor/assets/javascripts/webshims/extras/modernizr-custom.js +4 -0
- data/vendor/assets/javascripts/webshims/polyfiller.js +141 -139
- data/vendor/assets/javascripts/webshims/shims/color-picker.js +1 -3
- data/vendor/assets/javascripts/webshims/shims/combos/1.js +22 -33
- data/vendor/assets/javascripts/webshims/shims/combos/10.js +76 -73
- data/vendor/assets/javascripts/webshims/shims/combos/11.js +73 -61
- data/vendor/assets/javascripts/webshims/shims/combos/12.js +37 -41
- data/vendor/assets/javascripts/webshims/shims/combos/13.js +36 -40
- data/vendor/assets/javascripts/webshims/shims/combos/14.js +7 -7
- data/vendor/assets/javascripts/webshims/shims/combos/15.js +23 -32
- data/vendor/assets/javascripts/webshims/shims/combos/16.js +36 -57
- data/vendor/assets/javascripts/webshims/shims/combos/17.js +73 -61
- data/vendor/assets/javascripts/webshims/shims/combos/18.js +611 -4604
- data/vendor/assets/javascripts/webshims/shims/combos/2.js +27 -47
- data/vendor/assets/javascripts/webshims/shims/combos/21.js +61 -31
- data/vendor/assets/javascripts/webshims/shims/combos/22.js +24 -16
- data/vendor/assets/javascripts/webshims/shims/combos/23.js +13 -25
- data/vendor/assets/javascripts/webshims/shims/combos/25.js +40 -27
- data/vendor/assets/javascripts/webshims/shims/combos/27.js +167 -166
- data/vendor/assets/javascripts/webshims/shims/combos/28.js +11 -12
- data/vendor/assets/javascripts/webshims/shims/combos/29.js +5 -5
- data/vendor/assets/javascripts/webshims/shims/combos/3.js +14 -22
- data/vendor/assets/javascripts/webshims/shims/combos/30.js +16 -24
- data/vendor/assets/javascripts/webshims/shims/combos/31.js +14 -22
- data/vendor/assets/javascripts/webshims/shims/combos/33.js +2 -2
- data/vendor/assets/javascripts/webshims/shims/combos/34.js +27 -28
- data/vendor/assets/javascripts/webshims/shims/combos/4.js +5 -14
- data/vendor/assets/javascripts/webshims/shims/combos/5.js +78 -66
- data/vendor/assets/javascripts/webshims/shims/combos/6.js +80 -68
- data/vendor/assets/javascripts/webshims/shims/combos/7.js +29 -49
- data/vendor/assets/javascripts/webshims/shims/combos/8.js +27 -47
- data/vendor/assets/javascripts/webshims/shims/combos/9.js +78 -75
- data/vendor/assets/javascripts/webshims/shims/combos/97.js +42 -29
- data/vendor/assets/javascripts/webshims/shims/combos/98.js +116 -40
- data/vendor/assets/javascripts/webshims/shims/combos/99.js +112 -38
- data/vendor/assets/javascripts/webshims/shims/dom-extend.js +3 -12
- data/vendor/assets/javascripts/webshims/shims/es5.js +4 -4
- data/vendor/assets/javascripts/webshims/shims/es6.js +1887 -0
- data/vendor/assets/javascripts/webshims/shims/form-core.js +9 -8
- data/vendor/assets/javascripts/webshims/shims/form-datalist.js +2 -2
- data/vendor/assets/javascripts/webshims/shims/form-inputmode.js +52 -0
- data/vendor/assets/javascripts/webshims/shims/form-message.js +2 -2
- data/vendor/assets/javascripts/webshims/shims/form-native-extend.js +4 -5
- data/vendor/assets/javascripts/webshims/shims/form-number-date-ui.js +73 -61
- data/vendor/assets/javascripts/webshims/shims/form-shim-extend.js +7 -8
- data/vendor/assets/javascripts/webshims/shims/form-shim-extend2.js +164 -163
- data/vendor/assets/javascripts/webshims/shims/form-validation.js +121 -144
- data/vendor/assets/javascripts/webshims/shims/jme/_icons.scss +3 -0
- data/vendor/assets/javascripts/webshims/shims/jme/alternate-media.js +184 -0
- data/vendor/assets/javascripts/webshims/shims/jme/{b.js → base.js} +38 -27
- data/vendor/assets/javascripts/webshims/shims/jme/controls.css +129 -39
- data/vendor/assets/javascripts/webshims/shims/jme/controls.scss +145 -44
- data/vendor/assets/javascripts/webshims/shims/jme/jme.eot +0 -0
- data/vendor/assets/javascripts/webshims/shims/jme/jme.svg +0 -0
- data/vendor/assets/javascripts/webshims/shims/jme/jme.ttf +0 -0
- data/vendor/assets/javascripts/webshims/shims/jme/jme.woff +0 -0
- data/vendor/assets/javascripts/webshims/shims/jme/mediacontrols-lazy.js +448 -90
- data/vendor/assets/javascripts/webshims/shims/jme/{c.js → mediacontrols.js} +74 -11
- data/vendor/assets/javascripts/webshims/shims/jme/{p.js → playlist.js} +4 -2
- data/vendor/assets/javascripts/webshims/shims/matchMedia.js +122 -0
- data/vendor/assets/javascripts/webshims/shims/mediaelement-core.js +12 -24
- data/vendor/assets/javascripts/webshims/shims/mediaelement-debug.js +1 -1
- data/vendor/assets/javascripts/webshims/shims/mediaelement-jaris.js +37 -15
- data/vendor/assets/javascripts/webshims/shims/mediaelement-native-fix.js +3 -3
- data/vendor/assets/javascripts/webshims/shims/mediaelement-yt.js +4 -5
- data/vendor/assets/javascripts/webshims/shims/picture.js +13 -54
- data/vendor/assets/javascripts/webshims/shims/styles/forms-ext.css +13 -20
- data/vendor/assets/javascripts/webshims/shims/styles/scss/forms-ext.scss +24 -18
- data/vendor/assets/javascripts/webshims/shims/styles/scss/shim.scss +32 -10
- data/vendor/assets/javascripts/webshims/shims/styles/shim-ext.css +43 -47
- data/vendor/assets/javascripts/webshims/shims/styles/shim.css +30 -18
- data/vendor/assets/javascripts/webshims/shims/styles/transparent.png +0 -0
- data/vendor/assets/javascripts/webshims/shims/styles/widget.eot +0 -0
- data/vendor/assets/javascripts/webshims/shims/styles/widget.svg +0 -0
- data/vendor/assets/javascripts/webshims/shims/styles/widget.ttf +0 -0
- data/vendor/assets/javascripts/webshims/shims/styles/widget.woff +0 -0
- data/vendor/assets/javascripts/webshims/shims/swf/JarisFLVPlayer.swf +0 -0
- data/vendor/assets/javascripts/webshims/shims/swfmini.js +1 -1
- data/vendor/assets/javascripts/webshims/shims/track-ui.js +4 -5
- data/vendor/assets/javascripts/webshims/shims/track.js +24 -16
- metadata +9 -8
- data/vendor/assets/javascripts/webshims/shims/combos/19.js +0 -4745
- data/vendor/assets/javascripts/webshims/shims/combos/20.js +0 -4522
- data/vendor/assets/javascripts/webshims/shims/combos/32.js +0 -2443
- data/vendor/assets/javascripts/webshims/shims/combos/comboinfo.json +0 -1
@@ -7,67 +7,26 @@
|
|
7
7
|
return document.createElement('img');
|
8
8
|
};
|
9
9
|
}
|
10
|
+
|
11
|
+
webshim.isReady('picture', true);
|
10
12
|
setTimeout(function(){
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
13
|
+
webshim.ready('matchMedia', function(){
|
14
|
+
if(window.picturefill){
|
15
|
+
var sel = 'picture, img[srcset]';
|
16
|
+
webshim.addReady(function(context){
|
17
|
+
if(context.querySelector(sel)){
|
18
|
+
window.picturefill();
|
19
|
+
}
|
20
|
+
});
|
21
|
+
}
|
22
|
+
});
|
19
23
|
});
|
20
24
|
})();
|
21
25
|
|
22
26
|
/*! Picturefill - v2.1.0-beta - 2014-06-03
|
23
27
|
* http://scottjehl.github.io/picturefill
|
24
28
|
* Copyright (c) 2014 https://github.com/scottjehl/picturefill/blob/master/Authors.txt; Licensed MIT */
|
25
|
-
/*! matchMedia() polyfill - Test a CSS media type/query in JS. Authors & copyright (c) 2012: Scott Jehl, Paul Irish, Nicholas Zakas, David Knight. Dual MIT/BSD license */
|
26
|
-
|
27
|
-
window.matchMedia || (window.matchMedia = function() {
|
28
|
-
"use strict";
|
29
|
-
|
30
|
-
// For browsers that support matchMedium api such as IE 9 and webkit
|
31
|
-
var styleMedia = (window.styleMedia || window.media);
|
32
|
-
|
33
|
-
// For those that don't support matchMedium
|
34
|
-
if (!styleMedia) {
|
35
|
-
var style = document.createElement('style'),
|
36
|
-
script = document.getElementsByTagName('script')[0],
|
37
|
-
info = null;
|
38
|
-
|
39
|
-
style.type = 'text/css';
|
40
|
-
style.id = 'matchmediajs-test';
|
41
|
-
|
42
|
-
script.parentNode.insertBefore(style, script);
|
43
29
|
|
44
|
-
// 'style.currentStyle' is used by IE <= 8 and 'window.getComputedStyle' for all other browsers
|
45
|
-
info = ('getComputedStyle' in window) && window.getComputedStyle(style, null) || style.currentStyle;
|
46
|
-
|
47
|
-
styleMedia = {
|
48
|
-
matchMedium: function(media) {
|
49
|
-
var text = '@media ' + media + '{ #matchmediajs-test { width: 1px; } }';
|
50
|
-
|
51
|
-
// 'style.styleSheet' is used by IE <= 8 and 'style.textContent' for all other browsers
|
52
|
-
if (style.styleSheet) {
|
53
|
-
style.styleSheet.cssText = text;
|
54
|
-
} else {
|
55
|
-
style.textContent = text;
|
56
|
-
}
|
57
|
-
|
58
|
-
// Test if media query is true or false
|
59
|
-
return info.width === '1px';
|
60
|
-
}
|
61
|
-
};
|
62
|
-
}
|
63
|
-
|
64
|
-
return function(media) {
|
65
|
-
return {
|
66
|
-
matches: styleMedia.matchMedium(media || 'all'),
|
67
|
-
media: media || 'all'
|
68
|
-
};
|
69
|
-
};
|
70
|
-
}());
|
71
30
|
/*! Picturefill - Responsive Images that work today.
|
72
31
|
* Author: Scott Jehl, Filament Group, 2012 ( new proposal implemented by Shawn Jansepar )
|
73
32
|
* License: MIT/GPLv2
|
@@ -637,7 +596,7 @@ window.matchMedia || (window.matchMedia = function() {
|
|
637
596
|
}
|
638
597
|
}
|
639
598
|
|
640
|
-
runPicturefill
|
599
|
+
webshim.ready('matchMedia', runPicturefill);
|
641
600
|
|
642
601
|
/* expose methods for testing */
|
643
602
|
picturefill._ = pf;
|
@@ -138,9 +138,7 @@ SASS:
|
|
138
138
|
font-weight: normal;
|
139
139
|
font-style: normal;
|
140
140
|
}
|
141
|
-
.ws-popover-opener > span,
|
142
|
-
.ws-popover-opener .ws-color-indicator, .time-input-buttons .ws-popover-opener > span, .time-input-buttons
|
143
|
-
.ws-popover-opener .ws-color-indicator {
|
141
|
+
.ws-popover-opener > span, .time-input-buttons .ws-popover-opener > span {
|
144
142
|
font-family: 'widget';
|
145
143
|
speak: none;
|
146
144
|
font-style: normal;
|
@@ -154,13 +152,11 @@ SASS:
|
|
154
152
|
-moz-osx-font-smoothing: grayscale;
|
155
153
|
}
|
156
154
|
|
157
|
-
.ws-popover-opener > span:before
|
158
|
-
.ws-popover-opener .ws-color-indicator:before {
|
155
|
+
.ws-popover-opener > span:before {
|
159
156
|
content: "\f073";
|
160
157
|
}
|
161
158
|
|
162
|
-
.time-input-buttons .ws-popover-opener > span:before
|
163
|
-
.ws-popover-opener .ws-color-indicator:before {
|
159
|
+
.time-input-buttons .ws-popover-opener > span:before {
|
164
160
|
content: "\f017";
|
165
161
|
}
|
166
162
|
|
@@ -248,25 +244,22 @@ span.has-input-buttons {
|
|
248
244
|
height: 16px;
|
249
245
|
margin: -8px 0 0 -8px;
|
250
246
|
}
|
251
|
-
|
252
|
-
.
|
253
|
-
margin: -7.5px 0 0 -7.5px;
|
254
|
-
}
|
255
|
-
.color-input-buttons .ws-popover-opener > span, .color-input-buttons
|
256
|
-
.ws-popover-opener .ws-color-indicator {
|
247
|
+
|
248
|
+
.color-input-buttons .ws-popover-opener > span {
|
257
249
|
background: url(color-picker.png) no-repeat 0 0;
|
258
250
|
}
|
259
|
-
.color-input-buttons .ws-popover-opener > span:before
|
260
|
-
|
251
|
+
.color-input-buttons .ws-popover-opener > span:before {
|
252
|
+
content: "";
|
253
|
+
}
|
254
|
+
.color-input-buttons .color-input-buttons .ws-popover-opener > span:before {
|
261
255
|
content: "";
|
262
256
|
}
|
263
|
-
.ws-popover-opener > span.ws-color-indicator-bg
|
264
|
-
.ws-popover-opener .ws-color-indicator.ws-color-indicator-bg {
|
257
|
+
.color-input-buttons .ws-popover-opener > span.ws-color-indicator-bg {
|
265
258
|
background: url(../jpicker/images/preview-opacity.png) no-repeat 0;
|
266
259
|
}
|
267
|
-
|
268
|
-
.
|
269
|
-
|
260
|
+
|
261
|
+
.time-input-buttons .ws-popover-opener > span {
|
262
|
+
margin: -7.5px 0 0 -7.5px;
|
270
263
|
}
|
271
264
|
|
272
265
|
input[type="color"] {
|
@@ -121,7 +121,7 @@ span.has-input-buttons {
|
|
121
121
|
.ws-is-rtl & {
|
122
122
|
margin: 0 2px 0 0;
|
123
123
|
}
|
124
|
-
|
124
|
+
|
125
125
|
> span,
|
126
126
|
.ws-color-indicator {
|
127
127
|
display: block;
|
@@ -131,30 +131,36 @@ span.has-input-buttons {
|
|
131
131
|
width: 16px;
|
132
132
|
height: 16px;
|
133
133
|
margin: -8px 0 0 -8px;
|
134
|
+
}
|
135
|
+
|
136
|
+
> span {
|
134
137
|
@extend %icon-calendar;
|
135
|
-
|
138
|
+
}
|
139
|
+
}
|
136
140
|
|
137
|
-
|
138
|
-
.time-input-buttons & {
|
139
|
-
@extend %icon-clock;
|
140
|
-
margin: -7.5px 0 0 -7.5px;
|
141
|
-
}
|
141
|
+
.color-input-buttons .ws-popover-opener > span {
|
142
142
|
|
143
|
+
background: url(color-picker.png) no-repeat 0 0;
|
143
144
|
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
}
|
148
|
-
background: url(color-picker.png) no-repeat 0 0;
|
149
|
-
}
|
145
|
+
&:before {
|
146
|
+
content: "";
|
147
|
+
}
|
150
148
|
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
&.ws-color-indicator {
|
155
|
-
background: none;
|
149
|
+
.color-input-buttons & {
|
150
|
+
&:before {
|
151
|
+
content: "";
|
156
152
|
}
|
153
|
+
|
154
|
+
}
|
155
|
+
|
156
|
+
&.ws-color-indicator-bg {
|
157
|
+
background: url(../jpicker/images/preview-opacity.png) no-repeat 0;
|
157
158
|
}
|
159
|
+
|
160
|
+
}
|
161
|
+
.time-input-buttons .ws-popover-opener > span {
|
162
|
+
@extend %icon-clock;
|
163
|
+
margin: -7.5px 0 0 -7.5px;
|
158
164
|
}
|
159
165
|
|
160
166
|
input[type="color"] {
|
@@ -533,6 +533,7 @@ input[data-wslist]::-webkit-calendar-picker-indicator {
|
|
533
533
|
overflow: hidden;
|
534
534
|
position: relative;
|
535
535
|
clear: both;
|
536
|
+
font-family: sans-serif;
|
536
537
|
|
537
538
|
p {
|
538
539
|
margin: 2px 0 3px;
|
@@ -620,9 +621,8 @@ summary.summary-has-focus {
|
|
620
621
|
}
|
621
622
|
|
622
623
|
.ws-custom-file {
|
623
|
-
@extend %clearfix;
|
624
624
|
position: relative;
|
625
|
-
|
625
|
+
overflow: hidden;
|
626
626
|
|
627
627
|
> button,
|
628
628
|
> input {
|
@@ -691,24 +691,46 @@ summary.summary-has-focus {
|
|
691
691
|
color: #999;
|
692
692
|
}
|
693
693
|
|
694
|
+
> input[type="file"],
|
695
|
+
.ws-coverfile {
|
696
|
+
position: absolute;
|
697
|
+
top: -1%;
|
698
|
+
left: -3%;
|
699
|
+
bottom: -1%;
|
700
|
+
right: -1%;
|
701
|
+
height: 102%;
|
702
|
+
width: 104%;
|
703
|
+
z-index: 9;
|
704
|
+
padding: 0;
|
705
|
+
margin: 0;
|
706
|
+
border: 0px none;
|
707
|
+
color: transparent;
|
708
|
+
background: transparent;
|
709
|
+
}
|
694
710
|
|
695
711
|
> input[type="file"] {
|
696
|
-
position: absolute;
|
697
|
-
top: 0;
|
698
|
-
left: 0;
|
699
|
-
bottom: 0;
|
700
|
-
right: 0;
|
701
|
-
height: 100%;
|
702
|
-
width: 100%;
|
703
712
|
filter: alpha(opacity=0);
|
704
713
|
opacity: 0.00001;
|
705
|
-
z-index: 9;
|
706
714
|
|
707
715
|
&[disabled] {
|
708
716
|
cursor: default;
|
709
717
|
cursor: not-allowed;
|
710
718
|
}
|
711
719
|
}
|
720
|
+
.ws-coverfile {
|
721
|
+
background: url(transparent.png);
|
722
|
+
z-index: 10;
|
723
|
+
cursor: pointer;
|
724
|
+
|
725
|
+
[readonly] + & {
|
726
|
+
cursor: default;
|
727
|
+
}
|
728
|
+
[disabled] + & {
|
729
|
+
cursor: default;
|
730
|
+
cursor: not-allowed;
|
731
|
+
}
|
732
|
+
}
|
733
|
+
|
712
734
|
|
713
735
|
> .moxie-shim {
|
714
736
|
z-index: 20;
|
@@ -1,12 +1,3 @@
|
|
1
|
-
.ws-custom-file {
|
2
|
-
zoom: 1;
|
3
|
-
}
|
4
|
-
.ws-custom-file:before, .ws-custom-file:after {
|
5
|
-
display: table;
|
6
|
-
clear: both;
|
7
|
-
content: ' ';
|
8
|
-
}
|
9
|
-
|
10
1
|
.ws-important-hide {
|
11
2
|
display: none !important;
|
12
3
|
visibility: hidden !important;
|
@@ -479,6 +470,7 @@ input[data-wslist]::-webkit-calendar-picker-indicator {
|
|
479
470
|
overflow: hidden;
|
480
471
|
position: relative;
|
481
472
|
clear: both;
|
473
|
+
font-family: sans-serif;
|
482
474
|
}
|
483
475
|
.ws-errorbox p {
|
484
476
|
margin: 2px 0 3px;
|
@@ -611,7 +603,7 @@ summary.summary-has-focus {
|
|
611
603
|
|
612
604
|
.ws-custom-file {
|
613
605
|
position: relative;
|
614
|
-
|
606
|
+
overflow: hidden;
|
615
607
|
}
|
616
608
|
.ws-custom-file > button,
|
617
609
|
.ws-custom-file > input {
|
@@ -663,33 +655,44 @@ summary.summary-has-focus {
|
|
663
655
|
background: #eee;
|
664
656
|
color: #999;
|
665
657
|
}
|
666
|
-
.ws-custom-file > input[type="file"]
|
658
|
+
.ws-custom-file > input[type="file"],
|
659
|
+
.ws-custom-file .ws-coverfile {
|
667
660
|
position: absolute;
|
668
|
-
top:
|
669
|
-
left:
|
670
|
-
bottom:
|
671
|
-
right:
|
672
|
-
height:
|
673
|
-
width:
|
661
|
+
top: -1%;
|
662
|
+
left: -3%;
|
663
|
+
bottom: -1%;
|
664
|
+
right: -1%;
|
665
|
+
height: 102%;
|
666
|
+
width: 104%;
|
667
|
+
z-index: 9;
|
668
|
+
padding: 0;
|
669
|
+
margin: 0;
|
670
|
+
border: 0px none;
|
671
|
+
color: transparent;
|
672
|
+
background: transparent;
|
673
|
+
}
|
674
|
+
.ws-custom-file > input[type="file"] {
|
674
675
|
filter: alpha(opacity=0);
|
675
676
|
opacity: 0.00001;
|
676
|
-
z-index: 9;
|
677
677
|
}
|
678
678
|
.ws-custom-file > input[type="file"][disabled] {
|
679
679
|
cursor: default;
|
680
680
|
cursor: not-allowed;
|
681
681
|
}
|
682
|
-
.ws-custom-file
|
683
|
-
|
682
|
+
.ws-custom-file .ws-coverfile {
|
683
|
+
background: url(transparent.png);
|
684
|
+
z-index: 10;
|
685
|
+
cursor: pointer;
|
684
686
|
}
|
685
|
-
|
686
|
-
|
687
|
-
zoom: 1;
|
687
|
+
[readonly] + .ws-custom-file .ws-coverfile {
|
688
|
+
cursor: default;
|
688
689
|
}
|
689
|
-
.ws-custom-file
|
690
|
-
|
691
|
-
|
692
|
-
|
690
|
+
[disabled] + .ws-custom-file .ws-coverfile {
|
691
|
+
cursor: default;
|
692
|
+
cursor: not-allowed;
|
693
|
+
}
|
694
|
+
.ws-custom-file > .moxie-shim {
|
695
|
+
z-index: 20;
|
693
696
|
}
|
694
697
|
|
695
698
|
/* style picker api */
|
@@ -832,9 +835,7 @@ SASS:
|
|
832
835
|
font-weight: normal;
|
833
836
|
font-style: normal;
|
834
837
|
}
|
835
|
-
.ws-popover-opener > span,
|
836
|
-
.ws-popover-opener .ws-color-indicator, .time-input-buttons .ws-popover-opener > span, .time-input-buttons
|
837
|
-
.ws-popover-opener .ws-color-indicator {
|
838
|
+
.ws-popover-opener > span, .time-input-buttons .ws-popover-opener > span {
|
838
839
|
font-family: 'widget';
|
839
840
|
speak: none;
|
840
841
|
font-style: normal;
|
@@ -848,13 +849,11 @@ SASS:
|
|
848
849
|
-moz-osx-font-smoothing: grayscale;
|
849
850
|
}
|
850
851
|
|
851
|
-
.ws-popover-opener > span:before
|
852
|
-
.ws-popover-opener .ws-color-indicator:before {
|
852
|
+
.ws-popover-opener > span:before {
|
853
853
|
content: "\f073";
|
854
854
|
}
|
855
855
|
|
856
|
-
.time-input-buttons .ws-popover-opener > span:before
|
857
|
-
.ws-popover-opener .ws-color-indicator:before {
|
856
|
+
.time-input-buttons .ws-popover-opener > span:before {
|
858
857
|
content: "\f017";
|
859
858
|
}
|
860
859
|
|
@@ -942,25 +941,22 @@ span.has-input-buttons {
|
|
942
941
|
height: 16px;
|
943
942
|
margin: -8px 0 0 -8px;
|
944
943
|
}
|
945
|
-
|
946
|
-
.
|
947
|
-
margin: -7.5px 0 0 -7.5px;
|
948
|
-
}
|
949
|
-
.color-input-buttons .ws-popover-opener > span, .color-input-buttons
|
950
|
-
.ws-popover-opener .ws-color-indicator {
|
944
|
+
|
945
|
+
.color-input-buttons .ws-popover-opener > span {
|
951
946
|
background: url(color-picker.png) no-repeat 0 0;
|
952
947
|
}
|
953
|
-
.color-input-buttons .ws-popover-opener > span:before
|
954
|
-
|
948
|
+
.color-input-buttons .ws-popover-opener > span:before {
|
949
|
+
content: "";
|
950
|
+
}
|
951
|
+
.color-input-buttons .color-input-buttons .ws-popover-opener > span:before {
|
955
952
|
content: "";
|
956
953
|
}
|
957
|
-
.ws-popover-opener > span.ws-color-indicator-bg
|
958
|
-
.ws-popover-opener .ws-color-indicator.ws-color-indicator-bg {
|
954
|
+
.color-input-buttons .ws-popover-opener > span.ws-color-indicator-bg {
|
959
955
|
background: url(../jpicker/images/preview-opacity.png) no-repeat 0;
|
960
956
|
}
|
961
|
-
|
962
|
-
.
|
963
|
-
|
957
|
+
|
958
|
+
.time-input-buttons .ws-popover-opener > span {
|
959
|
+
margin: -7.5px 0 0 -7.5px;
|
964
960
|
}
|
965
961
|
|
966
962
|
input[type="color"] {
|
@@ -1,12 +1,3 @@
|
|
1
|
-
.ws-custom-file {
|
2
|
-
zoom: 1;
|
3
|
-
}
|
4
|
-
.ws-custom-file:before, .ws-custom-file:after {
|
5
|
-
display: table;
|
6
|
-
clear: both;
|
7
|
-
content: ' ';
|
8
|
-
}
|
9
|
-
|
10
1
|
.ws-important-hide {
|
11
2
|
display: none !important;
|
12
3
|
visibility: hidden !important;
|
@@ -479,6 +470,7 @@ input[data-wslist]::-webkit-calendar-picker-indicator {
|
|
479
470
|
overflow: hidden;
|
480
471
|
position: relative;
|
481
472
|
clear: both;
|
473
|
+
font-family: sans-serif;
|
482
474
|
}
|
483
475
|
.ws-errorbox p {
|
484
476
|
margin: 2px 0 3px;
|
@@ -611,7 +603,7 @@ summary.summary-has-focus {
|
|
611
603
|
|
612
604
|
.ws-custom-file {
|
613
605
|
position: relative;
|
614
|
-
|
606
|
+
overflow: hidden;
|
615
607
|
}
|
616
608
|
.ws-custom-file > button,
|
617
609
|
.ws-custom-file > input {
|
@@ -663,22 +655,42 @@ summary.summary-has-focus {
|
|
663
655
|
background: #eee;
|
664
656
|
color: #999;
|
665
657
|
}
|
666
|
-
.ws-custom-file > input[type="file"]
|
658
|
+
.ws-custom-file > input[type="file"],
|
659
|
+
.ws-custom-file .ws-coverfile {
|
667
660
|
position: absolute;
|
668
|
-
top:
|
669
|
-
left:
|
670
|
-
bottom:
|
671
|
-
right:
|
672
|
-
height:
|
673
|
-
width:
|
661
|
+
top: -1%;
|
662
|
+
left: -3%;
|
663
|
+
bottom: -1%;
|
664
|
+
right: -1%;
|
665
|
+
height: 102%;
|
666
|
+
width: 104%;
|
667
|
+
z-index: 9;
|
668
|
+
padding: 0;
|
669
|
+
margin: 0;
|
670
|
+
border: 0px none;
|
671
|
+
color: transparent;
|
672
|
+
background: transparent;
|
673
|
+
}
|
674
|
+
.ws-custom-file > input[type="file"] {
|
674
675
|
filter: alpha(opacity=0);
|
675
676
|
opacity: 0.00001;
|
676
|
-
z-index: 9;
|
677
677
|
}
|
678
678
|
.ws-custom-file > input[type="file"][disabled] {
|
679
679
|
cursor: default;
|
680
680
|
cursor: not-allowed;
|
681
681
|
}
|
682
|
+
.ws-custom-file .ws-coverfile {
|
683
|
+
background: url(transparent.png);
|
684
|
+
z-index: 10;
|
685
|
+
cursor: pointer;
|
686
|
+
}
|
687
|
+
[readonly] + .ws-custom-file .ws-coverfile {
|
688
|
+
cursor: default;
|
689
|
+
}
|
690
|
+
[disabled] + .ws-custom-file .ws-coverfile {
|
691
|
+
cursor: default;
|
692
|
+
cursor: not-allowed;
|
693
|
+
}
|
682
694
|
.ws-custom-file > .moxie-shim {
|
683
695
|
z-index: 20;
|
684
696
|
}
|
Binary file
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
Binary file
|
@@ -1,5 +1,5 @@
|
|
1
1
|
(function($){
|
2
|
-
if(
|
2
|
+
if(webshims.support.texttrackapi && document.addEventListener){
|
3
3
|
var trackOptions = webshims.cfg.track;
|
4
4
|
var trackListener = function(e){
|
5
5
|
$(e.target).filter('track').each(changeApi);
|
@@ -41,13 +41,12 @@
|
|
41
41
|
webshims.register('track-ui', function($, webshims, window, document, undefined){
|
42
42
|
"use strict";
|
43
43
|
var options = webshims.cfg.track;
|
44
|
-
var
|
45
|
-
var exitE = {type: 'exit'};
|
44
|
+
var support = webshims.support;
|
46
45
|
//descriptions are not really shown, but they are inserted into the dom
|
47
46
|
var showTracks = {subtitles: 1, captions: 1, descriptions: 1};
|
48
47
|
var mediaelement = webshims.mediaelement;
|
49
48
|
var usesNativeTrack = function(){
|
50
|
-
return !options.override &&
|
49
|
+
return !options.override && support.texttrackapi;
|
51
50
|
};
|
52
51
|
|
53
52
|
var trackDisplay = {
|
@@ -176,7 +175,7 @@ webshims.register('track-ui', function($, webshims, window, document, undefined)
|
|
176
175
|
track._lastFoundCue = {index: 0, time: 0};
|
177
176
|
}
|
178
177
|
|
179
|
-
if(
|
178
|
+
if(support.texttrackapi && !options.override && !track._shimActiveCues){
|
180
179
|
track._shimActiveCues = mediaelement.createCueList();
|
181
180
|
}
|
182
181
|
|