This commit is contained in:
parent
2c59e935f4
commit
25b5ca2d7e
45 changed files with 3862 additions and 0 deletions
146
static/cassette-player/css/demo.css
Normal file
146
static/cassette-player/css/demo.css
Normal file
|
@ -0,0 +1,146 @@
|
|||
@import url('normalize.css');
|
||||
/* Icon font for player controls */
|
||||
@font-face {
|
||||
font-family: 'playericons';
|
||||
src: url("fonts/playericons.eot");
|
||||
src: url("fonts/playericons.eot?#iefix") format('embedded-opentype'),
|
||||
url("fonts/playericons.woff") format('woff'),
|
||||
url("fonts/playericons.ttf") format('truetype'),
|
||||
url("fonts/playericons.svg#playericons") format('svg');
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
/* General Demo Style */
|
||||
|
||||
body{
|
||||
font-family: Cambria, Georgia, serif;
|
||||
background: #b6b6b6 url(../images/bg.jpg) fixed no-repeat top center;
|
||||
font-weight: 400;
|
||||
font-size: 15px;
|
||||
color: #333;
|
||||
overflow-y: scroll;
|
||||
overflow-x: hidden;
|
||||
}
|
||||
a{
|
||||
color: #2886BC;
|
||||
text-decoration: none;
|
||||
}
|
||||
a:hover{
|
||||
color: #000;
|
||||
}
|
||||
.container{
|
||||
width: 100%;
|
||||
position: relative;
|
||||
}
|
||||
.clr{
|
||||
clear: both;
|
||||
padding: 0;
|
||||
height: 0;
|
||||
margin: 0;
|
||||
}
|
||||
.container > header{
|
||||
margin: 10px 10px 0px 10px;
|
||||
padding: 20px 10px 0px 10px;
|
||||
position: relative;
|
||||
display: block;
|
||||
text-shadow: 1px 1px 1px rgba(0,0,0,0.2);
|
||||
text-align: center;
|
||||
}
|
||||
.container > header h1{
|
||||
font-family: 'Aldrich';
|
||||
font-size: 26px;
|
||||
line-height: 26px;
|
||||
margin: 0;
|
||||
position: relative;
|
||||
font-weight: 300;
|
||||
color: #666;
|
||||
text-shadow: 1px 1px 1px rgba(255,255,255,0.5);
|
||||
}
|
||||
.container > header h1 span{
|
||||
font-weight: 700;
|
||||
}
|
||||
.container > header h2{
|
||||
width: 500px;
|
||||
font-size: 14px;
|
||||
line-height: 22px;
|
||||
font-weight: 300;
|
||||
margin: 0 auto;
|
||||
padding: 15px 0 5px 0;
|
||||
color: #666;
|
||||
font-style: italic;
|
||||
text-shadow: 1px 1px 1px rgba(255,255,255,0.9);
|
||||
}
|
||||
.container > header h2 strong{
|
||||
color: #781430;
|
||||
}
|
||||
|
||||
.main{
|
||||
width: 672px;
|
||||
height: 480px;
|
||||
padding: 30px 0;
|
||||
margin: 0 auto;
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
|
||||
-webkit-box-sizing: content-box;
|
||||
-moz-box-sizing: content-box;
|
||||
box-sizing: content-box;
|
||||
}
|
||||
/* Header Style */
|
||||
.codrops-top{
|
||||
line-height: 24px;
|
||||
font-size: 11px;
|
||||
background: #fff;
|
||||
background: rgba(255, 255, 255, 0.7);
|
||||
text-transform: uppercase;
|
||||
z-index: 9999;
|
||||
position: relative;
|
||||
font-family: Cambria, Georgia, serif;
|
||||
box-shadow: 1px 0px 2px rgba(0,0,0,0.2);
|
||||
}
|
||||
.codrops-top a{
|
||||
padding: 0px 10px;
|
||||
letter-spacing: 1px;
|
||||
color: #333;
|
||||
display: inline-block;
|
||||
}
|
||||
.codrops-top a:hover{
|
||||
background: rgba(255,255,255,0.3);
|
||||
}
|
||||
.codrops-top span.right{
|
||||
float: right;
|
||||
}
|
||||
.codrops-top span.right a{
|
||||
float: left;
|
||||
display: block;
|
||||
}
|
||||
.attribution{
|
||||
width: 600px;
|
||||
margin: 0 auto;
|
||||
text-align: center;
|
||||
padding: 20px 10px 50px;
|
||||
border-top: 1px solid rgba(255,255,255,0.5);
|
||||
box-shadow: 0 -1px 0 rgba(0,0,0,0.1);
|
||||
text-shadow: 0 1px 1px rgba(255,255,255,0.8);
|
||||
font-size: 10px;
|
||||
font-family: 'Aldrich';
|
||||
text-transform: uppercase;
|
||||
font-weight: 300;
|
||||
letter-spacing: 1px;
|
||||
color: #666;
|
||||
}
|
||||
|
||||
.support-note span{
|
||||
color: #ac375d;
|
||||
font-size: 16px;
|
||||
display: none;
|
||||
font-weight: bold;
|
||||
text-align: center;
|
||||
padding: 5px 0;
|
||||
}
|
||||
.no-cssanimations .support-note span.no-cssanimations,
|
||||
.no-csstransforms .support-note span.no-csstransforms,
|
||||
.no-csstransforms3d .support-note span.no-csstransforms3d,
|
||||
.no-csstransitions .support-note span.no-csstransitions{
|
||||
display: block;
|
||||
}
|
12
static/cassette-player/css/fonts/LICENSE.txt
Normal file
12
static/cassette-player/css/fonts/LICENSE.txt
Normal file
|
@ -0,0 +1,12 @@
|
|||
Font license info
|
||||
|
||||
|
||||
## Font Awesome
|
||||
|
||||
Copyright (C) 2012 by Dave Gandy
|
||||
|
||||
Author: Dave Gandy
|
||||
License: CC BY 3.0 (http://creativecommons.org/licenses/by/3.0/)
|
||||
Homepage: http://fortawesome.github.com/Font-Awesome/
|
||||
|
||||
|
33
static/cassette-player/css/fonts/README.txt
Normal file
33
static/cassette-player/css/fonts/README.txt
Normal file
|
@ -0,0 +1,33 @@
|
|||
This webfont is generated by http://fontello.com open source project.
|
||||
|
||||
|
||||
================================================================================
|
||||
Please, note, that you should obey original font licences, used to make this
|
||||
webfont pack. Details available in LICENSE.txt file.
|
||||
|
||||
- Usually, it's enougth to publish content of LICENSE.txt file somewhere on your
|
||||
site in "About" section.
|
||||
|
||||
- If your project is open-source, usually, it will be ok to make LICENSE.txt
|
||||
file publically available in your repository.
|
||||
|
||||
- Fonts, used in Fontello, don't require to make clickable links on your site.
|
||||
But any kind of additional authors crediting is welcome.
|
||||
================================================================================
|
||||
|
||||
|
||||
Comments on archive content
|
||||
---------------------------
|
||||
|
||||
- /font/* - fonts in different formats
|
||||
|
||||
- /css/* - different kinds of css, for all situations. Should be ok with
|
||||
twitter bootstrap. Also, you can skip <i> style and assign icon classes
|
||||
directly to text elements
|
||||
|
||||
- demo.html - demo file, to show your webfont content
|
||||
|
||||
- LICENSE.txt - license info about source fonts, used to build your one.
|
||||
|
||||
- config.json - keeps your settings. You can import it back to fontello anytime,
|
||||
to continue your work
|
BIN
static/cassette-player/css/fonts/playericons.eot
Normal file
BIN
static/cassette-player/css/fonts/playericons.eot
Normal file
Binary file not shown.
53
static/cassette-player/css/fonts/playericons.svg
Normal file
53
static/cassette-player/css/fonts/playericons.svg
Normal file
|
@ -0,0 +1,53 @@
|
|||
<?xml version="1.0" standalone="no"?>
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
|
||||
<svg xmlns="http://www.w3.org/2000/svg">
|
||||
<metadata>
|
||||
Created by FontForge 20100429 at Mon Jul 9 13:20:52 2012
|
||||
By root
|
||||
Copyright (C) 2012 by original authors @ fontello.com
|
||||
</metadata>
|
||||
<defs>
|
||||
<font id="playericons" horiz-adv-x="789" >
|
||||
<font-face
|
||||
font-family="fontello"
|
||||
font-weight="500"
|
||||
font-stretch="normal"
|
||||
units-per-em="1000"
|
||||
panose-1="2 0 6 3 0 0 0 0 0 0"
|
||||
ascent="800"
|
||||
descent="-200"
|
||||
bbox="0 -66.6667 947 724.227"
|
||||
underline-thickness="50"
|
||||
underline-position="-100"
|
||||
unicode-range="U+0050-1F50A"
|
||||
/>
|
||||
<missing-glyph horiz-adv-x="364"
|
||||
d="M33 0v666h265v-666h-265zM66 33h199v600h-199v-600z" />
|
||||
<glyph glyph-name=".notdef" horiz-adv-x="364"
|
||||
d="M33 0v666h265v-666h-265zM66 33h199v600h-199v-600z" />
|
||||
<glyph glyph-name=".null" horiz-adv-x="0"
|
||||
/>
|
||||
<glyph glyph-name="nonmarkingreturn" horiz-adv-x="333"
|
||||
/>
|
||||
<glyph glyph-name="P" unicode="P"
|
||||
d="M0 -30v718q0 15 10.5 25.5t25.5 10.5h251q15 0 25.5 -10.5t10.5 -25.5v-718q0 -15 -10.5 -25.5t-25.5 -10.5h-251q-15 0 -25.5 10.5t-10.5 25.5zM466 -30v718q0 15 10.5 25.5t25.5 10.5h252q14 0 24.5 -10.5t10.5 -25.5v-718q0 -15 -10.5 -25.5t-24.5 -10.5h-252
|
||||
q-15 0 -25.5 10.5t-10.5 25.5z" />
|
||||
<glyph glyph-name="p" unicode="p" horiz-adv-x="693"
|
||||
d="M0 -30v718q0 20 18 30q19 12 36 0l622 -357q18 -13 18 -32t-18 -32l-622 -358q-9 -5 -18.5 -5t-17.5 5q-18 11 -18 31z" />
|
||||
<glyph glyph-name="uni23E9" unicode="⏩"
|
||||
d="M0 -34v726q0 20 18 30q20 7 33 -8l335 -362q9 -9 9 -23t-9 -23l-335 -362q-9 -10 -22 -10q-3 0 -11 2q-18 9 -18 30zM395 -34v726q0 20 18 30q20 7 32 -8l336 -362q8 -9 8 -23t-8 -23l-336 -362q-8 -10 -21 -10q-3 0 -11 2q-18 9 -18 30z" />
|
||||
<glyph glyph-name="uni23EA" unicode="⏪"
|
||||
d="M0 328.5q0 13.5 8 22.5l336 363q8 10 21 10q6 0 12 -3q18 -8 18 -30v-725q0 -21 -18 -30q-19 -8 -33 8l-336 362q-8 9 -8 22.5zM395 328.5q0 13.5 8 22.5l336 363q7 10 21 10q5 0 12 -3q17 -8 17 -30v-725q0 -21 -17 -30q-19 -8 -33 8l-336 362q-8 9 -8 22.5z" />
|
||||
<glyph glyph-name="H18543" unicode="▪"
|
||||
d="M0 -30v718q0 15 10.5 25.5t25.5 10.5h718q14 0 24.5 -10.5t10.5 -25.5v-718q0 -15 -10.5 -25.5t-24.5 -10.5h-718q-15 0 -25.5 10.5t-10.5 25.5z" />
|
||||
<glyph glyph-name="u1F507" unicode="🔇" horiz-adv-x="447"
|
||||
d="M0 235v188q0 8 6 14t14 6h206l161 161q25 24 42 16.5t17 -41.5v-501q0 -33 -17 -40.5t-42 16.5l-161 161h-206q-8 0 -14 6t-6 14z" />
|
||||
<glyph glyph-name="u1F509" unicode="🔉" horiz-adv-x="631"
|
||||
d="M0 235v188q0 8 6 14t14 6h206l161 161q25 24 42 16.5t17 -41.5v-501q0 -33 -17 -40.5t-42 16.5l-161 161h-206q-8 0 -14 6t-6 14zM507.5 150q-4.5 16 4.5 31q41 70 41 148q0 77 -41 148q-9 15 -4.5 31t19 24.5t30 4t23.5 -19.5q52 -91 52 -188t-52 -188q-12 -20 -35 -20
|
||||
q-8 0 -19 5q-14 8 -18.5 24z" />
|
||||
<glyph glyph-name="u1F50A" unicode="🔊" horiz-adv-x="947"
|
||||
d="M0 235v188q0 8 6 14t14 6h206l161 161q25 24 42 16.5t17 -41.5v-501q0 -33 -17 -40.5t-42 16.5l-161 161h-206q-8 0 -14 6t-6 14zM507.5 150q-4.5 16 4.5 31q41 70 41 148q0 77 -41 148q-9 15 -4.5 31t19 24.5t30 4t23.5 -19.5q52 -91 52 -188t-52 -188q-12 -20 -35 -20
|
||||
q-8 0 -19 5q-14 8 -18.5 24zM635 57.5q-3 15.5 5 30.5q71 110 71 240.5t-71 241.5q-8 15 -5 30.5t17.5 24t30.5 5.5t24 -18q40 -64 61 -135.5t21 -147.5t-21 -147.5t-61 -135.5q-5 -10 -14.5 -14.5t-18.5 -4.5q-12 0 -21 6q-15 9 -18 24.5zM761.5 -34q-2.5 16 5.5 29
|
||||
q51 76 76 160t25 173.5t-25 174t-76 160.5q-8 13 -5.5 29t17.5 25q14 9 29.5 5.5t25.5 -16.5q57 -85 85 -180.5t28 -196.5t-28 -196.5t-85 -180.5q-13 -18 -34 -18q-12 0 -21 7q-15 9 -17.5 25z" />
|
||||
</font>
|
||||
</defs></svg>
|
After Width: | Height: | Size: 3.5 KiB |
BIN
static/cassette-player/css/fonts/playericons.ttf
Normal file
BIN
static/cassette-player/css/fonts/playericons.ttf
Normal file
Binary file not shown.
BIN
static/cassette-player/css/fonts/playericons.woff
Normal file
BIN
static/cassette-player/css/fonts/playericons.woff
Normal file
Binary file not shown.
50
static/cassette-player/css/knobKnob.css
Normal file
50
static/cassette-player/css/knobKnob.css
Normal file
|
@ -0,0 +1,50 @@
|
|||
/*----------------------------
|
||||
knobKnob Styles
|
||||
-----------------------------*/
|
||||
.knob{
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.knob .top{
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background: url(../images/knob.jpg) no-repeat center center;
|
||||
z-index: 10;
|
||||
cursor: default !important;
|
||||
border-radius: 50%;
|
||||
box-shadow: inset 0 0 3px 2px rgba(255,255,255,0.6);
|
||||
}
|
||||
|
||||
.knob .base{
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
box-shadow: 0 5px 0 #555, 0px 5px 5px black;
|
||||
position: absolute;
|
||||
z-index: 1;
|
||||
border-radius: 50%;
|
||||
}
|
||||
|
||||
.knob .top:after{
|
||||
content: '';
|
||||
width: 4px;
|
||||
height: 4px;
|
||||
background-color: #666;
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
margin-top: -2px;
|
||||
left: 4px;
|
||||
border-radius: 50%;
|
||||
cursor: default !important;
|
||||
box-shadow:
|
||||
0 0 1px #5a5a5a inset,
|
||||
1px -1px 1px rgba(255,255,255,0.5);
|
||||
}
|
||||
|
||||
.knob [draggable] {
|
||||
-moz-user-select: none;
|
||||
-webkit-user-select: none;
|
||||
user-select: none;
|
||||
}
|
512
static/cassette-player/css/normalize.css
vendored
Normal file
512
static/cassette-player/css/normalize.css
vendored
Normal file
|
@ -0,0 +1,512 @@
|
|||
/*! normalize.css 2012-03-11T12:53 UTC - http://github.com/necolas/normalize.css */
|
||||
|
||||
/* =============================================================================
|
||||
HTML5 display definitions
|
||||
========================================================================== */
|
||||
|
||||
/*
|
||||
* Corrects block display not defined in IE6/7/8/9 & FF3
|
||||
*/
|
||||
|
||||
article,
|
||||
aside,
|
||||
details,
|
||||
figcaption,
|
||||
figure,
|
||||
footer,
|
||||
header,
|
||||
hgroup,
|
||||
nav,
|
||||
section,
|
||||
summary {
|
||||
display: block;
|
||||
}
|
||||
|
||||
/*
|
||||
* Corrects inline-block display not defined in IE6/7/8/9 & FF3
|
||||
*/
|
||||
|
||||
audio,
|
||||
canvas,
|
||||
video {
|
||||
display: inline-block;
|
||||
*display: inline;
|
||||
*zoom: 1;
|
||||
}
|
||||
|
||||
/*
|
||||
* Prevents modern browsers from displaying 'audio' without controls
|
||||
* Remove excess height in iOS5 devices
|
||||
*/
|
||||
|
||||
audio:not([controls]) {
|
||||
display: none;
|
||||
height: 0;
|
||||
}
|
||||
|
||||
/*
|
||||
* Addresses styling for 'hidden' attribute not present in IE7/8/9, FF3, S4
|
||||
* Known issue: no IE6 support
|
||||
*/
|
||||
|
||||
[hidden] {
|
||||
display: none;
|
||||
}
|
||||
|
||||
|
||||
/* =============================================================================
|
||||
Base
|
||||
========================================================================== */
|
||||
|
||||
/*
|
||||
* 1. Corrects text resizing oddly in IE6/7 when body font-size is set using em units
|
||||
* http://clagnut.com/blog/348/#c790
|
||||
* 2. Prevents iOS text size adjust after orientation change, without disabling user zoom
|
||||
* www.456bereastreet.com/archive/201012/controlling_text_size_in_safari_for_ios_without_disabling_user_zoom/
|
||||
*/
|
||||
|
||||
html {
|
||||
font-size: 100%; /* 1 */
|
||||
-webkit-text-size-adjust: 100%; /* 2 */
|
||||
-ms-text-size-adjust: 100%; /* 2 */
|
||||
}
|
||||
|
||||
/*
|
||||
* Addresses font-family inconsistency between 'textarea' and other form elements.
|
||||
*/
|
||||
|
||||
html,
|
||||
button,
|
||||
input,
|
||||
select,
|
||||
textarea {
|
||||
font-family: sans-serif;
|
||||
}
|
||||
|
||||
/*
|
||||
* Addresses margins handled incorrectly in IE6/7
|
||||
*/
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
|
||||
/* =============================================================================
|
||||
Links
|
||||
========================================================================== */
|
||||
|
||||
/*
|
||||
* Addresses outline displayed oddly in Chrome
|
||||
*/
|
||||
|
||||
a:focus {
|
||||
outline: thin dotted;
|
||||
}
|
||||
|
||||
/*
|
||||
* Improves readability when focused and also mouse hovered in all browsers
|
||||
* people.opera.com/patrickl/experiments/keyboard/test
|
||||
*/
|
||||
|
||||
a:hover,
|
||||
a:active {
|
||||
outline: 0;
|
||||
}
|
||||
|
||||
|
||||
/* =============================================================================
|
||||
Typography
|
||||
========================================================================== */
|
||||
|
||||
/*
|
||||
* Addresses font sizes and margins set differently in IE6/7
|
||||
* Addresses font sizes within 'section' and 'article' in FF4+, Chrome, S5
|
||||
*/
|
||||
|
||||
h1 {
|
||||
font-size: 2em;
|
||||
margin: 0.67em 0;
|
||||
}
|
||||
|
||||
h2 {
|
||||
font-size: 1.5em;
|
||||
margin: 0.83em 0;
|
||||
}
|
||||
|
||||
h3 {
|
||||
font-size: 1.17em;
|
||||
margin: 1em 0;
|
||||
}
|
||||
|
||||
h4 {
|
||||
font-size: 1em;
|
||||
margin: 1.33em 0;
|
||||
}
|
||||
|
||||
h5 {
|
||||
font-size: 0.83em;
|
||||
margin: 1.67em 0;
|
||||
}
|
||||
|
||||
h6 {
|
||||
font-size: 0.75em;
|
||||
margin: 2.33em 0;
|
||||
}
|
||||
|
||||
/*
|
||||
* Addresses styling not present in IE7/8/9, S5, Chrome
|
||||
*/
|
||||
|
||||
abbr[title] {
|
||||
border-bottom: 1px dotted;
|
||||
}
|
||||
|
||||
/*
|
||||
* Addresses style set to 'bolder' in FF3+, S4/5, Chrome
|
||||
*/
|
||||
|
||||
b,
|
||||
strong {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
blockquote {
|
||||
margin: 1em 40px;
|
||||
}
|
||||
|
||||
/*
|
||||
* Addresses styling not present in S5, Chrome
|
||||
*/
|
||||
|
||||
dfn {
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
/*
|
||||
* Addresses styling not present in IE6/7/8/9
|
||||
*/
|
||||
|
||||
mark {
|
||||
background: #ff0;
|
||||
color: #000;
|
||||
}
|
||||
|
||||
/*
|
||||
* Addresses margins set differently in IE6/7
|
||||
*/
|
||||
|
||||
p,
|
||||
pre {
|
||||
margin: 1em 0;
|
||||
}
|
||||
|
||||
/*
|
||||
* Corrects font family set oddly in IE6, S4/5, Chrome
|
||||
* en.wikipedia.org/wiki/User:Davidgothberg/Test59
|
||||
*/
|
||||
|
||||
pre,
|
||||
code,
|
||||
kbd,
|
||||
samp {
|
||||
font-family: monospace, serif;
|
||||
_font-family: 'courier new', monospace;
|
||||
font-size: 1em;
|
||||
}
|
||||
|
||||
/*
|
||||
* Improves readability of pre-formatted text in all browsers
|
||||
*/
|
||||
|
||||
pre {
|
||||
white-space: pre;
|
||||
white-space: pre-wrap;
|
||||
word-wrap: break-word;
|
||||
}
|
||||
|
||||
/*
|
||||
* 1. Addresses CSS quotes not supported in IE6/7
|
||||
* 2. Addresses quote property not supported in S4
|
||||
*/
|
||||
|
||||
/* 1 */
|
||||
|
||||
q {
|
||||
quotes: none;
|
||||
}
|
||||
|
||||
/* 2 */
|
||||
|
||||
q:before,
|
||||
q:after {
|
||||
content: '';
|
||||
content: none;
|
||||
}
|
||||
|
||||
small {
|
||||
font-size: 75%;
|
||||
}
|
||||
|
||||
/*
|
||||
* Prevents sub and sup affecting line-height in all browsers
|
||||
* gist.github.com/413930
|
||||
*/
|
||||
|
||||
sub,
|
||||
sup {
|
||||
font-size: 75%;
|
||||
line-height: 0;
|
||||
position: relative;
|
||||
vertical-align: baseline;
|
||||
}
|
||||
|
||||
sup {
|
||||
top: -0.5em;
|
||||
}
|
||||
|
||||
sub {
|
||||
bottom: -0.25em;
|
||||
}
|
||||
|
||||
|
||||
/* =============================================================================
|
||||
Lists
|
||||
========================================================================== */
|
||||
|
||||
/*
|
||||
* Addresses margins set differently in IE6/7
|
||||
*/
|
||||
|
||||
dl,
|
||||
menu,
|
||||
ol,
|
||||
ul {
|
||||
margin: 1em 0;
|
||||
}
|
||||
|
||||
dd {
|
||||
margin: 0 0 0 40px;
|
||||
}
|
||||
|
||||
/*
|
||||
* Addresses paddings set differently in IE6/7
|
||||
*/
|
||||
|
||||
menu,
|
||||
ol,
|
||||
ul {
|
||||
padding: 0 0 0 40px;
|
||||
}
|
||||
|
||||
/*
|
||||
* Corrects list images handled incorrectly in IE7
|
||||
*/
|
||||
|
||||
nav ul,
|
||||
nav ol {
|
||||
list-style: none;
|
||||
list-style-image: none;
|
||||
}
|
||||
|
||||
|
||||
/* =============================================================================
|
||||
Embedded content
|
||||
========================================================================== */
|
||||
|
||||
/*
|
||||
* 1. Removes border when inside 'a' element in IE6/7/8/9, FF3
|
||||
* 2. Improves image quality when scaled in IE7
|
||||
* code.flickr.com/blog/2008/11/12/on-ui-quality-the-little-things-client-side-image-resizing/
|
||||
*/
|
||||
|
||||
img {
|
||||
border: 0; /* 1 */
|
||||
-ms-interpolation-mode: bicubic; /* 2 */
|
||||
}
|
||||
|
||||
/*
|
||||
* Corrects overflow displayed oddly in IE9
|
||||
*/
|
||||
|
||||
svg:not(:root) {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
|
||||
/* =============================================================================
|
||||
Figures
|
||||
========================================================================== */
|
||||
|
||||
/*
|
||||
* Addresses margin not present in IE6/7/8/9, S5, O11
|
||||
*/
|
||||
|
||||
figure {
|
||||
margin: 0;
|
||||
-webkit-margin-before: 0;
|
||||
-webkit-margin-after: 0;
|
||||
-webkit-margin-start: 0;
|
||||
-webkit-margin-end: 0;
|
||||
}
|
||||
|
||||
|
||||
/* =============================================================================
|
||||
Forms
|
||||
========================================================================== */
|
||||
|
||||
/*
|
||||
* Corrects margin displayed oddly in IE6/7
|
||||
*/
|
||||
|
||||
form {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
/*
|
||||
* Define consistent border, margin, and padding
|
||||
*/
|
||||
|
||||
fieldset {
|
||||
border: 1px solid #c0c0c0;
|
||||
margin: 0 2px;
|
||||
padding: 0.35em 0.625em 0.75em;
|
||||
}
|
||||
|
||||
/*
|
||||
* 1. Corrects color not being inherited in IE6/7/8/9
|
||||
* 2. Corrects text not wrapping in FF3
|
||||
* 3. Corrects alignment displayed oddly in IE6/7
|
||||
*/
|
||||
|
||||
legend {
|
||||
border: 0; /* 1 */
|
||||
padding: 0;
|
||||
white-space: normal; /* 2 */
|
||||
*margin-left: -7px; /* 3 */
|
||||
}
|
||||
|
||||
/*
|
||||
* 1. Corrects font size not being inherited in all browsers
|
||||
* 2. Addresses margins set differently in IE6/7, FF3+, S5, Chrome
|
||||
* 3. Improves appearance and consistency in all browsers
|
||||
*/
|
||||
|
||||
button,
|
||||
input,
|
||||
select,
|
||||
textarea {
|
||||
font-size: 100%; /* 1 */
|
||||
margin: 0; /* 2 */
|
||||
vertical-align: baseline; /* 3 */
|
||||
*vertical-align: middle; /* 3 */
|
||||
}
|
||||
|
||||
/*
|
||||
* Addresses FF3/4 setting line-height on 'input' using !important in the UA stylesheet
|
||||
*/
|
||||
|
||||
button,
|
||||
input {
|
||||
line-height: normal; /* 1 */
|
||||
}
|
||||
|
||||
/*
|
||||
* 1. Improves usability and consistency of cursor style between image-type 'input' and others
|
||||
* 2. Corrects inability to style clickable 'input' types in iOS
|
||||
* 3. Removes inner spacing in IE7 without affecting normal text inputs
|
||||
* Known issue: inner spacing remains in IE6
|
||||
*/
|
||||
|
||||
button,
|
||||
input[type="button"],
|
||||
input[type="reset"],
|
||||
input[type="submit"] {
|
||||
cursor: pointer; /* 1 */
|
||||
-webkit-appearance: button; /* 2 */
|
||||
*overflow: visible; /* 3 */
|
||||
}
|
||||
|
||||
/*
|
||||
* Re-set default cursor for disabled elements
|
||||
*/
|
||||
|
||||
button[disabled],
|
||||
input[disabled] {
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
/*
|
||||
* 1. Addresses box sizing set to content-box in IE8/9
|
||||
* 2. Removes excess padding in IE8/9
|
||||
* 3. Removes excess padding in IE7
|
||||
Known issue: excess padding remains in IE6
|
||||
*/
|
||||
|
||||
input[type="checkbox"],
|
||||
input[type="radio"] {
|
||||
box-sizing: border-box; /* 1 */
|
||||
padding: 0; /* 2 */
|
||||
*height: 13px; /* 3 */
|
||||
*width: 13px; /* 3 */
|
||||
}
|
||||
|
||||
/*
|
||||
* 1. Addresses appearance set to searchfield in S5, Chrome
|
||||
* 2. Addresses box-sizing set to border-box in S5, Chrome (include -moz to future-proof)
|
||||
*/
|
||||
|
||||
input[type="search"] {
|
||||
-webkit-appearance: textfield; /* 1 */
|
||||
-moz-box-sizing: content-box;
|
||||
-webkit-box-sizing: content-box; /* 2 */
|
||||
box-sizing: content-box;
|
||||
}
|
||||
|
||||
/*
|
||||
* Removes inner padding and search cancel button in S5, Chrome on OS X
|
||||
*/
|
||||
|
||||
input[type="search"]::-webkit-search-decoration,
|
||||
input[type="search"]::-webkit-search-cancel-button {
|
||||
-webkit-appearance: none;
|
||||
}
|
||||
|
||||
/*
|
||||
* Removes inner padding and border in FF3+
|
||||
* www.sitepen.com/blog/2008/05/14/the-devils-in-the-details-fixing-dojos-toolbar-buttons/
|
||||
*/
|
||||
|
||||
button::-moz-focus-inner,
|
||||
input::-moz-focus-inner {
|
||||
border: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
/*
|
||||
* 1. Removes default vertical scrollbar in IE6/7/8/9
|
||||
* 2. Improves readability and alignment in all browsers
|
||||
*/
|
||||
|
||||
textarea {
|
||||
overflow: auto; /* 1 */
|
||||
vertical-align: top; /* 2 */
|
||||
}
|
||||
|
||||
|
||||
/* =============================================================================
|
||||
Tables
|
||||
========================================================================== */
|
||||
|
||||
/*
|
||||
* Remove most spacing between table cells
|
||||
*/
|
||||
|
||||
table {
|
||||
border-collapse: collapse;
|
||||
border-spacing: 0;
|
||||
}
|
||||
/* Addition */
|
||||
/* apply a natural box layout model to all elements */
|
||||
/* By Paul Irish: http://paulirish.com/2012/box-sizing-border-box-ftw/ */
|
||||
* { -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; }
|
315
static/cassette-player/css/style.css
Normal file
315
static/cassette-player/css/style.css
Normal file
|
@ -0,0 +1,315 @@
|
|||
|
||||
/* Main container */
|
||||
.vc-container{
|
||||
text-align: center;
|
||||
height: 500px;
|
||||
margin-bottom: 50px;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
/* Tape elements */
|
||||
.vc-tape-wrapper{
|
||||
-webkit-perspective: 800px;
|
||||
-moz-perspective: 800px;
|
||||
-o-perspective: 800px;
|
||||
-ms-perspective: 800px;
|
||||
perspective: 800px;
|
||||
}
|
||||
.vc-tape{
|
||||
width: 586px;
|
||||
height: 379px;
|
||||
margin: 30px auto 0;
|
||||
position: relative;
|
||||
-webkit-transition: all .4s ease-in-out;
|
||||
-moz-transition: all .4s ease-in-out;
|
||||
-o-transition: all .4s ease-in-out;
|
||||
-ms-transition: all .4s ease-in-out;
|
||||
transition: all .4s ease-in-out;
|
||||
}
|
||||
.vc-loader{
|
||||
position: absolute;
|
||||
width: 31px;
|
||||
height: 31px;
|
||||
bottom: 50px;
|
||||
left: 50%;
|
||||
margin: -15px 0 0 -15px;
|
||||
background: transparent url(../images/ajax-loader.gif) no-repeat center center;
|
||||
display: none;
|
||||
}
|
||||
.vc-tape-back{
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
position: relative;
|
||||
background: transparent url(../images/cs_back.png) no-repeat center center;
|
||||
}
|
||||
.vc-tape-wheel{
|
||||
width: 125px;
|
||||
height: 125px;
|
||||
position: absolute;
|
||||
top: 110px;
|
||||
background: transparent;
|
||||
border-radius: 50%;
|
||||
}
|
||||
.vc-tape-wheel-left{
|
||||
left: 109px;
|
||||
box-shadow: 0 0 0 70px #000;
|
||||
}
|
||||
.vc-tape-wheel-right{
|
||||
right: 113px;
|
||||
}
|
||||
@-webkit-keyframes rotateLeft {
|
||||
0% { -webkit-transform: rotate(0deg) translateZ(-1px); }
|
||||
100% { -webkit-transform: rotate(-360deg) translateZ(-1px); }
|
||||
}
|
||||
@-webkit-keyframes rotateRight {
|
||||
0% { -webkit-transform: rotate(0deg) translateZ(-1px); }
|
||||
100% { -webkit-transform: rotate(360deg) translateZ(-1px); }
|
||||
}
|
||||
@-moz-keyframes rotateLeft {
|
||||
0% { -moz-transform: rotate(0deg) translateZ(-1px); }
|
||||
100% { -moz-transform: rotate(-360deg) translateZ(-1px); }
|
||||
}
|
||||
@-moz-keyframes rotateRight {
|
||||
0% { -moz-transform: rotate(0deg) translateZ(-1px); }
|
||||
100% { -moz-transform: rotate(360deg) translateZ(-1px); }
|
||||
}
|
||||
@-o-keyframes rotateLeft {
|
||||
0% { -o-transform: rotate(0deg) translateZ(-1px); }
|
||||
100% { -o-transform: rotate(-360deg) translateZ(-1px); }
|
||||
}
|
||||
@-o-keyframes rotateRight {
|
||||
0% { -o-transform: rotate(0deg) translateZ(-1px); }
|
||||
100% { -o-transform: rotate(360deg) translateZ(-1px); }
|
||||
}
|
||||
@-ms-keyframes rotateLeft {
|
||||
0% { -ms-transform: rotate(0deg) translateZ(-1px); }
|
||||
100% { -ms-transform: rotate(-360deg) translateZ(-1px); }
|
||||
}
|
||||
@-ms-keyframes rotateRight {
|
||||
0% { -ms-transform: rotate(0deg) translateZ(-1px); }
|
||||
100% { -ms-transform: rotate(360deg) translateZ(-1px); }
|
||||
}
|
||||
@keyframes rotateLeft {
|
||||
0% { transform: rotate(0deg) translateZ(-1px); }
|
||||
100% { transform: rotate(-360deg) translateZ(-1px); }
|
||||
}
|
||||
@keyframes rotateRight {
|
||||
0% { transform: rotate(0deg) translateZ(-1px); }
|
||||
100% { transform: rotate(360deg) translateZ(-1px); }
|
||||
}
|
||||
.vc-tape-wheel div{
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background: transparent url(../images/cs_wheel.png) no-repeat center center;
|
||||
}
|
||||
.vc-tape-front{
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
position: absolute;
|
||||
background: transparent url(../images/cs_front.png) no-repeat center center;
|
||||
top: 0px;
|
||||
left: 0px;
|
||||
}
|
||||
.vc-tape-side-b{
|
||||
display: none;
|
||||
-webkit-transform: rotate3d(0, 1, 0, 180deg);
|
||||
-moz-transform: rotate3d(0, 1, 0, 180deg);
|
||||
-o-transform: rotate3d(0, 1, 0, 180deg);
|
||||
-ms-transform: rotate3d(0, 1, 0, 180deg);
|
||||
transform: rotate3d(0, 1, 0, 180deg);
|
||||
}
|
||||
|
||||
.vc-tape-front span{
|
||||
color: rgba(0, 0, 0, 0.6);
|
||||
position: absolute;
|
||||
top: 83px;
|
||||
left: 67px;
|
||||
font-family: Arial;
|
||||
font-weight: bold;
|
||||
font-size: 20px;
|
||||
}
|
||||
|
||||
/* Controls list */
|
||||
ul.vc-controls{
|
||||
list-style: none;
|
||||
padding: 0;
|
||||
width: 440px;
|
||||
position: absolute;
|
||||
bottom: 18px;
|
||||
left: 50%;
|
||||
margin: 0 0 0 -170px;
|
||||
background: -moz-linear-gradient(top, rgba(170,170,170,0.35) 0%, rgba(255,255,255,0.44) 50%, rgba(255,255,255,0.53) 100%);
|
||||
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(170,170,170,0.35)), color-stop(50%,rgba(255,255,255,0.44)), color-stop(100%,rgba(255,255,255,0.53)));
|
||||
background: -webkit-linear-gradient(top, rgba(170,170,170,0.35) 0%,rgba(255,255,255,0.44) 50%,rgba(255,255,255,0.53) 100%);
|
||||
background: -o-linear-gradient(top, rgba(170,170,170,0.35) 0%,rgba(255,255,255,0.44) 50%,rgba(255,255,255,0.53) 100%);
|
||||
background: -ms-linear-gradient(top, rgba(170,170,170,0.35) 0%,rgba(255,255,255,0.44) 50%,rgba(255,255,255,0.53) 100%);
|
||||
background: linear-gradient(to bottom, rgba(170,170,170,0.35) 0%,rgba(255,255,255,0.44) 50%,rgba(255,255,255,0.53) 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#59aaaaaa', endColorstr='#87ffffff',GradientType=0 );
|
||||
border: 1px solid rgba(0,0,0,0.1);
|
||||
border-bottom-color: rgba(255,255,255,0.6);
|
||||
padding: 8px;
|
||||
height: 54px;
|
||||
box-shadow:
|
||||
inset 0 1px 0px rgba(0,0,0,0.05),
|
||||
0 1px 0 rgba(255,255,255,0.8),
|
||||
0 -1px 0 rgba(255,255,255,0.4),
|
||||
inset 0 2px 19px rgba(0,0,0,0.05),
|
||||
0 2px 1px rgba(0,0,0,0.06);
|
||||
-webkit-box-sizing: content-box;
|
||||
-moz-box-sizing: content-box;
|
||||
box-sizing: content-box;
|
||||
border-radius: 12px;
|
||||
}
|
||||
|
||||
/* Controls list items */
|
||||
ul.vc-controls li {
|
||||
display: block;
|
||||
float: left;
|
||||
width: 80px;
|
||||
height: 50px;
|
||||
line-height: 55px;
|
||||
text-align: left;
|
||||
padding: 10px;
|
||||
margin: 0;
|
||||
cursor: pointer;
|
||||
background: #ddd url(../images/metal.jpg) no-repeat center top;
|
||||
box-shadow:
|
||||
inset 0 0 0 1px rgba(0,0,0, 0.2),
|
||||
inset 0 0 1px 2px rgba(255,255,255,0.9),
|
||||
inset 0 -6px 5px rgba(0,0,0,0.1),
|
||||
0 6px 7px rgba(0,0,0,0.3),
|
||||
0 4px 1px rgba(0,0,0,0.5);
|
||||
-webkit-touch-callout: none;
|
||||
-webkit-user-select: none;
|
||||
-khtml-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
ul.vc-controls li:first-child{
|
||||
border-radius: 8px 0 0 8px;
|
||||
}
|
||||
|
||||
ul.vc-controls li:last-child{
|
||||
border-radius: 0px 8px 8px 0px;
|
||||
}
|
||||
|
||||
ul.vc-controls li.vc-control-play{
|
||||
width: 120px;
|
||||
}
|
||||
|
||||
/* Control icons */
|
||||
ul.vc-controls li span:before{
|
||||
font-size: 16px;
|
||||
line-height: 50px;
|
||||
text-align: center;
|
||||
float: left;
|
||||
color: #444;
|
||||
font-family: 'playericons';
|
||||
text-shadow: 1px 1px 1px rgba(255,255,255,0.9);
|
||||
font-style: normal;
|
||||
font-weight: normal;
|
||||
text-transform: none;
|
||||
speak: none;
|
||||
display: inline-block;
|
||||
text-decoration: inherit;
|
||||
width: 1em;
|
||||
margin-right: 0.2em;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
li.vc-control-pause span:before { content: '\50'; }
|
||||
li.vc-control-fforward span:before { content: '\23e9'; }
|
||||
li.vc-control-rewind span:before { content: '\23ea'; }
|
||||
li.vc-control-stop span:before { content: '\25aa'; }
|
||||
li.vc-control-play span:before { content: '\70'; }
|
||||
li.vc-control-volume-off span:before { content: '🔇'; }
|
||||
li.vc-control-volume-down span:before { content: '🔉'; }
|
||||
li.vc-control-volume-up span:before { content: '🔊'; }
|
||||
|
||||
ul.vc-controls li:hover{
|
||||
box-shadow:
|
||||
inset 0 0 0 1px rgba(0,0,0, 0.2),
|
||||
inset 0 0 1px 2px rgba(255,255,255,0.9),
|
||||
inset 0 -10px 15px rgba(0,0,0,0.1),
|
||||
0 6px 7px rgba(0,0,0,0.3),
|
||||
0 4px 1px rgba(0,0,0,0.5);
|
||||
}
|
||||
|
||||
/* Pressed (active) */
|
||||
ul.vc-controls li.vc-control-active{
|
||||
height: 50px;
|
||||
margin-top: 2px;
|
||||
background-image: url(../images/metal_dark.jpg);
|
||||
box-shadow:
|
||||
inset 0 0 0 1px rgba(0,0,0, 0.18),
|
||||
inset 0 0 1px 2px rgba(255,255,255,0.5),
|
||||
inset 0 -6px 5px rgba(0,0,0,0.1),
|
||||
0 6px 7px rgba(0,0,0,0.3),
|
||||
0 2px 1px rgba(0,0,0,0.5);
|
||||
|
||||
}
|
||||
|
||||
/* Activated */
|
||||
ul.vc-controls li.vc-control-pressed,
|
||||
ul.vc-controls li.vc-control-active.vc-control-pressed{
|
||||
height: 50px;
|
||||
background-image: url(../images/metal_dark.jpg);
|
||||
margin-top: 4px;
|
||||
box-shadow:
|
||||
inset 0 0 0 1px rgba(0,0,0, 0.2),
|
||||
inset 0 0 5px 1px rgba(255,255,255,0.5),
|
||||
inset 0 -10px 15px rgba(0,0,0,0.2),
|
||||
0 7px 5px rgba(255,255,255,0.5);
|
||||
}
|
||||
|
||||
/*
|
||||
Background for the volume knob
|
||||
See knobKnob.css for the knob style
|
||||
*/
|
||||
.vc-volume-wrap{
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
position: absolute;
|
||||
bottom: 0px;
|
||||
left: 50%;
|
||||
margin-left: -318px;
|
||||
background: -moz-linear-gradient(top, rgba(170,170,170,0.35) 0%, rgba(255,255,255,0.44) 50%, rgba(255,255,255,0.53) 100%);
|
||||
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(170,170,170,0.35)), color-stop(50%,rgba(255,255,255,0.44)), color-stop(100%,rgba(255,255,255,0.53)));
|
||||
background: -webkit-linear-gradient(top, rgba(170,170,170,0.35) 0%,rgba(255,255,255,0.44) 50%,rgba(255,255,255,0.53) 100%);
|
||||
background: -o-linear-gradient(top, rgba(170,170,170,0.35) 0%,rgba(255,255,255,0.44) 50%,rgba(255,255,255,0.53) 100%);
|
||||
background: -ms-linear-gradient(top, rgba(170,170,170,0.35) 0%,rgba(255,255,255,0.44) 50%,rgba(255,255,255,0.53) 100%);
|
||||
background: linear-gradient(to bottom, rgba(170,170,170,0.35) 0%,rgba(255,255,255,0.44) 50%,rgba(255,255,255,0.53) 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#59aaaaaa', endColorstr='#87ffffff',GradientType=0 );
|
||||
border: 1px solid rgba(0,0,0,0.1);
|
||||
border-radius: 50%;
|
||||
padding: 8px;
|
||||
box-shadow:
|
||||
inset 0 1px 0px rgba(0,0,0,0.05),
|
||||
0 1px 0 rgba(255,255,255,0.6),
|
||||
0 -1px 0 rgba(255,255,255,0.4),
|
||||
inset 0 2px 19px rgba(0,0,0,0.05),
|
||||
0 2px 1px rgba(0,0,0,0.06);
|
||||
-webkit-box-sizing: content-box;
|
||||
-moz-box-sizing: content-box;
|
||||
box-sizing: content-box;
|
||||
}
|
||||
|
||||
.vc-volume-wrap:after{
|
||||
content: 'Volume';
|
||||
margin-top: 15px;
|
||||
display: block;
|
||||
}
|
||||
|
||||
/* Text style for controls */
|
||||
ul.vc-controls li,
|
||||
.vc-volume-wrap:after{
|
||||
font-family: 'Aldrich';
|
||||
font-size: 10px;
|
||||
font-weight: 300;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 1px;
|
||||
color: #666;
|
||||
text-shadow: 0 1px 1px rgba(255,255,255,0.8);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue