From 7fc26b6e55b869a9c0cc1af043cd5a9caf74f03f Mon Sep 17 00:00:00 2001 From: sanj Date: Tue, 26 Oct 2010 19:37:25 +0200 Subject: [PATCH] small things --- rizk/static/css/rizk.css | 11 +++++++++++ rizk/static/js/rizk.js | 1 + rizk/templates/rizk.html | 14 ++++++++------ 3 files changed, 20 insertions(+), 6 deletions(-) diff --git a/rizk/static/css/rizk.css b/rizk/static/css/rizk.css index 1b338e4..e51fa00 100644 --- a/rizk/static/css/rizk.css +++ b/rizk/static/css/rizk.css @@ -2,6 +2,7 @@ body { width: 100%; height: 100%; background: #999; + font-family: "DejaVu Sans", Arial, Verdana, sans-serif; background: -moz-radial-gradient(45px 45px 45deg, circle cover, #ABAE71 0%, #CDD53F 100%, #E6F215 95%); background: -webkit-gradient(radial, 45px 45px 45deg, circle cover, @@ -174,6 +175,16 @@ a img { box-shadow: 0px 0px 1.5em; } +.mediaWrap { + padding: 8px; +} + +h2 { + margin: 0px; + padding: 0px; + font-weight: normal; +} + .imageWrapper .mapSelect img { width: 100px; height: 100px; diff --git a/rizk/static/js/rizk.js b/rizk/static/js/rizk.js index 851b809..2e3f5b5 100644 --- a/rizk/static/js/rizk.js +++ b/rizk/static/js/rizk.js @@ -117,6 +117,7 @@ function displayMedia(data) { } function onFeatureSelect(f) { + $('.eventSelected').removeClass('eventSelected'); if (currentlySelectedFeature == f) { return false; } else { diff --git a/rizk/templates/rizk.html b/rizk/templates/rizk.html index 3afa14a..36918cb 100644 --- a/rizk/templates/rizk.html +++ b/rizk/templates/rizk.html @@ -23,8 +23,8 @@