-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsoundCSS.css
116 lines (105 loc) · 3.14 KB
/
soundCSS.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
* {
margin:0px;
padding:0px;
list-style:none;
}
.space {
padding: 100px;
background: #222;
}
#wrapper {
background: #222;
}
/* White keys */
#piano {
display:block;
width:100%;
height:240px;
border-top:100px solid #222;
}
#piano li {
list-style:none;
float:left;
display:inline;
background:#aaa;
width:40px;
position:relative;
}
.whiteKey {
display:block;
height:220px;
background:#fff;
background:-webkit-linear-gradient(-30deg,#f5f5f5,#fff);
background:-moz-linear-gradient(-30deg,#f5f5f5,#fff);
background:-ms-linear-gradient(-30deg,#f5f5f5,#fff);
background:-o-linear-gradient(-30deg,#f5f5f5,#fff);
background:linear-gradient(-30deg,#f5f5f5,#fff);
border:1px solid #ccc;
-webkit-box-shadow:inset 0 1px 0px #fff,inset 0 -1px 0px #fff,inset 1px 0px 0px #fff,inset -1px 0px 0px #fff,0 4px 3px rgba(0,0,0,0.7);
-moz-box-shadow:inset 0 1px 0px #fff,inset 0 -1px 0px #fff,inset 1px 0px 0px #fff,inset -1px 0px 0px #fff,0 4px 3px rgba(0,0,0,0.7);
box-shadow:inset 0 1px 0px #fff,inset 0 -1px 0px #fff,inset 1px 0px 0px #fff,inset -1px 0px 0px #fff,0 4px 3px rgba(0,0,0,0.7);
-webkit-border-radius:0 0 3px 3px;
-moz-border-radius:0 0 3px 3px;
border-radius:0 0 3px 3px;
}
.whiteKey_active {
-webkit-box-shadow:0 2px 2px rgba(0,0,0,0.4);
-moz-box-shadow:0 2px 2px rgba(0,0,0,0.4);
box-shadow:0 2px 2px rgba(0,0,0,0.4);
position:relative;
top:2px;
height:216px;
}
.whiteKey_active:before {
content:"";
width:0px;
height:0px;
border-width:216px 5px 0px;
border-style:solid;
border-color:transparent transparent transparent rgba(0,0,0,0.1);
position:absolute;
left:0px;
top:0px;
}
.whiteKey_active:after {
content:"";
width:0px;
height:0px;
border-width:216px 5px 0px;
border-style:solid;
border-color:transparent rgba(0,0,0,0.1) transparent transparent;
position:absolute;
right:0px;
top:0px;
}
/*Black keys*/
.blackKey {
position:absolute;
top:0px;
left:-12px;
width:20px;
height:120px;
background:#333;
background:-webkit-linear-gradient(-20deg,#333,#000,#333);
background:-moz-linear-gradient(-20deg,#333,#000,#333);
background:-ms-linear-gradient(-20deg,#333,#000,#333);
background:-o-linear-gradient(-20deg,#333,#000,#333);
background:linear-gradient(-20deg,#333,#000,#333);
z-index:10;
border-width:1px 2px 7px;
border-style:solid;
border-color:#666 #222 #111 #555;
-webkit-box-shadow:inset 0px -1px 2px rgba(255,255,255,0.4),0 2px 3px rgba(0,0,0,0.4);
-moz-box-shadow:inset 0px -1px 2px rgba(255,255,255,0.4),0 2px 3px rgba(0,0,0,0.4);
box-shadow:inset 0px -1px 2px rgba(255,255,255,0.4),0 2px 3px rgba(0,0,0,0.4);
-webkit-border-radius:0 0 2px 2px;
-moz-border-radius:0 0 2px 2px;
border-radius:0 0 2px 2px;
}
.blackKey_active {
border-bottom-width:2px;
height:123px;
-webkit-box-shadow:inset 0px -1px 1px rgba(255,255,255,0.4),0 1px 0px rgba(0,0,0,0.8),0 2px 2px rgba(0,0,0,0.4),0 -1px 0px #000;
-moz-box-shadow:inset 0px -1px 1px rgba(255,255,255,0.4),0 1px 0px rgba(0,0,0,0.8),0 2px 2px rgba(0,0,0,0.4),0 -1px 0px #000;
box-shadow:inset 0px -1px 1px rgba(255,255,255,0.4),0 1px 0px rgba(0,0,0,0.8),0 2px 2px rgba(0,0,0,0.4),0 -1px 0px #000;
}