Skip to content

Commit 08ff8b7

Browse files
committed
* manipulations icons replaced by SVG (visjs#31)
1 parent 94973b4 commit 08ff8b7

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

lib/network/modules/ManipulationSystem.css

+6-6
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ div.vis-network div.vis-close {
4040

4141
background-position: 20px 3px;
4242
background-repeat: no-repeat;
43-
background-image: url("img/network/cross.png");
43+
background-image: url("img/network/cross.svg");
4444
cursor: pointer;
4545
-webkit-touch-callout: none;
4646
-webkit-user-select: none;
@@ -86,7 +86,7 @@ div.vis-network div.vis-manipulation div.vis-button:active {
8686
}
8787

8888
div.vis-network div.vis-manipulation div.vis-button.vis-back {
89-
background-image: url("img/network/backIcon.png");
89+
background-image: url("img/network/backIcon.svg");
9090
}
9191

9292
div.vis-network div.vis-manipulation div.vis-button.vis-none:hover {
@@ -105,12 +105,12 @@ div.vis-network div.vis-manipulation div.notification {
105105
}
106106

107107
div.vis-network div.vis-manipulation div.vis-button.vis-add {
108-
background-image: url("img/network/addNodeIcon.png");
108+
background-image: url("img/network/addNodeIcon.svg");
109109
}
110110

111111
div.vis-network div.vis-manipulation div.vis-button.vis-edit,
112112
div.vis-network div.vis-edit-mode div.vis-button.vis-edit {
113-
background-image: url("img/network/editIcon.png");
113+
background-image: url("img/network/editIcon.svg");
114114
}
115115

116116
div.vis-network div.vis-edit-mode div.vis-button.vis-edit.vis-edit-mode {
@@ -119,11 +119,11 @@ div.vis-network div.vis-edit-mode div.vis-button.vis-edit.vis-edit-mode {
119119
}
120120

121121
div.vis-network div.vis-manipulation div.vis-button.vis-connect {
122-
background-image: url("img/network/connectIcon.png");
122+
background-image: url("img/network/connectIcon.svg");
123123
}
124124

125125
div.vis-network div.vis-manipulation div.vis-button.vis-delete {
126-
background-image: url("img/network/deleteIcon.png");
126+
background-image: url("img/network/deleteIcon.svg");
127127
}
128128
/* top right bottom left */
129129
div.vis-network div.vis-manipulation div.vis-label,

0 commit comments

Comments
 (0)