]> git.0d.be Git - panikweb.git/commitdiff
Small button fixe for episode inline (right align to keep height stable)
authorlaron <simon@surlaterre.org>
Wed, 11 Sep 2013 06:53:01 +0000 (08:53 +0200)
committerlaron <simon@surlaterre.org>
Wed, 11 Sep 2013 06:53:01 +0000 (08:53 +0200)
panikweb_templates/static/css/specifics.css
panikweb_templates/templates/episodes/resume.html

index 99b660c2be1f4232583e82cfef4a0f1c193357e0..c06041795af39070e66acfad0f05b9bab287470d 100644 (file)
@@ -398,9 +398,6 @@ body{
        font-size:80%;
        bottom:0em;
        border-bottom:none;
-}
-#player-container.fixed .padded{
-
 }
 #Player.withPlaylist #player-container #audioPlayer{
        float:left;
@@ -613,8 +610,13 @@ body{
        float:right;
        margin:0 0 1em 1em;
 }
-.episode.inline .sound{
-       font-size:80%;  
+.episode.inline .sound.right{
+       width:2em;
+       text-align:center;
+       font-size:70%;  
+}
+.episode.inline .sound.right button{
+       padding-bottom:0.1em;
 }
 .episode.resume .sound.right .icon-download{
        text-align:center;
index 05d560f4c1803f7ef9d082b4cbaeeb37f01c8ee5..4d0e8ce87ddf7d0f2094c9d38a4df111b83462c2 100644 (file)
@@ -39,7 +39,7 @@
        </div>
        <div class="content">
 
-               {% if episode.main_sound and model != "inline"%}
+               {% if episode.main_sound %}
                        <div class="sound right">{% audio sound=episode.main_sound %}</div>
                {% endif %}
                <div class="title ellipsis">
                        </article>
                        {% endif %}
                {% endif %}
-
-               {% if episode.main_sound and model = "inline"%}
-                       <div class="sound">{% audio sound=episode.main_sound %}</div>
-               {% endif %}
                <div class="metas">
                        {% if episode.serie  or episode.auteur or episode.redif %}
                        <dl class="credits cf">