Initial work
This commit is contained in:
parent
5d470fdcef
commit
4dff282633
63
docs/static/fonts/icons/iconfont.css
vendored
63
docs/static/fonts/icons/iconfont.css
vendored
@ -1,8 +1,8 @@
|
|||||||
@font-face {
|
@font-face {
|
||||||
font-family: "iconfont";
|
font-family: "iconfont";
|
||||||
src: url("iconfont.eot?e05611aaee246c1da118a83eaf515de9?#iefix") format("embedded-opentype"),
|
src: url("iconfont.eot?1aaa45a81be328d93991341b518bf26d?#iefix") format("embedded-opentype"),
|
||||||
url("iconfont.woff2?e05611aaee246c1da118a83eaf515de9") format("woff2"),
|
url("iconfont.woff2?1aaa45a81be328d93991341b518bf26d") format("woff2"),
|
||||||
url("iconfont.woff?e05611aaee246c1da118a83eaf515de9") format("woff");
|
url("iconfont.woff?1aaa45a81be328d93991341b518bf26d") format("woff");
|
||||||
}
|
}
|
||||||
|
|
||||||
.icon {
|
.icon {
|
||||||
@ -28,3 +28,60 @@ url("iconfont.woff?e05611aaee246c1da118a83eaf515de9") format("woff");
|
|||||||
.icon-gyro:before {
|
.icon-gyro:before {
|
||||||
content: "\f104";
|
content: "\f104";
|
||||||
}
|
}
|
||||||
|
.icon-addpackage:before {
|
||||||
|
content: "\f105";
|
||||||
|
}
|
||||||
|
.icon-advancedcollapsed:before {
|
||||||
|
content: "\f106";
|
||||||
|
}
|
||||||
|
.icon-advancedexpanded:before {
|
||||||
|
content: "\f107";
|
||||||
|
}
|
||||||
|
.icon-brick:before {
|
||||||
|
content: "\f108";
|
||||||
|
}
|
||||||
|
.icon-controls:before {
|
||||||
|
content: "\f109";
|
||||||
|
}
|
||||||
|
.icon-functions:before {
|
||||||
|
content: "\f10a";
|
||||||
|
}
|
||||||
|
.icon-list:before {
|
||||||
|
content: "\f10b";
|
||||||
|
}
|
||||||
|
.icon-logic:before {
|
||||||
|
content: "\f10c";
|
||||||
|
}
|
||||||
|
.icon-loops:before {
|
||||||
|
content: "\f10d";
|
||||||
|
}
|
||||||
|
.icon-math:before {
|
||||||
|
content: "\f10e";
|
||||||
|
}
|
||||||
|
.icon-motors:before {
|
||||||
|
content: "\f10f";
|
||||||
|
}
|
||||||
|
.icon-music:before {
|
||||||
|
content: "\f110";
|
||||||
|
}
|
||||||
|
.icon-sensors:before {
|
||||||
|
content: "\f111";
|
||||||
|
}
|
||||||
|
.icon-text:before {
|
||||||
|
content: "\f112";
|
||||||
|
}
|
||||||
|
.icon-variables:before {
|
||||||
|
content: "\f113";
|
||||||
|
}
|
||||||
|
.icon-cancel:before {
|
||||||
|
content: "\f114";
|
||||||
|
}
|
||||||
|
.icon-check:before {
|
||||||
|
content: "\f115";
|
||||||
|
}
|
||||||
|
.icon-download:before {
|
||||||
|
content: "\f116";
|
||||||
|
}
|
||||||
|
.icon-save:before {
|
||||||
|
content: "\f117";
|
||||||
|
}
|
||||||
|
BIN
docs/static/fonts/icons/iconfont.eot
vendored
BIN
docs/static/fonts/icons/iconfont.eot
vendored
Binary file not shown.
57
docs/static/fonts/icons/iconfont.svg
vendored
57
docs/static/fonts/icons/iconfont.svg
vendored
@ -19,6 +19,63 @@
|
|||||||
<glyph glyph-name="gyro"
|
<glyph glyph-name="gyro"
|
||||||
unicode=""
|
unicode=""
|
||||||
horiz-adv-x="23.578015492438215" d=" M17 0H6.4A5.901881224640355 5.901881224640355 0 0 0 5.1 0.3H2.3A1.283659166359277 1.283659166359277 0 0 0 1 1.6V4.5H0.5A0.5016599040944301 0.5016599040944301 0 0 0 0 5V35.4A0.5016599040944301 0.5016599040944301 0 0 0 0.5 35.9H1V38.7A1.283659166359277 1.283659166359277 0 0 0 2.3 40H10.6V39.6H12.8V40H21.2A1.283659166359277 1.283659166359277 0 0 0 22.5 38.7V35.9H23.1A0.5016599040944301 0.5016599040944301 0 0 0 23.6 35.4V5.1A0.5016599040944301 0.5016599040944301 0 0 0 23.1 4.6H22.5V1.6A1.283659166359277 1.283659166359277 0 0 0 21.2 0.4H18.5C18.4 0.1 17.2 0 17 0zM6.2 34.5L3.7 33.8A1.0033198081888601 1.0033198081888601 0 0 1 3.4 33.7A0.2360752489856142 0.2360752489856142 0 0 1 3.3 33.5A0.20656584286241245 0.20656584286241245 0 0 1 3.4 33.3L4.1 32.8A7.657690888970861 7.657690888970861 0 0 1 3.1 30A8.51346366654371 8.51346366654371 0 0 1 4.8 23.5C5.8 24.2 6.5 24.7 6.5 24.7A7.377351530800443 7.377351530800443 0 0 0 5.4 26.9A6.300258207303577 6.300258207303577 0 0 0 6 31.8L6.5 31.5H6.5L6.6 31.5A0.3541128734784213 0.3541128734784213 0 0 1 6.8 31.4A0.17705643673921065 0.17705643673921065 0 0 1 7 31.5A0.6344522316488379 0.6344522316488379 0 0 1 7 32L6.2 34.5zM17.5 31.8H17.5A6.300258207303577 6.300258207303577 0 0 0 18 26.9A7.510143858354851 7.510143858354851 0 0 0 17 24.7L17.1 24.6L18.6 23.5A8.631501291036518 8.631501291036518 0 0 1 20.3 30A7.657690888970861 7.657690888970861 0 0 1 19.3 32.8L19.8 33.1L20 33.2A0.22132054592401326 0.22132054592401326 0 0 1 20.1 33.4A0.26558465510881596 0.26558465510881596 0 0 1 20 33.6A1.0033198081888601 1.0033198081888601 0 0 1 19.7 33.7L17.2 34.5S17.1 34.1 17 33.6S16.6 32.3 16.5 32A0.619697528587237 0.619697528587237 0 0 1 16.5 31.5A0.17705643673921065 0.17705643673921065 0 0 1 16.6 31.4A0.48690520103282936 0.48690520103282936 0 0 1 16.8 31.4L16.8 31.4L17.4 31.7zM11.7 30.6A1.9918849133161198 1.9918849133161198 0 1 1 13.7 28.6A1.9918849133161198 1.9918849133161198 0 0 1 11.7 30.6H11.7z" />
|
horiz-adv-x="23.578015492438215" d=" M17 0H6.4A5.901881224640355 5.901881224640355 0 0 0 5.1 0.3H2.3A1.283659166359277 1.283659166359277 0 0 0 1 1.6V4.5H0.5A0.5016599040944301 0.5016599040944301 0 0 0 0 5V35.4A0.5016599040944301 0.5016599040944301 0 0 0 0.5 35.9H1V38.7A1.283659166359277 1.283659166359277 0 0 0 2.3 40H10.6V39.6H12.8V40H21.2A1.283659166359277 1.283659166359277 0 0 0 22.5 38.7V35.9H23.1A0.5016599040944301 0.5016599040944301 0 0 0 23.6 35.4V5.1A0.5016599040944301 0.5016599040944301 0 0 0 23.1 4.6H22.5V1.6A1.283659166359277 1.283659166359277 0 0 0 21.2 0.4H18.5C18.4 0.1 17.2 0 17 0zM6.2 34.5L3.7 33.8A1.0033198081888601 1.0033198081888601 0 0 1 3.4 33.7A0.2360752489856142 0.2360752489856142 0 0 1 3.3 33.5A0.20656584286241245 0.20656584286241245 0 0 1 3.4 33.3L4.1 32.8A7.657690888970861 7.657690888970861 0 0 1 3.1 30A8.51346366654371 8.51346366654371 0 0 1 4.8 23.5C5.8 24.2 6.5 24.7 6.5 24.7A7.377351530800443 7.377351530800443 0 0 0 5.4 26.9A6.300258207303577 6.300258207303577 0 0 0 6 31.8L6.5 31.5H6.5L6.6 31.5A0.3541128734784213 0.3541128734784213 0 0 1 6.8 31.4A0.17705643673921065 0.17705643673921065 0 0 1 7 31.5A0.6344522316488379 0.6344522316488379 0 0 1 7 32L6.2 34.5zM17.5 31.8H17.5A6.300258207303577 6.300258207303577 0 0 0 18 26.9A7.510143858354851 7.510143858354851 0 0 0 17 24.7L17.1 24.6L18.6 23.5A8.631501291036518 8.631501291036518 0 0 1 20.3 30A7.657690888970861 7.657690888970861 0 0 1 19.3 32.8L19.8 33.1L20 33.2A0.22132054592401326 0.22132054592401326 0 0 1 20.1 33.4A0.26558465510881596 0.26558465510881596 0 0 1 20 33.6A1.0033198081888601 1.0033198081888601 0 0 1 19.7 33.7L17.2 34.5S17.1 34.1 17 33.6S16.6 32.3 16.5 32A0.619697528587237 0.619697528587237 0 0 1 16.5 31.5A0.17705643673921065 0.17705643673921065 0 0 1 16.6 31.4A0.48690520103282936 0.48690520103282936 0 0 1 16.8 31.4L16.8 31.4L17.4 31.7zM11.7 30.6A1.9918849133161198 1.9918849133161198 0 1 1 13.7 28.6A1.9918849133161198 1.9918849133161198 0 0 1 11.7 30.6H11.7z" />
|
||||||
|
<glyph glyph-name="addpackage"
|
||||||
|
unicode=""
|
||||||
|
horiz-adv-x="40" d=" M4.3 19.1C4.3 10.5 11.4 3.5 20 3.5C28.6 3.5 35.7 10.5 35.7 19.1C35.7 27.8 28.6 34.8 20 34.8C11.4 34.8 4.3 27.8 4.3 19.1z M18.3 29.6H21.7V8.7H18.3V29.6z M19.1 28.7H20.9V9.6H19.1V28.7z M-15984.1 -6224.1H-15984.1V-6224.1H-15984.1V-6224.1z M-15985.2 -6223.8H-15985.2V-6223.8H-15985.2V-6223.8z" />
|
||||||
|
<glyph glyph-name="advancedcollapsed"
|
||||||
|
unicode=""
|
||||||
|
horiz-adv-x="40" d=" M17281.9 -6644.3H17284.3V-6658.2H17281.9V-6644.3z M17294 -6655.8H17307.9V-6658.3H17294V-6655.8z M17295 -6657.4H17296.2V-6658.6H17295V-6657.4z" />
|
||||||
|
<glyph glyph-name="advancedexpanded"
|
||||||
|
unicode=""
|
||||||
|
horiz-adv-x="40" d=" M16003.8 42714.4H16002.3V42722.7H16003.8V42714.4z M16004.6 42714.5H15996.2V42715.9H16004.6V42714.5z M15995.8 42725.1H15995V42725.9H15995.8V42725.1z" />
|
||||||
|
<glyph glyph-name="brick"
|
||||||
|
unicode=""
|
||||||
|
horiz-adv-x="40" d=" M34.3 0.9H5.7V39.1H34.4V0.9zM10.4 32.7V18.4H29.6V32.7H10.4z" />
|
||||||
|
<glyph glyph-name="controls"
|
||||||
|
unicode=""
|
||||||
|
horiz-adv-x="40" d=" M6.1 33H9.6V5.2H6.1V33z M18.3 33H21.7V5.2H18.3V33z M30.4 33H33.9V5.2H30.4V33z M2.6 15.7H13V7H2.6V15.7z M14.8 31.3H25.2V22.6H14.8V31.3z M27 22.6H37.4V13.9H27V22.6z" />
|
||||||
|
<glyph glyph-name="functions"
|
||||||
|
unicode=""
|
||||||
|
horiz-adv-x="40" d=" M12.7 25.1H9.8C9.8 25.9 9.8 26.1 10.6 26.1C12 26.1 13.1 26.8 13.6 28C14.3 29.4 15.2 30.8 16 32.2C16.9 33.4 18.3 34.3 19.9 34.5C20.9 34.6 21.9 34.3 22.5 33.4C22.8 32.9 22.8 32.4 22.6 31.9C22.3 31.3 21.8 31.2 21.2 31.3C20.7 31.3 20.4 31.9 20.4 32.4C20.4 32.6 20.4 32.6 20.4 32.7C20.4 33.1 20.5 33.4 20.5 33.8C20.2 33.8 19.7 33.9 19.3 33.8C18.6 33.4 18.1 33.1 17.8 32.4C17.1 31.3 16.5 30.1 16.2 28.9C15.9 28 15.5 27 15.3 26.1H17.6C17.4 25.8 17.4 25.4 17.2 25.1H15C14.5 23.3 14.1 21.8 13.6 20.2C12.9 16.9 11.7 13.8 10.3 10.6C9.6 9.3 8.7 8 7.7 7C6.8 6.1 5.8 5.6 4.5 5.6C3.9 5.4 3.2 5.8 2.5 6.1C2.1 6.5 1.9 7.2 2.1 7.7C2.5 8.2 3 8.6 3.7 8.4C4.2 8.4 4.4 7.9 4.4 7.3C4.4 7.2 4.2 7 4.2 7C4 6.8 4 6.6 4 6.5C4.2 6.5 4.4 6.3 4.7 6.3C5.6 6.3 6.5 6.8 7 7.7C7.5 8.6 8 9.4 8.2 10.3C9.6 15.2 11 20 12.4 24.9C12.7 24.9 12.7 24.9 12.7 25.1z M31.9 5.6C32 5.8 32 5.9 32.2 6.1C33.9 7.2 35.2 9.1 35.5 11C36.2 14.3 36.2 17.6 35.3 20.7C34.8 22.5 33.8 23.9 32.4 24.9C32.2 25.1 32 25.3 32 25.4C35.2 24.2 38.1 20.4 38.1 15.5C38.1 11.3 35.7 7.3 31.9 5.6z M23.7 25.4C23.7 25.3 23.5 25.1 23.5 25.1C21.8 24 20.5 22.1 20.2 20.2C19.5 16.9 19.5 13.6 20.4 10.3C20.9 8.6 21.9 7.2 23.3 6.1C23.5 5.9 23.7 5.9 23.7 5.6C20 7.3 17.6 11.2 17.8 15.3C17.6 20.7 20.9 24.6 23.7 25.4z M31.3 12.7C31.3 12.7 31.5 12.7 31.7 12.6C31.7 12.6 31.7 12.6 31.7 12.4C31.2 11.5 30.6 10.8 29.8 10.3C29.4 9.9 28.7 9.8 28.2 10.3C28 10.5 27.9 10.6 27.9 11C27.5 12 27.3 12.9 27.2 13.9C27.2 14.1 27.2 14.1 27 14.3C26.8 13.9 26.6 13.6 26.3 13.3C25.8 12.6 25.2 11.7 24.5 11C24.2 10.6 23.9 10.3 23.3 10.1C22.8 9.9 22.3 10.1 21.9 10.6C21.9 10.6 21.9 10.8 21.9 10.8C21.9 11.2 21.9 11.5 22.3 11.7C22.5 11.9 22.8 11.9 23.2 11.7C23.2 11.7 23.3 11.5 23.3 11.5C23.9 11.2 24 11 24.4 11.7C25.1 12.7 25.8 13.9 26.6 15C26.6 15.2 26.6 15.3 26.6 15.5C26.5 16.2 26.3 16.9 26.1 17.6C25.8 18.8 25.2 19.2 24 19.2H23.9C23.7 19.3 23.9 19.5 24 19.5C24.7 19.7 25.6 19.9 26.3 19.9C26.5 19.9 26.6 19.9 26.8 19.7C27.3 19 27.7 18.3 27.9 17.4C27.9 17.3 28 16.9 28 16.7C28.2 17.1 28.5 17.6 28.9 17.9C29.4 18.5 29.9 19.2 30.5 19.5C30.8 19.7 31.2 19.9 31.5 19.9C32 19.9 32.4 19.5 32.4 19C32.4 19 32.4 18.8 32.4 18.8C32.2 18.3 31.9 18.1 31.3 18.3C31.3 18.3 31.3 18.3 31.3 18.3C31.2 18.3 31.2 18.3 31 18.3C30.5 18.6 29.8 18.5 29.4 17.9C29.4 17.9 29.4 17.9 29.4 17.9C29.1 17.4 28.5 16.7 28.2 16.2C28.2 16 28.2 16 28.2 15.9C28.5 14.6 28.7 13.4 29.1 12C29.1 11.9 29.1 11.9 29.2 11.7C29.4 11.2 29.8 11 30.1 11.5C30.6 11.9 30.8 12.4 31.3 12.7z" />
|
||||||
|
<glyph glyph-name="list"
|
||||||
|
unicode=""
|
||||||
|
horiz-adv-x="40" d=" M11.1 30.4H36.9V27.3H11.1V30.4z M11.1 22.4H36.9V19.3H11.1V22.4z M11.1 14.4H36.9V11.3H11.1V14.4z M5.6 27.3H3.8V33.6H2.4V34.6C3.3 34.6 4 35.1 4.2 36.2H5.6V27.3z M7.7 17.6V16H1.4V16.7C1.4 18.8 2.8 19.7 4 20.3C5.7 21.2 5.7 21.6 5.7 22.1C5.7 22.6 5.4 23.1 4.5 23.1C3.7 23.1 3.1 22.4 3.1 21.6H1.4C1.4 23.1 2.4 24.7 4.5 24.7C6.6 24.7 7.5 23.3 7.5 22.1C7.5 20.3 6.3 19.8 4.9 19C4 18.4 3.3 17.9 3.3 17.4H7.7z M4.5 4.5C2.4 4.5 1.4 5.9 1.2 7.5H3C3 6.6 3.5 6.1 4.5 6.1C5.6 6.1 6.1 6.6 6.1 7.3C6.1 8 5.6 8.5 4.7 8.5H4.2V9.9H4.5C5.6 9.9 5.9 10.4 5.9 11C5.9 11.7 5.4 12 4.7 12C3.8 12 3.3 11.3 3.3 10.6H1.6C1.6 12.2 2.6 13.6 4.5 13.6C6.4 13.6 7.5 12.3 7.5 11.1C7.5 10.4 7.1 9.7 6.3 9.4C7.3 9 7.7 8.2 7.7 7.3C7.8 6.1 6.8 4.5 4.5 4.5z" />
|
||||||
|
<glyph glyph-name="logic"
|
||||||
|
unicode=""
|
||||||
|
horiz-adv-x="40" d=" M2.8 14.1H7.4C10 14.2 12.2 16 13.1 18.6C15 23.1 18.3 31.3 23.7 31.3S29.8 31.3 29.8 31.3V35.8L36.9 28.3L29.8 21.5V26.4H24.9C22.3 25.7 20.2 24 19.4 21.5C17.3 17 15.2 9.4 8.2 9.2C5.1 9.2 3 9.2 3 9.2V14.1z M2.8 31.1V26.2H8.2C8.2 26.2 11.4 26.2 13.1 22.1C13.8 23.8 14.7 25.4 15.7 26.9C15.7 26.9 12.2 30.9 8.4 30.9S2.8 31.1 2.8 31.1z M19.5 18.4C19.5 18.4 21.8 13.9 24.4 13.9H30V18.4L37.3 11.3L30 4.2V9H23.7C23.7 9 20.2 9 16.9 13.4C18 14.9 18.8 16.7 19.5 18.4z" />
|
||||||
|
<glyph glyph-name="loops"
|
||||||
|
unicode=""
|
||||||
|
horiz-adv-x="40" d=" M7.6 12.2C6.1 14.5 4.3 16.6 2.8 18.8H6.1C6.1 22.6 7.6 26.5 10.4 29.1C12.3 31 14.6 32.2 17.2 32.7C21.9 33.8 27 32.4 30.4 28.9C29.6 28 28.9 27.3 28.2 26.6C24 30.1 19.6 30.8 14.8 28.2C11.3 26.3 9.4 22.6 9.4 18.8H12.7C11 16.6 9.2 14.3 7.6 12.2z M31.3 18.8H28C29.7 21.1 31.3 23.2 32.9 25.4C34.6 23.2 36.2 21.1 37.7 18.8H34.4C34.4 14.8 32.7 11 29.9 8.4C28 6.6 25.7 5.4 23.3 4.9C18.6 3.9 13.6 5.3 10.1 8.7L12.3 11C16.3 7.5 20.9 6.6 25.7 9.4C29.2 11.2 31.3 14.8 31.3 18.8z" />
|
||||||
|
<glyph glyph-name="math"
|
||||||
|
unicode=""
|
||||||
|
horiz-adv-x="40" d=" M15.6 7.9C15.2 7.5 14.7 7 14.4 6.7L10.5 10.5C9.1 9.1 7.9 7.9 6.7 6.7C6.4 7 5.8 7.5 5.5 7.9L9.3 11.7C7.9 13.1 6.7 14.3 5.5 15.5C5.8 15.9 6.4 16.4 6.7 16.7L10.5 12.9L14.4 16.7C14.7 16.4 15.2 15.9 15.6 15.5L11.8 11.7C13 10.3 14.4 9.1 15.6 7.9z M4.3 26.8V28.4H9.7V33.8C10.2 33.8 10.7 33.8 11.2 33.8V28.4H16.6V26.8H11.2V21.4H9.5V26.8H4.3z M34.9 12.4H21.3V15.4H34.9V12.4z M34.9 9.4V6.5H21.3V9.4H34.9z M34.9 29.3V26.3H21.3V29.3H34.9z" />
|
||||||
|
<glyph glyph-name="motors"
|
||||||
|
unicode=""
|
||||||
|
horiz-adv-x="40" d=" M28.9 25.8C27.5 24.4 25.9 22.9 24.5 21.5H35.7V32.6L32.2 29.1C29.6 32.3 25.9 34.3 21.8 34.9C18.3 35.4 14.6 34.5 11.7 32.6C4.2 28.1 1.9 18.3 6.5 10.9S20.7 1.1 28.2 5.6C30.8 7.2 32.7 9.5 34.1 12.1C32.7 12.6 31.3 13.3 29.9 13.8C28.5 11 25.9 9 23 8.1C20.7 7.4 18.3 7.6 16 8.4C10.3 10.7 7.3 17.1 9.4 22.9C10.6 26.3 13.6 29 17.1 29.8C21.6 31.2 26.3 29.5 28.9 25.8z M16.7 19C16.7 17.1 18.3 15.7 20 15.7S23.3 17.3 23.3 19C23.3 21 21.8 22.3 20 22.3C18.1 22.5 16.7 21 16.7 19C16.7 19 16.7 19 16.7 19z" />
|
||||||
|
<glyph glyph-name="music"
|
||||||
|
unicode=""
|
||||||
|
horiz-adv-x="40" d=" M24.2 17.7C27.1 17.2 29.9 15.7 31.7 13.2C32.5 13.2 33.4 13.2 33.4 13.2S36 20.9 30.3 26.3S13.4 31.7 9.2 26.3C6.3 22.6 5.2 17.6 6.8 13.2C7.3 13.2 7.7 13.2 8.2 13.2C8.2 13.2 11.1 17.6 15.8 17.7C15.7 10.1 15.7 3.5 15.7 3.5C12.3 4.2 9.6 6.3 8 9.4C4.5 10.1 1.7 13.2 1.7 17C1.7 28.3 10.3 34.8 20 34.8S38.8 27.3 38.1 17C37.7 9.9 31.8 9.4 31.8 9.4C30.4 6.3 27.7 4 24.3 3.5C24.2 11.3 24.2 17.7 24.2 17.7z" />
|
||||||
|
<glyph glyph-name="sensors"
|
||||||
|
unicode=""
|
||||||
|
horiz-adv-x="40" d=" M20 37.4C29.6 37.4 37.4 29.6 37.4 20S29.6 2.6 20 2.6S2.6 10.4 2.6 20S10.4 37.4 20 37.4z M20 7.8C26.8 7.8 32.2 13.2 32.2 20S26.8 32.2 20 32.2S7.8 26.8 7.8 20S13.2 7.8 20 7.8M20 2.6C10.4 2.6 2.6 10.4 2.6 20S10.4 37.4 20 37.4S37.4 29.6 37.4 20S29.6 2.6 20 2.6z M20 27C23.8 27 27 23.8 27 20S23.8 13 20 13S13 16.2 13 20S16.2 27 20 27z" />
|
||||||
|
<glyph glyph-name="text"
|
||||||
|
unicode=""
|
||||||
|
horiz-adv-x="40" d=" M23.1 30.6V2.8H16.5V30.6H7.7V36.7H32.3V30.6H23.1z" />
|
||||||
|
<glyph glyph-name="variables"
|
||||||
|
unicode=""
|
||||||
|
horiz-adv-x="40" d=" M5.2 31.3H33V8.7H5.2V31.3z M33 31.3V27.8H5.2V31.3H33z M33 22.6V19.1H5.2V22.6H33z M33 13.9V10.4H5.2V13.9H33z" />
|
||||||
|
<glyph glyph-name="cancel"
|
||||||
|
unicode=""
|
||||||
|
horiz-adv-x="40" d=" M4285.9 23284.1H4308.1V23280.4H4285.9V23284.1z M4285.9 23302.6H4289.6V23280.4H4285.9V23302.6z" />
|
||||||
|
<glyph glyph-name="check"
|
||||||
|
unicode=""
|
||||||
|
horiz-adv-x="40" d=" M4209.2 23456H4231.3V23452.3H4209.2V23456z M4201.2 23463.4H4204.9V23452.3H4201.2V23463.4z" />
|
||||||
|
<glyph glyph-name="download"
|
||||||
|
unicode=""
|
||||||
|
horiz-adv-x="40" d=" M5.2 15.7H36.5V1.7H5.2V15.7z M19.1 36.5H22.6V19.1H19.1V36.5z M18803.9 -5968.6H18811.3V-5971.1H18803.9V-5968.6z M18798.7 -5963.7H18801.2V-5971.1H18798.7V-5963.7z" />
|
||||||
|
<glyph glyph-name="save"
|
||||||
|
unicode=""
|
||||||
|
horiz-adv-x="40" d=" M4.2 19.2V33.8C4.2 34.9 4.3 35 5.4 35H12.3C13.4 35 13.6 34.9 13.6 33.8V26.7C13.6 25.8 13.7 25.6 14.6 25.6H25C25.9 25.6 26.1 25.8 26.1 26.7V34C26.1 34.9 26.3 35 27.1 35C29.2 35 29.2 35 30.6 33.6C32.2 32.1 33.6 30.7 35.1 29.1C35.5 28.8 35.7 28.4 35.7 27.9V4.4C35.7 3.6 35.5 3.2 34.6 3.2H5.2C4.3 3.2 4.2 3.4 4.2 4.4C4.2 9.5 4.2 14.3 4.2 19.2zM20 6.7H31.5C32.5 6.7 32.7 6.9 32.7 7.9V21.3C32.7 22.2 32.5 22.5 31.5 22.5H8.5C7.7 22.5 7.3 22.3 7.3 21.3V7.9C7.3 6.9 7.5 6.7 8.5 6.7H20z M24 31.9C24 31.2 24 30.3 24 29.6C24 28.9 23.7 28.8 23.1 28.8C22.6 28.8 22.1 28.8 21.7 28.8C21.4 28.8 20.9 28.9 20.9 29.5C20.9 29.5 20.9 29.6 20.9 29.6V34.2C20.9 34.5 21 34.9 21.6 35C21.6 35 21.6 35 21.7 35C22.3 35 22.8 35 23.3 35C23.8 35 24.2 34.7 24.2 34.3C24.2 34.3 24.2 34.3 24.2 34.2C24 33.5 24 32.6 24 31.9z M6.7 23.6H33.5V5.7H6.7V23.6z M7.6 22.8H32.6V6.6H7.6V22.8z" />
|
||||||
</font>
|
</font>
|
||||||
</defs>
|
</defs>
|
||||||
</svg>
|
</svg>
|
||||||
|
Before Width: | Height: | Size: 5.7 KiB After Width: | Height: | Size: 15 KiB |
BIN
docs/static/fonts/icons/iconfont.ttf
vendored
BIN
docs/static/fonts/icons/iconfont.ttf
vendored
Binary file not shown.
BIN
docs/static/fonts/icons/iconfont.woff
vendored
BIN
docs/static/fonts/icons/iconfont.woff
vendored
Binary file not shown.
BIN
docs/static/fonts/icons/iconfont.woff2
vendored
BIN
docs/static/fonts/icons/iconfont.woff2
vendored
Binary file not shown.
@ -1,19 +1,19 @@
|
|||||||
|
|
||||||
//% color="#68C3E2" weight=100
|
//% color="#68C3E2" weight=100 icon="\uf108"
|
||||||
//% groups='["Buttons", "Screen"]'
|
//% groups='["Buttons", "Screen"]'
|
||||||
//% labelLineWidth=0
|
//% labelLineWidth=0
|
||||||
namespace brick {
|
namespace brick {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
//% color="#C8509B" weight=95 icon="\uf192"
|
//% color="#C8509B" weight=95 icon="\uf111"
|
||||||
//% labelLineWidth=0
|
//% labelLineWidth=0
|
||||||
//% groups='["Ultrasonic Sensor", "Touch Sensor", "Color Sensor", "Infrared Sensor", "Remote Infrared Beacon", "Gyro Sensor"]'
|
//% groups='["Ultrasonic Sensor", "Touch Sensor", "Color Sensor", "Infrared Sensor", "Remote Infrared Beacon", "Gyro Sensor"]'
|
||||||
//% groupIcons='["\uf101","\uf103","\uf102","","","\uf104"]'
|
//% groupIcons='["\uf101","\uf103","\uf102","","","\uf104"]'
|
||||||
namespace sensors {
|
namespace sensors {
|
||||||
}
|
}
|
||||||
|
|
||||||
//% color="#A5CA18" weight=90 icon="\uf185"
|
//% color="#A5CA18" weight=90 icon="\uf10f"
|
||||||
//% groups='["Motion", "Sensors", "Chassis"]'
|
//% groups='["Motion", "Sensors", "Chassis"]'
|
||||||
//% labelLineWidth=0
|
//% labelLineWidth=0
|
||||||
namespace motors {
|
namespace motors {
|
||||||
|
@ -2,10 +2,29 @@ const webfontsGenerator = require('webfonts-generator');
|
|||||||
|
|
||||||
webfontsGenerator({
|
webfontsGenerator({
|
||||||
files: [
|
files: [
|
||||||
'./ultrasonic.svg',
|
"./ultrasonic.svg",
|
||||||
"./color.svg",
|
"./color.svg",
|
||||||
"./touch.svg",
|
"./touch.svg",
|
||||||
"./gyro.svg"
|
"./gyro.svg",
|
||||||
|
"./categories/addpackage.svg",
|
||||||
|
"./categories/advancedcollapsed.svg",
|
||||||
|
"./categories/advancedexpanded.svg",
|
||||||
|
"./categories/brick.svg",
|
||||||
|
"./categories/controls.svg",
|
||||||
|
"./categories/functions.svg",
|
||||||
|
"./categories/list.svg",
|
||||||
|
"./categories/logic.svg",
|
||||||
|
"./categories/loops.svg",
|
||||||
|
"./categories/math.svg",
|
||||||
|
"./categories/motors.svg",
|
||||||
|
"./categories/music.svg",
|
||||||
|
"./categories/sensors.svg",
|
||||||
|
"./categories/text.svg",
|
||||||
|
"./categories/variables.svg",
|
||||||
|
"./icons/cancel.svg",
|
||||||
|
"./icons/check.svg",
|
||||||
|
"./icons/download.svg",
|
||||||
|
"./icons/save.svg"
|
||||||
],
|
],
|
||||||
dest: '../docs/static/fonts/icons/',
|
dest: '../docs/static/fonts/icons/',
|
||||||
round: 10
|
round: 10
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
/* Fonts for toolbox icons */
|
/* Fonts for toolbox icons */
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: 'legoIcons';
|
font-family: 'legoIcons';
|
||||||
src: data-uri("../docs/static/fonts/icons/iconfont.woff2");
|
src: data-uri("../docs/static/fonts/icons/iconfont.woff") format('woff');
|
||||||
}
|
}
|
||||||
|
|
||||||
.blocklyFlyoutLabel:not(.blocklyFlyoutHeading) .blocklyFlyoutLabelIcon {
|
.blocklyFlyoutLabel:not(.blocklyFlyoutHeading) .blocklyFlyoutLabelIcon {
|
||||||
@ -18,6 +18,10 @@
|
|||||||
font-size: 1.7rem;
|
font-size: 1.7rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
span.blocklyTreeIcon {
|
||||||
|
font-family: 'legoIcons' !important;
|
||||||
|
}
|
||||||
|
|
||||||
/* Toolbox padding */
|
/* Toolbox padding */
|
||||||
.blocklyToolboxDiv, .monacoToolboxDiv {
|
.blocklyToolboxDiv, .monacoToolboxDiv {
|
||||||
padding: 0.5rem;
|
padding: 0.5rem;
|
||||||
@ -67,4 +71,60 @@ span.blocklyTreeLabel {
|
|||||||
#blocklyTrashIcon {
|
#blocklyTrashIcon {
|
||||||
margin: 0.2rem;
|
margin: 0.2rem;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
span.blocklyTreeIcon.blocklyTreeIcontests::before {
|
||||||
|
content: "";
|
||||||
|
}
|
||||||
|
|
||||||
|
span.blocklyTreeIcon.blocklyTreeIconmusic::before {
|
||||||
|
content: "\f110";
|
||||||
|
}
|
||||||
|
|
||||||
|
span.blocklyTreeIcon.blocklyTreeIconloops::before {
|
||||||
|
content: "\f10d";
|
||||||
|
}
|
||||||
|
|
||||||
|
span.blocklyTreeIcon.blocklyTreeIconlogic::before {
|
||||||
|
content: "\f10c";
|
||||||
|
}
|
||||||
|
|
||||||
|
span.blocklyTreeIcon.blocklyTreeIconvariables::before {
|
||||||
|
content: "\f113";
|
||||||
|
}
|
||||||
|
|
||||||
|
span.blocklyTreeIcon.blocklyTreeIconmath::before {
|
||||||
|
content: "\f10e";
|
||||||
|
}
|
||||||
|
|
||||||
|
span.blocklyTreeIcon.blocklyTreeIconadvancedcollapsed::before {
|
||||||
|
content: "\f106";
|
||||||
|
}
|
||||||
|
|
||||||
|
span.blocklyTreeIcon.blocklyTreeIconadvancedexpanded::before {
|
||||||
|
content: "\f107";
|
||||||
|
}
|
||||||
|
|
||||||
|
span.blocklyTreeIcon.blocklyTreeIconfunctions::before {
|
||||||
|
content: "\f10a";
|
||||||
|
}
|
||||||
|
|
||||||
|
span.blocklyTreeIcon.blocklyTreeIconarrays::before {
|
||||||
|
content: "";
|
||||||
|
}
|
||||||
|
|
||||||
|
span.blocklyTreeIcon.blocklyTreeIcontext::before {
|
||||||
|
content: "\f112";
|
||||||
|
}
|
||||||
|
|
||||||
|
span.blocklyTreeIcon.blocklyTreeIconconsole::before {
|
||||||
|
content: "";
|
||||||
|
}
|
||||||
|
|
||||||
|
span.blocklyTreeIcon.blocklyTreeIconcontrol::before {
|
||||||
|
content: "\f109";
|
||||||
|
}
|
||||||
|
|
||||||
|
span.blocklyTreeIcon.blocklyTreeIconaddpackage::before {
|
||||||
|
content: "\f105";
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user