Merge pull request #3344 from splitbrain/smileys

SVG based smileys
This commit is contained in:
Andreas Gohr 2020-11-25 20:58:40 +01:00 committed by GitHub
commit f015cb7680
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
59 changed files with 60 additions and 30 deletions

View File

@ -1,28 +1,28 @@
# Smileys configured here will be replaced by the
# configured images in the smiley directory
8-) icon_cool.gif
8-O icon_eek.gif
8-o icon_eek.gif
:-( icon_sad.gif
:-) icon_smile.gif
=) icon_smile2.gif
:-/ icon_doubt.gif
:-\ icon_doubt2.gif
:-? icon_confused.gif
:-D icon_biggrin.gif
:-P icon_razz.gif
:-o icon_surprised.gif
:-O icon_surprised.gif
:-x icon_silenced.gif
:-X icon_silenced.gif
:-| icon_neutral.gif
;-) icon_wink.gif
m( facepalm.gif
^_^ icon_fun.gif
:?: icon_question.gif
:!: icon_exclaim.gif
LOL icon_lol.gif
FIXME fixme.gif
DELETEME delete.gif
8-) cool.svg
8-O eek.svg
8-o eek.svg
:-( sad.svg
:-) smile.svg
=) smile2.svg
:-/ doubt.svg
:-\ doubt2.svg
:-? confused.svg
:-D biggrin.svg
:-P razz.svg
:-o surprised.svg
:-O surprised.svg
:-x silenced.svg
:-X silenced.svg
:-| neutral.svg
;-) wink.svg
m( facepalm.svg
^_^ fun.svg
:?: question.svg
:!: exclaim.svg
LOL lol.svg
FIXME fixme.svg
DELETEME deleteme.svg

View File

@ -246,6 +246,7 @@ DokuWiki converts commonly used [[wp>emoticon]]s to their graphical equivalents.
* :-| %% :-| %%
* ;-) %% ;-) %%
* ^_^ %% ^_^ %%
* m( %% m( %%
* :?: %% :?: %%
* :!: %% :!: %%
* LOL %% LOL %%

View File

@ -734,10 +734,9 @@ class Doku_Renderer_xhtml extends Doku_Renderer {
* @param string $smiley
*/
public function smiley($smiley) {
if(array_key_exists($smiley, $this->smileys)) {
$this->doc .= '<img src="'.DOKU_BASE.'lib/images/smileys/'.$this->smileys[$smiley].
'" class="icon" alt="'.
$this->_xmlEntities($smiley).'" />';
if (isset($this->smileys[$smiley])) {
$this->doc .= '<img src="' . DOKU_BASE . 'lib/images/smileys/' . $this->smileys[$smiley] .
'" class="icon smiley" alt="' . $this->_xmlEntities($smiley) . '" />';
} else {
$this->doc .= $this->_xmlEntities($smiley);
}

View File

@ -0,0 +1,4 @@
SVG Icons from the Twitter Emoji (Twemoji) project
Copyright 2019 Twitter, Inc and other contributors
Licensed under CC-BY 4.0: https://creativecommons.org/licenses/by/4.0/

View File

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 36 36"><path fill="#FFCC4D" d="M36 18c0 9.941-8.059 18-18 18-9.94 0-18-8.059-18-18C0 8.06 8.06 0 18 0c9.941 0 18 8.06 18 18"/><ellipse fill="#664500" cx="12" cy="13.5" rx="2.5" ry="3.5"/><ellipse fill="#664500" cx="24" cy="13.5" rx="2.5" ry="3.5"/><path fill="#FFF" d="M25 21c2.209 0 4 1.791 4 4s-1.791 4-4 4H11c-2.209 0-4-1.791-4-4s1.791-4 4-4h14z"/><path fill="#664500" d="M25 20H11c-2.757 0-5 2.243-5 5s2.243 5 5 5h14c2.757 0 5-2.243 5-5s-2.243-5-5-5zm0 2c1.483 0 2.71 1.084 2.949 2.5H24.5V22h.5zm-1.5 0v2.5h-3V22h3zm-4 0v2.5h-3V22h3zm-4 0v2.5h-3V22h3zM11 22h.5v2.5H8.051C8.29 23.084 9.517 22 11 22zm0 6c-1.483 0-2.71-1.084-2.949-2.5H11.5V28H11zm1.5 0v-2.5h3V28h-3zm4 0v-2.5h3V28h-3zm4 0v-2.5h3V28h-3zm4.5 0h-.5v-2.5h3.449C27.71 26.916 26.483 28 25 28z"/></svg>

After

Width:  |  Height:  |  Size: 817 B

View File

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 36 36"><circle fill="#FFCC4D" cx="18" cy="18" r="18"/><path fill="#65471B" d="M6.001 11c-.552 0-1-.448-1-1 0-.551.445-.998.996-1 .156-.002 3.569-.086 6.205-3.6.331-.44.957-.532 1.4-.2.442.331.531.958.2 1.4-3.263 4.35-7.617 4.4-7.801 4.4zm24.986 2.393c.128.537-.204 1.077-.741 1.205-.536.128-1.074-.202-1.204-.737-.038-.151-.911-3.452-4.941-5.201-.505-.22-.739-.808-.519-1.315.22-.507.809-.739 1.315-.519 4.989 2.165 6.047 6.388 6.09 6.567z"/><path fill="#664500" d="M23.186 29.526c-.993 0-1.952-.455-2.788-1.339-2.816-2.985-3.569-2.333-4.817-1.251-.781.679-1.754 1.523-3.205 1.523-2.351 0-3.969-2.302-4.036-2.4-.314-.454-.2-1.077.254-1.391.451-.312 1.074-.2 1.39.251.301.429 1.317 1.54 2.393 1.54.704 0 1.256-.479 1.895-1.033 1.816-1.578 3.764-2.655 7.583 1.388.823.873 1.452.774 1.908.592 1.659-.665 3.205-3.698 3.197-5.15-.003-.552.442-1.002.994-1.005h.006c.55 0 .997.444 1 .995.012 2.103-1.854 5.976-4.454 7.017-.443.175-.885.262-1.32.263z"/><path fill="#65471B" d="M14.815 15.375c-.584 2.114-1.642 3.083-3.152 2.666-1.509-.417-2.343-1.909-1.76-4.023.583-2.112 2.175-3.363 3.684-2.946 1.511.417 1.812 2.19 1.228 4.303zm11.416-.755c.473 2.141-.675 4.838-2.204 5.176s-3.28-1.719-3.753-3.86c-.473-2.14.419-3.971 1.948-4.309s3.536.853 4.009 2.993z"/></svg>

After

Width:  |  Height:  |  Size: 1.3 KiB

View File

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 36 36"><path fill="#FFCC4D" d="M36 18c0 9.941-8.059 18-18 18S0 27.941 0 18 8.059 0 18 0s18 8.059 18 18"/><path fill-rule="evenodd" clip-rule="evenodd" fill="#292F33" d="M1.24 11.018c.24.239 1.438.957 1.677 1.675.24.717.72 4.784 2.158 5.981 1.483 1.232 7.077.774 8.148.24 2.397-1.195 2.691-4.531 3.115-6.221.239-.957 1.677-.957 1.677-.957s1.438 0 1.678.956c.424 1.691.72 5.027 3.115 6.221 1.072.535 6.666.994 8.151-.238 1.436-1.197 1.915-5.264 2.155-5.982.238-.717 1.438-1.435 1.677-1.674.241-.239.241-1.196 0-1.436-.479-.478-6.134-.904-12.223-.239-1.215.133-1.677.478-4.554.478-2.875 0-3.339-.346-4.553-.478-6.085-.666-11.741-.24-12.221.238-.239.239-.239 1.197 0 1.436z"/><path fill="#664500" d="M27.335 23.629c-.178-.161-.444-.171-.635-.029-.039.029-3.922 2.9-8.7 2.9-4.766 0-8.662-2.871-8.7-2.9-.191-.142-.457-.13-.635.029-.177.16-.217.424-.094.628C8.7 24.472 11.788 29.5 18 29.5s9.301-5.028 9.429-5.243c.123-.205.084-.468-.094-.628z"/></svg>

After

Width:  |  Height:  |  Size: 997 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 448 B

View File

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 215 36"><path d="M17.91 0C8.004.05 0 8.094 0 18c0 9.941 8.059 18 18 18l181.352-.092c9.192-.93 16.187-8.669 16.187-17.908 0-9.941-8.059-18-18-18H17.91z" fill="#ffcc4d"/><path d="M184.636 28.598q-.624 0-1.049-.425-.425-.426-.425-1.05V7.93q0-.652.425-1.049.425-.425 1.05-.425h12.814q.652 0 1.05.397.396.369.396.992 0 .596-.397.964-.397.369-1.049.369h-11.34v6.89h8.137q.623 0 1.02.396.425.369.425.964 0 .596-.425.993-.397.368-1.02.368h-8.138v7.088h11.341q.652 0 1.05.369.396.368.396.964 0 .623-.397 1.02-.397.369-1.049.369zm-8.619-22.143q.624 0 1.05.425.425.426.425 1.05v19.194q0 .623-.454 1.049-.425.425-1.02.425-.625 0-1.05-.425-.425-.426-.425-1.05v-14.09l-6.861 13.977q-.482.737-1.276.737-.936 0-1.361-.878l-6.776-13.581v13.836q0 .623-.425 1.049-.426.425-1.05.425-.623 0-1.048-.425-.426-.426-.426-1.05V7.93q0-.623.426-1.049.425-.425 1.049-.425.85 0 1.304.794l8.42 16.87 8.194-16.87q.454-.794 1.304-.794zm-39.069 22.143q-.624 0-1.049-.425-.425-.426-.425-1.05V7.93q0-.652.425-1.049.425-.425 1.05-.425h12.814q.652 0 1.05.397.396.369.396.992 0 .596-.397.964-.397.369-1.049.369h-11.34v6.89h8.137q.623 0 1.02.396.425.369.425.964 0 .596-.425.993-.397.368-1.02.368h-8.137v7.088h11.34q.652 0 1.05.369.396.368.396.964 0 .623-.397 1.02-.397.369-1.049.369zm-6.095-22.143q.595 0 .963.397.397.369.397.964t-.397.992q-.368.369-.963.369h-6.096v17.947q0 .623-.425 1.049-.426.425-1.05.425-.623 0-1.048-.425-.426-.426-.426-1.05V9.178h-6.124q-.595 0-.992-.369-.369-.397-.369-.992t.369-.964q.397-.397.992-.397zM98.36 28.598q-.624 0-1.049-.425-.425-.426-.425-1.05V7.93q0-.652.425-1.049.425-.425 1.05-.425h12.814q.652 0 1.05.397.396.369.396.992 0 .596-.397.964-.397.369-1.049.369h-11.34v6.89h8.136q.624 0 1.021.396.425.369.425.964 0 .596-.425.993-.397.368-1.02.368h-8.138v7.088h11.341q.652 0 1.05.369.396.368.396.964 0 .623-.397 1.02-.397.369-1.049.369zm-18.23 0q-.624 0-1.05-.425-.396-.426-.396-1.05V7.93q0-.623.425-1.049.425-.425 1.02-.425.625 0 1.05.425.425.426.425 1.05v17.72H91.87q.623 0 1.049.425.425.425.425 1.049 0 .623-.425 1.049-.426.425-1.05.425zm-19.818 0q-.624 0-1.05-.425-.424-.426-.424-1.05V7.93q0-.652.425-1.049.425-.425 1.049-.425h12.815q.652 0 1.049.397.397.369.397.992 0 .596-.397.964-.397.369-1.049.369h-11.34v6.89h8.136q.624 0 1.02.396.426.369.426.964 0 .596-.425.993-.397.368-1.02.368h-8.138v7.088h11.341q.652 0 1.049.369.397.368.397.964 0 .623-.397 1.02-.397.369-1.049.369zm-22.2 0q-.623 0-1.049-.425-.425-.426-.425-1.05V7.93q0-.652.425-1.049.426-.425 1.05-.425h5.131q3.204 0 5.699 1.418 2.495 1.417 3.884 3.94 1.39 2.496 1.39 5.7 0 3.203-1.39 5.726-1.39 2.524-3.884 3.941-2.495 1.418-5.699 1.418zm5.132-2.608q2.353 0 4.196-1.078 1.871-1.077 2.892-3.005 1.049-1.956 1.049-4.395 0-2.438-1.049-4.366-1.02-1.928-2.892-3.005-1.843-1.078-4.196-1.078h-3.657V25.99z" fill="#1a1a1a"/><path fill="#9aaab4" d="M27.025 8.543l-1.241 3.16-1.242-3.16h-2.886l-1.34 3.412-1.341-3.412h-2.689l-1.34 3.412-1.341-3.412h-2.887l-1.242 3.16-1.241-3.16H6.587l2.6 19.496h16.886l2.6-19.496zM23.1 9.71l1.711 4.471L23 18.79l-1.71-4.352zm-5.469.258l1.71 4.468-1.71 4.352-1.71-4.352zm-5.469-.258l1.809 4.727-1.71 4.352-1.81-4.608zM9.25 17.32l.227-.594 1.774 4.635-1.095 2.787zm1.469 10.71L12.26 24l1.542 4.03zm2.553-6.67l1.675-4.375 1.674 4.376-1.674 4.263zm2.817 6.67L17.63 24l1.542 4.03zm2.552-6.67l1.674-4.375 1.675 4.376-1.675 4.263zm2.818 6.67L23 24l1.542 4.03zm3.752-3.614l-1.2-3.055 1.774-4.634.286.747z"/><path fill="#67757f" d="M27.373 29.422c0-.769-.623-1.392-1.392-1.392H9.28a1.392 1.392 0 0 0 0 2.783H25.98c.769 0 1.392-.623 1.392-1.391zM30.157 7.15c0-.77-.623-1.392-1.392-1.392H6.495a1.392 1.392 0 0 0 0 2.784h22.27c.769 0 1.392-.623 1.392-1.392z"/></svg>

After

Width:  |  Height:  |  Size: 3.6 KiB

View File

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 36 36"><path fill="#FFCC4D" d="M36 18c0 9.941-8.059 18-18 18-9.94 0-18-8.059-18-18C0 8.06 8.06 0 18 0c9.941 0 18 8.06 18 18"/><ellipse fill="#664500" cx="11.5" cy="16.5" rx="2.5" ry="3.5"/><ellipse fill="#664500" cx="24.5" cy="16.5" rx="2.5" ry="3.5"/><path fill="#664500" d="M12 28c2-5 13-5 13-3 0 1-8-1-13 3z"/></svg>

After

Width:  |  Height:  |  Size: 372 B

View File

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 36 36"><path fill="#FFCC4D" d="M36 18c0 9.941-8.059 18-18 18-9.94 0-18-8.059-18-18C0 8.06 8.06 0 18 0c9.941 0 18 8.06 18 18"/><ellipse fill="#664500" cx="11.5" cy="16.5" rx="2.5" ry="3.5"/><ellipse fill="#664500" cx="24.5" cy="16.5" rx="2.5" ry="3.5"/><path fill="#664500" d="M12 28c2-5 13-5 13-3 0 1-8-1-13 3z"/></svg>

After

Width:  |  Height:  |  Size: 372 B

View File

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 36 36"><path fill="#FFCC4D" d="M36 18c0 9.941-8.059 18-18 18-9.94 0-18-8.059-18-18C0 8.06 8.06 0 18 0c9.941 0 18 8.06 18 18"/><circle fill="#FF7892" cx="29" cy="23" r="5"/><circle fill="#FF7892" cx="7" cy="23" r="5"/><circle fill="#F5F8FA" cx="24.5" cy="16.5" r="5.5"/><circle fill="#F5F8FA" cx="11.5" cy="16.5" r="5.5"/><circle fill="#292F33" cx="11.5" cy="16.5" r="2.5"/><circle fill="#292F33" cx="24.5" cy="16.5" r="2.5"/><path fill="#664500" d="M22 30h-8c-.552 0-1-.447-1-1s.448-1 1-1h8c.553 0 1 .447 1 1s-.447 1-1 1zm8.001-19c-.305 0-.604-.138-.801-.4-2.64-3.521-6.061-3.598-6.206-3.6-.55-.006-.994-.456-.991-1.005C22.006 5.444 22.45 5 23 5c.184 0 4.537.05 7.8 4.4.332.442.242 1.069-.2 1.4-.18.135-.39.2-.599.2zM5.999 11c-.208 0-.419-.065-.599-.2-.442-.331-.531-.958-.2-1.4C8.462 5.05 12.816 5 13 5c.552 0 1 .448 1 1 0 .551-.445.998-.996 1-.155.002-3.568.086-6.204 3.6-.196.262-.497.4-.801.4z"/></svg>

After

Width:  |  Height:  |  Size: 959 B

View File

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 36 36"><circle fill="#BE1931" cx="18" cy="32" r="3"/><path fill="#BE1931" d="M21 24c0 1.657-1.344 3-3 3-1.657 0-3-1.343-3-3V5c0-1.657 1.343-3 3-3 1.656 0 3 1.343 3 3v19z"/></svg>

After

Width:  |  Height:  |  Size: 231 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 185 B

View File

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 36 36"><path fill="#FA743E" d="M27 27H10v9h21v-5c0-2.209-1.791-4-4-4z"/><path fill="#FFAC33" d="M21.906 1.262c-2.02-.654-6.772-.475-7.96 1.069-3.089.059-6.713 2.851-7.188 6.535-.47 3.645.578 5.338.951 8.079.422 3.106 2.168 4.099 3.564 4.515C13.281 24.114 15.415 24 19 24c7 0 10.334-4.684 10.629-12.639.178-4.812-2.645-8.456-7.723-10.099z"/><path fill="#FFDC5D" d="M15 22v6c0 1.657 1.343 3 3 3s3-1.343 3-3v-6h-6z"/><path fill="#FFDC5D" d="M25.909 11.701c-.677-.938-1.545-1.693-3.446-1.96.713.327 1.396 1.455 1.485 2.079.089.624.178 1.129-.386.505-2.26-2.499-4.722-1.515-7.162-3.041-1.704-1.066-2.223-2.246-2.223-2.246s-.208 1.574-2.792 3.178c-.749.465-1.643 1.5-2.139 3.03C8.889 14.345 9 15.325 9 17c0 4.889 4.029 9 9 9s9-4.147 9-9c0-3.041-.319-4.229-1.091-5.299z"/><path fill="#FFAC33" d="M12.737 5.97h2.75v3.89h-2.75z"/><path fill="#C1694F" d="M19 19.5h-2c-.276 0-.5-.224-.5-.5s.224-.5.5-.5h2c.276 0 .5.224.5.5s-.224.5-.5.5z"/><path fill="#DD551F" d="M18.734 18.386l1.827.691s-6.529 13.746-7.413 15.022c-.884 1.276-1.87 2.055-4.57 1.76l10.156-17.473zM26 32h1v4h-1z"/><path fill="#DD551F" d="M14.984 28.391s-2.359 4.422-2.865 5.335c-.276.497-1.305 2.009-2.322 2.009 0 0 2.214.122 3.122-1.682 1.285-2.552 1.956-3.787 2.425-4.646 0 0-.125-.328-.203-.484-.118-.235-.157-.532-.157-.532z"/><path fill="#662113" d="M24.157 16.371c-.026-.058-.596-1.288-1.747-1.529l-.49 1.395c.037-.001.063-.009.101-.009 1.162 0 1.76.422 1.774.432.042.032.093.047.143.047.053 0 .106-.018.149-.052.085-.067.114-.184.07-.284z"/><path fill="#EF9645" d="M22.646 8.125l-3.774-1.324c-1.042-.366-2.184.183-2.549 1.225l-.756 2.155-.284-1.14c-.172-.687-.825-1.486-1.77-1.195-.677.208-.891 1.127-.719 1.815l1.226 4.929-.345.984.613 1.275 5.662 1.986c.944.331 1.275-.613 1.275-.613l.696-1.985.49-1.395 1.462-4.168c.364-1.042-.185-2.183-1.227-2.549z"/><path fill="#4F140B" d="M22.021 14.792c-1.417 0-2.107 1.515-2.136 1.58-.044.099-.016.215.069.283.084.068.204.07.292.007.005-.004.578-.397 1.673-.423l.49-1.395c-.124-.027-.25-.052-.388-.052z"/><path fill="#FFDC5D" d="M12.513 7.657c.687-.171 1.383.248 1.555.934l.284 1.14.756-2.155c.366-1.042 1.507-1.591 2.549-1.225l3.774 1.324c1.042.366 1.591 1.507 1.225 2.549l-2.648 7.549s-.331.944-1.275.613L13.072 16.4l-.613-1.275.345-.984-1.226-4.929c-.171-.688.248-1.385.935-1.555z"/><path fill="#EF9645" d="M18.743 12.054l1.655-4.718.944.331-1.655 4.718zm-2.83-.993l1.656-4.718.943.331-1.655 4.718z"/><path fill="#C1694F" d="M20.995 23.364s-.56-1.117-1.678-1.681c-.246.514-.516 1.078-.807 1.681h2.485z"/><path fill="#EF9645" d="M18.734 18.386l-1.9 3.234-1.024 1.744-1.16 1.974L15 28c0 .594.178 1.144.476 1.61.98-1.986 2.097-4.295 3.035-6.246l.807-1.681c.741-1.547 1.244-2.606 1.244-2.606l-1.828-.691z"/><path fill="#662113" d="M19.317 21.683c-.377-.191-.818-.319-1.322-.319-.438 0-.819.107-1.161.256l-1.024 1.744h2.701l.806-1.681z"/><path fill="#FA743E" d="M14.278 29.85s-1.719 3.579-2.107 4.416C11.484 35.75 10 36 10 36c-8 0-3.622-8.343-3.622-8.343l6.432-11.846 6.541 2.58-5.073 11.459z"/></svg>

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 450 B

View File

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 139.53906 36.000092" width="139.539" height="36"><path d="M17.91 0C8.004.05 0 8.094 0 18c0 9.941 8.059 18 18 18l105.352-.092c9.192-.93 16.187-8.669 16.187-17.908 0-9.941-8.059-18-18-18H17.91z" fill="#ffcc4d"/><circle fill="#be1931" cx="18" cy="32" r="3"/><path fill="#be1931" d="M21 24a3 3 0 0 1-6 0V5a3 3 0 1 1 6 0z"/><path d="M108.615 28.598q-.624 0-1.049-.425-.425-.426-.425-1.05V7.93q0-.652.425-1.049.425-.425 1.049-.425h12.815q.652 0 1.05.397.396.369.396.992 0 .596-.397.964-.397.369-1.049.369h-11.34v6.89h8.136q.624 0 1.021.396.425.369.425.964 0 .596-.425.993-.397.368-1.02.368h-8.138v7.088h11.341q.652 0 1.05.369.396.368.396.964 0 .623-.397 1.02-.397.369-1.049.369zM99.996 6.455q.624 0 1.05.425.424.426.424 1.05v19.194q0 .623-.453 1.049-.426.425-1.021.425-.624 0-1.049-.425-.425-.426-.425-1.05v-14.09L91.66 27.01q-.482.737-1.276.737-.936 0-1.361-.878l-6.776-13.581v13.836q0 .623-.426 1.049-.425.425-1.049.425-.623 0-1.049-.425-.425-.426-.425-1.05V7.93q0-.623.425-1.049.426-.425 1.05-.425.85 0 1.304.794l8.42 16.87 8.194-16.87q.453-.794 1.304-.794zM74.791 26.216q.312.454.312.964 0 .567-.369.993-.368.425-.992.425-.709 0-1.134-.539l-6.152-8.534-6.521 8.648q-.426.425-1.021.425-.624 0-.992-.397-.34-.397-.34-.964t.34-1.02l6.606-8.79L58.29 8.78q-.283-.369-.283-.879 0-.595.368-1.02.369-.426.993-.426.737 0 1.049.425l6.095 8.45 6.351-8.45q.397-.425 1.05-.425.595 0 .935.397.368.397.368.964 0 .482-.311.964l-6.465 8.619zm-22.937 2.382q-.623 0-1.049-.425-.425-.426-.425-1.05V7.93q0-.652.425-1.049.426-.425 1.05-.425.651 0 1.048.425.426.397.426 1.05v19.194q0 .623-.426 1.049-.397.425-1.049.425zm-19.506 0q-.623 0-1.049-.425-.425-.426-.425-1.05V7.93q0-.652.425-1.049.426-.425 1.05-.425h12.814q.652 0 1.05.397.396.369.396.992 0 .596-.397.964-.397.369-1.049.369h-11.34v6.89h8.137q.623 0 1.02.396.426.369.426.964 0 .596-.426.993-.397.368-1.02.368h-8.137v8.336q0 .623-.426 1.049-.425.425-1.049.425z" fill="#1a1a1a"/></svg>

After

Width:  |  Height:  |  Size: 1.9 KiB

View File

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 36 36"><path fill="#FFCC4D" d="M36 18c0 9.941-8.059 18-18 18-9.94 0-18-8.059-18-18C0 8.06 8.06 0 18 0c9.941 0 18 8.06 18 18"/><path fill="#664500" d="M16 18c-.419 0-.809-.265-.949-.684C14.848 16.717 14.034 15 13 15c-1.062 0-1.888 1.827-2.051 2.316-.175.523-.738.808-1.265.632-.524-.174-.807-.741-.632-1.265C9.177 16.307 10.356 13 13 13s3.823 3.307 3.949 3.684c.175.524-.108 1.091-.632 1.265-.106.034-.213.051-.317.051zm10 0c-.419 0-.809-.265-.948-.684C24.849 16.717 24.033 15 23 15c-1.062 0-1.889 1.827-2.052 2.316-.175.523-.736.808-1.265.632-.523-.174-.807-.741-.632-1.265C19.177 16.307 20.355 13 23 13s3.823 3.307 3.948 3.684c.175.524-.108 1.091-.632 1.265-.105.034-.212.051-.316.051zm-8 4c-3.623 0-6.027-.422-9-1-.679-.131-2 0-2 2 0 4 4.595 9 11 9 6.404 0 11-5 11-9 0-2-1.321-2.132-2-2-2.973.578-5.377 1-9 1z"/><path fill="#FFF" d="M9 23s3 1 9 1 9-1 9-1-1.344 6.75-9 6.75S9 23 9 23z"/><path fill="#664500" d="M18 27.594c-3.596 0-6.272-.372-7.937-.745l-.825-1.871c.823.312 3.889.897 8.763.897 4.954 0 8.037-.616 8.864-.938l-.701 1.842c-1.634.38-4.419.815-8.164.815z"/></svg>

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 170 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 172 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 171 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 172 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 424 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 178 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 180 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 170 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 188 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 171 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 171 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 179 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 176 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 179 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 344 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 168 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 171 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 182 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 176 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 669 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 471 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 171 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 177 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 174 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 174 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 174 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 180 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 170 B

View File

@ -30,12 +30,12 @@
<?php
$smi_list = '';
foreach (glob('*.gif') as $img) {
foreach (glob('*.svg') as $img) {
$smi_list .= '<img src="'.$img.'" alt="'.$img.'" title="'.$img.'" /> ';
}
if(is_dir('local')) {
$smi_list .= '<hr />';
foreach (glob('local/*.gif') as $img) {
foreach (glob('local/*.svg') as $img) {
$smi_list .= '<img src="'.$img.'" alt="'.$img.'" title="'.$img.'" /> ';
}
}

View File

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 36 36"><path fill="#FFCB4C" d="M30.728 5.272c7.029 7.029 7.029 18.427 0 25.456s-18.426 7.029-25.456 0c-7.029-7.029-7.029-18.427 0-25.456s18.426-7.029 25.456 0"/><path fill="#65471B" d="M19.279 19.28c-3.494 3.494-6.219 5.404-9.645 7.713-.781.529-1.928 1.929.001 3.859 3.857 3.857 13.111 4.247 19.287-1.929 6.177-6.177 5.788-15.43 1.929-19.288-1.929-1.93-3.33-.782-3.858-.001-2.308 3.425-4.219 6.151-7.714 9.646z"/><path fill="#FFF" d="M11.564 28.923s3.858-1.929 9.644-7.716c5.787-5.786 7.715-9.643 7.715-9.643s1.928 5.787-4.822 12.537c-6.75 6.751-12.537 4.822-12.537 4.822z"/><path fill="#65471B" d="M24.299 6.655c-.141.02-2.373.357-4.943 1.628-.062-.101-.132-.198-.219-.285-.261-.261-.595-.399-.936-.427.907-1.643 1.978-2.737 1.998-2.756.388-.39.388-1.024-.003-1.413s-1.022-.39-1.412 0c-.156.156-3.828 3.881-3.828 8.485 0 .405.243.769.617.924.373.155.804.069 1.09-.217 3.245-3.245 7.874-3.953 7.921-3.96.222-.032.416-.135.563-.282.215-.215.33-.526.284-.85-.081-.547-.586-.925-1.132-.847zM11.712 15.13c-4.604 0-8.329 3.672-8.485 3.828-.39.39-.39 1.022 0 1.412.389.391 1.022.392 1.414.003.019-.019 1.113-1.091 2.756-1.997.029.341.166.675.427.936.087.087.184.157.285.219C6.837 22.1 6.5 24.333 6.48 24.474c-.078.547.302 1.053.848 1.131.325.047.634-.068.849-.283.147-.147.25-.342.282-.565.007-.046.698-4.657 3.96-7.919.286-.286.371-.716.217-1.09-.155-.375-.519-.618-.924-.618z"/><path fill="#64AADD" d="M30.101 12.055c2.741.334 5.234-1.618 5.567-4.36.334-2.741-1.617-5.234-4.359-5.568-2.741-.333-10.409 2.763-10.53 3.756-.121.992 6.581 5.837 9.322 6.172zM12.157 29.999c.334 2.741-1.618 5.234-4.36 5.567-2.741.334-5.234-1.617-5.568-4.359-.334-2.742 2.763-10.41 3.756-10.531.992-.12 5.837 6.582 6.172 9.323z"/></svg>

After

Width:  |  Height:  |  Size: 1.7 KiB

View File

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 36 36"><path fill="#FFCC4D" d="M36 18c0 9.941-8.059 18-18 18-9.94 0-18-8.059-18-18C0 8.06 8.06 0 18 0c9.941 0 18 8.06 18 18"/><ellipse fill="#664500" cx="11.5" cy="16.5" rx="2.5" ry="3.5"/><ellipse fill="#664500" cx="24.5" cy="16.5" rx="2.5" ry="3.5"/><path fill="#664500" d="M25 26H11c-.552 0-1-.447-1-1s.448-1 1-1h14c.553 0 1 .447 1 1s-.447 1-1 1z"/></svg>

After

Width:  |  Height:  |  Size: 411 B

View File

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 36 36"><path fill="#BE1931" d="M17 27c-1.657 0-3-1.343-3-3v-4c0-1.657 1.343-3 3-3 .603-.006 6-1 6-5 0-2-2-4-5-4-2.441 0-4 2-4 3 0 1.657-1.343 3-3 3s-3-1.343-3-3c0-4.878 4.58-9 10-9 8 0 11 5.982 11 11 0 4.145-2.277 7.313-6.413 8.92-.9.351-1.79.587-2.587.747V24c0 1.657-1.343 3-3 3z"/><circle fill="#BE1931" cx="17" cy="32" r="3"/></svg>

After

Width:  |  Height:  |  Size: 388 B

View File

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 36 36"><path fill="#FFCC4D" d="M36 18c0 9.941-8.059 18-18 18-9.94 0-18-8.059-18-18C0 8.06 8.06 0 18 0c9.941 0 18 8.06 18 18"/><ellipse fill="#66471B" cx="11.5" cy="14.5" rx="2.5" ry="3.5"/><ellipse fill="#66471B" cx="24.5" cy="14.5" rx="2.5" ry="3.5"/><path fill="#66471B" d="M7 21.262c0 3.964 4.596 9 11 9s11-5 11-9c0 0-10.333 2.756-22 0z"/><path fill="#E8596E" d="M18.545 23.604l-1.091-.005c-3.216-.074-5.454-.596-5.454-.596v6.961c0 3 2 6 6 6s6-3 6-6v-6.92c-1.922.394-3.787.542-5.455.56z"/><path fill="#DD2F45" d="M18 31.843c.301 0 .545-.244.545-.545v-7.694l-1.091-.005v7.699c.001.301.245.545.546.545z"/></svg>

After

Width:  |  Height:  |  Size: 665 B

View File

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 36 36"><circle fill="#FFCC4D" cx="18" cy="18" r="18"/><path fill="#664500" d="M25.485 27.379C25.44 27.2 24.317 23 18 23c-6.318 0-7.44 4.2-7.485 4.379-.055.217.043.442.237.554.195.111.439.078.6-.077C11.371 27.837 13.306 26 18 26s6.63 1.837 6.648 1.855c.096.095.224.145.352.145.084 0 .169-.021.246-.064.196-.112.294-.339.239-.557z"/><ellipse fill="#664500" cx="12" cy="13.5" rx="2.5" ry="3.5"/><ellipse fill="#664500" cx="24" cy="13.5" rx="2.5" ry="3.5"/></svg>

After

Width:  |  Height:  |  Size: 512 B

View File

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 36 36"><circle fill="#FFCC4D" cx="18" cy="18" r="18"/><path fill="#664500" d="M14.034 14.499c0 1.934-1.119 3.5-2.5 3.5s-2.5-1.566-2.5-3.5c0-1.933 1.119-3.5 2.5-3.5s2.5 1.567 2.5 3.5m13 0c0 1.934-1.119 3.5-2.5 3.5s-2.5-1.566-2.5-3.5c0-1.933 1.119-3.5 2.5-3.5s2.5 1.567 2.5 3.5m-2.033 12.505H10c-1 0-1-1-1-1v-1s0-1.003 1-1.003l15.001.003v3z"/><path fill="#99AAB5" d="M35.255 26.084l-7.713-2.121c-.72-.197-1.049.287-1.171.547l-1.64-.784L24 25.255v-2.254h-2v2h-2v-2h-2.001v2H16v-2h-2v2h-2v-2h-2v3h2v2h2v-2h1.999v2h2v-2H20v2h2v-2h1.643l-.58 1.212 1.648.788-.099.207s-.248.737.373 1.275c.621.537 5.285 4.735 5.285 4.735s.899.866 1.769.079c.738-.67 3.649-6.02 3.914-6.983.266-.964-.698-1.23-.698-1.23zm-3.772 6.071l-2.644-2.248 1.614-3.069 3.338 1.132-2.308 4.185z"/></svg>

After

Width:  |  Height:  |  Size: 819 B

View File

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 36 36"><circle fill="#FFCC4D" cx="18" cy="18" r="18"/><path fill="#664500" d="M10.515 23.621C10.56 23.8 11.683 28 18 28c6.318 0 7.44-4.2 7.485-4.379.055-.217-.043-.442-.237-.554-.195-.111-.439-.078-.6.077C24.629 23.163 22.694 25 18 25s-6.63-1.837-6.648-1.855C11.256 23.05 11.128 23 11 23c-.084 0-.169.021-.246.064-.196.112-.294.339-.239.557z"/><ellipse fill="#664500" cx="12" cy="13.5" rx="2.5" ry="3.5"/><ellipse fill="#664500" cx="24" cy="13.5" rx="2.5" ry="3.5"/></svg>

After

Width:  |  Height:  |  Size: 525 B

View File

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 36 36"><path fill="#FFCC4D" d="M36 18c0 9.941-8.059 18-18 18-9.94 0-18-8.059-18-18C0 8.06 8.06 0 18 0c9.941 0 18 8.06 18 18"/><ellipse fill="#664500" cx="11.5" cy="12.5" rx="2.5" ry="5.5"/><ellipse fill="#664500" cx="24.5" cy="12.5" rx="2.5" ry="5.5"/><path fill="#664500" d="M18 22c-3.623 0-6.027-.422-9-1-.679-.131-2 0-2 2 0 4 4.595 9 11 9 6.404 0 11-5 11-9 0-2-1.321-2.132-2-2-2.973.578-5.377 1-9 1z"/><path fill="#FFF" d="M9 23s3 1 9 1 9-1 9-1-2 4-9 4-9-4-9-4z"/></svg>

After

Width:  |  Height:  |  Size: 526 B

View File

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 36 36"><path fill="#FFCC4D" d="M36 18c0 9.941-8.059 18-18 18S0 27.941 0 18 8.059 0 18 0s18 8.059 18 18"/><ellipse fill="#664500" cx="18" cy="25" rx="4" ry="5"/><ellipse fill="#664500" cx="12" cy="13.5" rx="2.5" ry="3.5"/><ellipse fill="#664500" cx="24" cy="13.5" rx="2.5" ry="3.5"/></svg>

After

Width:  |  Height:  |  Size: 341 B

View File

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 36 36"><path fill="#FFCC4D" d="M36 18c0 9.941-8.059 18-18 18-9.94 0-18-8.059-18-18C0 8.06 8.06 0 18 0c9.941 0 18 8.06 18 18"/><ellipse fill="#664500" cx="11.5" cy="16.5" rx="2.5" ry="3.5"/><path fill="#664500" d="M28.457 17.797c-.06-.135-1.499-3.297-4.457-3.297-2.957 0-4.397 3.162-4.457 3.297-.092.207-.032.449.145.591.175.142.426.147.61.014.012-.009 1.262-.902 3.702-.902 2.426 0 3.674.881 3.702.901.088.066.194.099.298.099.11 0 .221-.037.312-.109.177-.142.238-.386.145-.594zM5.999 12.458c-.208 0-.419-.065-.599-.2-.442-.331-.531-.958-.2-1.4 3.262-4.35 7.616-4.4 7.8-4.4.552 0 1 .448 1 1 0 .551-.445.998-.996 1-.156.002-3.569.086-6.205 3.6-.195.262-.496.4-.8.4zm23.002 2.125c-.305 0-.604-.138-.801-.4-2.592-3.457-6.961-2.627-7.004-2.62-.547.108-1.068-.243-1.177-.784-.108-.542.243-1.068.784-1.177.231-.047 5.657-1.072 8.996 3.38.332.442.242 1.069-.2 1.4-.179.137-.389.201-.598.201zm-5.747 8.994c-.188-.11-.432-.087-.597.06-.01.008-1.013.863-4.657.863-3.641 0-4.646-.854-4.646-.854-.159-.16-.404-.19-.6-.082-.195.111-.293.339-.238.557.01.044 1.144 4.379 5.484 4.379s5.474-4.335 5.485-4.379c.053-.213-.044-.431-.231-.544z"/></svg>

After

Width:  |  Height:  |  Size: 1.2 KiB

View File

@ -103,6 +103,7 @@ function createPicker(id,props,edid){
jQuery(document.createElement('img'))
.attr('src', item)
.attr('alt', '')
.css('height', '16')
.appendTo($makebutton(key));
}else if (typeof item == 'string'){
// a list of text -> treat as text picker

View File

@ -66,3 +66,7 @@ em.u {
em em.u {
font-style: italic;
}
img.icon.smiley {
height: 1.2em;
}