Skip to content

Commit de92627

Browse files
authored
add shadow to cables (#98)
* addes shadow to edge * changed bg color in dark mode
1 parent 6be028b commit de92627

File tree

4 files changed

+8
-2
lines changed

4 files changed

+8
-2
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
#visgraph{height:70vh}
1+
#visgraph{height:70vh}html[data-netbox-color-mode=dark] #visgraph{background-color:#212529}

netbox_topology_views/static/netbox_topology_views/js/app.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

netbox_topology_views/static_dev/css/app.scss

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,6 @@
22
height: 70vh;
33
}
44

5+
html[data-netbox-color-mode=dark] #visgraph {
6+
background-color: #212529;
7+
}

netbox_topology_views/static_dev/js/home.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@ var options = {
2727
font: {
2828
face: 'helvetica',
2929
},
30+
shadow: {
31+
enabled: true
32+
}
3033
},
3134
physics: {
3235
solver: 'forceAtlas2Based'

0 commit comments

Comments
 (0)