[DE] Add icons for equation toolbar
This commit is contained in:
parent
837a1bed88
commit
0926c905fe
46
apps/common/main/resources/img/toolbar/equationicons.svg
Normal file
46
apps/common/main/resources/img/toolbar/equationicons.svg
Normal file
|
@ -0,0 +1,46 @@
|
|||
<svg aria-hidden="true" style="position: absolute; width: 0; height: 0; overflow: hidden;" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<symbol id="svg-icon-accent" viewBox="0 0 20 20">
|
||||
<path d="M9.5 4.5a1 1 0 1 1-2 0 1 1 0 0 1 2 0z"></path>
|
||||
<path fill-rule="evenodd" d="m11.608 7.857.674-.483.469.117-1.12 4.973c-.069.293-.115.52-.14.681a2.607 2.607 0 0 0-.036.388c0 .2.056.347.168.44.112.087.327.144.645.168l-.066.359h-2.095l.461-1.838-.095-.03c-.469.684-.913 1.184-1.333 1.502-.42.317-.864.476-1.333.476-.537 0-.954-.203-1.252-.608-.293-.405-.44-.974-.44-1.707 0-.468.054-.937.161-1.406.108-.473.269-.92.484-1.34.22-.425.48-.799.783-1.12a3.522 3.522 0 0 1 1.048-.77c.4-.19.835-.285 1.304-.285.302 0 .59.036.864.11.273.068.556.192.85.373zm-.644 2.183c.044-.2.073-.374.088-.52.014-.147.022-.306.022-.477 0-.38-.08-.656-.242-.827-.161-.176-.43-.264-.806-.264-.205 0-.4.034-.586.103a1.84 1.84 0 0 0-.564.33c-.19.15-.373.35-.549.6-.17.249-.327.552-.469.908a6.3 6.3 0 0 0-.33 1.15 6.26 6.26 0 0 0-.116 1.187c0 .507.068.888.205 1.142.141.25.376.374.703.374.151 0 .307-.035.469-.103a1.99 1.99 0 0 0 .549-.373c.2-.186.427-.457.681-.813.23-.328.41-.65.542-.967.137-.322.25-.7.337-1.136l.066-.314z"></path>
|
||||
<path d="M11.5 5.5a1 1 0 1 0 0-2 1 1 0 0 0 0 2z"></path>
|
||||
</symbol>
|
||||
<symbol id="svg-icon-bracket" viewBox="0 0 20 20">
|
||||
<path d="M2.099 9.365c-.282.229-.648.349-1.099.36v1.433c.451.012.817.135 1.099.37.287.234.477.553.57.957.095.405.144 1.134.15 2.189.006 1.055.044 1.813.115 2.276.076.463.237.844.483 1.143.246.305.557.524.932.659.257.094.673.14 1.248.14h.492v-1.38h-.273c-.556 0-.931-.078-1.125-.237-.187-.158-.304-.436-.351-.835-.024-.216-.035-.896-.035-2.039 0-1.26-.147-2.165-.44-2.716-.287-.556-.753-.97-1.397-1.239.545-.263.943-.565 1.195-.905.258-.34.44-.823.545-1.45.064-.404.097-1.374.097-2.91 0-.761.1-1.25.299-1.467.199-.223.603-.334 1.212-.334h.273V2h-.492c-.504 0-.868.03-1.09.088a2.108 2.108 0 0 0-.809.413c-.21.176-.39.413-.536.712-.14.299-.237.694-.29 1.186-.03.311-.047.955-.053 1.934-.006.979-.055 1.67-.15 2.074-.093.405-.283.724-.57.958zM19.742 11.158V9.726c-.45-.012-.82-.135-1.107-.37-.281-.234-.469-.55-.563-.949-.093-.404-.143-1.134-.149-2.188-.006-1.055-.047-1.814-.123-2.277-.07-.463-.228-.846-.474-1.151a2.016 2.016 0 0 0-.932-.65C16.136 2.047 15.72 2 15.146 2h-.492v1.38h.272c.557 0 .929.079 1.116.237.194.153.31.425.352.818.03.222.044.905.044 2.047 0 1.26.138 2.157.413 2.69.275.527.75.952 1.424 1.274-.516.217-.914.522-1.196.914-.28.387-.468.906-.562 1.556-.053.393-.08 1.321-.08 2.786 0 .768-.099 1.26-.298 1.477-.2.222-.604.334-1.213.334h-.272v1.38h.492c.504 0 .867-.033 1.09-.097.328-.094.597-.232.808-.413.211-.176.387-.413.528-.712.146-.293.246-.689.298-1.187.03-.31.047-.955.053-1.933.006-.979.056-1.667.15-2.066.093-.404.28-.723.562-.958.287-.234.656-.357 1.107-.369zM10.955 10.854A74.708 74.708 0 0 0 13.93 7.86l-.147-.359h-2.087l-.08.359c.312.039.468.193.468.461 0 .117-.017.23-.051.337-.034.108-.095.23-.183.366-.088.137-.24.323-.454.557a11.2 11.2 0 0 1-.682.681L9.74 7.5H7.916l-.081.359c.195.015.344.049.447.102.107.05.2.123.278.22.083.093.169.227.256.403.088.17.203.422.345.754l.695 1.634A64.613 64.613 0 0 0 6.7 14.143l.139.359h2.087l.08-.359c-.17-.03-.292-.08-.365-.154a.423.423 0 0 1-.103-.3c0-.098.01-.193.03-.286.024-.093.073-.202.146-.33.073-.126.2-.292.38-.497.181-.21.367-.406.557-.586.196-.186.352-.33.47-.432l1.017 2.944h1.824l.08-.359a1.611 1.611 0 0 1-.417-.095 1.034 1.034 0 0 1-.264-.198 2.11 2.11 0 0 1-.293-.44 13.507 13.507 0 0 1-.432-.951l-.68-1.604z"></path>
|
||||
</symbol>
|
||||
<symbol id="svg-icon-fraction" viewBox="0 0 20 20">
|
||||
<path d="M8.929 2.357a74.636 74.636 0 0 1-2.974 2.996l.681 1.604c.18.43.325.747.432.952.108.2.205.346.293.44.088.087.176.153.264.197.088.039.227.07.417.095L7.962 9H6.138L5.12 6.056a16.48 16.48 0 0 0-.469.432c-.19.18-.376.376-.556.586-.18.205-.308.37-.381.498a1.4 1.4 0 0 0-.147.33c-.02.092-.029.187-.029.285 0 .127.034.227.103.3.073.074.195.125.366.154L3.927 9H1.838l-.14-.359A64.625 64.625 0 0 1 4.857 5.47l-.695-1.634a12.42 12.42 0 0 0-.345-.754 1.862 1.862 0 0 0-.256-.403.753.753 0 0 0-.278-.22 1.18 1.18 0 0 0-.447-.102l.08-.359H4.74l.974 2.761c.24-.22.467-.447.682-.68.214-.235.366-.42.454-.558.088-.136.149-.258.183-.366.034-.107.051-.22.051-.337 0-.268-.156-.422-.469-.461l.08-.359h2.088l.147.359zM13.355 10.595a5.372 5.372 0 0 0-.14-.77.617.617 0 0 0-.212-.329c-.097-.078-.256-.124-.476-.14l.08-.358h1.883l.557 5.823c1.65-2.256 2.476-3.872 2.476-4.849 0-.23-.05-.386-.147-.469-.098-.083-.264-.131-.498-.146l.073-.359h1.89l.198.366c-.26.679-.591 1.382-.997 2.11-.4.727-.893 1.523-1.479 2.387a54.813 54.813 0 0 1-1.94 2.696c-.548.717-1.007 1.26-1.378 1.626a4.287 4.287 0 0 1-.798.63 2.6 2.6 0 0 1-1.868.358 2.081 2.081 0 0 1-.425-.102l.315-1.37h.572a.68.68 0 0 0 .117.396c.073.097.18.146.322.146a1.393 1.393 0 0 0 .754-.205c.127-.073.279-.19.454-.351.181-.162.384-.376.608-.645.225-.264.477-.584.755-.96l-.696-5.485zM3 17 17.142 2.858l-.707-.707L2.293 16.293 3 17z"></path>
|
||||
</symbol>
|
||||
<symbol id="svg-icon-function" viewBox="0 0 20 20">
|
||||
<path d="M5.834 9.705c-.054-.44-.18-.757-.38-.953-.196-.2-.501-.3-.916-.3-.23 0-.437.044-.623.132a1.006 1.006 0 0 0-.6.945c0 .18.036.346.11.498.073.146.195.3.366.461.175.161.42.347.732.557.474.317.806.625.996.923.19.298.286.642.286 1.033 0 .459-.11.85-.33 1.171a1.98 1.98 0 0 1-.9.71c-.382.157-.811.235-1.29.235-.43 0-.832-.032-1.208-.095a10.96 10.96 0 0 1-1.084-.242l.344-1.582h.571c.034.45.161.786.381 1.011.225.22.55.33.974.33.435 0 .774-.108 1.018-.323.244-.22.366-.507.366-.864 0-.21-.036-.398-.11-.564a1.528 1.528 0 0 0-.344-.476 5.065 5.065 0 0 0-.666-.52 5.611 5.611 0 0 1-.747-.593 2.192 2.192 0 0 1-.447-.608 1.76 1.76 0 0 1-.154-.74c0-.405.1-.757.3-1.055.2-.297.484-.525.85-.68.371-.157.803-.235 1.296-.235.806 0 1.517.105 2.132.315L6.42 9.705h-.586zM11.054 5.127l-.337 1.42H9.421l.337-1.42h1.296zm-1.809 8.042a7.09 7.09 0 0 0-.103.55 2.265 2.265 0 0 0-.021.285.68.68 0 0 0 .073.344.466.466 0 0 0 .227.19c.102.044.27.079.505.103L9.86 15H7.59l1.106-4.937c.063-.283.107-.507.132-.673a3.11 3.11 0 0 0 .036-.425.679.679 0 0 0-.066-.33.37.37 0 0 0-.205-.176c-.097-.039-.266-.063-.505-.073l.08-.388 1.787-.066h.433L9.245 13.17zM18.157 15h-2.308l.93-3.72c.06-.24.115-.504.169-.792.059-.288.088-.547.088-.776 0-.347-.061-.596-.183-.747-.117-.152-.303-.227-.557-.227-.205 0-.427.08-.666.241-.235.157-.481.394-.74.71a6.227 6.227 0 0 0-.66.96 4.324 4.324 0 0 0-.41 1.18L13.155 15h-1.267L13 9.998c.025-.113.056-.279.095-.498.044-.22.066-.403.066-.55a.617.617 0 0 0-.066-.315.344.344 0 0 0-.212-.168c-.098-.04-.266-.066-.505-.08l.088-.389 1.662-.066h.418l-.491 1.904.088.03c.478-.674.94-1.172 1.384-1.494.445-.328.889-.491 1.333-.491.474 0 .833.132 1.077.395.244.26.366.645.366 1.158 0 .175-.017.368-.051.578-.03.205-.064.388-.103.55l-.615 2.607c-.083.351-.124.63-.124.835a.68.68 0 0 0 .073.344.465.465 0 0 0 .227.19c.102.044.27.079.505.103l-.058.359z"></path>
|
||||
</symbol>
|
||||
<symbol id="svg-icon-integral" viewBox="0 0 20 20">
|
||||
<path d="M6.94 14.49c.035-.557.052-1.163.052-1.817v-.257c0-1.225-.052-2.65-.154-4.277-.059-.879-.1-1.572-.125-2.08a29.969 29.969 0 0 1-.036-1.435c0-.406.051-.706.154-.901.107-.2.28-.3.52-.3a.52.52 0 0 1 .373.139c.098.087.195.246.293.476h.85v-1.48a2.642 2.642 0 0 0-1.048-.212c-.302 0-.57.056-.805.168-.23.112-.435.278-.616.498-.18.215-.336.488-.468.82-.132.328-.24.726-.323 1.194-.083.464-.141.974-.175 1.531-.03.552-.044 1.155-.044 1.81v.256c0 1.225.053 2.65.16 4.277.055.879.094 1.572.118 2.08.024.508.037.986.037 1.436 0 .4-.054.7-.162.9-.107.2-.275.3-.505.3-.17 0-.303-.048-.395-.146a1.635 1.635 0 0 1-.279-.468h-.85v1.479c.333.142.682.212 1.048.212.303 0 .569-.056.798-.168.235-.112.442-.278.623-.498.18-.215.337-.488.469-.82.132-.328.239-.726.322-1.194.083-.464.14-.972.168-1.524zM12.955 10.854A74.708 74.708 0 0 0 15.93 7.86l-.147-.359h-2.087l-.08.359c.312.039.468.193.468.461 0 .117-.017.23-.051.337-.034.108-.095.23-.183.366-.088.137-.24.323-.454.557a11.2 11.2 0 0 1-.682.681L11.74 7.5H9.916l-.081.359c.195.015.344.049.447.102.107.05.2.123.278.22.083.093.168.227.256.403.088.17.203.422.345.754l.695 1.634A64.64 64.64 0 0 0 8.7 14.143l.139.359h2.087l.08-.359c-.17-.03-.292-.08-.365-.154a.423.423 0 0 1-.103-.3c0-.098.01-.193.03-.286.024-.093.073-.202.146-.33.073-.126.2-.292.38-.497.181-.21.367-.406.557-.586.196-.186.352-.33.47-.432l1.017 2.944h1.824l.08-.359a1.611 1.611 0 0 1-.417-.095 1.034 1.034 0 0 1-.264-.198 2.11 2.11 0 0 1-.293-.44 13.507 13.507 0 0 1-.432-.951l-.68-1.604z"></path>
|
||||
</symbol>
|
||||
<symbol id="svg-icon-largeOperator" viewBox="0 0 20 20">
|
||||
<path d="M7.295 10.174 3.728 4.762h4.08c.258 0 .466.024.622.073.156.044.293.112.41.205.122.088.24.217.352.388.117.171.23.403.337.696.112.293.23.671.351 1.135h.791V4H1.626v.417l4.248 6.585-4.526 6.218v.41h9.287l.212-3.574H9.99c-.073.41-.151.742-.234.996-.083.254-.171.452-.264.594a1.074 1.074 0 0 1-.3.336c-.108.083-.24.145-.396.184-.151.039-.378.058-.68.058h-4.82l3.999-5.493v-.557zM15.955 10.854A74.708 74.708 0 0 0 18.93 7.86l-.147-.359h-2.087l-.08.359c.312.039.468.193.468.461 0 .117-.017.23-.051.337-.034.108-.096.23-.183.366-.088.137-.24.323-.454.557a11.2 11.2 0 0 1-.682.681L14.74 7.5h-1.824l-.08.359c.195.015.344.049.447.102.107.05.2.123.278.22.083.093.168.227.256.403.088.17.203.422.345.754l.695 1.634a64.626 64.626 0 0 0-3.156 3.171l.139.359h2.087l.08-.359c-.17-.03-.292-.08-.365-.154a.423.423 0 0 1-.103-.3c0-.098.01-.193.03-.286.024-.093.073-.202.146-.33.073-.126.2-.292.38-.497.181-.21.367-.406.557-.586.196-.186.352-.33.47-.432l1.017 2.944h1.824l.08-.359a1.611 1.611 0 0 1-.417-.095 1.034 1.034 0 0 1-.264-.198 2.11 2.11 0 0 1-.293-.44 13.507 13.507 0 0 1-.432-.951l-.68-1.604z"></path>
|
||||
</symbol>
|
||||
<symbol id="svg-icon-limAndLog" viewBox="0 0 20 20">
|
||||
<path d="M3.699 4.026h.432L2.227 12.67a5.594 5.594 0 0 0-.103.535 2.48 2.48 0 0 0-.022.3.68.68 0 0 0 .073.344.466.466 0 0 0 .227.19c.103.044.271.079.506.103l-.059.359H.564l1.89-8.408c.048-.215.083-.376.102-.484.02-.107.034-.21.044-.307a2.62 2.62 0 0 0 .015-.257c0-.146-.027-.256-.08-.33a.444.444 0 0 0-.235-.168c-.098-.034-.276-.058-.535-.073l.088-.38 1.846-.067zM8.326 4.627l-.337 1.42H6.692l.337-1.42h1.297zm-1.81 8.042a7.09 7.09 0 0 0-.102.55 2.267 2.267 0 0 0-.022.285.68.68 0 0 0 .073.344.466.466 0 0 0 .227.19c.103.044.271.079.506.103l-.066.359h-2.27l1.105-4.937c.064-.283.108-.507.132-.673.024-.171.037-.313.037-.425a.68.68 0 0 0-.066-.33.37.37 0 0 0-.205-.176c-.098-.039-.266-.063-.506-.073l.08-.388 1.788-.066h.432L6.516 12.67zM15.545 8.934v.102c0 .034-.002.07-.007.11.425-.6.847-1.045 1.267-1.333.42-.288.855-.432 1.304-.432.464 0 .815.132 1.054.395.244.26.367.645.367 1.158 0 .312-.05.688-.147 1.128l-.615 2.607c-.083.351-.125.63-.125.835a.68.68 0 0 0 .074.344.465.465 0 0 0 .227.19c.102.044.27.079.505.103l-.066.359h-2.3l.923-3.72c.069-.27.127-.54.176-.814.054-.278.08-.53.08-.754 0-.352-.06-.6-.183-.747-.122-.152-.314-.227-.578-.227-.19 0-.405.078-.645.234-.234.156-.48.396-.74.718a5.934 5.934 0 0 0-.637.96c-.16.312-.29.695-.388 1.15l-.666 3.2h-1.268L14 10.78c.102-.455.17-.79.205-1.004.039-.22.059-.408.059-.564 0-.352-.064-.6-.191-.747-.122-.152-.315-.227-.579-.227-.195 0-.412.08-.651.241-.235.157-.484.4-.748.733-.263.332-.476.66-.637.981a4.63 4.63 0 0 0-.366 1.136l-.666 3.171H9.158l1.114-5.002c.024-.113.056-.279.095-.498a2.9 2.9 0 0 0 .066-.55.618.618 0 0 0-.066-.315.344.344 0 0 0-.212-.168c-.098-.04-.267-.066-.506-.08l.088-.389 1.67-.066h.41l-.483 1.897.088.03c.449-.67.896-1.165 1.34-1.487.444-.328.894-.491 1.348-.491.468 0 .825.134 1.069.403.244.263.366.647.366 1.15z"></path>
|
||||
</symbol>
|
||||
<symbol id="svg-icon-matrix" viewBox="0 0 20 20">
|
||||
<path d="M1.5 1.5v17H6v-1H2.5v-15H6v-1H1.5z"></path>
|
||||
<path fill-rule="evenodd" d="M6.448 8.71c.166.087.366.132.6.132.28 0 .542-.071.786-.212.274-.156.52-.394.736-.714.247-.362.45-.822.609-1.378A5.927 5.927 0 0 0 9.42 4.89c0-.194-.02-.371-.06-.533a1.055 1.055 0 0 0-.193-.419.879.879 0 0 0-.347-.276 1.245 1.245 0 0 0-.525-.098 1.47 1.47 0 0 0-.616.136 1.934 1.934 0 0 0-.563.39 2.935 2.935 0 0 0-.48.626c-.145.25-.271.526-.377.831a6.562 6.562 0 0 0-.336 1.93c0 .33.045.596.136.797a.894.894 0 0 0 .389.434zm.181-.514a1.716 1.716 0 0 1-.053-.48c0-.282.036-.604.106-.967.045-.247.1-.498.166-.755.093-.355.195-.669.306-.94a3.19 3.19 0 0 1 .416-.748 1.2 1.2 0 0 1 .374-.337.692.692 0 0 1 .324-.083c.174 0 .3.062.378.185.08.121.12.315.12.582 0 .403-.063.881-.192 1.435a7.63 7.63 0 0 1-.43 1.364c-.156.355-.324.622-.503.8-.176.18-.358.268-.547.268a.526.526 0 0 1-.302-.075.466.466 0 0 1-.163-.25z"></path>
|
||||
<path d="M18.5 1.5H14v1h3.5v15H14v1h4.5v-17z"></path>
|
||||
<path fill-rule="evenodd" d="M12.028 16.124c.166.088.366.132.6.132.28 0 .541-.07.786-.212.274-.156.52-.394.736-.713.247-.363.45-.822.608-1.379A5.928 5.928 0 0 0 15 12.305c0-.194-.02-.371-.06-.532a1.055 1.055 0 0 0-.193-.42.879.879 0 0 0-.348-.275 1.246 1.246 0 0 0-.524-.098 1.47 1.47 0 0 0-.616.136 1.935 1.935 0 0 0-.563.389 2.934 2.934 0 0 0-.48.627c-.146.249-.271.526-.377.83a6.552 6.552 0 0 0-.336 1.93c0 .33.045.596.136.798a.894.894 0 0 0 .389.434zm.18-.514a1.714 1.714 0 0 1-.052-.48c0-.282.035-.604.106-.966.045-.247.1-.499.166-.756a7.65 7.65 0 0 1 .306-.94 3.19 3.19 0 0 1 .415-.748 1.2 1.2 0 0 1 .374-.336.693.693 0 0 1 .325-.083c.174 0 .3.062.378.185.08.12.12.315.12.582 0 .402-.064.88-.192 1.435a7.63 7.63 0 0 1-.43 1.363c-.157.355-.324.622-.503.8-.176.18-.359.269-.547.269a.525.525 0 0 1-.303-.076.465.465 0 0 1-.162-.249z"></path>
|
||||
<path d="M14.075 7.69a2.378 2.378 0 0 0-.068.441c0 .101.026.177.079.227.053.048.14.083.26.106.124.02.314.034.57.041l-.056.276h-2.666l.056-.276a4.92 4.92 0 0 0 .488-.041c.113-.018.204-.042.272-.072a.535.535 0 0 0 .17-.11c.042-.042.08-.099.113-.17a1.59 1.59 0 0 0 .094-.317l.605-2.738c.022-.106.039-.19.049-.253a.822.822 0 0 0 .019-.155c0-.075-.02-.128-.057-.158a.2.2 0 0 0-.136-.05c-.066 0-.165.033-.298.099a8.115 8.115 0 0 0-.597.328l-.147-.302 1.914-1H15l-.11.441c-.04.161-.083.349-.128.563l-.687 3.12zM6.962 15.546c0-.088.023-.236.068-.442l.688-3.12c.045-.214.088-.401.128-.562l.11-.442h-.261l-1.915 1 .147.303c.265-.156.464-.266.597-.329.134-.065.233-.098.299-.098a.2.2 0 0 1 .136.05c.037.03.056.082.056.158 0 .04-.006.092-.019.155-.01.063-.026.147-.049.253l-.604 2.738a1.59 1.59 0 0 1-.095.317.587.587 0 0 1-.113.17.535.535 0 0 1-.17.11c-.068.03-.158.054-.272.071a4.896 4.896 0 0 1-.487.042l-.057.276h2.667l.057-.276a4.75 4.75 0 0 1-.57-.042.538.538 0 0 1-.261-.105c-.053-.05-.08-.126-.08-.227z"></path>
|
||||
</symbol>
|
||||
<symbol id="svg-icon-operator" viewBox="0 0 20 20">
|
||||
<path fill-rule="evenodd" d="M6.736 11.625 6.66 12h6.152l.077-.375-.674-7.717h-.844l-4.635 7.717zm5.051-.504h-3.89l3.439-5.918h.07c0 .48.045 1.334.135 2.56l.246 3.358z"></path>
|
||||
<path d="M3 14h14v1H3v-1zM3 16h14v1H3v-1z"></path>
|
||||
</symbol>
|
||||
<symbol id="svg-icon-radical" viewBox="0 0 20 20">
|
||||
<path d="m6.874 16.698-2.908-6.08-2.402 1.1.227.549 1.23-.55 3.597 7.185h.68l4.476-16.377h1.567V1.5h-2.365L6.874 16.698zM14.955 11.852a74.675 74.675 0 0 0 2.974-2.995l-.147-.359h-2.087l-.08.359c.312.039.468.193.468.461 0 .118-.017.23-.051.337-.034.108-.095.23-.183.367-.088.136-.24.322-.454.556-.215.235-.442.462-.682.681l-.974-2.761h-1.824l-.08.359c.195.015.344.049.447.102.107.05.2.123.278.22.083.093.168.227.256.403.088.17.203.422.345.754l.695 1.634A64.67 64.67 0 0 0 10.7 15.14l.139.359h2.087l.08-.359c-.17-.03-.292-.08-.365-.154a.423.423 0 0 1-.103-.3c0-.098.01-.193.03-.286.024-.092.073-.202.146-.33.073-.126.2-.292.38-.497.181-.21.367-.405.557-.586.196-.186.352-.33.47-.432l1.017 2.944h1.824l.08-.359a1.607 1.607 0 0 1-.417-.095 1.032 1.032 0 0 1-.264-.198 2.107 2.107 0 0 1-.293-.44 13.536 13.536 0 0 1-.432-.951l-.68-1.605z"></path>
|
||||
</symbol>
|
||||
<symbol id="svg-icon-script" viewBox="0 0 20 20">
|
||||
<path d="M15.62 5.03a45.12 45.12 0 0 0 1.8-1.813L17.333 3h-1.264l-.048.217c.189.024.283.117.283.28 0 .07-.01.138-.03.204a.96.96 0 0 1-.111.221 2.772 2.772 0 0 1-.275.337c-.13.142-.268.28-.413.412L14.884 3h-1.103l-.05.217c.12.01.21.03.271.062.065.03.121.074.169.133.05.056.102.138.155.244.053.104.123.256.208.457l.422.989a39.126 39.126 0 0 0-1.911 1.92l.084.217h1.264l.048-.218a.408.408 0 0 1-.221-.093.256.256 0 0 1-.063-.182c0-.059.006-.116.018-.172a.846.846 0 0 1 .089-.2c.044-.077.121-.177.23-.301.11-.128.222-.246.337-.355.119-.112.213-.2.284-.262l.617 1.783h1.104l.048-.218a.974.974 0 0 1-.253-.057.625.625 0 0 1-.16-.12 1.277 1.277 0 0 1-.176-.266 8.142 8.142 0 0 1-.262-.576l-.412-.971z"></path>
|
||||
<path fill-rule="evenodd" d="M9.54 15.998c.502-.347 1.027-.82 1.574-1.419l-.688-.72c-.606.613-1.186 1.068-1.74 1.363a3.87 3.87 0 0 1-1.85.443c-.688 0-1.183-.173-1.486-.52-.303-.355-.455-.92-.455-1.696 0-.518.045-.998.133-1.441 2.32 0 4.068-.314 5.243-.942 1.182-.629 1.774-1.57 1.774-2.827 0-.769-.226-1.334-.676-1.696C10.925 6.181 10.256 6 9.362 6c-.909 0-1.766.2-2.571.599a5.951 5.951 0 0 0-2.073 1.673 7.441 7.441 0 0 0-1.297 2.439c-.28.901-.421 1.747-.421 2.538 0 .532.067 1.027.2 1.485.133.451.336.843.61 1.175.28.325.63.584 1.052.776.421.185.924.277 1.508.277.606 0 1.16-.074 1.662-.221a5.286 5.286 0 0 0 1.508-.743zM7 10.955c-.51.066-1.104.103-1.784.11a8.696 8.696 0 0 1 .898-2.117c.384-.635.824-1.138 1.319-1.507.502-.377 1.012-.565 1.53-.565.413 0 .723.129.93.388.215.25.322.602.322 1.053 0 .243-.03.48-.089.709a1.812 1.812 0 0 1-.3.643c-.14.2-.332.384-.576.554-.243.17-.55.318-.92.443-.369.119-.812.215-1.33.289z"></path>
|
||||
</symbol>
|
||||
<symbol id="svg-icon-symbols" viewBox="0 0 20 20">
|
||||
<path d="M8.054 13.865v-.176c-1.22-1.465-1.83-2.976-1.83-4.534 0-1.279.365-2.31 1.098-3.09.732-.787 1.687-1.18 2.863-1.18 1.221 0 2.154.357 2.798 1.07.65.708.974 1.701.974 2.98 0 1.675-.634 3.272-1.904 4.79v.14h.667c.468 0 .778-.054.93-.161.156-.108.276-.367.359-.777h.718L14.507 15h-3.391v-1.055c.913-1.587 1.37-3.193 1.37-4.819 0-2.397-.819-3.596-2.454-3.596-.733 0-1.306.31-1.721.93-.41.615-.616 1.492-.616 2.63 0 1.664.454 3.283 1.363 4.855V15H5.68l-.22-2.065h.718c.088.415.198.673.33.776.132.102.434.154.908.154h.637z"></path>
|
||||
</symbol>
|
||||
</svg>
|
After Width: | Height: | Size: 18 KiB |
|
@ -586,7 +586,8 @@
|
|||
}
|
||||
|
||||
.btn-toolbar {
|
||||
&:active {
|
||||
&:active,
|
||||
&.active {
|
||||
svg.icon {
|
||||
fill: @icon-toolbar-header-ie;
|
||||
fill: @icon-toolbar-header;
|
||||
|
|
|
@ -2319,7 +2319,7 @@ define([
|
|||
|
||||
me.equationBtns = [];
|
||||
for (var i = 0; i < equationsStore.length; ++i) {
|
||||
var style = 'margin-right: 5px;' + (i==0 ? 'margin-left: 5px;' : '');
|
||||
var style = 'margin-right: 8px;' + (i==0 ? 'margin-left: 5px;' : '');
|
||||
eqStr += '<span id="id-document-holder-btn-equation-' + i + '" style="' + style +'"></span>';
|
||||
}
|
||||
eqStr += '</div>';
|
||||
|
@ -2353,7 +2353,7 @@ define([
|
|||
var btn = new Common.UI.Button({
|
||||
parentEl: $('#id-document-holder-btn-equation-' + i, documentHolder.cmpEl),
|
||||
cls : 'btn-toolbar no-caret',
|
||||
iconCls : 'toolbar__icon btn-paste',
|
||||
iconCls : 'svgicon ' + equationGroup.get('groupIcon'),
|
||||
hint : equationGroup.get('groupName'),
|
||||
menu : new Common.UI.Menu({
|
||||
cls: 'menu-shapes',
|
||||
|
|
|
@ -2793,18 +2793,18 @@ define([
|
|||
|
||||
// [translate, count cells, scroll]
|
||||
|
||||
c_oAscMathMainTypeStrings[Common.define.c_oAscMathMainType.Symbol ] = [this.textSymbols, 11];
|
||||
c_oAscMathMainTypeStrings[Common.define.c_oAscMathMainType.Fraction ] = [this.textFraction, 4];
|
||||
c_oAscMathMainTypeStrings[Common.define.c_oAscMathMainType.Script ] = [this.textScript, 4];
|
||||
c_oAscMathMainTypeStrings[Common.define.c_oAscMathMainType.Radical ] = [this.textRadical, 4];
|
||||
c_oAscMathMainTypeStrings[Common.define.c_oAscMathMainType.Integral ] = [this.textIntegral, 3, true];
|
||||
c_oAscMathMainTypeStrings[Common.define.c_oAscMathMainType.LargeOperator] = [this.textLargeOperator, 5, true];
|
||||
c_oAscMathMainTypeStrings[Common.define.c_oAscMathMainType.Bracket ] = [this.textBracket, 4, true];
|
||||
c_oAscMathMainTypeStrings[Common.define.c_oAscMathMainType.Function ] = [this.textFunction, 3, true];
|
||||
c_oAscMathMainTypeStrings[Common.define.c_oAscMathMainType.Accent ] = [this.textAccent, 4];
|
||||
c_oAscMathMainTypeStrings[Common.define.c_oAscMathMainType.LimitLog ] = [this.textLimitAndLog, 3];
|
||||
c_oAscMathMainTypeStrings[Common.define.c_oAscMathMainType.Operator ] = [this.textOperator, 4];
|
||||
c_oAscMathMainTypeStrings[Common.define.c_oAscMathMainType.Matrix ] = [this.textMatrix, 4, true];
|
||||
c_oAscMathMainTypeStrings[Common.define.c_oAscMathMainType.Symbol ] = [this.textSymbols, 11, false, 'svg-icon-symbols'];
|
||||
c_oAscMathMainTypeStrings[Common.define.c_oAscMathMainType.Fraction ] = [this.textFraction, 4, false, 'svg-icon-fraction'];
|
||||
c_oAscMathMainTypeStrings[Common.define.c_oAscMathMainType.Script ] = [this.textScript, 4, false, 'svg-icon-script'];
|
||||
c_oAscMathMainTypeStrings[Common.define.c_oAscMathMainType.Radical ] = [this.textRadical, 4, false, 'svg-icon-radical'];
|
||||
c_oAscMathMainTypeStrings[Common.define.c_oAscMathMainType.Integral ] = [this.textIntegral, 3, true, 'svg-icon-integral'];
|
||||
c_oAscMathMainTypeStrings[Common.define.c_oAscMathMainType.LargeOperator] = [this.textLargeOperator, 5, true, 'svg-icon-largeOperator'];
|
||||
c_oAscMathMainTypeStrings[Common.define.c_oAscMathMainType.Bracket ] = [this.textBracket, 4, true, 'svg-icon-bracket'];
|
||||
c_oAscMathMainTypeStrings[Common.define.c_oAscMathMainType.Function ] = [this.textFunction, 3, true, 'svg-icon-function'];
|
||||
c_oAscMathMainTypeStrings[Common.define.c_oAscMathMainType.Accent ] = [this.textAccent, 4, false, 'svg-icon-accent'];
|
||||
c_oAscMathMainTypeStrings[Common.define.c_oAscMathMainType.LimitLog ] = [this.textLimitAndLog, 3, false, 'svg-icon-limAndLog'];
|
||||
c_oAscMathMainTypeStrings[Common.define.c_oAscMathMainType.Operator ] = [this.textOperator, 4, false, 'svg-icon-operator'];
|
||||
c_oAscMathMainTypeStrings[Common.define.c_oAscMathMainType.Matrix ] = [this.textMatrix, 4, true, 'svg-icon-matrix'];
|
||||
|
||||
// equations sub groups
|
||||
|
||||
|
@ -2875,7 +2875,8 @@ define([
|
|||
groupStore : store,
|
||||
groupWidth : width,
|
||||
groupHeight : normHeight,
|
||||
groupHeightStr : c_oAscMathMainTypeStrings[id][2] ? ' height:'+ normHeight +'px!important; ' : ''
|
||||
groupHeightStr : c_oAscMathMainTypeStrings[id][2] ? ' height:'+ normHeight +'px!important; ' : '',
|
||||
groupIcon: c_oAscMathMainTypeStrings[id][3]
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
|
@ -321,6 +321,7 @@
|
|||
<img class="inline-svg" src="../../common/main/resources/img/header/icons.svg">
|
||||
<img class="inline-svg" src="../../common/main/resources/img/toolbar/shapetypes.svg">
|
||||
<img class="inline-svg" src="../../common/main/resources/img/toolbar/charttypes.svg">
|
||||
<img class="inline-svg" src="../../common/main/resources/img/toolbar/equationicons.svg">
|
||||
<script>
|
||||
var svgpoints = document.querySelectorAll('img.inline-svg');
|
||||
SVGInjector(svgpoints);
|
||||
|
|
|
@ -311,6 +311,7 @@
|
|||
<inline src="resources/img/header/icons.svg" />
|
||||
<inline src="resources/img/toolbar/shapetypes.svg" />
|
||||
<inline src="resources/img/toolbar/charttypes.svg" />
|
||||
<inline src="resources/img/toolbar/equationicons.svg" />
|
||||
<script src="../../../../../../sdkjs/common/device_scale.js?__inline=true"></script>
|
||||
<script data-main="app" src="../../../vendor/requirejs/require.js"></script>
|
||||
|
||||
|
|
|
@ -271,6 +271,7 @@
|
|||
<img class="inline-svg" src="../../common/main/resources/img/header/icons.svg">
|
||||
<img class="inline-svg" src="../../common/main/resources/img/toolbar/shapetypes.svg">
|
||||
<img class="inline-svg" src="../../common/main/resources/img/toolbar/charttypes.svg">
|
||||
<img class="inline-svg" src="../../common/main/resources/img/toolbar/equationicons.svg">
|
||||
<script>
|
||||
var svgpoints = document.querySelectorAll('img.inline-svg');
|
||||
SVGInjector(svgpoints);
|
||||
|
|
|
@ -320,6 +320,7 @@
|
|||
<inline src="resources/img/header/icons.svg" />
|
||||
<inline src="resources/img/toolbar/shapetypes.svg" />
|
||||
<inline src="resources/img/toolbar/charttypes.svg" />
|
||||
<inline src="resources/img/toolbar/equationicons.svg" />
|
||||
|
||||
<div id="viewport"></div>
|
||||
<script data-main="app" src="../../../vendor/requirejs/require.js"></script>
|
||||
|
|
Loading…
Reference in a new issue