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