/* Range input css reset */ input[type=range]{ -webkit-appearance: none; margin: 0; padding: 0; background: none; } input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; border: none; border-radius: 0; background: none; } input[type=range]::-moz-range-thumb { border: none; border-radius: 0; background: none; } input[type=range]::-moz-range-track { border: none; background: none; } input[type=range]:focus { outline: none; } input[type=range]::-moz-focus-outer { border: 0; } a:focus { outline: none; } #shade-time { cursor:url('cursors/MAINMENU.CUR'), auto; } /* Animation */ @keyframes blink { 0% { opacity: 1.0; } 50% { opacity: 0.0; } 100% { opacity: 1.0; } } @-webkit-keyframes blink { 0% { opacity: 1.0; } 50% { opacity: 0.0; } 100% { opacity: 1.0; } } /* Styles */ #winamp { position: relative; /* background-image: MAIN.BMP via Javascript */ height: 116px; width: 275px; cursor:url('cursors/MAINMENU.CUR'), auto; } #winamp.closed { display: none; } #title-bar { position: absolute; top: 0; left: 0; height: 14px; width: 275px; /* background-image: TITLEBAR.BMP via Javascript */ background-position: -27px -14px; cursor:url('cursors/TITLEBAR.CUR'), auto; } #title-bar.selected { background-position: -27px 0px; } .llama #title-bar { background-position: -27px -61px; } .llama #title-bar.selected { background-position: -27px -57px; } #option, #minimize, #shade, #close { position: absolute; height: 9px; width: 9px; top: 3px; cursor:url('cursors/MAINMENU.CUR'), auto; } #title-bar #option { left: 6px; /* background-image: TITLEBAR.BMP via Javascript */ } #title-bar #option:active { background-position: 0 -9px; } #title-bar #minimize { left: 244px; /* background-image: TITLEBAR.BMP via Javascript */ background-position: -9px 0; } #title-bar #minimize:active { background-position: -9px -9px; } #title-bar #shade { left: 254px; /* background-image: TITLEBAR.BMP via Javascript */ background-position: 0px -18px; } #title-bar #shade:active { background-position: -9px -18px; } #title-bar #close { left: 264px; /* background-image: TITLEBAR.BMP via Javascript */ background-position: -18px 0px; cursor:url('cursors/CLOSE.CUR'), auto; } #title-bar #close:active { background-position: -18px -9px; } .status #clutter-bar { position: absolute; top: 22px; left: 10px; height: 43px; width: 8px; /* background-image: TITLEBAR.BMP via Javascript */ background-position: -304px 0; } .status #clutter-bar.disabled { background-position: -312px 0; } .status #play-pause { position: absolute; top: 28px; left: 24px; height: 9px; width: 9px; /* background-image: PLAYPAUS.BMP via Javascript */ background-repeat: no-repeat; } .play .status #play-pause #work-indicator { position: absolute; top: 0px; left: 0px; height: 9px; width: 3px; /* background-image: PLAYPAUS.BMP via Javascript */ background-position: -36px 0; } .play .status #play-pause #work-indicator.selected { background-position: -39px 0; } .play .status #play-pause { } .pause .status #play-pause { background-position: -9px 0; } .stop .status #play-pause { background-position: -18px 0; } .status #time { position: absolute; left: 48px; left: 40px; top: 26px; /* Just to make it clickable */ height: 13px; width: 59px; } .stop .status #time { display:none; } .pause .status #time { animation: blink 2s step-start 1s infinite; -webkit-animation: blink 2s step-start 1s infinite; } .status #time #minus-sign { position: absolute; top: 6px; width: 5px; height: 1px; /* background-image: NUMBERS.BMP via Javascript */ background-position: -9px -6px; } .status #time.countdown #minus-sign { background-position: -20px -6px; } .status #time #minute-first-digit { position: absolute; left: 8px; height: 13px; width: 9px; } .status #time #minute-second-digit { position: absolute; left: 20px; height: 13px; width: 9px; } .status #time #second-first-digit { position: absolute; left: 38px; height: 13px; width: 9px; } .status #time #second-second-digit { position: absolute; left: 50px; height: 13px; width: 9px; } .text { position: absolute; left: 112px; top: 27px; width: 152px; height: 6px; overflow: hidden; display: none; } #song-title { display: block; } .setting-volume #song-title { display: none; } .setting-volume #balance-message { display: none; } .setting-volume #volume-message { display: block; } .setting-balance #song-title { display: none; } .setting-balance #volume-message { display: none; } .setting-balance #balance-message { display: block; } .media-info #kbps { position: absolute; left: 111px; top: 43px; width: 15px; height: 6px; overflow: hidden; } .stop .media-info #kbps { display: none; } .media-info #khz { position: absolute; left: 156px; top: 43px; width: 10px; height: 6px; overflow: hidden; } .stop .media-info #khz { display: none; } .media-info .mono-stereo { position: absolute; left: 212px; top: 41px; width: 57px; height: 12px; } .media-info .mono-stereo div { position: absolute; height: 12px; /* background-image: MONOSTER.BMP via Javascript */ } .media-info .mono-stereo #mono { width: 29px; background-position: -29px -12px; } .media-info .mono-stereo #mono.selected { background-position: -29px 0; } .stop .media-info .mono-stereo #mono.selected { background-position: -29px 0; } .media-info .mono-stereo #stereo { left: 27px; width: 29px; background-position: 0 -12px; } .media-info .mono-stereo #stereo.selected { background-position: 0 0; } .stop .media-info .mono-stereo #stereo.selected { background-position: 0 -12px; } #volume { position: absolute; left: 107px; top: 57px; height: 13px; width: 68px; /* background-image: VOLUME.BMP via Javascript */ background-position: 0 0; } #volume::-webkit-slider-thumb { display: block; margin-top: 1px; height: 11px; width: 14px; /* background-image: VOLUME.BMP via Javascript */ background-position: -15px -422px; cursor:url('cursors/VOLBAR.CUR'), auto; } #volume::-moz-range-thumb { margin-top: 1px; height: 11px; width: 14px; /* background-image: VOLUME.BMP via Javascript */ background-position: -15px -422px; cursor:url('cursors/VOLBAR.CUR'), auto; } #volume:active::-webkit-slider-thumb { background-position: 0 -422px; } #volume:active::-moz-range-thumb { background-position: 0 -422px; } #balance { position: absolute; left: 177px; top: 57px; height: 13px; width: 38px; /* background-image: BALANCE.BMP via Javascript */ background-position: -9px 0; } #balance::-webkit-slider-thumb { top: 1px; height: 11px; width: 14px; /* background-image: VOLUME.BMP via Javascript */ background-position: -15px -422px; cursor:url('cursors/POSBAR.CUR'), auto; } #balance::-moz-range-thumb { top: 1px; height: 11px; width: 14px; /* background-image: VOLUME.BMP via Javascript */ background-position: -15px -422px; cursor:url('cursors/POSBAR.CUR'), auto; } #balance:active::-webkit-slider-thumb { background-position: 0 -422px; } #balance:active::-moz-range-thumb { background-position: 0 -422px; } .windows { position: absolute; left: 219px; top: 58px; width: 46px; height: 12px; } .windows div { position: absolute; width: 23px; height: 12px; /* background-image: SHUFREP.BMP via Javascript */ } .windows #equalizer { left: 0; background-position: 0 -61px; } .windows #equalizer:active { background-position: -46px -61px; } .windows #playlist { left: 23px; background-position: -23px -61px; } .windows #playlist:active { background-position: -69px -61px; } #position { position: absolute; left: 16px; top: 72px; width: 248px; height: 10px; /* background-image: POSBAR.BMP via Javascript */ background-repeat: no-repeat; } #position::-webkit-slider-thumb { height: 10px; width: 29px; background-position: -248px 0; /* background-image: POSBAR.BMP via Javascript */ background-repeat: no-repeat; cursor:url('cursors/POSBAR.CUR'), auto; /* * Fix the strange bug in Safair/mobile-chrome * http://stackoverflow.com/questions/26727769/rendering-glitch-when-manipulating-range-input-value-via-javascript-in-webkit */ -webkit-box-sizing: border-box; position: relative; } #position::-moz-range-thumb { height: 10px; width: 29px; background-position: -248px 0; /* background-image: POSBAR.BMP via Javascript */ cursor:url('cursors/POSBAR.CUR'), auto; } /* For some reason, we can't use display: none here */ .stop #position::-webkit-slider-thumb { visibility: hidden; } .stop #position::-moz-range-thumb { visibility: hidden; } #position:active::-webkit-slider-thumb { background-position: -278px 0; } #position:active::-moz-range-thumb { background-position: -278px 0; } .actions div { /* background-image: CBUTTONS.BMP via Javascript */ height: 18px; width: 23px; position: absolute; } .actions #previous { top: 88px; left: 16px; background-position: 0 0; } .actions #previous:active { background-position: 0 -18px; } .actions #play { top: 88px; left: 39px; background-position: -23px 0; } .actions #play:active { background-position: -23px -18px; } .actions #pause { top: 88px; left: 62px; background-position: -46px 0; } .actions #pause:active { background-position: -46px -18px; } .actions #stop { top: 88px; left: 85px; background-position: -69px 0; } .actions #stop:active { background-position: -69px -18px; } .actions #next { top: 88px; left: 108px; background-position: -92px 0; width: 22px; } .actions #next:active { background-position: -92px -18px; } #eject { position: absolute; top: 89px; left: 136px; /* background-image: CBUTTONS.BMP via Javascript */ height: 16px; width: 22px; } #eject { background-position: -114px 0; } #eject:active { background-position: -114px -16px; } .shuffle-repeat { position: absolute; top: 89px; left: 164px; width: 74px; } .shuffle-repeat div { position: absolute; height: 15px; /* background-image: SHUFREP.BMP via Javascript */ } .shuffle-repeat #shuffle { width: 47px; background-position: -28px 0; } .shuffle-repeat #shuffle:active { background-position: -28px -15px; } .shuffle-repeat #shuffle.selected { background-position: -28px -30px; } .shuffle-repeat #shuffle.selected:active { background-position: -28px -45px; } .shuffle-repeat #repeat { left: 47px; width: 28px; } .shuffle-repeat #repeat:active { background-position: 0 -15px; } .shuffle-repeat #repeat.selected { background-position: 0 -30px; } .shuffle-repeat #repeat.selected:active { background-position: 0 -45px; } #about { position: absolute; top: 91px; left: 253px; height: 15px; width: 13px; } .character { display: block; float: left; /* Safari does not do inline-block well */ width: 5px; height: 6px; /* background-image: TEXT.BMP via Javascript */ text-indent: -9999px; } .digit { display: inline-block; width: 9px; height: 13px; /* background-image: NUMBERS.BMP via Javascript */ background-repeat: no-repeat; text-indent: -9999px; } #file-input { display: none; } /* Shade View */ #winamp.shade { height: 14px; overflow: hidden; } .shade #title-bar { background-position: -27px -42px; } .shade #title-bar.selected { background-position: -27px -29px; } .shade #title-bar #shade { background-position: 0px -27px; } .shade #title-bar #shade:active { background-position: -9px -27px; } .shade .actions div { background: none; position: absolute; } .shade #previous { height: 10px; width: 7px; top: 2px; left: 169px; } .shade #play { height: 10px; width: 10px; top: 2px; left: 176px; } .shade #pause { height: 10px; width: 9px; top: 2px; left: 186px; } .shade #stop { height: 10px; width: 9px; top: 2px; left: 195px; } .shade #next { height: 10px; width: 10px; top: 2px; left: 204px; } .shade #eject { height: 10px; width: 10px; top: 2px; left: 215px; background: none; } .shade #position { position: absolute; left: 226px; top: 4px; width: 17px; height: 7px; /* background-image: TITLEBAR.BMP via Javascript */ background-position: -0px -36px; } .shade #position::-webkit-slider-thumb { height: 7px; width: 3px; background-position: -20px -36px; /* background-image: TITLEBAR.BMP via Javascript */ } .shade #position::-moz-range-thumb { height: 7px; width: 3px; background-position: -20px -36px; /* background-image: TITLEBAR.BMP via Javascript */ } .shade #position.left::-webkit-slider-thumb { background-position: -17px -36px; } .shade #position.left::-moz-range-thumb { background-position: -17px -36px; } .shade #position.right::-webkit-slider-thumb { background-position: -23px -36px; } .shade #position.right::-moz-range-thumb { background-position: -23px -36px; } #shade-time { display: none; } .shade #shade-time { display: block; position: absolute; top: 4px; left: 127px; height:6px; width: 25px; } .stop.shade #shade-time { display:none; } .pause.shade #shade-time { animation: blink 2s step-start 1s infinite; -webkit-animation: blink 2s step-start 1s infinite; } .shade #shade-time .character { position: absolute; top: 0; } .shade #shade-minus-sign { left: 0px; } .shade #shade-minute-first-digit { left: 6px; } .shade #shade-minute-second-digit { left: 11px; } .shade #shade-second-first-digit { left: 20px; } .shade #shade-second-second-digit { left: 25px; }