Changeset 103978 in spip-zone


Ignore:
Timestamp:
Apr 17, 2017, 11:21:17 AM (2 years ago)
Author:
cedric@…
Message:

fix bug html sur le modele toot.html, et petites ameliorations css + timestamp sur la css inseree par le pipeline

Location:
_plugins_/oembed
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/oembed/css/oembed.css

    r103977 r103978  
    8787
    8888/* Mastodon */
     89.oembed_mastodon .oe-rich {max-width:none !important;background: #f8f8f8;padding: 15px;border-radius: 4px;margin: 1em auto;}
     90.oembed_mastodon .rwd-rich-container {height: auto !important;}
    8991.oembed_mastodon .oembed-source {display: none;}
    9092.oembed_mastodon .spip_doc_titre {display: none;}
    91 .oembed_mastodon .oe-rich {max-width:none !important;}
    92 .oembed_mastodon .oembed-source {display: none;}
    93 .oembed_mastodon .oe-rich {background: #f8f8f8;padding: 15px;border-radius: 4px;margin: 1em auto;}
    94 .oembed_mastodon .rwd-rich-container {height: auto !important;}
    95 .oembed_mastodon .spip_doc_titre {display: none;}
    96 .oembed_mastodon .oe-rich {max-width:none !important;}
    97 .mastodon-toot {padding:0;margin:0;padding-left:63px;font-family: Arial,Helvetica,Sans-Serif;}
    98 .mastodon-toot .toot-published {float: right;color:#9baec8;text-decoration: none !important;}
     93.mastodon-toot {padding:0;margin:0;padding-left:63px;font-family: Arial,Helvetica,Sans-Serif;font-size: 1.0em;line-height: 1.5em;}
     94.mastodon-toot a {background: transparent !important;text-decoration: none !important;}
     95.mastodon-toot .emoji-sizer {vertical-align: top;}
     96.mastodon-toot .toot-published {float: right;color:#9baec8;}
    9997.mastodon-toot .toot-published:active,.mastodon-toot .toot-published:focus,.mastodon-toot .toot-published:hover {text-decoration: underline !important;}
    100 .mastodon-toot .toot-author-url {color:#9baec8;text-decoration: none !important;}
    101 .mastodon-toot .toot-author-thumbnail {float: left;margin-left:-63px;width: 48px;height: 48px;border-radius: 4px;}
     98.mastodon-toot .toot-author-url {color:#9baec8;}
     99.mastodon-toot .toot-author-thumbnail {float: left;margin-left:-63px;margin-top:4px;width: 48px;height: 48px;border-radius: 4px;}
    102100.mastodon-toot .toot-author-screen-name {color:#282c37;}
    103101.mastodon-toot .toot-author-url:active .toot-author-screen-name,.mastodon-toot .toot-author-url:focus .toot-author-screen-name,.mastodon-toot .toot-author-url:hover .toot-author-screen-name {text-decoration: underline;}
    104 .mastodon-toot .toot-content a {color:#2b90d9;text-decoration: none !important;}
     102.mastodon-toot .toot-content {display:block;margin: 0.75em 0 0.25em;}
     103.mastodon-toot .toot-content p {margin-bottom: 0.75em;}
     104.mastodon-toot .toot-content p:last-child {margin-bottom: 0;}
     105.mastodon-toot .toot-content a {color:#2b90d9;}
    105106.mastodon-toot .toot-content a:active,.mastodon-toot .toot-content a:focus,.mastodon-toot .toot-content a:hover {text-decoration: underline !important;}
    106107.mastodon-toot .invisible {display: none}
    107 .mastodon-toot .ellipsis::after {display: inline;content:'...'}
     108.mastodon-toot .ellipsis::after {display: inline;content:'\2026'}
  • _plugins_/oembed/modeles/toot.html

    r103977 r103978  
    22
    33        <span class="toot-author">
    4 
    54                [<a href="#ENV{url}" class="toot-published">(#ENV{published}|affdate_heure)</a>]
    65                <a href="#ENV{author_url}" class="toot-author-url">
     
    98                        [<span class="toot-author-name">(#ENV{author_name})</span>]
    109                </a>
    11                 [<span class="toot-content">(#ENV*{content})</span>]
    12 
    1310        </span>
     11        [<span class="toot-content">(#ENV*{content})</span>]
    1412
    1513</blockquote>
  • _plugins_/oembed/oembed_pipelines.php

    r99158 r103978  
    1616 */
    1717function oembed_insert_head_css($head) {
    18         $head .= '<link rel="stylesheet" type="text/css" href="'.find_in_path('css/oembed.css').'" />'."\n";
     18        $head .= '<link rel="stylesheet" type="text/css" href="'.timestamp(find_in_path('css/oembed.css')).'" />'."\n";
    1919        return $head;
    2020}
  • _plugins_/oembed/paquet.xml

    r103977 r103978  
    22        prefix="oembed"
    33        categorie="multimedia"
    4         version="1.8.0"
     4        version="1.8.1"
    55        etat="stable"
    66        compatibilite="[3.0.0;3.2.*]"
Note: See TracChangeset for help on using the changeset viewer.