Browse Source

[ui] icônes unifiées pour les stats. on laisse tomber les néons RVG pour un filaire épuré. création d'un nouvelle icone pour la répartition des langues

pull/5/head
erational 1 year ago
parent
commit
b0ee5927ad
  1. 2
      paquet.xml
  2. 2
      prive/squelettes/contenu/stats_lang.html
  3. 25
      prive/themes/spip/images/referers-xx.svg
  4. 15
      prive/themes/spip/images/repartition-xx.svg
  5. 7
      prive/themes/spip/images/statistique-langue-xx.svg
  6. 20
      prive/themes/spip/images/statistique-xx.svg

2
paquet.xml

@ -32,5 +32,5 @@
<onglet nom="stats_visites" titre="statistiques:icone_statistiques_visites" parent="statistiques" icone="images/statistique-24.png" action="stats_visites" />
<onglet nom="stats_referers" titre="statistiques:titre_liens_entrants" parent="statistiques" icone="images/referers-24.png" action="stats_referers" />
<onglet nom="stats_repartition" titre="statistiques:icone_repartition_visites" parent="statistiques" icone="images/repartition-24.png" action="stats_repartition" />
<onglet nom="stats_lang" titre="statistiques:onglet_repartition_lang" parent="statistiques" icone="images/langue-24.png" action="stats_lang" />
<onglet nom="stats_lang" titre="statistiques:onglet_repartition_lang" parent="statistiques" icone="images/statistique-langue-24.png" action="stats_lang" />
</paquet>

2
prive/squelettes/contenu/stats_lang.html

@ -8,7 +8,7 @@
</ul>
</div>
[(#BOITE_OUVRIR{#CHEMIN_IMAGE{langue-24.png}|balise_img{'',cadre-icone}})]
[(#BOITE_OUVRIR{#CHEMIN_IMAGE{statistique-langue-xx.svg}|balise_img{'',cadre-icone}})]
[(#ENV{critere}|=={debut}|?{visites,popularite}|affiche_stats_lang)]

25
prive/themes/spip/images/referers-xx.svg

@ -1,22 +1,5 @@
<svg
height="64"
width="64"
viewBox="0 0 512 512"
xmlns="http://www.w3.org/2000/svg">
<g>
<g clip-rule="evenodd" fill-rule="evenodd">
<path stroke="#FF7627" stroke-width="15" stroke-opacity="0.75"
d="m229.958 221.915-9.813-91.777c-.323-6.528-8.358-9.965-12.993-5.331l-10.223 10.223-122.636-122.635c-3.191-3.192-8.414-3.192-11.606 0l-50.292 50.291c-3.192 3.192-3.192 8.414 0 11.606l122.636 122.636-10.224 10.224c-4.372 4.368-1.543 12.262 4.904 12.948l92.085 9.845c4.699.569 8.666-3.279 8.162-8.03z"
fill="#FF7627"/>
<path stroke="#54e360" stroke-width="15" stroke-opacity="0.75"
d="m221.796 282.058-92.085 9.845c-6.447.685-9.276 8.579-4.904 12.947l10.224 10.224-122.636 122.637c-3.191 3.192-3.191 8.414 0 11.606l50.292 50.292c3.192 3.192 8.414 3.192 11.606 0l122.636-122.636 10.224 10.224c4.635 4.634 12.67 1.197 12.993-5.331l9.812-91.777c.504-4.752-3.462-8.6-8.162-8.031z"
fill="#54e360"/>
<path stroke="#FD003A" stroke-width="15" stroke-opacity="0.75"
d="m282.047 290.088 9.812 91.777c.323 6.528 8.358 9.965 12.993 5.331l10.223-10.224 122.636 122.636c3.192 3.192 8.414 3.192 11.606 0l50.292-50.292c3.192-3.192 3.192-8.414 0-11.606l-122.636-122.635 10.224-10.224c4.373-4.368 1.543-12.262-4.904-12.947l-92.086-9.845c-4.699-.57-8.665 3.278-8.16 8.029z"
fill="#FD003A"/>
<path stroke="#1689FC" stroke-width="15" stroke-opacity="0.75"
d="m290.208 229.945 92.086-9.845c6.447-.685 9.276-8.579 4.904-12.947l-10.224-10.224 122.635-122.637c3.191-3.192 3.191-8.414 0-11.606l-50.292-50.292c-3.191-3.192-8.414-3.192-11.606 0l-122.636 122.636-10.223-10.223c-4.635-4.635-12.67-1.197-12.993 5.33l-9.812 91.778c-.505 4.751 3.461 8.599 8.161 8.03z"
fill="#1689FC"/>
</g>
</g>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64" width="64" height="64">
<path d="M11.6 5.8h46.7v46.7H11.6V5.8z" fill="#fff"/>
<path d="M11.6 5.8v46.7h46.7v5.8H5.8V5.8h5.8z" fill="#666"/>
<path d="M35 27.8h14v7H35v10.5l-14-14 14-14v10.5z" fill="#1d83d4"/>
</svg>

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 279 B

15
prive/themes/spip/images/repartition-xx.svg

@ -1,11 +1,6 @@
<svg
version="1.1"
xmlns="http://www.w3.org/2000/svg"
width="64"
height="64"
viewBox="0 0 512 512"
xml:space="preserve">
<path fill="#54e360" d="M497,241H287c-8.291,0-15-6.709-15-15V15c0-8.291,6.709-15,15-15c124.072,0,225,101.928,225,226 C512,234.291,505.291,241,497,241z"/>
<path fill="#FD003A" d="M314.9,478.4L242,283.299V76c0-8.401-6.599-15-15-15C102.8,61,0,161.8,0,286s102.8,226,227,226 c5.099,0,9.901-0.3,15-0.601c21.899-1.199,43.2-6,63.9-13.801C313.7,494.9,317.601,486.2,314.9,478.4z"/>
<path fill="#1689FC" d="M360.74,498.641c-2.124,0-4.233-0.454-6.196-1.348c-3.633-1.641-6.445-4.658-7.852-8.379 l-73.74-197.641c-1.729-4.614-1.084-9.771,1.714-13.813c2.813-4.043,7.412-6.46,12.334-6.46h210c8.291,0,15,6.709,15,15 c0,93.164-58.667,178.817-145.972,211.674C364.314,498.318,362.527,498.641,360.74,498.641z"/>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64">
<path d="M11.6 5.8h46.7v46.7H11.6V5.8z" fill="#fff"/>
<path d="M11.6 5.8v46.7h46.7v5.8H5.8V5.8h5.8z" fill="#666"/>
<path d="M33.4 10v20.9h20.9c-1 9.6-9.1 17.1-19 17.1-10.5 0-19-8.5-19-19 0-9.9 7.5-18 17.1-19z" fill="#d3d3d3"/>
<path d="M37.3 10c9 .9 16.1 8 17 17h-17V10z" fill="#1d83d4"/>
</svg>

Before

Width:  |  Height:  |  Size: 838 B

After

Width:  |  Height:  |  Size: 371 B

7
prive/themes/spip/images/statistique-langue-xx.svg

@ -0,0 +1,7 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64" width="64" height="64">
<path fill="#fff" d="M11.6 5.8h46.7v46.7H11.6V5.8z" />
<path fill="#666" d="M11.6 5.8v46.7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.3zm.1 7.8c-.4 1-.8 2-1.4 3.1h2.5c-.3-1.1-.6-2.2-1.1-3.1z" />
</svg>

After

Width:  |  Height:  |  Size: 2.3 KiB

20
prive/themes/spip/images/statistique-xx.svg

@ -1,17 +1,5 @@
<svg
width="64"
height="64"
viewBox="128 128 384 384"
xmlns="http://www.w3.org/2000/svg">
<path transform="translate(0 100)" stroke="#54e360" stroke-width="15" stroke-opacity="0.75"
d="m225.876 511.001h-60.25c-8.284 0-15-6.716-15-15v-241c0-8.284 6.716-15 15-15h60.25c8.284 0 15 6.716 15 15v241c0 8.284-6.716 15-15 15z"
fill="#54e360"/>
<path transform="translate(120 70)" stroke="#1fb4ff" stroke-width="15" stroke-opacity="0.75"
d="m346.376 511.001h-60.25c-8.284 0-15-6.716-15-15v-301.25c0-8.284 6.716-15 15-15h60.25c8.284 0 15 6.716 15 15v301.25c0 8.284-6.716 15-15 15z"
fill="#1fb4ff"/>
<path transform="translate(-120 20)" stroke="#ff4c5b" stroke-width="15" stroke-opacity="0.75"
d="m466.876 511.001h-60.25c-8.284 0-15-6.716-15-15v-361.5c0-8.284 6.716-15 15-15h60.25c8.284 0 15 6.716 15 15v361.5c0 8.284-6.716 15-15 15z"
fill="#ff4c5b"/>
<path d="m497.001 512.001h-354c-8.284 0-15-6.716-15-15s6.716-15 15-15h354c8.284 0 15 6.716 15 15s-6.716 15-15 15z" fill="#384949"/>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64" width="64" height="64">
<path fill="#fff" d="M11.6 5.8h46.7v46.7H11.6z"/>
<path d="M11.6 5.8v46.7h46.7v5.8H5.8V5.8h5.8z" fill="#666"/>
<path fill="#1d83d4" d="M55.2 14.3l6.1 6.2-17.6 17.7-8.8-8.8-11.5 11.5-6.2-6.2 17.7-17.6 8.8 8.7z"/>
</svg>

Before

Width:  |  Height:  |  Size: 1010 B

After

Width:  |  Height:  |  Size: 308 B

Loading…
Cancel
Save