Lines Matching refs:style

144 	this.initialWidth = (container != null) ? container.style.width : null;
181 root.style.padding = this.graphConfig.border + 'px';
183 else if (container.style.padding == '')
185 root.style.padding = '8px';
188 root.style.boxSizing = 'border-box';
189 root.style.overflow = 'visible';
206 this.container.style.backgroundColor =
207 root.style.backgroundColor;
224 container.style.cursor = 'pointer';
433 this.graph.container.style.overflow == 'auto';
712 this.graph.container.style.width = '';
713 this.graph.container.style.height = '';
717 this.graph.container.style.width = this.initialWidth;
746 container.style.overflow = 'hidden';
750 container.style.overflow = 'visible';
765 container.style.overflow = 'auto';
769 container.style.overflow = 'hidden';
774 container.style.overflow = 'visible';
783 var b = (document.body.style.position === 'relative') ?
788 this.toolbar.style.left = r.left + 'px';
792 this.toolbar.style.top = r.bottom - 1 + 'px';
798 this.toolbar.style.width = Math.max(this.minToolbarWidth, container.offsetWidth) + 'px';
799 this.toolbar.style.top = r.top + 1 + 'px';
803 this.toolbar.style.top = r.top + 'px';
809 this.toolbar.style.width = Math.max(this.minToolbarWidth, container.offsetWidth) + 'px';
838 if (container.style.overflow == 'auto')
840 container.style.overflow = 'hidden';
847 if (this.center || !(this.graphConfig.resize != false || container.style.height == ''))
854 if (this.graphConfig.resize != false || container.style.height == '')
898 if (this.widthIsEmpty && !(container.style.height != '' && this.autoFit))
903 if (this.graphConfig.resize != false || container.style.height == '')
946 var prev = container.style.minWidth;
950 container.style.minWidth = '100%';
954 ((container.style.height != '' && this.autoFit) ? container.offsetHeight : undefined);
969 …thIsEmpty && origin == null && !(this.graphConfig.resize != false || container.style.height == ''))
982 container.style.minWidth = prev
1023 container.style.width = width + 'px';
1034 container.style.height = height + 'px';
1126 var initialCursor = this.graph.container.style.cursor;
1130 container.style.marginBottom = this.toolbarHeight + 'px';
1134 container.style.marginTop = this.toolbarHeight + 'px';
1139 toolbar.style.position = 'absolute';
1140 toolbar.style.overflow = 'hidden';
1141 toolbar.style.boxSizing = 'border-box';
1142 toolbar.style.whiteSpace = 'nowrap';
1143 toolbar.style.textAlign = 'left';
1144 toolbar.style.zIndex = this.toolbarZIndex;
1145 toolbar.style.backgroundColor = '#eee';
1146 toolbar.style.height = this.toolbarHeight + 'px';
1151 mxUtils.setPrefixedStyle(toolbar.style, 'transition', 'opacity 100ms ease-in-out');
1179 toolbar.style.display = 'none';
1199 toolbar.style.display = '';
1263 if (parseFloat(toolbar.style.opacity || 0) > 0)
1283 a.style.borderRight = '1px solid #d0d0d0';
1284 a.style.padding = '3px 6px 3px 6px';
1292 a.style.display = 'inline-block';
1296 img.style.width = '18px';
1302 a.style.backgroundColor = '#ddd';
1307 a.style.backgroundColor = '#eee';
1311 a.style.cursor = 'pointer';
1338 pageInfo.style.cssText = 'display:inline-block;position:relative;top:5px;padding:0 4px 0 4px;' +
1347 prevButton.style.borderRightStyle = 'none';
1348 prevButton.style.paddingLeft = '0px';
1349 prevButton.style.paddingRight = '0px';
1357 nextButton.style.paddingLeft = '0px';
1358 nextButton.style.paddingRight = '0px';
1366 pageInfo.style.display = (this.diagrams.length > 1) ? 'inline-block' : 'none';
1367 prevButton.style.display = pageInfo.style.display;
1368 nextButton.style.display = pageInfo.style.display;
1457 layersDialog.style.width = '140px';
1458 layersDialog.style.padding = '2px 0px 2px 0px';
1459 layersDialog.style.border = '1px solid #d0d0d0';
1460 layersDialog.style.backgroundColor = '#eee';
1461 layersDialog.style.fontFamily = Editor.defaultHtmlFont;
1462 layersDialog.style.fontSize = '11px';
1463 layersDialog.style.zIndex = this.toolbarZIndex + 1;
1466 layersDialog.style.left = origin.x + r.left - 1 + 'px';
1467 layersDialog.style.top = origin.y + r.bottom - 2 + 'px';
1475 layersButton.style.display = (model.getChildCount(model.root) > 1) ? 'inline-block' : 'none';
1478 layersButton.style.display = (model.getChildCount(model.root) > 1) ? 'inline-block' : 'none';
1494 tagsComponent.div.getElementsByTagName('div')[0].style.position = '';
1495 tagsComponent.div.style.maxHeight = '160px';
1496 tagsComponent.div.style.maxWidth = '120px';
1497 tagsComponent.div.style.padding = '2px';
1498 tagsComponent.div.style.overflow = 'auto';
1499 tagsComponent.div.style.height = 'auto';
1500 tagsComponent.div.style.position = 'fixed';
1501 tagsComponent.div.style.fontFamily = Editor.defaultHtmlFont;
1502 tagsComponent.div.style.fontSize = '11px';
1503 tagsComponent.div.style.backgroundColor = '#eee';
1504 tagsComponent.div.style.color = '#000';
1505 tagsComponent.div.style.border = '1px solid #d0d0d0';
1506 tagsComponent.div.style.zIndex = this.toolbarZIndex + 1;
1527 tagsDialog.style.left = origin.x + r.left - 1 + 'px';
1528 tagsDialog.style.top = origin.y + r.bottom - 2 + 'px';
1536 tagsButton.style.display = (this.graph.getAllTags().length > 0) ? 'inline-block' : 'none';
1539 tagsButton.style.display = (this.graph.getAllTags().length > 0) ? 'inline-block' : 'none';
1572 filename.style.cssText = 'display:inline-block;position:relative;padding:3px 6px 0 6px;' +
1583 var prevBorder = container.style.border;
1587 toolbar.style.width = (this.graphConfig['toolbar-position'] == 'inline') ? 'auto' :
1589 toolbar.style.border = '1px solid #d0d0d0';
1597 var b = (document.body.style.position === 'relative') ? document.body.getBoundingClientRect() :
1601 toolbar.style.left = r.left + 'px';
1605 toolbar.style.top = r.bottom - 1 + 'px';
1611 toolbar.style.marginTop = -this.toolbarHeight + 'px';
1612 toolbar.style.top = r.top + 1 + 'px';
1616 toolbar.style.top = r.top + 'px';
1622 container.style.border = '1px solid #d0d0d0';
1640 container.style.border = prevBorder;
1667 toolbar.style.top = -this.toolbarHeight + 'px';
1704 def.elem.style.backgroundColor = '#eee';
1868 backdrop.style.cssText = 'position:fixed;top:0;left:0;bottom:0;right:0;';
1869 backdrop.style.zIndex = this.lightboxZIndex;
1870 backdrop.style.backgroundColor = '#000000';
1878 closeImg.style.cssText = 'position:fixed;top:32px;right:32px;';
1879 closeImg.style.cursor = 'pointer';
1941 document.body.style.overflow = 'auto';
1949 lightbox.style.overflow = 'hidden';
1953 lightbox.style.border = '1px solid #c0c0c0';
1954 lightbox.style.margin = '40px';
1961 backdrop.style.display = 'none';
1962 closeImg.style.display = 'none';
1996 mxUtils.setPrefixedStyle(lightbox.style, 'border-radius', '4px');
1997 lightbox.style.position = 'fixed';
2000 document.body.style.overflow = 'hidden';
2005 mxUtils.setPrefixedStyle(lightbox.style, 'transform', 'rotateY(90deg)');
2006 mxUtils.setPrefixedStyle(lightbox.style, 'transition', 'all .25s ease-in-out');
2014 lightbox.style.outline = 'none';
2015 lightbox.style.zIndex = this.lightboxZIndex;
2016 closeImg.style.zIndex = this.lightboxZIndex;
2023 mxUtils.setPrefixedStyle(lightbox.style, 'transform', 'rotateY(0deg)');
2024 ui.chromelessToolbar.style.bottom = 60 + 'px';
2025 ui.chromelessToolbar.style.zIndex = this.lightboxZIndex;
2176 var style = document.createElement('style')
2177 style.type = 'text/css';
2178 style.innerHTML = ['div.mxTooltip {',
2243 document.getElementsByTagName('head')[0].appendChild(style);
2355 return element.style[prop];
2375 …var style = 'position: absolute; left: 0; top: 0; right: 0; bottom: 0; overflow: hidden; z-index: …
2378 element.resizeSensor.style.cssText = style;
2380 '<div class="resize-sensor-expand" style="' + style + '">' +
2383 '<div class="resize-sensor-shrink" style="' + style + '">' +
2390 element.style.position = 'relative';
2398 expandChild.style.width = 100000 + 'px';
2399 expandChild.style.height = 100000 + 'px';