/* This file contains proprietary software owned by Motorola Mobility, Inc.
No rights, expressed or implied, whatsoever to this software are provided by Motorola Mobility, Inc. hereunder.
(c) Copyright 2011 Motorola Mobility, Inc. All Rights Reserved.
*/ /*----------------------------------------------------------------------------- MARK: media -----------------------------------------------------------------------------*/ .montage-video-player { position: relative; min-width: 500px; overflow: hidden; border: 1px solid black; background-color: #000; /* black opaque */ } .montage-video-player.fullscreen { position: absolute; display: -webkit-box; -webkit-box-sizing: border-box; z-index: 1000; /* TODO: Define global z-index regions */ top: 0; left: 0; border: none; width: 100%; height: 100%; } .montage-video-player .video { display: block; /* Get rid of the bottom space */ position: relative; width: 100%; height: auto; } /*----------------------------------------------------------------------------- MARK: Controller -----------------------------------------------------------------------------*/ .montage-video-player .control-wrapper { position: absolute; left: 0; bottom: 0; right: 0; height: 50px; box-shadow: inset 0 2px 6px 2px hsla(0,0%,0%,.4); background-color: hsla(0,0%,0%,.95); background-image: -webkit-linear-gradient(top, hsla(0,0%,100%,.27) 0%, hsla(0,0%,100%,.15) 50%, hsla(0,0%,30%,.4) 50%, hsla(0,0%,0%,1) 100%); } .montage-video-player .control-wrapper.hide-controls { opacity: 0; pointer-events: none; -webkit-transform: translateY(50px); -webkit-transition: opacity .2s linear, -webkit-transform .2s cubic-bezier(.6,0,1,.75); } .montage-video-player .control-wrapper.show-controls { opacity: 1.0; -webkit-transition: opacity .2s linear, -webkit-transform .3s cubic-bezier(0,.4,.16,1); } .montage-video-player .controller { display: -webkit-box; position: relative; max-width: 1280px; color: #ffffff; margin: 0 auto; overflow: hidden; } .montage-video-player .controller > div { border-right: 1px solid hsla(0,0%,0%,.7); border-left: 1px solid hsla(0,0%,100%,.1); } .montage-video-player .controller > div:first-child { border-left: none; } .montage-video-player .controller > div:last-child { border-right: none; } .montage-video-player .controller-text { font: bold 14px "Helvetica Neue", Helvetica, sans-serif; color: #888; text-shadow: 0 1px 0px #000; } /*----------------------------------------------------------------------------- MARK: Scrubber Panel -----------------------------------------------------------------------------*/ .montage-video-player .controller-scrubber-panel { display: -webkit-box; -webkit-box-flex: 1; height: 50px; text-align: center; } .montage-video-player .scrubber { display: block; -webkit-box-flex: 1; margin-top: -2px; } .montage-video-player .position { display: block; width: 50px; height: 50px; line-height: 50px; text-align: right; } .montage-video-player .duration { display: block; width: 50px; height: 50px; line-height: 50px; text-align: left; } /*----------------------------------------------------------------------------- MARK: Button Panel -----------------------------------------------------------------------------*/ .montage-video-player .controller-button-panel { display: block; position: relative; height: 50px; } .montage-video-player .controller-button { position: relative; width: 50px; height: 50px; outline: none; background-repeat: no-repeat; background-position: center center; } .montage-video-player .controller-button:active { background-color: hsla(0,0%,0%,.4); } .montage-video-player .play { background-image: url("images/play.png"); } .montage-video-player .play.playing { background-image: url("images/pause.png"); } .montage-video-player .ff, .montage-video-player .rw, .montage-video-player .repeat { display: none; } /* Temporarly disabled */ /*----------------------------------------------------------------------------- MARK: Volume Panel -----------------------------------------------------------------------------*/ .montage-video-player .controller-volume-panel { display: -webkit-box; position: relative; width: 148px; height: 50px; } .montage-video-player .volume { position: relative; top: 16px; -webkit-box-flex: 1; } .montage-video-player .controller-progress { height: 15px; box-shadow: inset 0 0px 3px 1px hsla(0,0%,0%,.5); background: -webkit-repeating-linear-gradient(left, hsl(0,0%,25%) 0, hsl(0,0%,25%) 3px, hsl(0,0%,10%) 3px, hsl(0,0%,10%) 5px); } .montage-video-player .controller-progress:before { content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; background: -webkit-linear-gradient(top, hsla(0,0%,0%,0), hsla(0,0%,0%,.3) ); } .montage-video-player .volume-progress { width: 50%; height: 100%; background: -webkit-repeating-linear-gradient(left, hsl(195,90%,50%) 0, hsl(195,90%,50%) 3px, transparent 3px, transparent 5px); -webkit-transition: width .1s ease-in-out; } .montage-video-player .volume-plus, .montage-video-player .volume-minus { width: 50px; } .montage-video-player .volume-minus { background-image: url("images/volume-down.png"); } .montage-video-player .volume-minus:active { background-color: transparent; background-image: url("images/volume-down.png"), -webkit-linear-gradient(right, hsla(0,0%,0%,0), hsla(0,0%,0%,.5) ); } .montage-video-player .volume-plus { background-image: url("images/volume-up.png"); } .montage-video-player .volume-plus:active { background-color: transparent; background-image: url("images/volume-up.png"), -webkit-linear-gradient(left, hsla(0,0%,0%,0), hsla(0,0%,0%,.5) ); } .montage-video-player .controller-volume-panel .mute { display: none; } /* also MUTE[muted] */ /*----------------------------------------------------------------------------- MARK: Stop Panel -----------------------------------------------------------------------------*/ .montage-video-player .controller-stop-panel { display: block; position: relative; width: auto; height: 50px; } .montage-video-player .STOP { float: none; right: 0; } /*----------------------------------------------------------------------------- MARK: Fullscreen Panel -----------------------------------------------------------------------------*/ .montage-video-player .controller-fullscreen-panel { display: block; position: relative; width: auto; height: 50px; } .montage-video-player .fullscreen { float: none; right: 0; } .montage-video-player .enter-fullscreen { background-image: url("images/fullscreen-enter.png"); } .montage-video-player .exit-fullscreen { background-image: url("images/fullscreen-exit.png"); } .montage-video-player .support-fullscreen { display: block; } .montage-video-player .hide-fullscreen { display: none; } /*----------------------------------------------------------------------------- MARK: Track Panel -----------------------------------------------------------------------------*/ .montage-video-player .controller-track-panel { display: none; position: relative; width: 110px; height: 50px; } .montage-video-player .controller-track-panel .controller-button { float: none; position: absolute; outline: none; } .montage-video-player .PREVIOUS { top: 0; left: 0; } .montage-video-player .NEXT { top: 0; left: 55px; } .montage-video-player .supportsPlaylistControls .controller-button:active { color: #f44; } .montage-video-player .supportsPlaylistControls { display: none; height: 50px; } .montage-video-player .STOP { background-image: url("images/media-1up-controls-exitFullscreen.png"); } .montage-video-player .STOP:active { background-image: url("images/media-1up-controls-exitFullscreen-P.png"); } .montage-video-player .PREVIOUS { background-image: url("images/photos-1up-controls-prev.png"); } .montage-video-player .PREVIOUS:active{ background-image: url("images/photos-1up-controls-prev-P.png"); } .montage-video-player .NEXT { background-image: url("images/photos-1up-controls-next.png"); } .montage-video-player .NEXT:active { background-image: url("images/photos-1up-controls-next-P.png"); } .montage-video-player .montage-slider.pressed .handlerbg div, .montage-video-player .montage-slider.pressed .handler div, .montage-video-player .montage-slider.pressed .handler2 div, .montage-video-player .montage-slider.pressed .handler3 div, .montage-video-player .montage-slider.pressed .handler4 div { -webkit-transform: scale3d(.85, .85, .85); }