bgneal@402: /* bgneal@402: * Skin for jPlayer Plugin (jQuery JavaScript Library) bgneal@402: * http://www.happyworm.com/jquery/jplayer bgneal@402: * bgneal@402: * Skin Name: Blue Monday bgneal@402: * bgneal@488: * Copyright (c) 2010-2011 Happyworm Ltd bgneal@402: * Dual licensed under the MIT and GPL licenses. bgneal@402: * - http://www.opensource.org/licenses/mit-license.php bgneal@402: * - http://www.gnu.org/copyleft/gpl.html bgneal@402: * bgneal@402: * Author: Silvia Benvenuti bgneal@488: * Skin Version: 4.0 (jPlayer 2.1.0) bgneal@488: * Date: 1st September 2011 bgneal@402: */ bgneal@402: bgneal@402: div.jp-audio, bgneal@402: div.jp-video { bgneal@402: bgneal@402: /* Edit the font-size to counteract inherited font sizing. bgneal@402: * Eg. 1.25em = 1 / 0.8em bgneal@402: */ bgneal@402: bgneal@488: font-size:1.25em; /* 1.25em for testing in site pages */ /* No parent CSS that can effect the size in the demos ZIP */ bgneal@402: bgneal@402: font-family:Verdana, Arial, sans-serif; bgneal@402: line-height:1.6; bgneal@402: color: #666; bgneal@488: border:1px solid #009be3; bgneal@488: background-color:#eee; bgneal@488: position:relative; bgneal@402: } bgneal@402: div.jp-audio { bgneal@402: width:420px; bgneal@402: } bgneal@402: div.jp-video-270p { bgneal@402: width:480px; bgneal@402: } bgneal@402: div.jp-video-360p { bgneal@402: width:640px; bgneal@402: } bgneal@488: div.jp-video-full { bgneal@488: /* Rules for IE6 (full-screen) */ bgneal@488: width:480px; bgneal@488: height:270px; bgneal@488: /* Rules for IE7 (full-screen) - Otherwise the relative container causes other page items that are not position:static (default) to appear over the video/gui. */ bgneal@488: position:static !important; position:relative bgneal@488: } bgneal@488: bgneal@488: div.jp-video-full div.jp-jplayer { bgneal@488: top: 0; bgneal@488: left: 0; bgneal@488: position: fixed !important; position: relative; /* Rules for IE6 (full-screen) */ bgneal@488: overflow: hidden; bgneal@488: z-index:1000; bgneal@488: } bgneal@488: bgneal@488: div.jp-video-full div.jp-gui { bgneal@488: position: fixed !important; position: static; /* Rules for IE6 (full-screen) */ bgneal@488: top: 0; bgneal@488: left: 0; bgneal@488: width:100%; bgneal@488: height:100%; bgneal@488: z-index:1000; bgneal@488: } bgneal@488: bgneal@488: div.jp-video-full div.jp-interface { bgneal@488: position: absolute !important; position: relative; /* Rules for IE6 (full-screen) */ bgneal@488: bottom: 0; bgneal@488: left: 0; bgneal@488: z-index:1000; bgneal@488: } bgneal@488: bgneal@402: div.jp-interface { bgneal@402: position: relative; bgneal@402: background-color:#eee; bgneal@402: width:100%; bgneal@402: } bgneal@488: bgneal@402: div.jp-audio div.jp-type-single div.jp-interface { bgneal@402: height:80px; bgneal@402: } bgneal@402: div.jp-audio div.jp-type-playlist div.jp-interface { bgneal@402: height:80px; bgneal@402: } bgneal@488: bgneal@488: div.jp-video div.jp-interface { bgneal@488: border-top:1px solid #009be3; bgneal@402: } bgneal@488: bgneal@488: /* @group CONTROLS */ bgneal@488: bgneal@488: div.jp-controls-holder { bgneal@488: clear: both; bgneal@488: width:440px; bgneal@488: margin:0 auto; bgneal@488: position: relative; bgneal@488: overflow:hidden; bgneal@488: top:-8px; /* This negative value depends on the size of the text in jp-currentTime and jp-duration */ bgneal@402: } bgneal@488: bgneal@402: div.jp-interface ul.jp-controls { bgneal@402: list-style-type:none; bgneal@488: margin:0; bgneal@488: padding: 0; bgneal@488: overflow:hidden; bgneal@488: } bgneal@488: bgneal@488: div.jp-audio ul.jp-controls { bgneal@488: width: 380px; bgneal@488: padding:20px 20px 0 20px; bgneal@488: } bgneal@488: bgneal@488: div.jp-video div.jp-type-single ul.jp-controls { bgneal@488: width: 78px; bgneal@488: margin-left: 200px; bgneal@488: } bgneal@488: bgneal@488: div.jp-video div.jp-type-playlist ul.jp-controls { bgneal@488: width: 134px; bgneal@488: margin-left: 172px; bgneal@488: } bgneal@488: div.jp-video ul.jp-controls, bgneal@488: div.jp-interface ul.jp-controls li { bgneal@488: display:inline; bgneal@488: float: left; bgneal@402: } bgneal@488: bgneal@402: div.jp-interface ul.jp-controls a { bgneal@488: display:block; bgneal@402: overflow:hidden; bgneal@402: text-indent:-9999px; bgneal@402: } bgneal@402: a.jp-play, bgneal@402: a.jp-pause { bgneal@402: width:40px; bgneal@402: height:40px; bgneal@402: } bgneal@488: bgneal@402: a.jp-play { bgneal@402: background: url("jplayer.blue.monday.jpg") 0 0 no-repeat; bgneal@402: } bgneal@402: a.jp-play:hover { bgneal@402: background: url("jplayer.blue.monday.jpg") -41px 0 no-repeat; bgneal@402: } bgneal@402: a.jp-pause { bgneal@402: background: url("jplayer.blue.monday.jpg") 0 -42px no-repeat; bgneal@402: display: none; bgneal@402: } bgneal@402: a.jp-pause:hover { bgneal@402: background: url("jplayer.blue.monday.jpg") -41px -42px no-repeat; bgneal@402: } bgneal@488: bgneal@488: a.jp-stop, a.jp-previous, a.jp-next { bgneal@488: width:28px; bgneal@488: height:28px; bgneal@488: margin-top:6px; bgneal@402: } bgneal@488: bgneal@402: a.jp-stop { bgneal@402: background: url("jplayer.blue.monday.jpg") 0 -83px no-repeat; bgneal@488: margin-left:10px; bgneal@488: } bgneal@488: bgneal@402: a.jp-stop:hover { bgneal@402: background: url("jplayer.blue.monday.jpg") -29px -83px no-repeat; bgneal@488: } bgneal@488: bgneal@402: a.jp-previous { bgneal@402: background: url("jplayer.blue.monday.jpg") 0 -112px no-repeat; bgneal@402: } bgneal@402: a.jp-previous:hover { bgneal@402: background: url("jplayer.blue.monday.jpg") -29px -112px no-repeat; bgneal@488: } bgneal@488: bgneal@402: a.jp-next { bgneal@402: background: url("jplayer.blue.monday.jpg") 0 -141px no-repeat; bgneal@402: } bgneal@402: a.jp-next:hover { bgneal@402: background: url("jplayer.blue.monday.jpg") -29px -141px no-repeat; bgneal@402: } bgneal@488: bgneal@488: /* @end */ bgneal@488: bgneal@488: /* @group progress bar */ bgneal@488: bgneal@402: div.jp-progress { bgneal@402: overflow:hidden; bgneal@402: background-color: #ddd; bgneal@402: } bgneal@488: div.jp-audio div.jp-progress { bgneal@488: position: absolute; bgneal@402: top:32px; bgneal@402: height:15px; bgneal@402: } bgneal@488: div.jp-audio div.jp-type-single div.jp-progress { bgneal@488: left:110px; bgneal@488: width:186px; bgneal@488: } bgneal@402: div.jp-audio div.jp-type-playlist div.jp-progress { bgneal@488: left:166px; bgneal@488: width:130px; bgneal@402: } bgneal@402: div.jp-video div.jp-progress { bgneal@402: top:0px; bgneal@402: left:0px; bgneal@402: width:100%; bgneal@402: height:10px; bgneal@402: } bgneal@402: div.jp-seek-bar { bgneal@402: background: url("jplayer.blue.monday.jpg") 0 -202px repeat-x; bgneal@402: width:0px; bgneal@402: height:100%; bgneal@402: cursor: pointer; bgneal@402: } bgneal@402: div.jp-play-bar { bgneal@402: background: url("jplayer.blue.monday.jpg") 0 -218px repeat-x ; bgneal@402: width:0px; bgneal@402: height:100%; bgneal@402: } bgneal@402: bgneal@402: /* The seeking class is added/removed inside jPlayer */ bgneal@402: div.jp-seeking-bg { bgneal@488: background: url("jplayer.blue.monday.seeking.gif"); bgneal@402: } bgneal@402: bgneal@488: /* @end */ bgneal@488: bgneal@488: /* @group volume controls */ bgneal@488: bgneal@488: bgneal@402: a.jp-mute, bgneal@488: a.jp-unmute, bgneal@488: a.jp-volume-max { bgneal@402: width:18px; bgneal@488: height:15px; bgneal@488: margin-top:12px; bgneal@488: } bgneal@488: bgneal@488: div.jp-audio div.jp-type-single a.jp-mute, bgneal@488: div.jp-audio div.jp-type-single a.jp-unmute { bgneal@488: margin-left: 210px; bgneal@488: } bgneal@488: bgneal@488: div.jp-audio div.jp-type-playlist a.jp-mute, bgneal@488: div.jp-audio div.jp-type-playlist a.jp-unmute { bgneal@488: margin-left: 154px; bgneal@488: } bgneal@488: bgneal@488: div.jp-audio a.jp-volume-max { bgneal@488: margin-left: 56px; bgneal@402: } bgneal@488: bgneal@488: div.jp-video a.jp-mute, bgneal@488: div.jp-video a.jp-unmute, bgneal@488: div.jp-video a.jp-volume-max { bgneal@488: position: absolute; bgneal@488: top:12px; bgneal@488: margin-top:0; bgneal@402: } bgneal@488: bgneal@488: div.jp-video a.jp-mute, bgneal@488: div.jp-video a.jp-unmute { bgneal@488: left: 50px; bgneal@488: } bgneal@488: bgneal@488: bgneal@488: div.jp-video a.jp-volume-max { bgneal@402: left: 134px; bgneal@488: } bgneal@402: bgneal@488: a.jp-mute { bgneal@402: background: url("jplayer.blue.monday.jpg") 0 -170px no-repeat; bgneal@402: } bgneal@402: a.jp-mute:hover { bgneal@402: background: url("jplayer.blue.monday.jpg") -19px -170px no-repeat; bgneal@402: } bgneal@488: a.jp-unmute { bgneal@402: background: url("jplayer.blue.monday.jpg") -60px -170px no-repeat; bgneal@402: display: none; bgneal@402: } bgneal@488: a.jp-unmute:hover { bgneal@488: background: url("jplayer.blue.monday.jpg") -79px -170px no-repeat; bgneal@488: } bgneal@488: bgneal@488: a.jp-volume-max { bgneal@488: background: url("jplayer.blue.monday.jpg") 0 -186px no-repeat; bgneal@402: } bgneal@402: a.jp-volume-max:hover { bgneal@488: background: url("jplayer.blue.monday.jpg") -19px -186px no-repeat; bgneal@402: } bgneal@402: bgneal@402: div.jp-volume-bar { bgneal@402: position: absolute; bgneal@402: overflow:hidden; bgneal@402: background: url("jplayer.blue.monday.jpg") 0 -250px repeat-x; bgneal@402: width:46px; bgneal@402: height:5px; bgneal@488: cursor: pointer; bgneal@402: } bgneal@488: div.jp-audio div.jp-volume-bar { bgneal@402: top:37px; bgneal@402: left:330px; bgneal@488: } bgneal@488: div.jp-video div.jp-volume-bar { bgneal@402: top:17px; bgneal@402: left:72px; bgneal@402: } bgneal@402: div.jp-volume-bar-value { bgneal@402: background: url("jplayer.blue.monday.jpg") 0 -256px repeat-x; bgneal@402: width:0px; bgneal@488: height:5px; bgneal@488: } bgneal@488: bgneal@488: /* @end */ bgneal@488: bgneal@488: /* @group current time and duration */ bgneal@488: bgneal@488: div.jp-audio div.jp-time-holder { bgneal@488: position:absolute; bgneal@488: top:50px; bgneal@488: } bgneal@488: div.jp-audio div.jp-type-single div.jp-time-holder { bgneal@488: left:110px; bgneal@488: width:186px; bgneal@488: } bgneal@488: div.jp-audio div.jp-type-playlist div.jp-time-holder { bgneal@488: left:166px; bgneal@488: width:130px; bgneal@402: } bgneal@402: bgneal@488: div.jp-current-time, bgneal@402: div.jp-duration { bgneal@488: width:60px; bgneal@488: font-size:.64em; bgneal@488: font-style:oblique; bgneal@488: } bgneal@488: div.jp-current-time { bgneal@402: float: left; bgneal@402: display:inline; bgneal@488: } bgneal@488: div.jp-duration { bgneal@402: float: right; bgneal@402: display:inline; bgneal@488: text-align: right; bgneal@488: } bgneal@488: bgneal@402: div.jp-video div.jp-current-time { bgneal@488: margin-left:20px; bgneal@488: } bgneal@402: div.jp-video div.jp-duration { bgneal@488: margin-right:20px; bgneal@488: } bgneal@488: bgneal@488: /* @end */ bgneal@488: bgneal@488: /* @group playlist */ bgneal@488: bgneal@488: div.jp-title { bgneal@402: font-weight:bold; bgneal@488: text-align:center; bgneal@488: } bgneal@402: bgneal@402: div.jp-title, bgneal@402: div.jp-playlist { bgneal@488: width:100%; bgneal@488: background-color:#ccc; bgneal@488: border-top:1px solid #009be3; bgneal@488: } bgneal@488: div.jp-type-single div.jp-title, bgneal@402: div.jp-type-playlist div.jp-title, bgneal@402: div.jp-type-single div.jp-playlist { bgneal@488: border-top:none; bgneal@402: } bgneal@402: div.jp-title ul, bgneal@402: div.jp-playlist ul { bgneal@402: list-style-type:none; bgneal@402: margin:0; bgneal@402: padding:0 20px; bgneal@402: font-size:.72em; bgneal@488: } bgneal@488: bgneal@402: div.jp-title li { bgneal@402: padding:5px 0; bgneal@488: font-weight:bold; bgneal@402: } bgneal@402: div.jp-playlist li { bgneal@402: padding:5px 0 4px 20px; bgneal@488: border-bottom:1px solid #eee; bgneal@488: } bgneal@488: bgneal@402: div.jp-playlist li div { bgneal@488: display:inline; bgneal@488: } bgneal@488: bgneal@488: /* Note that the first-child (IE6) and last-child (IE6/7/8) selectors do not work on IE */ bgneal@402: bgneal@402: div.jp-type-playlist div.jp-playlist li:last-child { bgneal@402: padding:5px 0 5px 20px; bgneal@402: border-bottom:none; bgneal@402: } bgneal@402: div.jp-type-playlist div.jp-playlist li.jp-playlist-current { bgneal@488: list-style-type:square; bgneal@402: list-style-position:inside; bgneal@402: padding-left:7px; bgneal@488: } bgneal@402: div.jp-type-playlist div.jp-playlist a { bgneal@402: color: #333; bgneal@402: text-decoration: none; bgneal@402: } bgneal@402: div.jp-type-playlist div.jp-playlist a:hover { bgneal@402: color:#0d88c1; bgneal@402: } bgneal@402: div.jp-type-playlist div.jp-playlist a.jp-playlist-current { bgneal@488: color:#0d88c1; bgneal@488: } bgneal@488: bgneal@402: div.jp-type-playlist div.jp-playlist a.jp-playlist-item-remove { bgneal@488: float:right; bgneal@488: display:inline; bgneal@488: text-align:right; bgneal@488: margin-right:10px; bgneal@488: font-weight:bold; bgneal@488: color:#666; bgneal@488: } bgneal@488: div.jp-type-playlist div.jp-playlist a.jp-playlist-item-remove:hover { bgneal@488: color:#0d88c1; bgneal@488: } bgneal@488: div.jp-type-playlist div.jp-playlist span.jp-free-media { bgneal@488: float:right; bgneal@488: display:inline; bgneal@488: text-align:right; bgneal@488: margin-right:10px; bgneal@488: } bgneal@488: div.jp-type-playlist div.jp-playlist span.jp-free-media a{ bgneal@488: color:#666; bgneal@488: } bgneal@488: div.jp-type-playlist div.jp-playlist span.jp-free-media a:hover{ bgneal@488: color:#0d88c1; bgneal@488: } bgneal@488: span.jp-artist { bgneal@402: font-size:.8em; bgneal@402: color:#666; bgneal@488: } bgneal@488: bgneal@488: /* @end */ bgneal@488: bgneal@488: div.jp-video-play { bgneal@488: position:absolute; bgneal@488: top:0; bgneal@402: left:0; bgneal@488: width:100%; bgneal@402: cursor:pointer; bgneal@402: background-color:rgba(0,0,0,0); /* Makes IE9 work with the active area over the whole video area. IE6/7/8 only have the button as active area. */ bgneal@402: } bgneal@402: div.jp-video-270p div.jp-video-play { bgneal@402: height:270px; bgneal@402: } bgneal@402: div.jp-video-360p div.jp-video-play { bgneal@488: height:360px; bgneal@488: } bgneal@488: div.jp-video-full div.jp-video-play { bgneal@488: height:100%; bgneal@488: z-index:1000; bgneal@488: } bgneal@488: a.jp-video-play-icon { bgneal@488: position:relative; bgneal@488: display:block; bgneal@402: width: 112px; bgneal@488: height: 100px; bgneal@488: bgneal@488: margin-left:-56px; bgneal@488: margin-top:-50px; bgneal@488: left:50%; bgneal@488: top:50%; bgneal@488: bgneal@488: background: url("jplayer.blue.monday.video.play.png") 0 0 no-repeat; bgneal@488: text-indent:-9999px; bgneal@488: } bgneal@488: div.jp-video-play:hover a.jp-video-play-icon { bgneal@488: background: url("jplayer.blue.monday.video.play.png") 0 -100px no-repeat; bgneal@488: } bgneal@488: bgneal@488: bgneal@488: bgneal@488: bgneal@402: bgneal@402: div.jp-jplayer audio, bgneal@402: div.jp-jplayer { bgneal@402: width:0px; bgneal@488: height:0px; bgneal@402: } bgneal@402: bgneal@488: div.jp-jplayer { bgneal@488: background-color: #000000; bgneal@488: } bgneal@488: bgneal@488: bgneal@488: bgneal@488: bgneal@488: bgneal@488: /* @group TOGGLES */ bgneal@488: bgneal@488: /* The audio toggles are nested inside jp-time-holder */ bgneal@488: bgneal@488: ul.jp-toggles { bgneal@488: list-style-type:none; bgneal@488: padding:0; bgneal@488: margin:0 auto; bgneal@488: overflow:hidden; bgneal@488: } bgneal@488: bgneal@488: div.jp-audio .jp-type-single ul.jp-toggles { bgneal@488: width:25px; bgneal@488: } bgneal@488: div.jp-audio .jp-type-playlist ul.jp-toggles { bgneal@488: width:55px; bgneal@488: margin: 0; bgneal@488: position: absolute; bgneal@402: left: 325px; bgneal@488: top: 50px; bgneal@488: } bgneal@488: bgneal@488: div.jp-video ul.jp-toggles { bgneal@488: margin-top:10px; bgneal@488: width:100px; bgneal@488: } bgneal@488: bgneal@488: ul.jp-toggles li { bgneal@488: display:block; bgneal@488: float:right; bgneal@488: } bgneal@488: bgneal@488: ul.jp-toggles li a { bgneal@488: display:block; bgneal@488: width:25px; bgneal@488: height:18px; bgneal@488: text-indent:-9999px; bgneal@488: line-height:100%; /* need this for IE6 */ bgneal@488: } bgneal@488: bgneal@488: a.jp-full-screen { bgneal@488: background: url("jplayer.blue.monday.jpg") 0 -310px no-repeat; bgneal@488: margin-left: 20px; bgneal@488: } bgneal@488: bgneal@488: a.jp-full-screen:hover { bgneal@488: background: url("jplayer.blue.monday.jpg") -30px -310px no-repeat; bgneal@488: } bgneal@488: bgneal@488: a.jp-restore-screen { bgneal@488: background: url("jplayer.blue.monday.jpg") -60px -310px no-repeat; bgneal@488: margin-left: 20px; bgneal@488: } bgneal@488: bgneal@488: a.jp-restore-screen:hover { bgneal@488: background: url("jplayer.blue.monday.jpg") -90px -310px no-repeat; bgneal@488: } bgneal@488: bgneal@488: a.jp-repeat { bgneal@488: background: url("jplayer.blue.monday.jpg") 0 -290px no-repeat; bgneal@488: } bgneal@488: bgneal@488: a.jp-repeat:hover { bgneal@488: background: url("jplayer.blue.monday.jpg") -30px -290px no-repeat; bgneal@488: } bgneal@488: bgneal@488: a.jp-repeat-off { bgneal@488: background: url("jplayer.blue.monday.jpg") -60px -290px no-repeat; bgneal@488: } bgneal@488: bgneal@488: a.jp-repeat-off:hover { bgneal@488: background: url("jplayer.blue.monday.jpg") -90px -290px no-repeat; bgneal@488: } bgneal@488: bgneal@488: a.jp-shuffle { bgneal@488: background: url("jplayer.blue.monday.jpg") 0 -270px no-repeat; bgneal@488: margin-left: 5px; bgneal@488: } bgneal@488: bgneal@488: a.jp-shuffle:hover { bgneal@488: background: url("jplayer.blue.monday.jpg") -30px -270px no-repeat; bgneal@488: } bgneal@488: bgneal@488: a.jp-shuffle-off { bgneal@488: background: url("jplayer.blue.monday.jpg") -60px -270px no-repeat; bgneal@488: margin-left: 5px; bgneal@488: } bgneal@488: bgneal@488: a.jp-shuffle-off:hover { bgneal@488: background: url("jplayer.blue.monday.jpg") -90px -270px no-repeat; bgneal@488: } bgneal@488: bgneal@488: bgneal@488: /* @end */ bgneal@488: bgneal@488: /* @group NO SOLUTION error feedback */ bgneal@488: bgneal@488: .jp-no-solution { bgneal@488: position:absolute; bgneal@488: width:390px; bgneal@488: margin-left:-202px; bgneal@488: left:50%; bgneal@488: top: 10px; bgneal@488: bgneal@488: padding:5px; bgneal@488: font-size:.8em; bgneal@488: background-color:#eee; bgneal@488: border:2px solid #009be3; bgneal@488: color:#000; bgneal@488: display:none; bgneal@488: } bgneal@488: bgneal@488: .jp-no-solution a { bgneal@488: color:#000; bgneal@488: } bgneal@488: bgneal@488: .jp-no-solution span { bgneal@488: font-size:1em; bgneal@488: display:block; bgneal@488: text-align:center; bgneal@488: font-weight:bold; bgneal@488: } bgneal@488: bgneal@488: /* @end */