diff --git a/docs/static/fonts/icons/iconfont.css b/docs/static/fonts/icons/iconfont.css index c61c9142..3495b5f9 100644 --- a/docs/static/fonts/icons/iconfont.css +++ b/docs/static/fonts/icons/iconfont.css @@ -1,8 +1,8 @@ @font-face { font-family: "iconfont"; - src: url("iconfont.eot?0e26c61e9bbbc4168f76255eca2448a6?#iefix") format("embedded-opentype"), -url("iconfont.woff2?0e26c61e9bbbc4168f76255eca2448a6") format("woff2"), -url("iconfont.woff?0e26c61e9bbbc4168f76255eca2448a6") format("woff"); + src: url("iconfont.eot?efa64a2368d48451c10a24a5f99b98a1?#iefix") format("embedded-opentype"), +url("iconfont.woff2?efa64a2368d48451c10a24a5f99b98a1") format("woff2"), +url("iconfont.woff?efa64a2368d48451c10a24a5f99b98a1") format("woff"); } .icon { @@ -67,21 +67,24 @@ url("iconfont.woff?0e26c61e9bbbc4168f76255eca2448a6") format("woff"); .icon-variables:before { content: "\f111"; } -.icon-cancel:before { +.icon-advancedcollapsed:before { content: "\f112"; } -.icon-check:before { +.icon-advancedexpanded:before { content: "\f113"; } -.icon-download:before { +.icon-cancel:before { content: "\f114"; } -.icon-save:before { +.icon-check:before { content: "\f115"; } -.icon-advancedcollapsed:before { +.icon-download:before { content: "\f116"; } -.icon-advancedexpanded:before { +.icon-save:before { content: "\f117"; } +.icon-blocks:before { + content: "\f118"; +} diff --git a/docs/static/fonts/icons/iconfont.eot b/docs/static/fonts/icons/iconfont.eot index 5f5dffeb..850beca8 100644 Binary files a/docs/static/fonts/icons/iconfont.eot and b/docs/static/fonts/icons/iconfont.eot differ diff --git a/docs/static/fonts/icons/iconfont.svg b/docs/static/fonts/icons/iconfont.svg index d1913663..d0591d84 100644 --- a/docs/static/fonts/icons/iconfont.svg +++ b/docs/static/fonts/icons/iconfont.svg @@ -58,24 +58,27 @@ - - - - + + + + + diff --git a/docs/static/fonts/icons/iconfont.ttf b/docs/static/fonts/icons/iconfont.ttf index 09a7e0e0..806fcd7e 100644 Binary files a/docs/static/fonts/icons/iconfont.ttf and b/docs/static/fonts/icons/iconfont.ttf differ diff --git a/docs/static/fonts/icons/iconfont.woff b/docs/static/fonts/icons/iconfont.woff index 186ed9cf..fd17cf67 100644 Binary files a/docs/static/fonts/icons/iconfont.woff and b/docs/static/fonts/icons/iconfont.woff differ diff --git a/docs/static/fonts/icons/iconfont.woff2 b/docs/static/fonts/icons/iconfont.woff2 index 1267b947..ffe44a74 100644 Binary files a/docs/static/fonts/icons/iconfont.woff2 and b/docs/static/fonts/icons/iconfont.woff2 differ diff --git a/svgicons/generateIcons.js b/svgicons/generateIcons.js index 166e71e0..81d336a6 100644 --- a/svgicons/generateIcons.js +++ b/svgicons/generateIcons.js @@ -19,12 +19,13 @@ webfontsGenerator({ "./categories/sensors.svg", "./categories/text.svg", "./categories/variables.svg", + "./categories/advancedcollapsed.svg", + "./categories/advancedexpanded.svg", "./icons/cancel.svg", "./icons/check.svg", "./icons/download.svg", "./icons/save.svg", - "./categories/advancedcollapsed.svg", - "./categories/advancedexpanded.svg" + "./icons/blocks.svg" ], dest: '../docs/static/fonts/icons/', round: 10 diff --git a/svgicons/icons/blocks.svg b/svgicons/icons/blocks.svg new file mode 100644 index 00000000..6654fefb --- /dev/null +++ b/svgicons/icons/blocks.svg @@ -0,0 +1,14 @@ + + + + +color + + + + + diff --git a/theme/blockly.less b/theme/blockly.less index c259e71b..8ae1fcc1 100644 --- a/theme/blockly.less +++ b/theme/blockly.less @@ -118,34 +118,34 @@ span.blocklyTreeIcon.blocklyTreeIconaddpackage::before { } span.blocklyTreeIcon.blocklyTreeIconadvancedcollapsed::before { - content: "\f116"; -} - -span.blocklyTreeIcon.blocklyTreeIconadvancedexpanded::before { - content: "\f117"; -} - -.save-editortools-btn .icon.save, - .download-button .icon.download.icon-and-text, - .button.approve.positive .i.icon.checkmark, - .button.approve.cancel .i.icon.cancel -{ - font-family: 'legoIcons'; -} - -.save-editortools-btn .icon.save:before { - content: "\f115"; -} - -.download-button .icon.download.icon-and-text:before { - content: "\f114"; -} - -.button.approve.positive .i.icon.checkmark:before { - content: "\f113"; -} - -.button.approve.cancel .i.icon.cancel:before { content: "\f112"; } +span.blocklyTreeIcon.blocklyTreeIconadvancedexpanded::before { + content: "\f113"; +} + +.save-editortools-btn .icon.save:before { + font-family: 'legoIcons'; + content: "\f117"; +} + +.download-button .icon.download.icon-and-text:before { + font-family: 'legoIcons'; + content: "\f116"; +} + +.button.approve.positive i.icon.checkmark:before { + font-family: 'legoIcons'; + content: "\f115"; +} + +.button.approve.cancel i.icon.cancel:before { + font-family: 'legoIcons'; + content: "\f114"; +} + +.blocks-menuitem i.icon.blocks:before { + font-family: 'legoIcons' !important; + content: "\f118" !important; +}