ich geh schlafen
This commit is contained in:
@@ -58,7 +58,7 @@ document.addEventListener('DOMContentLoaded', function() {
|
|||||||
'background-color': 'data(color)',
|
'background-color': 'data(color)',
|
||||||
'label': 'data(label)',
|
'label': 'data(label)',
|
||||||
'color': '#fff',
|
'color': '#fff',
|
||||||
'text-background-color': '#222a',
|
'text-background-color': '#222222',
|
||||||
'text-background-opacity': 0.7,
|
'text-background-opacity': 0.7,
|
||||||
'text-background-padding': '4px',
|
'text-background-padding': '4px',
|
||||||
'text-valign': 'center',
|
'text-valign': 'center',
|
||||||
@@ -72,6 +72,12 @@ document.addEventListener('DOMContentLoaded', function() {
|
|||||||
'z-index': 10
|
'z-index': 10
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
selector: 'node[!color]',
|
||||||
|
style: {
|
||||||
|
'background-color': '#60a5fa'
|
||||||
|
}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
selector: 'node:selected',
|
selector: 'node:selected',
|
||||||
style: {
|
style: {
|
||||||
@@ -90,7 +96,7 @@ document.addEventListener('DOMContentLoaded', function() {
|
|||||||
'label': 'data(label)',
|
'label': 'data(label)',
|
||||||
'font-size': 12,
|
'font-size': 12,
|
||||||
'color': '#fff',
|
'color': '#fff',
|
||||||
'text-background-color': '#222a',
|
'text-background-color': '#222222',
|
||||||
'text-background-opacity': 0.7,
|
'text-background-opacity': 0.7,
|
||||||
'text-background-padding': '2px',
|
'text-background-padding': '2px',
|
||||||
'opacity': 0.8,
|
'opacity': 0.8,
|
||||||
@@ -343,7 +349,7 @@ function updateMindmap() {
|
|||||||
'label': 'data(label)',
|
'label': 'data(label)',
|
||||||
'font-size': 12,
|
'font-size': 12,
|
||||||
'color': '#fff',
|
'color': '#fff',
|
||||||
'text-background-color': '#222a',
|
'text-background-color': '#222222',
|
||||||
'text-background-opacity': 0.7,
|
'text-background-opacity': 0.7,
|
||||||
'text-background-padding': '2px'
|
'text-background-padding': '2px'
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user