浏览代码

Better icons

Eric Charles 5 年之前
父节点
当前提交
a7e3a754d1

+ 2 - 2
packages/extensionmanager-extension/examples/listings/Makefile

@@ -1,6 +1,6 @@
 export BLACK_LIST_URIS="https://raw.githubusercontent.com/datalayer-jupyterlab/jupyterlab-listings-example/master/blacklist_simple.json"
-# export WHITE_LIST_URIS=""
-# export BLACK_LIST_URIS="https://raw.githubusercontent.com/datalayer-jupyterlab/jupyterlab-listings-example/master/blacklist_simple.json"
+# export BLACK_LIST_URIS=""
+# export WHITE_LIST_URIS="https://raw.githubusercontent.com/datalayer-jupyterlab/jupyterlab-listings-example/master/whitelist_simple.json"
 export WHITE_LIST_URIS=""
 export LISTINGS_REFRESH_MS=30000
 export LISTINGS_REQUEST_OPTS="{'timeout': 10}"

+ 20 - 1
packages/ui-components/style/icons/listing/blacklisted.svg

@@ -1 +1,20 @@
-<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="3 3 16 16"><defs><linearGradient gradientUnits="userSpaceOnUse" y2="-2.623" x2="0" y1="986.67"><stop stop-color="#ffce3b"/><stop offset="1" stop-color="#ffd762"/></linearGradient><linearGradient id="0" gradientUnits="userSpaceOnUse" y1="986.67" x2="0" y2="-2.623"><stop stop-color="#ffce3b"/><stop offset="1" stop-color="#fef4ab"/></linearGradient><linearGradient gradientUnits="userSpaceOnUse" x2="1" x1="0" xlink:href="#0"/></defs><g transform="matrix(2 0 0 2-11-2071.72)"><path transform="translate(7 1037.36)" d="m4 0c-2.216 0-4 1.784-4 4 0 2.216 1.784 4 4 4 2.216 0 4-1.784 4-4 0-2.216-1.784-4-4-4" fill="#da4453"/><path d="m11.906 1041.46l.99-.99c.063-.062.094-.139.094-.229 0-.09-.031-.166-.094-.229l-.458-.458c-.063-.062-.139-.094-.229-.094-.09 0-.166.031-.229.094l-.99.99-.99-.99c-.063-.062-.139-.094-.229-.094-.09 0-.166.031-.229.094l-.458.458c-.063.063-.094.139-.094.229 0 .09.031.166.094.229l.99.99-.99.99c-.063.062-.094.139-.094.229 0 .09.031.166.094.229l.458.458c.063.063.139.094.229.094.09 0 .166-.031.229-.094l.99-.99.99.99c.063.063.139.094.229.094.09 0 .166-.031.229-.094l.458-.458c.063-.062.094-.139.094-.229 0-.09-.031-.166-.094-.229l-.99-.99" fill="#fff"/></g></svg>
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
+<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
+	 width="24px" height="24px" viewBox="0 0 24 24" enable-background="new 0 0 24 24" xml:space="preserve">
+  <g
+     id="g4"
+     style="fill:#d11d13">
+    <path
+       d="m 12.001,2.085 c -5.478,0 -9.916,4.438 -9.916,9.916 0,5.476 4.438,9.914 9.916,9.914 5.476,0 9.914,-4.438 9.914,-9.914 0,-5.478 -4.438,-9.916 -9.914,-9.916 z m 0.001,18 c -4.465,0 -8.084,-3.619 -8.084,-8.083 0,-4.465 3.619,-8.084 8.084,-8.084 4.464,0 8.083,3.619 8.083,8.084 0,4.464 -3.619,8.083 -8.083,8.083 z"
+       id="path6" />
+    <g
+       id="g9"
+       transform="matrix(0.366025,0,0,0.366025,-12.09664,-11.847823)"
+       style="fill:#000000">
+      <path
+         d="m 57.035,78.88 -0.157,-0.168 -4.395,-4.713 c 0,0 3.116184,-2.904537 9.198,-8.576 l -6.496,-6.966 4.387,-4.09 6.496,6.9655 8.774,-8.1815 4.552,4.882 -8.774,8.231 7.0285,7.7785 -4.012,4.0285 -7.4035,-7.716 z"
+         id="path12" />
+    </g>
+  </g>
+</svg>

+ 20 - 36
packages/ui-components/style/icons/listing/whitelisted.svg

@@ -1,36 +1,20 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<!-- Generator: Adobe Illustrator 21.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0)  -->
-
-<svg
-   xmlns="http://www.w3.org/2000/svg"
-   version="1.1"
-   id="Layer_3"
-   x="0px"
-   y="0px"
-   viewBox="0 0 111.2 111.2"
-   xml:space="preserve"
-   width="111.2"
-   height="111.2"
-   >
-   <style
-     type="text/css"
-     id="style2">
-	.st0{fill:#53245E;}
-	.st1{fill:#C6AAC8;}
-	.st2{fill:#8E548D;}
-  </style>
-  <path
-     class="st0"
-     d="m 69.2,5.6000031 h -7.4 c -0.8,0 -1.6,-0.5 -2,-1.1 -1.7,-2.7 -4.7,-4.5000000482422 -8.2,-4.5000000482422 -3.5,0 -6.4,1.9000000482422 -8.2,4.5000000482422 -0.5,0.6 -1.1,1.1 -2,1.1 h -7.3 c -4.1,0 -7.7,3.1 -7.8,7.0999999 -0.3,4.4 3.3,8.2 7.7,8.2 h 35.4 c 4.4,0 7.8,-3.8 7.7,-8.2 C 76.9,8.7000031 73.3,5.6000031 69.2,5.6000031 Z"
-     id="path4"
-     style="fill:#53245e" /><path
-     class="st1"
-     d="M 90.4,14.400003 H 83 c -0.6,0 -1.1,0.5 -1.3,1.1 -0.5,2.4 -1.4,4.5 -3.1,6.4 -2.4,2.5 -5.6,3.9 -8.9,3.9 H 34.1 c -3.4,0 -6.6,-1.4 -8.9,-3.9 -1.7,-1.7 -2.7,-4.1 -3.1,-6.4 -0.2,-0.6 -0.6,-1.1 -1.3,-1.1 h -7.5 c -0.6,0 -1.3,0.5 -1.3,1.1 V 108.9 c 0,0.6 0.6,1.3 1.3,1.3 h 58 c 1.1,0 1.6,-1.3 0.9,-2 -2.8,-3.4 -4.5,-8 -4.5,-12.899997 0,-11.3 9.2,-20.5 20.5,-20.5 0.6,0 1.3,0 1.9,0.2 0.8,0 1.4,-0.5 1.4,-1.3 v -58.2 c 0.1,-0.7 -0.5,-1.1 -1.1,-1.1 z m -40.3,78.5 H 26.4 c -1.3,0 -2.4,-1.1 -2.4,-2.4 0,-1.3 1.1,-2.4 2.4,-2.4 h 23.7 c 1.3,0 2.4,1.1 2.4,2.4 0,1.3 -1,2.4 -2.4,2.4 z m 27.1,-20.4 H 26.4 c -1.3,0 -2.4,-1.1 -2.4,-2.4 0,-1.3 1.1,-2.4 2.4,-2.4 h 50.8 c 1.3,0 2.4,1.1 2.4,2.4 0,1.3 -1.1,2.4 -2.4,2.4 z m 0,-14.499999 H 26.4 c -1.3,0 -2.4,-1.1 -2.4,-2.4 0,-1.3 1.1,-2.4 2.4,-2.4 h 50.8 c 1.3,0 2.4,1.1 2.4,2.4 0,1.4 -1.1,2.4 -2.4,2.4 z m 0,-14.5 H 26.4 c -1.3,0 -2.4,-1.1 -2.4,-2.400001 0,-1.3 1.1,-2.4 2.4,-2.4 h 50.8 c 1.3,0 2.4,1.1 2.4,2.4 0,1.300001 -1.1,2.400001 -2.4,2.400001 z"
-     id="path6"
-     style="fill:#c6aac8" /><path
-     class="st2"
-     d="m 88.4,79.600003 c -8.8,0 -15.8,7.1 -15.8,15.8 C 72.6,104.1 79.7,111.2 88.4,111.2 c 8.7,0 15.8,-7.1 15.8,-15.799997 0,-8.7 -7.2,-15.8 -15.8,-15.8 z m 9.7,12.1 L 86.3,103.6 c -0.5,0.5 -1.1,0.6 -1.7,0.6 0,0 0,0 -0.2,0 -0.6,0 -1.3,-0.3 -1.7,-0.8 l -5.5,-6.599997 c -0.8,-0.9 -0.8,-2.5 0.3,-3.3 0.9,-0.8 2.5,-0.8 3.3,0.3 l 3,3.6 c 0.5,0.5 1.3,0.6 1.7,0 l 8.9,-9.1 c 0.9,-0.9 2.4,-0.9 3.3,0 1.2,1 1.2,2.4 0.4,3.4 z"
-     id="path8"
-     style="fill:#8e548d" />
-  </svg>
-  
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
+<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
+	 width="24px" height="24px" viewBox="0 0 24 24" enable-background="new 0 0 24 24" xml:space="preserve">
+  <g
+     id="g4"
+     style="fill:#00af8b">
+    <path
+       d="m 12.001,2.085 c -5.478,0 -9.916,4.438 -9.916,9.916 0,5.476 4.438,9.914 9.916,9.914 5.476,0 9.914,-4.438 9.914,-9.914 0,-5.478 -4.438,-9.916 -9.914,-9.916 z m 0.001,18 c -4.465,0 -8.084,-3.619 -8.084,-8.083 0,-4.465 3.619,-8.084 8.084,-8.084 4.464,0 8.083,3.619 8.083,8.084 0,4.464 -3.619,8.083 -8.083,8.083 z"
+       id="path6" />
+    <g
+       id="g9"
+       transform="matrix(0.33275,0,0,0.33275,-4.6427888,-6.8567577)"
+       style="fill:#000000">
+      <path
+         d="m 46.135,69.28 -0.157,-0.168 -4.395,-4.713 -6.496,-6.966 4.811,-4.484 6.496,6.965 17.548,-16.363 4.552,4.882 -22.359,20.847 z"
+         id="path12" />
+    </g>
+  </g>
+</svg>