Skip to content

Commit 57b16d2

Browse files
author
Your Name
committed
commit with tag nightly-24.12.31
1 parent db6f539 commit 57b16d2

33 files changed

+5863
-14787
lines changed

dist/html-static/css/cy-style-dark.json

+9-17
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"text-background-shape": "roundrectangle",
2929
"text-background-padding": "1px",
3030
"overlay-padding": "0.3px",
31-
"z-index": "10"
31+
"z-index": "2"
3232
}
3333
},
3434
{
@@ -40,7 +40,7 @@
4040
"width": "10px",
4141
"height": "10x",
4242
"font-size": "8px",
43-
"z-index": "1"
43+
"z-index": "2"
4444
}
4545
},
4646
{
@@ -149,7 +149,7 @@
149149
"style": {
150150
"width": "12",
151151
"height": "12",
152-
"background-image": "images/clab-dcgw-dark-blue.png",
152+
"background-image": "images/clab-dcgw-light-blue.png",
153153
"background-fit": "cover"
154154
}
155155
},
@@ -344,17 +344,18 @@
344344
"selector": "edge",
345345
"style": {
346346
"targetArrowShape": "none",
347-
"source-text-offset": 13,
348-
"target-text-offset": 13,
349-
"font-size": "7px",
347+
"font-size": "5px",
350348
"source-label": "data(sourceEndpoint)",
351349
"target-label": "data(targetEndpoint)",
350+
"source-text-offset": 20,
351+
"target-text-offset": 20,
352352
"arrow-scale": "0.5",
353353
"source-text-color": "#000000",
354354
"target-text-color": "#000000",
355355
"text-outline-width": "0.3px",
356356
"text-outline-color": "#FFFFFF",
357-
"text-background-color": "#CACBCC",
357+
"text-background-color": "#CACBCC",
358+
"text-opacity" : 1,
358359
"text-background-opacity": 0.7,
359360
"text-background-shape": "roundrectangle",
360361
"text-background-padding": "1px",
@@ -364,21 +365,12 @@
364365
"line-color": "#969799",
365366
"width": "1.5",
366367
"label": " ",
367-
368368
"overlay-padding": "2px"
369369
}
370370
},
371-
372-
{
373-
"selector": ".edgeEndpointLabel",
374-
"style": {
375-
"source-label": "data(sourceEndpoint)",
376-
"target-label": "data(targetEndpoint)"
377-
}
378-
},
379371
{"selector": "node.unhighlighted", "style": {"opacity": "0.2"}},
380372
{"selector": "edge.unhighlighted", "style": {"opacity": "0.05"}},
381-
{"selector": ".highlighted", "style": {"z-index": "999999"}},
373+
{"selector": ".highlighted", "style": {"z-index": "3"}},
382374
{
383375
"selector": "node.highlighted",
384376
"style": {
+56
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
.cy-leaflet-toggle {
2+
position: absolute;
3+
display: none;
4+
/* left: 0; */
5+
top: 75px;
6+
left: 0;
7+
bottom: 0;
8+
margin: 10px;
9+
z-index: 999;
10+
width: 30px;
11+
background: #fff;
12+
border-radius: 4px;
13+
border: 2px solid rgba(0, 0, 0, 0.2);
14+
}
15+
16+
.cy-leaflet-toggle-button {
17+
height: 33px;
18+
cursor: pointer;
19+
position: relative;
20+
z-index: 0;
21+
}
22+
23+
.cy-leaflet-toggle-button + .cy-leaflet-toggle-button {
24+
border-top: 1px solid rgba(0, 0, 0, 0.2);
25+
}
26+
27+
.cy-leaflet-toggle-button:hover,
28+
.cy-leaflet-toggle-button:active {
29+
background-color: rgb(242, 242, 242);
30+
}
31+
32+
/* custom icon -- using font awesome, swap out your own icon here
33+
https://fontawesome.com/license/free
34+
*/
35+
.cy-leaflet-toggle-pan {
36+
background-size: 16px 16px;
37+
background-position: 50% 50%;
38+
background-repeat: no-repeat;
39+
background-image: url('data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20448%20512%22%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M372.57%20112.641v-10.825c0-43.612-40.52-76.691-83.039-65.546-25.629-49.5-94.09-47.45-117.982.747C130.269%2026.456%2089.144%2057.945%2089.144%20102v126.13c-19.953-7.427-43.308-5.068-62.083%208.871-29.355%2021.796-35.794%2063.333-14.55%2093.153L132.48%20498.569a32%2032%200%200%200%2026.062%2013.432h222.897c14.904%200%2027.835-10.289%2031.182-24.813l30.184-130.958A203.637%20203.637%200%200%200%20448%20310.564V179c0-40.62-35.523-71.992-75.43-66.359zm27.427%20197.922c0%2011.731-1.334%2023.469-3.965%2034.886L368.707%20464h-201.92L51.591%20302.303c-14.439-20.27%2015.023-42.776%2029.394-22.605l27.128%2038.079c8.995%2012.626%2029.031%206.287%2029.031-9.283V102c0-25.645%2036.571-24.81%2036.571.691V256c0%208.837%207.163%2016%2016%2016h6.856c8.837%200%2016-7.163%2016-16V67c0-25.663%2036.571-24.81%2036.571.691V256c0%208.837%207.163%2016%2016%2016h6.856c8.837%200%2016-7.163%2016-16V101.125c0-25.672%2036.57-24.81%2036.57.691V256c0%208.837%207.163%2016%2016%2016h6.857c8.837%200%2016-7.163%2016-16v-76.309c0-26.242%2036.57-25.64%2036.57-.691v131.563z%22%3E%3C%2Fpath%3E%3C%2Fsvg%3E');
40+
}
41+
42+
/* custom icon -- using font awesome, swap out your own icon here
43+
https://fontawesome.com/license/free
44+
*/
45+
.cy-leaflet-toggle-edit {
46+
background-size: 16px 16px;
47+
background-position: 55% 50%;
48+
background-repeat: no-repeat;
49+
background-image: url('data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20320%20512%22%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M302.189%20329.126H196.105l55.831%20135.993c3.889%209.428-.555%2019.999-9.444%2023.999l-49.165%2021.427c-9.165%204-19.443-.571-23.332-9.714l-53.053-129.136-86.664%2089.138C18.729%20472.71%200%20463.554%200%20447.977V18.299C0%201.899%2019.921-6.096%2030.277%205.443l284.412%20292.542c11.472%2011.179%203.007%2031.141-12.5%2031.141z%22%3E%3C%2Fpath%3E%3C%2Fsvg%3E');
50+
}
51+
52+
.cy-leaflet-toggle-active {
53+
box-shadow: inset 0 0 4px rgba(0, 0, 0, 0.25);
54+
z-index: 1;
55+
background-color: #ddd;
56+
}

0 commit comments

Comments
 (0)