Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions repo/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@
<script defer src="/repo/assets/material.min.js"></script>
<link rel="stylesheet" href="/repo/src/style.css">
<script src="https://cdn.jsdelivr.net/npm/marked/marked.min.js"></script>
<script src="/static/js/particles.js"></script>
<script src="/repo/assets/purify.min.js"></script>
<script type="module">
import { parseComponent } from '/static/js/pluginParser.js'
Expand Down Expand Up @@ -78,7 +77,7 @@

</div>
</header>
<main class="mdl-layout__content" style="display: flex; justify-content: center;" id="particles-js">
<main class="mdl-layout__content" style="display: flex; justify-content: center;">
<div class="page-content">
<!-- Your content goes here -->
<div class="mdl-grid">
Expand Down
6 changes: 0 additions & 6 deletions repo/src/main.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
document.addEventListener('DOMContentLoaded', function () {
/* particlesJS.load(@dom-id, @path-json, @callback (optional)); */
particlesJS.load('particles-js', '/static/js/particlesjs-config.json', function () {
console.log('particles.js config loaded');
});
});

Vue.component('label-selector', {
props: ['all-labels'],
Expand Down
8 changes: 0 additions & 8 deletions repo/src/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -226,14 +226,6 @@ ul>li {
text-align: right;
}

.particles-js-canvas-el {
position: fixed;
pointer-events: none;
top: 0;
left: 0;
z-index: -1;
}

.illustration {
background: url(./illustration.svg);
min-width: 100%;
Expand Down
7 changes: 1 addition & 6 deletions web/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions web/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "imjoy",
"version": "0.11.17",
"version": "0.11.18",
"private": false,
"description": "ImJoy -- deep learning made easy.",
"author": "imjoy-team <imjoy.team@gmail.com>",
Expand Down Expand Up @@ -43,7 +43,6 @@
"pouchdb-browser": "^7.0.0",
"register-service-worker": "^1.6.2",
"spark-md5": "^3.0.0",
"spectre.css": "^0.5.8",
"vega": "^5.7.3",
"vega-embed": "^6.0.0",
"vega-lite": "^4.12.2",
Expand Down
5 changes: 1 addition & 4 deletions web/public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@
.loading-img {
width: 100px !important;
}
body{font-size:100%;line-height:1.5;color:var(--text-color-base)}*{text-decoration:none!important}a{transition:all .3s linear}h1{line-height:60px}.github-corner{z-index:5}section.cover{padding-bottom:112px;height:auto;min-height:100vh;background:#fff!important}section.cover .cover-main{display:flex;justify-content:center;align-items:center;flex-direction:column;margin:0;padding:32px 16px 0}section.cover img{width:400px}*{-webkit-font-smoothing:antialiased;-webkit-overflow-scrolling:touch;-webkit-tap-highlight-color:transparent;-webkit-text-size-adjust:none;-webkit-touch-callout:none;box-sizing:border-box}body,html{height:100%}body{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;color:#34495e;font-family:Source Sans Pro,Helvetica Neue,Arial,sans-serif;font-size:15px;letter-spacing:0;margin:0;overflow-x:hidden}img{max-width:100%}a[disabled]{cursor:not-allowed;opacity:.6}.github-corner{border-bottom:0;position:fixed;right:0;text-decoration:none;top:0;z-index:1}.github-corner:hover .octo-arm{animation:a .56s ease-in-out}.github-corner svg{color:#fff;fill:var(--theme-color,#42b983);height:80px;width:80px}main{display:block;position:relative;width:100vw;height:100%;z-index:0}main.hidden{display:none}.anchor{display:inline-block;text-decoration:none;transition:all .3s}.anchor span{color:#34495e}.anchor:hover{text-decoration:underline}@media print{.github-corner{display:none}}@media screen and (max-width:768px){.github-corner{position:fixed}main{height:auto;overflow-x:hidden}.github-corner{transition:transform .25s ease-out}.github-corner:hover .octo-arm{animation:none}.github-corner .octo-arm{animation:a .56s ease-in-out}}@keyframes a{0%,to{transform:rotate(0)}20%,60%{transform:rotate(-25deg)}40%,80%{transform:rotate(10deg)}}section.cover{-ms-flex-align:center;align-items:center;background-position:50%;background-repeat:no-repeat;background-size:cover;height:100vh;display:none}section.cover.show{display:-ms-flexbox;display:flex;}section.cover .cover-main{-ms-flex:1;flex:1;margin:-20px 16px 0;text-align:center;z-index:1}section.cover a{color:inherit}section.cover a,section.cover a:hover{text-decoration:none}section.cover p{line-height:1.5rem;margin:1em 0}section.cover h1{color:rgba(0,0,0,0.87);font-size:2.5rem;font-weight:300;position:relative;text-align:center}@media screen and (max-height:640px){section.cover.show{align-items: flex-start}}@media screen and (max-width:340px){section.cover h1{font-size: 1.5em;margin: 0px}}section.cover h1 a{display:block}section.cover .cover-main>p:last-child a{border:1px solid var(--theme-color,#42b983);border-radius:2rem;box-sizing:border-box;color:var(--theme-color,#42b983);display:inline-block;font-size:0.8rem;letter-spacing:.1rem;margin:.3rem .4rem;padding:.6em 1.4rem;text-decoration:none;transition:all .15s ease}section.cover .cover-main>p:last-child a:last-child{background-color:var(--theme-color,#42b983);color:#fff}@media screen and (max-width:512px){section.cover h1{font-size: 2em}}section.cover .cover-main>p:last-child a:last-child:hover{color:inherit;opacity:.8}section.cover .cover-main>p:last-child a:hover{color:inherit}body{background-color:#fff}
body{font-size:100%;line-height:1.5;color:var(--text-color-base)}*{text-decoration:none!important}a{transition:all .3s linear}h1{line-height:60px}.github-corner{z-index:5}section.cover{padding-bottom:112px;height:auto;min-height:100vh;background:#fff!important}section.cover .cover-main{display:flex;justify-content:center;align-items:center;flex-direction:column;margin:0;padding:32px 16px 0}section.cover img{width:400px}*{-webkit-font-smoothing:antialiased;-webkit-overflow-scrolling:touch;-webkit-tap-highlight-color:transparent;-webkit-text-size-adjust:none;-webkit-touch-callout:none;box-sizing:border-box}body,html{height:100%}body{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;color:#34495e;font-family:Source Sans Pro,Helvetica Neue,Arial,sans-serif;font-size:15px;letter-spacing:0;margin:0;overflow-x:hidden}img{max-width:100%}a[disabled]{cursor:not-allowed;opacity:.6}.github-corner{border-bottom:0;position:fixed;right:0;text-decoration:none;top:0;z-index:1}.github-corner:hover .octo-arm{animation:a .56s ease-in-out}.github-corner svg{color:#fff;fill:var(--theme-color,#42b983);height:80px;width:80px}main{display:block;position:relative;width:100vw;height:100%;z-index:0}main.hidden{display:none}.anchor{display:inline-block;text-decoration:none;transition:all .3s}.anchor span{color:#34495e}.anchor:hover{text-decoration:underline}@media print{.github-corner{display:none}}@media screen and (max-width:768px){.github-corner{position:fixed}main{height:auto;overflow-x:hidden}.github-corner{transition:transform .25s ease-out}.github-corner:hover .octo-arm{animation:none}.github-corner .octo-arm{animation:a .56s ease-in-out}}@keyframes a{0%,to{transform:rotate(0)}20%,60%{transform:rotate(-25deg)}40%,80%{transform:rotate(10deg)}}section.cover{-ms-flex-align:center;align-items:center;background-position:50%;background-repeat:no-repeat;background-size:cover;height:100vh;display:none}section.cover.show{display:-ms-flexbox;display:flex;}section.cover .cover-main{-ms-flex:1;flex:1;margin:-20px 16px 0;text-align:center;z-index:1}section.cover a{color:inherit}section.cover a,section.cover a:hover{text-decoration:none}section.cover p{line-height:1.5rem;margin:1em 0}section.cover h1{color:rgba(0,0,0,0.87);font-size:2.5rem;font-weight:300;position:relative;text-align:center}@media screen and (max-height:640px){section.cover.show{align-items: flex-start}}@media screen and (max-width:340px){section.cover h1{font-size: 1.5em;margin: 0px}}section.cover h1 a{display:block}section.cover .cover-main>p:last-child a{border:1px solid var(--theme-color,#42b983);border-radius:2rem;box-sizing:border-box;color:var(--theme-color,#42b983);display:inline-block;font-size:0.8rem;letter-spacing:.1rem;margin:.3rem .4rem;padding:.6em 1.4rem;text-decoration:none;transition:all .15s ease}section.cover .cover-main>p:last-child a:last-child{background-color:var(--theme-color,#42b983);color:#fff}@media screen and (max-width:512px){section.cover h1{font-size: 1.6em}}section.cover .cover-main>p:last-child a:last-child:hover{color:inherit;opacity:.8}section.cover .cover-main>p:last-child a:hover{color:inherit}body{background-color:#fff}
.h1, h1 {
font-size: 1.3rem;
}
Expand Down Expand Up @@ -200,8 +200,5 @@ <h1>Deep Learning Made Easy!</h1>
// CAREFUL: DO NOT SEND ANY QUERY STRING, ONLY LOCATION AND PATH
gtag('config', 'UA-134837258-1', {'page_location': location.protocol+'//'+location.hostname+(location.port ? ':'+location.port: ''), 'page_path': location.pathname+location.hash.split('?')[0]});
</script>
<link rel="stylesheet" href="/static/css/spectre.min.css"/>
<link rel="stylesheet" href="/static/css/spectre-exp.min.css"/>
<script src="static/js/particles.js"></script>
</body>
</html>
Loading