Lines Matching refs:bg
4922 var bg = document.createElement('div');
4923 bg.style.position = 'absolute';
4924 bg.style.width = '420px';
4925 bg.style.top = '58%';
4926 bg.style.textAlign = 'center';
4927 bg.style.fontSize = '18px';
4928 bg.style.color = '#a0c3ff';
4929 mxUtils.write(bg, mxResources.get('dragImagesHere'));
4930 div.appendChild(bg);
6093 var bg = dataNode.getAttribute('background');
6095 if (bg == null || bg == '' || bg == mxConstants.NONE)
6097 bg = graph.defaultPageBackgroundColor;
6100 container.style.backgroundColor = bg;
6615 var bg = dataNode.getAttribute('background');
6617 if (bg == null || bg == '' || bg == mxConstants.NONE)
6619 bg = Editor.isDarkMode() ? 'transparent' : '#ffffff';
6622 container.style.backgroundColor = bg;
8902 var bg = document.createElement('div');
8903 bg.style.position = 'absolute';
8904 bg.style.width = '640px';
8905 bg.style.top = '260px';
8906 bg.style.textAlign = 'center';
8907 bg.style.fontSize = '22px';
8908 bg.style.color = '#a0c3ff';
8909 mxUtils.write(bg, mxResources.get('dragImagesHere'));
8910 outer.appendChild(bg);
8979 bg.style.display = 'none';
9077 bg.style.display = '';
9352 bg.style.cursor = '';
9357 if (source == div || source == bg)
9460 mxEvent.addListener(bg, 'dragover', dragOver);
9461 mxEvent.addListener(bg, 'drop', dropHandler);
11964 var bg = node.getAttribute('background');
11966 if (bg == null || bg == '' || bg == mxConstants.NONE)
11968 bg = (defaultBackground != null) ? defaultBackground : '#ffffff';
11971 container.style.backgroundColor = bg;