]> git.0d.be Git - panikweb.git/commitdiff
Smaller but more OSP buttons & fix download links
authorlaron <simon@surlaterre.org>
Fri, 27 Sep 2013 17:31:23 +0000 (19:31 +0200)
committerlaron <simon@surlaterre.org>
Fri, 27 Sep 2013 17:31:23 +0000 (19:31 +0200)
panikweb_templates/static/css/specifics.css
panikweb_templates/templates/includes/audio.html

index 51a0173f95f65eb1f804be6374246c90b05cd325..8e93d58a3e92917e9d6da06ac6ec0b05fbd84cdb 100644 (file)
@@ -688,15 +688,17 @@ body{
 }
 .episode.resume .sound{
        float:right;
-       margin:0 0 1em 1em;
+       margin:0 0 0.5em 0.5em;
 }
 .episode.inline .sound.right{
-       width:2em;
+
+       width:4.5em;
        text-align:center;
        font-size:70%;  
 }
 .episode.inline .sound.right button{
-       width:1.2em;
+    font-size:1.5em;
+       display:inline;
        text-align:center;
        padding-bottom:0.05em;
 }
index 2bd1e0a0e7c14c1fec2678f1eb90ef9a8cbb12de..e4a95dea7033a5065478179c121581e88403979f 100644 (file)
                        title="Download file" 
                        onclick="$('#Download-{{ sound.file.url|slugify }}').toggle();return false;"
                        ></button>
-               <span class="hidden" id="Download-{{ sound.file.url|slugify }}" >
+               <div class="hidden" id="Download-{{ sound.file.url|slugify }}" >
                        {% if sound|is_format_available:'ogg' %}
-                       <a target="_blanck" class="icon-file button" href="{{ sound|format_url:'ogg' }}">
-                               <span>ogg</span>
+                       <a target="_blanck" class="button inBlock" href="{{ sound|format_url:'ogg' }}">
+                               <span class="icon-file">&nbsp;ogg</span>
                        </a>
                        {% endif %}
                        {% if sound|is_format_available:'mp3' %}
-                       <a target="_blanck" class="icon-file button" href="{{ sound|format_url:'mp3' }}">
-                               <span>mp3</span>
+                       <a target="_blanck" class="button inBlock" href="{{ sound|format_url:'mp3' }}">
+                               <span class="icon-file">&nbsp;mp3</span>
                        </a>
                        {% endif %}
-               </span>
+               </div>
        </div>
        <audio 
                data-player='true'