/** * @fileoverview 默认皮肤的样式 * @author 首作 * @date 2015-01-12 * * 约定: * 1. 这个文件只定义所有ui组件的尺寸、在prite图中的位置(background、width、height); * 2. 与layout相关的属性(position、margin等)不在此定义,而交由js的layout模块完成; * 3. 对于复杂的ui组件,其内层的所有样式都可以在这个文件定制(如进度条、音量控制条); * 4. 在首次迭代中,这个文件开发者会手动编辑,以后与sprite图相关的属性应由代码自动化生成。 */ .prism-player .prism-big-play-btn { width: 90px; height: 90px; background: no-repeat -2px -2px; } .prism-player .prism-play-btn { width: 27px; height: 30px; background: no-repeat -2px -250px; } .prism-player .prism-live-display { width: 56px; height: 19px; background: no-repeat -186px -2px; } .prism-player .prism-play-btn.playing { width: 27px; height: 30px; background: no-repeat -208px -269px; } .prism-player .prism-fullscreen-btn { width: 30px; height: 30px; background: no-repeat -124px -190px; } .prism-player .prism-fullscreen-btn.fullscreen { width: 30px; height: 30px; background: no-repeat -161px -183px; } .prism-player .prism-volume { width: 33px; height: 30px; background: no-repeat -199px -119px; } .prism-player .prism-volume.mute { width: 33px; height: 30px; background: no-repeat -164px -151px; } .prism-player { background-color: #000; position: relative; /* bigplaybutton */ /* controlbar */ /* playbutton */ /* livedisplay */ /* timedisplay */ /* fullscreenbutton */ /* volume */ /* progress */ /* h5记载数据loading */ } .prism-player .prism-cover { width: 100%; height: 100%; background-color: #000; background-repeat: no-repeat; background-position: center; background-size: contain; position: absolute; top: 0; left: 0; } .prism-player .prism-errormessage { width: 100%; height: 100%; background-color: #000; background-repeat: no-repeat; background-position: center; background-size: contain; position: absolute; top: 0; left: 0; } .prism-player .prism-big-play-btn { display: none; } .prism-player .prism-controlbar { width: 100%; height: 61px; position: relative; z-index: 1; } .prism-player .prism-controlbar .prism-controlbar-bg { background-color: #262626; width: 100%; height: 50px; position: absolute; bottom: 0; left: 0; z-index: -1; } .prism-player .prism-time-display { height: 33px; line-height: 33px; color: #666666; } .prism-player .prism-time-display .current-time { color: #fff; } .prism-player .prism-progress { cursor: pointer; width: 100%; height: 6px; margin-top: 5px; background-color: #363636; position: relative; } .prism-player .prism-progress .prism-progress-loaded { position: absolute; top: 0; left: 0; width: 0; height: 100%; background-color: #7e2c1f; } .prism-player .prism-progress .prism-progress-played { position: absolute; top: 0; left: 0; width: 0; height: 100%; background-color: #ee2a10; } .prism-player .prism-progress .prism-progress-cursor { position: absolute; width: 8px; height: 8px; top: -5px; left: 0; margin-left: -8px; background-color: #5b5b5b; border: 4px solid #fff; border-radius: 8px; -webkit-box-shadow: 0 0 5px #000; box-shadow: 0 0 5px #000; overflow: hidden; -webkit-box-sizing: content-box; -moz-box-sizing: content-box; box-sizing: content-box; } .prism-player .prism-loading { width: 55px; height: 55px; margin-top: -27px !important; margin-left: -27px !important; } .prism-player .prism-loading .circle { background-color: rgba(0, 0, 0, 0); border: 5px solid; border-color: rgba(0, 193, 222, 0.2) rgba(0, 193, 222, 0.5) rgba(0, 193, 222, 0.7) rgba(0, 193, 222, 0.1); opacity: .9; border-radius: 50px; width: 45px; height: 45px; margin: 0 auto; -moz-animation: spinoffpulse 0.9s infinite linear; -webkit-animation: spinoffpulse 0.9s infinite linear; } .prism-player .prism-hide { display: none; } @-moz-keyframes spinoffpulse { 0% { -moz-transform: rotate(0deg); } 100% { -moz-transform: rotate(360deg); } } @-webkit-keyframes spinoffpulse { 0% { -webkit-transform: rotate(0deg); } 100% { -webkit-transform: rotate(360deg); } } :-webkit-full-screen { width: 100% !important; height: 100% !important; } :-moz-full-screen { width: 100% !important; height: 100% !important; } :-ms-full-screen { width: 100% !important; height: 100% !important; } :-ms-fullscreen { width: 100% !important; height: 100% !important; } :fullscreen { width: 100% !important; height: 100% !important; } body.prism-full-window { padding: 0; margin: 0; height: 100%; overflow-y: auto; } .prism-fullscreen { position: fixed; overflow: hidden; z-index: 99999; left: 0; top: 0; bottom: 0; right: 0; width: 100% !important; height: 100% !important; _position: absolute; }