Lines Matching refs:elt

153 					var elt = menuObj.addMenu(label, mxUtils.bind(this, function()
159 elt.style.cssText = 'position:absolute;border-top:1px solid lightgray;width:50%;' +
161 elt.className = 'geTitle';
162 container.appendChild(elt);
164 return elt;
198 var elt = addMenu('newLibrary', mxResources.get('newLibrary'));
199 elt.style.boxSizing = 'border-box';
200 elt.style.paddingRight = '6px';
201 elt.style.paddingLeft = '6px';
202 elt.style.height = '32px';
203 elt.style.left = '0';
205 var elt = addMenu('openLibraryFrom', mxResources.get('openLibraryFrom'));
206 elt.style.borderLeft = '1px solid lightgray';
207 elt.style.boxSizing = 'border-box';
208 elt.style.paddingRight = '6px';
209 elt.style.paddingLeft = '6px';
210 elt.style.height = '32px';
211 elt.style.left = '50%';
576 var elt = this.userElement;
577elt.style.cssText = 'position:relative;margin-right:4px;cursor:pointer;display:' + elt.style.displ…
578 elt.className = 'geToolbarButton';
579 elt.innerHTML = '';
580 elt.style.backgroundImage = 'url(' + Editor.userImage + ')';
581 elt.style.backgroundPosition = 'center center';
582 elt.style.backgroundRepeat = 'no-repeat';
583 elt.style.backgroundSize = '24px 24px';
584 elt.style.height = '24px';
585 elt.style.width = '24px';
586 elt.style.cssFloat = 'right';
587 elt.setAttribute('title', mxResources.get('changeUser'));
589 if (elt.style.display != 'none')
591 elt.style.display = 'inline-block';
604 var elt = this.shareButton;
605elt.style.cssText = 'display:inline-block;position:relative;box-sizing:border-box;margin-right:4px…
606 elt.className = 'geToolbarButton';
607 elt.innerHTML = '';
608 elt.style.backgroundImage = 'url(' + Editor.shareImage + ')';
609 elt.style.backgroundPosition = 'center center';
610 elt.style.backgroundRepeat = 'no-repeat';
611 elt.style.backgroundSize = '24px 24px';
612 elt.style.height = '24px';
613 elt.style.width = '24px';
718 Sidebar.prototype.getTooltipOffset = function(elt, bounds) argument
721 mxUtils.isAncestorNode(this.editorUi.picker, elt))
726 off.y += elt.offsetTop - bounds.height / 2 + 16;
1535 var elt = menuObj.addMenu(mxResources.get(id), mxUtils.bind(this, function()
1541 elt.className = (urlParams['sketch'] == '1') ? 'geToolbarButton' : 'geMenuItem';
1542 elt.style.display = 'inline-block';
1543 elt.style.boxSizing = 'border-box';
1544 elt.style.top = '6px';
1545 elt.style.marginRight = '6px';
1546 elt.style.height = '30px';
1547 elt.style.paddingTop = '6px';
1548 elt.style.paddingBottom = '6px';
1549 elt.style.cursor = 'pointer';
1550 elt.setAttribute('title', mxResources.get(id));
1551 ui.menus.menuCreated(menu, elt, 'geMenuItem');
1555 elt.style.backgroundImage = 'url(' + img + ')';
1556 elt.style.backgroundPosition = 'center center';
1557 elt.style.backgroundRepeat = 'no-repeat';
1558 elt.style.backgroundSize = '24px 24px';
1559 elt.style.width = '34px';
1560 elt.innerHTML = '';
1564 elt.style.backgroundImage = 'url(' + mxWindow.prototype.normalizeImage + ')';
1565 elt.style.backgroundPosition = 'right 6px center';
1566 elt.style.backgroundRepeat = 'no-repeat';
1567 elt.style.paddingRight = '22px';
1570 return elt;
2086 elt = addMenu('diagram', null, Editor.menuImage);
2087 elt.style.boxShadow = 'none';
2088 elt.style.padding = '6px';
2089 elt.style.margin = '0px';
2090 toolbar.appendChild(elt);
2092 mxEvent.disableContextMenu(elt);
2094 mxEvent.addGestureListeners(elt, mxUtils.bind(this, function(evt)
2137 function addElt(elt, title, cursor) argument
2141 elt.setAttribute('title', title);
2144 elt.style.cursor = (cursor != null) ? cursor : 'default';
2145 elt.style.margin = '2px 0px';
2146 picker.appendChild(elt);
2149 return elt;
2187 var elt = addElt(ui.sidebar.createEdgeTemplateFromCells([cell],
2190 elt.style.borderBottom = '1px solid ' + (Editor.isDarkMode() ? '#505050' : 'lightgray');
2191 elt.style.paddingBottom = '14px';
2192 elt.style.marginBottom = '14px';
2197 var elt = addMenuItem('', action.funct, null, label, action, image);
2198 elt.style.width = '40px';
2199 elt.style.opacity = '0.7';
2201 return addElt(elt, null, 'pointer');
2208 elt = addMenu('table', null, Editor.tableImage);
2209 elt.style.boxShadow = 'none';
2210 elt.style.opacity = '0.7';
2211 elt.style.padding = '6px';
2212 elt.style.margin = '0px';
2213 elt.style.width = '37px';
2214 addElt(elt, null, 'pointer');
2353 var elt = document.createElement('div');
2354 elt.innerHTML = '100%';
2355elt.setAttribute('title', mxResources.get('fitWindow') + '/' + mxResources.get('resetView') + ' (E…
2356 elt.style.display = 'inline-block';
2357 elt.style.cursor = 'pointer';
2358 elt.style.textAlign = 'center';
2359 elt.style.whiteSpace = 'nowrap';
2360 elt.style.paddingRight = '10px';
2361 elt.style.textDecoration = 'none';
2362 elt.style.verticalAlign = 'top';
2363 elt.style.padding = '6px 0';
2364 elt.style.fontSize = '14px';
2365 elt.style.width = '40px';
2366 elt.style.opacity = '0.4';
2367 footer.appendChild(elt);
2369 mxEvent.addListener(elt, 'click', fitFunction);
2448 var elt = menuObj.addMenu('100%', viewZoomMenu.funct);
2449 elt.setAttribute('title', mxResources.get('zoom') + ' (Alt+Mousewheel)');
2450 elt.style.whiteSpace = 'nowrap';
2451 elt.style.paddingRight = '10px';
2452 elt.style.textDecoration = 'none';
2453 elt.style.textDecoration = 'none';
2454 elt.style.overflow = 'hidden';
2455 elt.style.visibility = 'hidden';
2456 elt.style.textAlign = 'center';
2457 elt.style.cursor = 'pointer';
2458 elt.style.height = (parseInt(ui.tabContainerHeight) - 1) + 'px';
2459 elt.style.lineHeight = (parseInt(ui.tabContainerHeight) + 1) + 'px';
2460 elt.style.position = 'absolute';
2461 elt.style.display = 'block';
2462 elt.style.fontSize = '12px';
2463 elt.style.width = '59px';
2464 elt.style.right = '0px';
2465 elt.style.bottom = '0px';
2466 elt.style.backgroundImage = 'url(' + mxWindow.prototype.minimizeImage + ')';
2467 elt.style.backgroundPosition = 'right 6px center';
2468 elt.style.backgroundRepeat = 'no-repeat';
2469 wrapper.appendChild(elt);
2473 (function(elt)
2477 elt.innerHTML = Math.round(ui.editor.graph.view.scale * 100) + '%';
2483 })(elt);
2494 elt.style.visibility = this.tabContainer.style.visibility;
2563 var elt = addMenu('insert', true, (small) ? insertImage : null);
2564 createGroup([elt, addMenuItem(mxResources.get('delete'), ui.actions.get('delete').funct,
2606 var elt = menuObj.addMenu('', langMenu.funct);
2607 elt.setAttribute('title', mxResources.get('language'));
2608 elt.className = 'geToolbarButton';
2609 elt.style.backgroundImage = 'url(' + Editor.globeImage + ')';
2610 elt.style.backgroundPosition = 'center center';
2611 elt.style.backgroundRepeat = 'no-repeat';
2612 elt.style.backgroundSize = '24px 24px';
2613 elt.style.position = 'absolute';
2614 elt.style.height = '24px';
2615 elt.style.width = '24px';
2616 elt.style.zIndex = '1';
2617 elt.style.right = '8px';
2618 elt.style.cursor = 'pointer';
2619 elt.style.top = (urlParams['embed'] == '1') ? '12px' : '11px';
2620 menubar.appendChild(elt);
2621 langMenuElt = elt;