diff --git a/source/Ox.UI/css/Ox.UI.css b/source/Ox.UI/css/Ox.UI.css index 7e5cf72f..ca6e1738 100644 --- a/source/Ox.UI/css/Ox.UI.css +++ b/source/Ox.UI/css/Ox.UI.css @@ -576,7 +576,7 @@ OxButton border: 1px solid rgba(0, 0, 0, 0); background: rgba(0, 0, 0, 0); -moz-box-shadow: 0 0 0 rgba(0, 0, 0, 0); - //-webkit-box-shadow: 0 0 0 rgba(0, 0, 0, 0); + -webkit-box-shadow: 0 0 0 rgba(0, 0, 0, 0); } /* -------------------------------------------------------------------------------- @@ -1798,51 +1798,52 @@ Video } -.OxTimelineLarge { +.OxLargeVideoTimeline { position: absolute; height: 72px; margin: 0 4px 0 4px; overflow: hidden; } -.OxTimelineLarge > div { +.OxLargeVideoTimeline > div { position: absolute; height: 72px; } -.OxTimelineLarge > div > img { +.OxLargeVideoTimeline > div > img { position: absolute; top: 4px; } -.OxTimelineLarge .OxCut { - position: absolute; - top: 66px; - width: 4px; - height: 4px; - margin-left: -2px; - z-index: 10; -} -.OxTimelineLarge .OxMarkerPointIn { +.OxLargeVideoTimeline .OxCut { position: absolute; top: 64px; width: 6px; height: 6px; + margin-left: -3px; + z-index: 10; +} +.OxLargeVideoTimeline .OxMarkerPointIn { + position: absolute; + top: 63px; + width: 7px; + height: 7px; + margin-left: -6px; + z-index: 10; +} +.OxLargeVideoTimeline .OxMarkerPointOut { + position: absolute; + top: 63px; + width: 7px; + height: 7px; + z-index: 10; +} +.OxLargeVideoTimeline .OxMarkerPosition { + position: absolute; + top: 2px; + width: 11px; + height: 11px; margin-left: -5px; z-index: 10; } -.OxTimelineLarge .OxMarkerPointOut { - position: absolute; - top: 64px; - width: 6px; - height: 6px; - z-index: 10; -} -.OxTimelineLarge .OxMarkerPosition { - position: absolute; - top: 2px; - width: 9px; - height: 9px; - z-index: 10; -} -.OxTimelineLarge .OxSubtitle { +.OxLargeVideoTimeline .OxSubtitle { position: absolute; bottom: 9px; border: 1px solid rgba(255, 255, 255, 0.5); @@ -1860,7 +1861,7 @@ Video -moz-box-shadow: 0 0 2px rgba(0, 0, 0, 0.5); -webkit-box-shadow: 0 0 2px rgba(0, 0, 0, 0.5); } -.OxTimelineLarge .OxSubtitle.OxHighlight { +.OxLargeVideoTimeline .OxSubtitle.OxHighlight { border-color: rgba(255, 255, 0, 1); } .OxTimelineSmall { @@ -1880,17 +1881,60 @@ Video .OxTimelineSmall > div > .OxTimelineSmallImage { margin-top: 1px; } -.OxTimelineSmall .OxMarkerPointIn { + +.OxSmallVideoTimeline .OxMarkerPlay { position: absolute; - width: 6px; - height: 6px; - margin-left: -1px; + width: 14px; + height: 14px; + border-width: 1px; + border-style: solid; + border-radius: 8px; } -.OxTimelineSmall .OxMarkerPointOut { +.OxSmallVideoTimeline .OxMarkerPlay > div { + width: 10px; + height: 10px; + border-width: 2px; + border-style: solid; + border-radius: 7px; +} +.OxSmallVideoTimeline .OxMarkerPlay > div > div { + width: 8px; + height: 8px; + border-width: 1px; + border-style: solid; + border-radius: 5px; +} +.OxSmallVideoTimeline .OxMarkerPointIn, +.OxBlockVideoTimeline .OxMarkerPointIn { position: absolute; - width: 6px; - height: 6px; + width: 7px; + height: 7px; + margin-left: -2px; + z-index: 10; +} +.OxSmallVideoTimeline .OxMarkerPointIn { + top: 15px; +} +.OxSmallVideoTimeline .OxMarkerPointOut, +.OxBlockVideoTimeline .OxMarkerPointOut { + position: absolute; + width: 7px; + height: 7px; margin-left: 4px; + z-index: 10; +} +.OxSmallVideoTimeline .OxMarkerPointOut { + top: 15px; +} +.OxSmallVideoTimeline .OxMarkerPosition, +.OxBlockVideoTimeline .OxMarkerPosition { + position: absolute; + width: 11px; + height: 11px; + z-index: 10; +} +.OxSmallVideoTimeline .OxMarkerPosition { + top: 2px; } @@ -1905,10 +1949,6 @@ Video .OxVideoPlayer .OxControls { position: absolute; } -.OxVideoPlayer .OxControls.OxOnScreen { - background-image: -moz-linear-gradient(top, rgba(64, 64, 64, 0.5), rgba(0, 0, 0, 0.5)); - background-image: -webkit-linear-gradient(top, rgba(64, 64, 64, 0.5), rgba(0, 0, 0, 0.5)); -} .OxVideoPlayer .OxControls > * { float: left; } @@ -1918,8 +1958,6 @@ Video right: 0; border-bottom-left-radius: 8px; border-bottom-right-radius: 8px; - background-image: -moz-linear-gradient(top, rgba(64, 64, 64, 0.5), rgba(0, 0, 0, 0.5)); - background-image: -webkit-linear-gradient(top, rgba(64, 64, 64, 0.5), rgba(0, 0, 0, 0.5)); display: none; } .OxVideoPlayer .OxFind > * { @@ -1930,9 +1968,26 @@ Video padding-top: 2px; font-size: 9px; text-align: center; - color: rgb(255, 255, 255); } +.OxVideoPlayer .OxInput { + background: transparent; + -moz-box-shadow: 0 0 0; + -webkit-box-shadow: 0 0 0; +} +.OxVideoPlayer div.OxInput.OxFocus { + -moz-box-shadow: 0 0 0; + -webkit-box-shadow: 0 0 0; +} +.OxVideoPlayer input.OxInput { + height: 16px; + padding: 0 3px 0 3px; + border: 0; + border-radius: 8px; +} + + + .OxVideoPlayer .OxLoadingIcon { position: absolute; left: 0; @@ -1989,7 +2044,6 @@ Video padding: 2px; font-size: 9px; text-align: center; - color: rgb(255, 255, 255); } .OxVideoPlayer .OxPositionInput { @@ -2010,16 +2064,11 @@ Video .OxVideoPlayer .OxResolution > div { width: 52px; height: 16px; - background: rgba(32, 32, 32, 0.5); } .OxVideoPlayer .OxResolution > div:first-child { border-top-left-radius: 8px; border-top-right-radius: 8px; } -.OxVideoPlayer .OxResolution > div.OxSelected { - background-image: -moz-linear-gradient(top, rgba(48, 48, 48, 0.5), rgba(16, 16, 16, 0.5)); - background-image: -webkit-linear-gradient(top, rgba(48, 48, 48, 0.5), rgba(16, 16, 16, 0.5)); -} .OxVideoPlayer .OxResolution > div > * { float: left; } @@ -2029,7 +2078,6 @@ Video padding-top: 2px; font-size: 9px; text-align: right; - color: rgb(255, 255, 255); cursor: default; } .OxVideoPlayer .OxResolution > div > img { @@ -2045,7 +2093,6 @@ Video padding: 2px; font-size: 9px; text-align: center; - color: rgb(255, 255, 255); cursor: default; } @@ -2061,7 +2108,6 @@ Video .OxVideoPlayer .OxTitle { padding-top: 1px; text-align: center; - color: rgb(255, 255, 255); overflow: hidden; text-overflow: ellipsis; } @@ -2078,8 +2124,6 @@ Video height: 16px; border-top-left-radius: 8px; border-top-right-radius: 8px; - background-image: -moz-linear-gradient(top, rgba(64, 64, 64, 0.5), rgba(0, 0, 0, 0.5)); - background-image: -webkit-linear-gradient(top, rgba(64, 64, 64, 0.5), rgba(0, 0, 0, 0.5)); display: none; } .OxVideoPlayer .OxVolume > * { @@ -2088,25 +2132,16 @@ Video .OxVideoPlayer .OxVolume .OxRange .OxTrack { padding: 1px; border: 0; - background-image: -moz-linear-gradient(top, rgba(0, 0, 0, 0.5), rgba(64, 64, 64, 0.5)); - background-image: -webkit-linear-gradient(top, rgba(0, 0, 0, 0.5), rgba(64, 64, 64, 0.5)); } .OxVideoPlayer .OxVolume .OxRange .OxThumb { padding: 1px 7px 1px 7px; border: 0; - background-image: -moz-linear-gradient(top, rgba(64, 64, 64, 0.5), rgba(0, 0, 0, 0.5)); - background-image: -webkit-linear-gradient(top, rgba(64, 64, 64, 0.5), rgba(0, 0, 0, 0.5)); -} -.OxVideoPlayer .OxVolume .OxRange .OxThumb:active { - background-image: -moz-linear-gradient(top, rgba(64, 64, 64, 0.5), rgba(0, 0, 0, 0.5)); - background-image: -webkit-linear-gradient(top, rgba(64, 64, 64, 0.5), rgba(0, 0, 0, 0.5)); } .OxVideoPlayer .OxVolume .OxVolumeValue { width: 24px; padding-top: 2px; font-size: 9px; text-align: center; - color: rgb(255, 255, 255); } .OxVideoPreview { diff --git a/source/Ox.UI/js/Core/Ox.Theme.js b/source/Ox.UI/js/Core/Ox.Theme.js index edc6c8ca..6ba2d0d2 100644 --- a/source/Ox.UI/js/Core/Ox.Theme.js +++ b/source/Ox.UI/js/Core/Ox.Theme.js @@ -38,7 +38,7 @@ Ox.Theme = function(theme) { $this.attr({ src: Ox.UI.getImageURL(Ox.UI.getImageName(src), theme) }); - Ox.print(Ox.UI.getImageName(src), Ox.UI.getImageURL(Ox.UI.getImageName(src), theme)) + //Ox.print(Ox.UI.getImageName(src), Ox.UI.getImageURL(Ox.UI.getImageName(src), theme)) }); } return theme; diff --git a/source/Ox.UI/js/Video/Ox.BlockVideoTimeline.js b/source/Ox.UI/js/Video/Ox.BlockVideoTimeline.js index 2b0c0c31..44f89bb3 100644 --- a/source/Ox.UI/js/Video/Ox.BlockVideoTimeline.js +++ b/source/Ox.UI/js/Video/Ox.BlockVideoTimeline.js @@ -15,6 +15,7 @@ Ox.BlockVideoTimeline = function(options, self) { width: 0 }) .options(options || {}) + .addClass('OxBlockVideoTimeline') .css({ position: 'absolute', //background: 'rgba(192, 192, 192, 0.1)' @@ -62,14 +63,9 @@ Ox.BlockVideoTimeline = function(options, self) { self.$positionMarker = $('') .attr({ - src: Ox.UI.getImageURL('markerPlay') - }) - .css({ - position: 'absolute', - width: '9px', - height: '9px', - zIndex: 10 + src: Ox.UI.getImageURL('markerPosition') }) + .addClass('OxMarkerPosition') .appendTo(that.$element); setPositionMarker(); @@ -77,17 +73,10 @@ Ox.BlockVideoTimeline = function(options, self) { ['in', 'out'].forEach(function(point) { var titlecase = Ox.toTitleCase(point); self.$pointMarker[point] = $('') - .addClass('OxPointMarker' + titlecase) + .addClass('OxMarkerPoint' + titlecase) .attr({ src: Ox.UI.getImageURL('marker' + titlecase) }) - .css({ - position: 'absolute', - width: '6px', - height: '6px', - marginLeft: (point == 'in' ? -1 : 4) + 'px', - zIndex: 10 - }) .appendTo(that.$element); setPointMarker(point); }); @@ -205,13 +194,13 @@ Ox.BlockVideoTimeline = function(options, self) { self.$pointMarker[point].css({ left: (position % self.options.width) + 'px', top: (parseInt(position / self.options.width) * - (self.height + self.margin) + 16) + 'px' + (self.height + self.margin) + 15) + 'px' }); } function setPositionMarker() { self.$positionMarker.css({ - left: (self.options.position % self.options.width) + 'px', + left: (self.options.position % self.options.width) - 1 + 'px', top: (parseInt(self.options.position / self.options.width) * (self.height + self.margin) + 2) + 'px' }); diff --git a/source/Ox.UI/js/Video/Ox.LargeVideoTimeline.js b/source/Ox.UI/js/Video/Ox.LargeVideoTimeline.js index eaf6a64c..6b667027 100644 --- a/source/Ox.UI/js/Video/Ox.LargeVideoTimeline.js +++ b/source/Ox.UI/js/Video/Ox.LargeVideoTimeline.js @@ -28,7 +28,7 @@ Ox.LargeVideoTimeline = function(options, self) { width: 0 }) .options(options || {}) - .addClass('OxTimelineLarge') + .addClass('OxLargeVideoTimeline') .mouseleave(mouseleave) .mousemove(mousemove) .bindEvent({ @@ -75,7 +75,7 @@ Ox.LargeVideoTimeline = function(options, self) { self.$markerPosition = $('') .addClass('OxMarkerPosition') .attr({ - src: Ox.UI.getImageURL('markerPlay') + src: Ox.UI.getImageURL('markerPosition') }) .appendTo(that.$element); setMarker(); @@ -134,7 +134,7 @@ Ox.LargeVideoTimeline = function(options, self) { function setMarker() { self.$markerPosition.css({ - left: (self.center - 4) + 'px', + left: self.center + 'px', }); } diff --git a/source/Ox.UI/js/Video/Ox.SmallVideoTimeline.js b/source/Ox.UI/js/Video/Ox.SmallVideoTimeline.js index c8039028..5d2d0960 100644 --- a/source/Ox.UI/js/Video/Ox.SmallVideoTimeline.js +++ b/source/Ox.UI/js/Video/Ox.SmallVideoTimeline.js @@ -71,43 +71,14 @@ Ox.SmallVideoTimeline = function(options, self) { if (self.options.type == 'player') { self.$positionMarker = $('