Skip to content

Commit acf2584

Browse files
Visual fixes and improvements
1 parent 2c2a873 commit acf2584

File tree

4 files changed

+9
-6
lines changed

4 files changed

+9
-6
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "iknow-entity-browser",
3-
"version": "0.1.0",
3+
"version": "0.1.1",
44
"description": "Visualizer for iKnow entities",
55
"main": "gulpfile.babel.js",
66
"scripts": {

src/static/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,14 +76,14 @@ <h1>General Settings</h1>
7676
<b>Data source:</b>
7777
<input type="text" value="http://localhost" id="settings.host" autosize placeholder="http://host.name"/>
7878
: <input id="settings.port" autosize type="number" placeholder="port" value="57772"/>
79-
/ <input id="settings.webAppName" type="text" placeholder="domain" value="EntityBrowser"/>
80-
/domain/ <input id="settings.domain" type="text" placeholder="domain" value="1"/>
79+
/ <input id="settings.webAppName" autosize type="text" placeholder="domain" value="EntityBrowser"/>
80+
/domain/ <input id="settings.domain" autosize type="text" placeholder="domain" value="1"/>
8181
/
8282
<select id="settings.queryType">
8383
<option value="related">related</option>
8484
<option value="similar">similar</option>
8585
</select>
86-
/ <input autosize placeholder="seed string" id="settings.seed" value="crew"/>
86+
/ <input autosize placeholder="seed string" id="settings.seed" type="text" value="crew"/>
8787
</div>
8888
</div>
8989
</div>

src/static/js/graph/index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,8 @@ export function update () {
179179
.nodes(graph.nodes)
180180
.on("tick", ticked);
181181

182-
simulation.force("link")
182+
simulation
183+
.force("link")
183184
.links(graph.edges);
184185

185186
simulation.restart();

src/static/scss/basic.scss

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ table {
3030

3131
input[type=text], input[type=number] {
3232
border: 0;
33-
border-bottom: gray;
33+
border-bottom: 1px solid gray;
3434
}
3535

3636
.central {
@@ -89,13 +89,15 @@ h1, h2, h3, h4, h5, h6 {
8989
top: 0;
9090
animation: rotate-one 1s linear infinite;
9191
border-bottom: 3px solid $colorB;
92+
box-shadow: 0 0 3px $colorB;
9293
}
9394

9495
&.two {
9596
right: 0;
9697
top: 0;
9798
animation: rotate-two 1s linear infinite;
9899
border-right: 3px solid $colorC;
100+
box-shadow: 0 0 3px $colorC;
99101
}
100102

101103
&.three {

0 commit comments

Comments
 (0)