Lines Matching refs:style

298         	return mxUtils.getValue(state.style, 'sketch', '0') != '1';
302 return mxUtils.getValue(state.style, 'comic', '0') == '1' ||
303 mxUtils.getValue(state.style, 'sketch', (urlParams['rough'] == '1') ? '1' : '0') == '1';
307 … return mxUtils.getValue(state.style, 'sketch', (urlParams['rough'] == '1') ? '1' : '0') == '1';
311 … return mxUtils.getValue(state.style, 'sketch', (urlParams['rough'] == '1') ? '1' : '0') == '1';
315 … return mxUtils.getValue(state.style, 'sketch', (urlParams['rough'] == '1') ? '1' : '0') == '1';
319 … return mxUtils.getValue(state.style, 'sketch', (urlParams['rough'] == '1') ? '1' : '0') == '1';
323 … return mxUtils.getValue(state.style, 'sketch', (urlParams['rough'] == '1') ? '1' : '0') == '1';
327 … return mxUtils.getValue(state.style, 'sketch', (urlParams['rough'] == '1') ? '1' : '0') == '1';
331 … return mxUtils.getValue(state.style, 'sketch', (urlParams['rough'] == '1') ? '1' : '0') == '1';
335 … return mxUtils.getValue(state.style, 'sketch', (urlParams['rough'] == '1') ? '1' : '0') == '1';
339 … return mxUtils.getValue(state.style, 'sketch', (urlParams['rough'] == '1') ? '1' : '0') == '1';
343 … return mxUtils.getValue(state.style, 'sketch', (urlParams['rough'] == '1') ? '1' : '0') == '1';
347 return mxUtils.getValue(state.style, 'comic', '0') == '1' ||
348 mxUtils.getValue(state.style, 'sketch', (urlParams['rough'] == '1') ? '1' : '0') == '1';
354 … return mxUtils.getValue(state.style, 'sketch', (urlParams['rough'] == '1') ? '1' : '0') == '1';
372 return mxUtils.getValue(state.style, mxConstants.STYLE_EDGE, null) == 'orthogonalEdgeStyle';
419 var style = graph.getCellStyle(cell);
421 return mxUtils.getValue(style, 'resizeLastRow', '0') == '1';
433 var style = graph.getCellStyle(cell);
435 return mxUtils.getValue(style, 'resizeLast', '0') == '1';
501 return cell != null && ((graph.isContainer(cell) && state.style['collapsible'] != '0') ||
502 (!graph.isContainer(cell) && state.style['collapsible'] == '1'));
511 mxUtils.getValue(state.style, 'childLayout', null) == null;
540 var fillColor = mxUtils.getValue(state.style, mxConstants.STYLE_FILLCOLOR, null);
544 state.style['pointerEvents'] != null;
888 var style = {strokeWidth: this.canvas.state.strokeWidth, seed: seed, preserveVertices: true}; class in RoughCanvas.getStyle
893style.stroke = this.canvas.state.strokeColor === 'none' ? 'transparent' : this.canvas.state.stroke…
897 delete style.stroke;
901 style.filled = fill;
905 style.fill = this.canvas.state.fillColor === 'none' ? '' : this.canvas.state.fillColor;
910 style.fill = '';
914 style['bowing'] = mxUtils.getValue(this.shape.style, 'bowing', defs['bowing']);
915 style['hachureAngle'] = mxUtils.getValue(this.shape.style, 'hachureAngle', defs['hachureAngle']);
916 style['curveFitting'] = mxUtils.getValue(this.shape.style, 'curveFitting', defs['curveFitting']);
917 style['roughness'] = mxUtils.getValue(this.shape.style, 'jiggle', defs['roughness']);
918style['simplification'] = mxUtils.getValue(this.shape.style, 'simplification', defs['simplificatio…
919style['disableMultiStroke'] = mxUtils.getValue(this.shape.style, 'disableMultiStroke', defs['disab…
920style['disableMultiStrokeFill'] = mxUtils.getValue(this.shape.style, 'disableMultiStrokeFill', def…
922 var hachureGap = mxUtils.getValue(this.shape.style, 'hachureGap', -1);
923 style['hachureGap'] = (hachureGap == 'auto') ? -1 : hachureGap;
924 style['dashGap'] = mxUtils.getValue(this.shape.style, 'dashGap', hachureGap);
925 style['dashOffset'] = mxUtils.getValue(this.shape.style, 'dashOffset', hachureGap);
926 style['zigzagOffset'] = mxUtils.getValue(this.shape.style, 'zigzagOffset', hachureGap);
928 var fillWeight = mxUtils.getValue(this.shape.style, 'fillWeight', -1);
929 style['fillWeight'] = (fillWeight == 'auto') ? -1 : fillWeight;
931 var fillStyle = mxUtils.getValue(this.shape.style, 'fillStyle', 'auto');
938 fillStyle = (style.fill != null && (gradient != null || (bg != null &&
939 style.fill == bg))) ? 'solid' : defs['fillStyle'];
942 style['fillStyle'] = fillStyle;
944 return style;
1134 RoughCanvas.prototype.drawPath = function(style) argument
1141 this.rc.path(this.path.join(' '), style);
1151 for (var key in style)
1153 this.nextShape.options[key] = style[key];
1156 if (style['stroke'] == null)
1161 if (!style.filled)
1237 if (!this.outline && this.style != null && mxUtils.getValue(this.style,
1241 if (mxUtils.getValue(this.style, 'sketchStyle', 'rough') == 'comic')
1263 if (this.style != null)
1265 events = mxUtils.getValue(this.style, mxConstants.STYLE_POINTER_EVENTS, '1') == '1';
2232 var style = node.getAttribute('style') || 'default-style2';
2235 if (urlParams['embed'] != '1' && (style == null || style == ''))
2247 else if (style != this.graph.currentStyle)
2250 this.graph.themes[style] :
2251 mxUtils.load(STYLE_PATH + '/' + style + '.xml').getDocumentElement()
2260 this.graph.currentStyle = style;
2469 if (container.style.visibility != 'hidden')
2571 var style = document.createElement('style')
2572 style.type = 'text/css';
2573 style.innerHTML = Editor.mathJaxWebkitCss;
2574 document.getElementsByTagName('head')[0].appendChild(style);
3330 var style = (svgDoc.createElementNS != null) ?
3333 style.setAttribute('type', 'text/css');
3334 mxUtils.setTextContent(style, fontCss);
3335 defsElt.appendChild(style);
3805 td.style.fontSize = '10pt';
3806 td.style.width = '100px';
3812 nameInput.style.width = '180px';
3823 td.style.fontSize = '10pt';
3829 typeSelect.style.width = '180px';
3870 td.style.fontSize = '10pt';
3876 dispNameInput.style.width = '180px';
3887 td.style.fontSize = '10pt';
3893 enumListInput.style.width = '180px';
3899 listRow.style.display = 'none';
3908 listRow.style.display = '';
3909 this.container.parentNode.style.height = "150px";
3914 listRow.style.display = 'none';
3915 this.container.parentNode.style.height = "130px";
3924 td.style.paddingTop = '22px';
3933 nameInput.style.border = "1px solid red";
3942 dispNameInput.style.border = "1px solid red";
3950 enumListInput.style.border = "1px solid red";
4172 option.style.paddingTop = '5px';
4176 help.style.position = 'relative';
4177 help.style.marginLeft = '6px';
4178 help.style.top = '2px';
4523 if (sstate.style.shape != 'image' && !sstate.containsLabel && sstate.cells.length > 0)
4569 btn.style.marginBottom = '2px';
4570 btn.style.width = '104px';
4571 btn.style.marginRight = '2px';
4583 btn.style.marginBottom = '2px';
4584 btn.style.width = '104px';
4590 btn.style.width = '210px';
4716 elem.style.position = 'absolute';
4717 elem.style.left = (pos.x - divPos.x) + 'px';
4718 elem.style.top = (pos.y - divPos.y) + 'px';
4719 elem.style.width = td.offsetWidth + 'px';
4720 elem.style.height = (td.offsetHeight - (adjustHeight? 4 : 0)) + 'px';
4721 elem.style.zIndex = 5;
4727 clrDiv.style.width = '32px';
4728 clrDiv.style.height = '4px';
4729 clrDiv.style.margin = '2px';
4730 clrDiv.style.border = '1px solid black';
4731 …clrDiv.style.background = !pValue || pValue == 'none'? 'url(\'' + Dialog.prototype.noColorImage + …
4737 …clrDiv.style.background = color == 'none'? 'url(\'' + Dialog.prototype.noColorImage + '\')' : colo…
4743 btn.style.height = '12px';
4744 btn.style.width = '40px';
4788 btn.style.height = '16px';
4789 btn.style.width = '25px';
4852 td.style.textAlign = 'right';
4929 inp.style.width = '96px';
4930 inp.style.borderWidth = '0px';
5024 delBtn.style.height = '16px';
5025 delBtn.style.width = '25px';
5026 delBtn.style.float = 'right';
5035 div.style.position = 'relative';
5036 div.style.padding = '0';
5039 grid.style.whiteSpace = 'nowrap';
5040 grid.style.width = '100%';
5048 collapseImg.style.verticalAlign = 'middle';
5051 hrow.style.cursor = 'pointer';
5087 rows[r].style.display = display;
5132 var pValue = state.style[key] != null? mxUtils.htmlEntities(state.style[key] + '') :
5142 … prop.size = parseInt(state.style[prop.sizeProperty] || properties[prop.sizeProperty].defVal) || 0;
5152 var propVal = state.style[dependentProps[i]];
5195 picker.style.whiteSpace = 'nowrap';
5196 picker.style.paddingLeft = '24px';
5197 picker.style.paddingRight = '20px';
5198 div.style.paddingLeft = '16px';
5199 div.style.paddingBottom = '6px';
5200 div.style.position = 'relative';
5212 switcher.style.whiteSpace = 'nowrap';
5213 switcher.style.position = 'relative';
5214 switcher.style.textAlign = 'center';
5215 switcher.style.width = '210px';
5222 dot.style.display = 'inline-block';
5223 dot.style.width = '6px';
5224 dot.style.height = '6px';
5225 dot.style.marginLeft = '4px';
5226 dot.style.marginRight = '3px';
5227 dot.style.borderRadius = '3px';
5228 dot.style.cursor = 'pointer';
5229 dot.style.background = 'transparent';
5230 dot.style.border = '1px solid #b5b6b7';
5250 dots[this.format.currentScheme].style.background = 'transparent';
5255 dots[this.format.currentScheme].style.background = '#84d7ff';
5272 var style = graph.getModel().getStyle(cells[i]);
5276 style = mxUtils.removeStylename(style, stylenames[j]);
5287 style = mxUtils.setStyle(style, mxConstants.STYLE_FILLCOLOR, null);
5291 style = mxUtils.setStyle(style, mxConstants.STYLE_FILLCOLOR, colorset['fill'] ||
5295 style = mxUtils.setStyle(style, mxConstants.STYLE_GRADIENTCOLOR, colorset['gradient'] ||
5301 style = mxUtils.setStyle(style, mxConstants.STYLE_FONTCOLOR, colorset['font'] ||
5310 style = mxUtils.setStyle(style, mxConstants.STYLE_STROKECOLOR, null);
5314 style = mxUtils.setStyle(style, mxConstants.STYLE_STROKECOLOR, colorset['stroke'] ||
5321 style = mxUtils.setStyle(style, mxConstants.STYLE_FILLCOLOR,
5323 style = mxUtils.setStyle(style, mxConstants.STYLE_STROKECOLOR,
5325 style = mxUtils.setStyle(style, mxConstants.STYLE_GRADIENTCOLOR,
5330 style = mxUtils.setStyle(style, mxConstants.STYLE_FONTCOLOR,
5335 graph.getModel().setStyle(cells[i], style);
5345 btn.style.width = '36px';
5346 btn.style.height = (this.defaultColorSchemes.length <= maxEntries) ? '24px' : '30px';
5347 btn.style.margin = '0px 6px 6px 0px';
5357 btn.style.filter = 'progid:DXImageTransform.Microsoft.Gradient('+
5363 btn.style.backgroundImage = 'linear-gradient(' + colorset['fill'] + ' 0px,' +
5369 btn.style.background = 'url(\'' + Dialog.prototype.noColorImage + '\')';
5373 btn.style.backgroundColor = mxUtils.getValue(graph.defaultVertexStyle,
5378 btn.style.backgroundColor = colorset['fill'] || mxUtils.getValue(graph.defaultVertexStyle,
5384 btn.style.border = b + ' transparent';
5388 btn.style.border = b + ' ' + mxUtils.getValue(graph.defaultVertexStyle,
5393 … btn.style.border = b + ' ' + (colorset['stroke'] || mxUtils.getValue(graph.defaultVertexStyle,
5407 btn.style.backgroundColor = bg;
5408 btn.style.border = '1px solid ' + bd;
5411 btn.style.borderRadius = '0';
5441 …left.style.cssText = 'position:absolute;left:10px;top:8px;bottom:' + bottom + 'px;width:20px;margi…
5450 …right.style.cssText = 'position:absolute;left:202px;top:8px;bottom:' + bottom + 'px;width:20px;mar…
5469 elt.style.opacity = '1';
5473 elt.style.opacity = '0.5';
5503 btn.style.width = '210px';
5504 btn.style.marginBottom = '2px';
5520 btn2.style.marginBottom = '2px';
5524 btn2.style.width = '210px';
5528 btn.style.width = '104px';
5529 btn2.style.width = '104px';
5530 btn2.style.marginLeft = '2px';
5543 btn2.style.marginBottom = '2px';
5547 btn2.style.width = '210px';
5551 btn.style.width = '104px';
5552 btn2.style.width = '104px';
5553 btn2.style.marginLeft = '2px';
5718 elts[i].style.fontFamily;
5731 Graph.processFontStyle = function(style) argument
5733 if (style != null)
5735 var url = mxUtils.getValue(style, 'fontSource', null);
5739 var name = mxUtils.getValue(style, mxConstants.STYLE_FONTFAMILY, null);
5748 return style;
5873 var style = this.graph.getCellStyle(cell);
5876 if (style != null)
5878 if (style['childLayout'] == 'rack')
5883 if (style['rackUnitSize'] != null)
5885 rackLayout.gridSize = parseFloat(style['rackUnitSize']);
5892 rackLayout.marginLeft = style['marginLeft'] || 0;
5893 rackLayout.marginRight = style['marginRight'] || 0;
5894 rackLayout.marginTop = style['marginTop'] || 0;
5895 rackLayout.marginBottom = style['marginBottom'] || 0;
5896 rackLayout.allowGaps = style['allowGaps'] || 0;
5897 rackLayout.horizontal = mxUtils.getValue(style, 'horizontalRack', '0') == '1';
5915 Graph.prototype.postProcessCellStyle = function(style) argument
5917 this.replaceDefaultColors(style);
5925 Graph.prototype.replaceDefaultColors = function(style) argument
5927 if (style != null)
5932 this.replaceDefaultColor(style, mxConstants.STYLE_FONTCOLOR, fg);
5933 this.replaceDefaultColor(style, mxConstants.STYLE_FILLCOLOR, bg);
5934 this.replaceDefaultColor(style, mxConstants.STYLE_STROKECOLOR, fg);
5935 this.replaceDefaultColor(style, mxConstants.STYLE_IMAGE_BORDER, fg);
5936 this.replaceDefaultColor(style, mxConstants.STYLE_IMAGE_BACKGROUND, bg);
5937 this.replaceDefaultColor(style, mxConstants.STYLE_LABEL_BORDERCOLOR, fg);
5938 this.replaceDefaultColor(style, mxConstants.STYLE_SWIMLANE_FILLCOLOR, bg);
5939 this.replaceDefaultColor(style, mxConstants.STYLE_LABEL_BACKGROUNDCOLOR, bg);
5946 Graph.prototype.replaceDefaultColor = function(style, key, value) argument
5948 if (style != null && style[key] == 'default' && value != null)
5950 style[key] = value;
5985 div.style.userSelect = 'none';
5986 div.style.overflow = 'hidden';
5987 div.style.padding = '10px';
5988 div.style.height = '100%';
5991 tagCloud.style.boxSizing = 'border-box';
5992 tagCloud.style.borderRadius = '4px';
5993 tagCloud.style.userSelect = 'none';
5994 tagCloud.style.overflow = 'auto';
5995 tagCloud.style.position = 'absolute';
5996 tagCloud.style.left = '10px';
5997 tagCloud.style.right = '10px';
5998 tagCloud.style.top = '10px';
5999 tagCloud.style.border = (graph.isEnabled()) ? '1px solid #808080' : 'none';
6000 tagCloud.style.bottom = (graph.isEnabled()) ? '48px' : '10px';
6050 resetBtn.style.margin = '0 4px 0 0';
6066 addBtn.style.margin = '0';
6081 table.style.boxSizing = 'border-box';
6082 table.style.tableLayout = 'fixed';
6083 table.style.width = '100%';
6121 td.style.align = 'center';
6122 td.style.width = '16px';
6128 img.style.verticalAlign = 'middle';
6129 img.style.cursor = 'pointer';
6130 img.style.width = '16px';
6134 img.style.filter = 'invert(100%)';
6168 td.style.overflow = 'hidden';
6169 td.style.whiteSpace = 'nowrap';
6170 td.style.textOverflow = 'ellipsis';
6171 td.style.verticalAlign = 'middle';
6172 td.style.cursor = 'pointer';
6177 a.style.textOverflow = 'ellipsis';
6178 a.style.position = 'relative';
6209 td.style.verticalAlign = 'middle';
6210 td.style.textAlign = 'center';
6211 td.style.width = '18px';
6215 td.style.align = 'center';
6216 td.style.width = '16px';
6222 img.style.verticalAlign = 'middle';
6223 img.style.cursor = 'pointer';
6224 img.style.width = '16px';
6228 img.style.filter = 'invert(100%)';
6254 cb2.style.margin = '0px';
6259 cb2.style.background = 'transparent';
6327 footer.style.boxSizing = 'border-box';
6328 footer.style.whiteSpace = 'nowrap';
6329 footer.style.position = 'absolute';
6330 footer.style.overflow = 'hidden';
6331 footer.style.bottom = '0px';
6332 footer.style.height = '42px';
6333 footer.style.right = '10px';
6334 footer.style.left = '10px';
6533 var style = (svgDoc.createElementNS != null) ?
6535 …svgDoc.setAttributeNS != null? style.setAttributeNS('type', 'text/css') : style.setAttribute('type…
6556 style.appendChild(svgDoc.createTextNode(prefix + postfix));
6557 result.getElementsByTagName('defs')[0].appendChild(style);
6649 this.webKitForceRepaintNode.style.cssText = 'position:absolute;';
6875 if (action.style != null && action.style.key != null)
6878 this.setCellStyles(action.style.key, action.style.value,
6879 this.getCellsForAction(action.style, true));
7511 var sw = Math.max(5, mxUtils.getValue(state.style, mxConstants.STYLE_STROKEWIDTH, 1) + 4);
7526 mxUtils.setPrefixedStyle(hl.shape.node.style, 'transition', 'all 1200ms ease-in-out');
7527 hl.shape.node.style.opacity = 0;
7817 title.style.width = '100%';
7818 title.style.textAlign = 'center';
7819 title.style.marginTop = '0px';
7828 …pagesSection.style.cssText = 'border-bottom:1px solid lightGray;padding-bottom:12px;margin-bottom:…
7831 allPagesRadio.style.cssText = 'margin-right:8px;margin-bottom:8px;';
7855 pagesFromInput.style.cssText = 'margin:0 8px 0 8px;'
7859 pagesFromInput.style.width = '50px';
7922 adjustSection.style.marginBottom = '10px';
7925 adjustRadio.style.marginRight = '8px';
7937 zoomInput.style.cssText = 'margin:0 8px 0 8px;';
7939 zoomInput.style.width = '50px';
7957 …spanFitRadio.style.cssText = 'display:inline-block;height:100%;vertical-align:top;padding-top:2px;…
7962 table.style.display = 'inline-block';
7976 td1.style.textAlign = 'right';
7977 td4.style.textAlign = 'right';
7982 sheetsAcrossInput.style.cssText = 'margin:0 8px 0 8px;';
7986 sheetsAcrossInput.style.width = '40px';
8031 span.style.fontWeight = 'bold';
8032 span.style.marginBottom = '12px';
8037 span.style.marginBottom = '12px';
8048 pageScaleInput.style.cssText = 'margin:0 8px 0 8px;';
8050 pageScaleInput.style.width = '60px';
8057 buttons.style.cssText = 'text-align:right;margin:48px 0 0 0;';