Dotclear

Changeset 3771:ee48b80e8d04 for admin


Ignore:
Timestamp:
07/11/18 12:21:03 (7 years ago)
Author:
franck <carnet.franck.paul@…>
Branch:
default
Message:

Use svg image rather than png for outgoing links

Location:
admin
Files:
1 added
12 edited

Legend:

Unmodified
Added
Removed
  • admin/_charte.php

    r3770 r3771  
    333333                    </p> 
    334334                <h3 id="prevnext">Navigation contextuelle</h3> 
    335                     <p><a title="Titre du lien" href="http://fr.dotclear.org/blog" class="onblog_link outgoing">Lien vers le blog <img alt="" src="images/outgoing-blue.png" /></a></p> 
     335                    <p><a title="Titre du lien" href="http://fr.dotclear.org/blog" class="onblog_link outgoing">Lien vers le blog <img alt="" src="images/outgoing-link.svg" /></a></p> 
    336336                    <p class="nav_prevnext"><a title="Titre de l'élément précédente" href="post.php?id=4145">«&nbsp;Élément précédent</a> | <a title="Titre de l'élément suivant" href="#">Élément suivant&nbsp;»</a></p> 
    337337 
  • admin/index.php

    r3731 r3771  
    119119        foreach ($__resources['doc'] as $k => $v) { 
    120120            $doc_links .= '<li><a class="outgoing" href="' . $v . '" title="' . $k . '">' . $k . 
    121                 ' <img src="images/outgoing-blue.png" alt="" /></a></li>'; 
     121                ' <img src="images/outgoing-link.svg" alt="" /></a></li>'; 
    122122        } 
    123123 
  • admin/js/common.js

    r3768 r3771  
    456456    $(this).prop('title', $(this).prop('title') + ' (' + dotclear.msg.new_window + ')'); 
    457457    if (!$(this).hasClass('outgoing')) { 
    458       $(this).append('&nbsp;<img src="images/outgoing-blue.png" alt=""/>'); 
     458      $(this).append('&nbsp;<img class="outgoing-js" src="images/outgoing-link.svg" alt=""/>'); 
    459459    } 
    460460  }).click(function(e) { 
  • admin/post.php

    r3731 r3771  
    434434 
    435435if ($post_id && $post->post_status == 1) { 
    436     echo '<p><a class="onblog_link outgoing" href="' . $post->getURL() . '" title="' . html::escapeHTML($post_title) . '">' . __('Go to this entry on the site') . ' <img src="images/outgoing-blue.png" alt="" /></a></p>'; 
     436    echo '<p><a class="onblog_link outgoing" href="' . $post->getURL() . '" title="' . html::escapeHTML($post_title) . '">' . __('Go to this entry on the site') . ' <img src="images/outgoing-link.svg" alt="" /></a></p>'; 
    437437} 
    438438if ($post_id) { 
  • admin/services.php

    r3731 r3771  
    5454                    foreach ($feed->items as $item) { 
    5555                        $dt = isset($item->link) ? '<a href="' . $item->link . '" class="outgoing" title="' . $item->title . '">' . 
    56                         $item->title . ' <img src="images/outgoing-blue.png" alt="" /></a>' : $item->title; 
     56                        $item->title . ' <img src="images/outgoing-link.svg" alt="" /></a>' : $item->title; 
    5757 
    5858                        if ($i < 3) { 
  • admin/style/default-dark.css

    r3770 r3771  
    907907  border-bottom: none; 
    908908  text-decoration: none; } 
     909 
     910a.outgoing img, .outgoing-js { 
     911  width: .75em; 
     912  filter: contrast(100%); } 
     913  #header a.outgoing img, #header .outgoing-js { 
     914    width: 1.25em; 
     915    padding: 0 0 0 .5em; 
     916    vertical-align: initial; 
     917    filter: contrast(100%); } 
    909918 
    910919input[type=text], 
  • admin/style/default.css

    r3770 r3771  
    907907  border-bottom: none; 
    908908  text-decoration: none; } 
     909 
     910a.outgoing img, .outgoing-js { 
     911  width: .75em; 
     912  filter: contrast(50%); } 
     913  #header a.outgoing img, #header .outgoing-js { 
     914    width: 1.25em; 
     915    padding: 0 0 0 .5em; 
     916    vertical-align: initial; 
     917    filter: contrast(100%); } 
    909918 
    910919input[type=text], 
  • admin/style/scss/partials/_markup.scss

    r3770 r3771  
    210210     text-decoration: none; 
    211211} 
     212 
     213a.outgoing img, .outgoing-js { 
     214  width: .75em; 
     215  filter: contrast($outgoing-link-filter); 
     216  #header & { 
     217    width: 1.25em; 
     218    padding: 0 0 0 .5em; 
     219    vertical-align: initial; 
     220    filter: contrast(100%); 
     221  } 
     222} 
  • admin/style/scss/themes/_dark.scss

    r3770 r3771  
    151151$discrete-link-color:             $body-color; 
    152152 
     153$outgoing-link-filter:            100%; 
     154 
    153155// Forms 
    154156 
  • admin/style/scss/themes/_light.scss

    r3770 r3771  
    150150$discrete-link-color:             $gray-very-dark;                    // #323232 
    151151 
     152$outgoing-link-filter:            50%; 
     153 
    152154// Forms 
    153155 
  • admin/update.php

    r3731 r3771  
    183183        '<p class="static-msg">' . sprintf(__('Dotclear %s is available.'), $new_v) . 
    184184            ($version_info ? ' <a href="' . $version_info . '" class="outgoing" title="' . __('Information about this version') . '">(' . 
    185             __('Information about this version') . ')&nbsp;<img src="images/outgoing.png" alt=""/></a>' : '') . 
     185            __('Information about this version') . ')&nbsp;<img src="images/outgoing-link.svg" alt=""/></a>' : '') . 
    186186            '</p>'; 
    187187        if (version_compare(phpversion(), $updater->getPHPVersion()) < 0) { 
  • admin/users_actions.php

    r3731 r3771  
    209209            '<td class="maximal">' . html::escapeHTML($rs->blog_name) . '</td>' . 
    210210            '<td class="nowrap"><a class="outgoing" href="' . html::escapeHTML($rs->blog_url) . '">' . html::escapeHTML($rs->blog_url) . 
    211             ' <img src="images/outgoing-blue.png" alt="" /></a></td>' . 
     211            ' <img src="images/outgoing-link.svg" alt="" /></a></td>' . 
    212212            '<td class="nowrap">' . $core->countBlogPosts($rs->blog_id) . '</td>' . 
    213213                '<td class="status">' . $img_status . '</td>' . 
Note: See TracChangeset for help on using the changeset viewer.

Sites map