Browse Source

Une icone charte

revision du html dans la page de configuration pour utiliser le svg en SPIP 4+
g0uz-patch-1
Cerdic 1 year ago
parent
commit
9f0589aa0a
  1. 2
      formulaires/configurer_crayons.html
  2. BIN
      images/crayon-128.png
  3. BIN
      images/crayon-24.png
  4. BIN
      images/crayon-32.png
  5. BIN
      images/crayon-64.png
  6. 18
      images/crayon-xx.svg
  7. BIN
      prive/themes/spip/images/crayon-24.png
  8. 7
      prive/themes/spip/images/crayon-xx.svg

2
formulaires/configurer_crayons.html

@ -4,7 +4,7 @@
<div class="formulaire_spip formulaire_cfg formulaire_#FORM">
<h3 class='titrem'>[(#CHEMIN{images/crayon-24.png}|image_reduire{24}|inserer_attribut{class,cadre-icone}|inserer_attribut{alt,''})]<:crayons:titre_config_crayons:></h3>
<h3 class='titrem'>[(#CHEMIN_IMAGE{crayon-24.png}|balise_img{'',cadre-icone})]<:crayons:titre_config_crayons:></h3>
[<p class="reponse_formulaire reponse_formulaire_ok">(#ENV*{message_ok})</p>]
[<p class="reponse_formulaire reponse_formulaire_erreur">(#ENV*{message_erreur})</p>]

BIN
images/crayon-128.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.0 KiB

After

Width:  |  Height:  |  Size: 5.7 KiB

BIN
images/crayon-24.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 469 B

BIN
images/crayon-32.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 612 B

BIN
images/crayon-64.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 3.3 KiB

18
images/crayon-xx.svg

@ -1,15 +1,7 @@
<svg xmlns="http://www.w3.org/2000/svg"
xml:space="preserve"
width="256" height="256"
version="1.1"
style="shape-rendering:geometricPrecision; text-rendering:geometricPrecision; image-rendering:optimizeQuality; fill-rule:evenodd; clip-rule:evenodd"
viewBox="15 0 480 480"
xmlns:xlink="http://www.w3.org/1999/xlink">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" width="64" height="64">
<!-- (c) Snip Master https://creativecommons.org/licenses/by/4.0/ https://icon-icons.com/fr/icone/crayon-mono/105944-->
<path d="M20,478 l495,0 l0,-40 l-305,0" fill="#F3EA22" />
<g transform="rotate(45 230 230) translate(-80 0) scale(1.3 1) rotate(-45 230 230)">
<path d="M350 45l105 105 -281 280 0 0 -63 22 -84 27 c-5,2 -8,-1 -6,-6 l27 -84 l22 -63 230 -231z" fill="#eee"/>
<path d="M300 95l105 105 -231 230 0 0 -63 22c-5,-15 -13,-28 -24,-39 -11,-11 -24,-19 -39,-24l22 -63 0 0 0 0 230 -231zm-207 362l-66 22c-5,2 -8,-1 -6,-6l22 -66c11,4 22,10 31,19 9,9 15,20 19,31zm381 -353l-78 -79c-7,-7 -19,-7 -26,0l-52 53 104 104 52 -52c8,-7 8,-19 0,-26zm-161 39c5,5 5,13 0,18l-182 182c-5,5 -13,5 -18,0 -5,-5 -5,-12 0,-17l183 -183c5,-5 12,-5 17,0zm44 44c5,5 5,12 0,17l-183 183c-5,5 -13,5 -17,0 -5,-5 -5,-13 0,-18l182 -182c5,-5 13,-5 18,0z"
fill="#517BAD"/>
</g>
<path fill="#1d83d4" d="M2.7 255.9H256v-21.3H99.9"/>
<path fill="#eee" d="M169 15L241.8 88 91.8 237l-36.9 8.5-49.3 9.9c-3 .8-5-1.3-4.2-4.2l9.8-49.4 8.5-36.8L142.3 41.8 169 15z"/>
<path fill="#666" d="M142.4 41.7l72.8 72.8L91.9 237 55 245.5a85.7 85.7 0 00-43.7-43.7l8.5-36.8L142.4 41.7zm-98 206l-38.7 7.8c-3 .8-5-1.2-4.2-4.2l7.6-38.8a74 74 0 0121 14.2 74 74 0 0114.2 21zM250.3 61L195.9 5.7c-5-5-12.3-6-16.1-2.1l-28 28.7 72.9 72.8 28-28C257 73.4 256 66 250.5 61z"/>
<path fill="#eee" d="M154.8 71.6c3.5 3.5 4.1 8.4 1.4 11l-97.1 97.1c-2.7 2.7-7.6 2-11-1.4-3.5-3.5-4-7.8-1.4-10.4l97.6-97.6c2.7-2.7 7-2.1 10.5 1.3zm30.5 30.5c3.5 3.5 4 7.8 1.4 10.4l-97.6 97.6c-2.7 2.7-7.6 2-10.4-1.4-3.5-3.5-4.1-8.4-1.4-11l97.1-97.1c2.5-2.6 7.4-1.9 10.9 1.5z"/>
</svg>

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 963 B

BIN
prive/themes/spip/images/crayon-24.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

7
prive/themes/spip/images/crayon-xx.svg

@ -0,0 +1,7 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" width="64" height="64">
<!-- (c) Snip Master https://creativecommons.org/licenses/by/4.0/ https://icon-icons.com/fr/icone/crayon-mono/105944-->
<path fill="#1d83d4" d="M2.7 255.9H256v-21.3H99.9"/>
<path fill="#eee" d="M169 15L241.8 88 91.8 237l-36.9 8.5-49.3 9.9c-3 .8-5-1.3-4.2-4.2l9.8-49.4 8.5-36.8L142.3 41.8 169 15z"/>
<path fill="#666" d="M142.4 41.7l72.8 72.8L91.9 237 55 245.5a85.7 85.7 0 00-43.7-43.7l8.5-36.8L142.4 41.7zm-98 206l-38.7 7.8c-3 .8-5-1.2-4.2-4.2l7.6-38.8a74 74 0 0121 14.2 74 74 0 0114.2 21zM250.3 61L195.9 5.7c-5-5-12.3-6-16.1-2.1l-28 28.7 72.9 72.8 28-28C257 73.4 256 66 250.5 61z"/>
<path fill="#eee" d="M154.8 71.6c3.5 3.5 4.1 8.4 1.4 11l-97.1 97.1c-2.7 2.7-7.6 2-11-1.4-3.5-3.5-4-7.8-1.4-10.4l97.6-97.6c2.7-2.7 7-2.1 10.5 1.3zm30.5 30.5c3.5 3.5 4 7.8 1.4 10.4l-97.6 97.6c-2.7 2.7-7.6 2-10.4-1.4-3.5-3.5-4.1-8.4-1.4-11l97.1-97.1c2.5-2.6 7.4-1.9 10.9 1.5z"/>
</svg>

After

Width:  |  Height:  |  Size: 963 B

Loading…
Cancel
Save