Browse Source

une icone svg flat pour la navbar

svn/root/trunk
cedric@yterium.com 1 year ago
parent
commit
eb51681cfa
  1. 1
      .gitattributes
  2. 27
      public/img/gitea-sm.svg
  3. 2
      templates/base/head_navbar.tmpl

1
.gitattributes

@ -1,6 +1,7 @@
* text=auto !eol
public/img/favicon.png -text
public/img/gitea-sm.png -text
public/img/gitea-sm.svg -text
public/js/boussole.js -text
/readme.md -text
templates/base/head_navbar.tmpl -text

27
public/img/gitea-sm.svg

@ -0,0 +1,27 @@
<svg
version="1.1"
xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
width="55"
height="42"
viewBox="0 0 200 152.5">
<path fill="#E8246F" d="M85.9,108L85.9,108c-6.2-24.8-32-22.2-36.1-38.9c-2.9-11.8,5-20.8,16.8-23.8c7-1.7,14,0.1,19.2,4.3
c0.8,0.6,1.6,1.4,2.6,2.4l0.1,0.1l0,0c0.2,0.2,0.3,0.4,0.5,0.6c0.1,0.1,0.2,0.3,0.3,0.4c0.1,0.2,0.2,0.3,0.3,0.5l0.1,0.1
c1.1,1.4,1.7,2.4,2.6,2.2c0.8-0.2,1.2-2,1.4-3.3c0.7-5.5,0.4-11.2-1-17c-6.2-25.2-31.7-40.7-57-34.4C10.6,7.6-4.8,33.1,1.4,58.3
c8.3,33.9,40.2,39.6,57.5,48.2c3.7,1.8,6.6,5.1,7.6,9.3c1.9,7.5-2.7,15.1-10.3,17l-0.2,0c-0.3,0.1-0.5,0.1-0.7,0.2
c-1.5,0.4-1.9,0.2-1.9,0.8c0,0.4,1,0.9,1.6,1.2c4.3,1.6,9,2,13.8,0.9C81.3,132.9,88.9,120.4,85.9,108L85.9,108L85.9,108L85.9,108z"
/>
<path fill="#E8246F" d="M154,97.8c0,0-1.4,0-1.7,0c-2.5,0-4.2,0.7-5.4,1.4c-0.1,0.1-0.2,0.2-0.3,0.2c-2,1.3-2.8,3.6-2.8,3.6l0,0
l-10,32c-0.3,1.2,0.5,2.2,1.8,2.2h6.6c1.2,0,2.5-1,2.7-2.2l10.9-35C156,98.7,155.2,97.8,154,97.8"/>
<path fill="#E8246F" d="M148,94h7.3c2.1-0.2,3.2-2.5,3.1-3.6c0-1.1-1.1-2-3.4-2c-2.3,0.1-7,1.4-7.2,5.2
C147.8,93.8,147.9,93.9,148,94"/>
<path fill="#E8246F" d="M199.4,116.6c3.9-19.2-12.6-19.2-18.7-18.3c-0.5,0.1-1,0.2-1.6,0.3c-5,0.8-5.7,1-6.8,0.6
c-0.3-0.1-0.5-0.2-0.8-0.4c-0.2-0.2-0.4-0.3-0.7-0.5l0,0c-1.6-0.9-3.5-0.7-3.5-0.7l-0.3,0h0.1c-1.2,0-2.5,1-2.7,2.2l-15.5,49.8
c0,0-1,2.8,2,2.8h0.9l0,0c0,0,7.9,0.7,11.9-10.7l9.6-31.7c-1.6-0.5-2.6-1-3.5-1.6c-2-1.4-2.1-2.8-0.6-2.3c1.4,0.5,3.1,0.9,9.2,0.8
c9.2-0.2,10.4,10.9,5.4,18.5c-2.9,4.4-5.7,5.5-8.7,6.7c-0.8,0.3-1.6,0.6-2.5,0.8l0,0c0,0-2.6,0.5-2.6,1.4c0,0.7,0.9,1.2,2,1.5
c1.4,0.2,3,0.4,4.7,0.4c7.6,0,20.7-5.6,22.8-19.4C199.5,116.2,199.3,117.3,199.4,116.6"/>
<path fill="#E8246F" d="M132.6,116.6c3.9-19.2-12.6-19.2-18.7-18.3c-0.5,0.1-1,0.2-1.6,0.3c-5,0.8-5.7,1-6.8,0.6
c-0.3-0.1-0.5-0.2-0.8-0.4c-0.2-0.2-0.4-0.3-0.7-0.5l0,0c-1.6-0.9-3.5-0.7-3.5-0.7l-0.3,0h0.1c-1.2,0-2.5,1-2.7,2.2l-15.5,49.8
c0,0-1,2.8,2,2.8h0.9l0,0c0,0,7.9,0.7,11.9-10.7l10.6-34.8c1.1,0,2.4,0,4,0c9.2-0.2,10.4,10.9,5.4,18.5c-2.9,4.4-5.7,5.5-8.7,6.7
c-0.8,0.3-1.6,0.6-2.5,0.8l0,0c0,0-2.6,0.5-2.6,1.4c0,0.7,0.9,1.2,2,1.5c1.4,0.2,3,0.4,4.7,0.4c7.6,0,20.7-5.6,22.8-19.4
C132.7,116.2,132.5,117.3,132.6,116.6"/>
</svg>

2
templates/base/head_navbar.tmpl

@ -2,7 +2,7 @@
<div class="ui container" id="navbar">
<div class="item brand" style="justify-content: space-between;">
<a href="{{AppSubUrl}}/">
<img class="ui mini image" src="{{AppSubUrl}}/img/gitea-sm.png">
<img class="ui mini image" src="{{AppSubUrl}}/img/gitea-sm.svg" width="55" height="42" />
</a>
<div class="ui basic icon button mobile-only" id="navbar-expand-toggle">
<i class="sidebar icon"></i>

Loading…
Cancel
Save