summaryrefslogtreecommitdiffstats
path: root/static
diff options
context:
space:
mode:
authorraylu <raylu@mixpanel.com>2011-08-01 02:54:26 -0700
committerraylu <raylu@mixpanel.com>2011-08-01 02:54:26 -0700
commit55f8d5a0d4f4cf2ee74de9a349f4c437747bf079 (patch)
tree0679acd69b6a4abf1f412cc783c94bf846b16f46 /static
parentf9803a3bbfb3e730213825d6dc332b7c31321330 (diff)
downloadaudioaxis-55f8d5a0d4f4cf2ee74de9a349f4c437747bf079.tar.xz
some style details
Diffstat (limited to 'static')
-rw-r--r--static/base.css18
-rw-r--r--static/script.js5
2 files changed, 19 insertions, 4 deletions
diff --git a/static/base.css b/static/base.css
index d2a4ada..df3d295 100644
--- a/static/base.css
+++ b/static/base.css
@@ -1,7 +1,7 @@
body {
background-color: #000;
color: #ccc;
- font-family: sans-serif;
+ font-family: 'Cantarell', sans-serif;
}
a:link, a:visited {
color: #08a;
@@ -21,6 +21,10 @@ header, article {
margin: 20px auto;
}
+img.aa {
+ opacity: 0.9;
+}
+
object#player {
position: absolute;
left: -1px;
@@ -32,8 +36,12 @@ section.song {
padding: 15px 20px;
margin-top: 10px;
}
-section.song .info {
+section.song div.info {
margin-bottom: 10px;
+ float: left;
+}
+section.song div.user {
+ float: right;
}
section.song div.thumb {
float: left;
@@ -47,6 +55,12 @@ section.song canvas, section.song > img {
section.song > img[src$='pause.png'] {
display: none;
}
+section.song > img {
+ opacity: 0.5;
+}
+section.song > img:hover {
+ opacity: 1.0;
+}
.clear {
line-height: 0;
diff --git a/static/script.js b/static/script.js
index 21e01d0..1a10f88 100644
--- a/static/script.js
+++ b/static/script.js
@@ -76,13 +76,14 @@ function pause(yid) {
if (current_id != yid)
return
player.pauseVideo();
- showPlay(yid)
+ showPlay(yid);
}
function stop(yid) {
if (current_id != yid)
return
player.stopVideo();
- showPlay(yid)
+ showPlay(yid);
+ drawBar(yid);
}
function showPlay(yid) {