Home
last modified time | relevance | path

Searched refs:colour (Results 1 – 25 of 48) sorted by last modified time

12

/plugin/mermaid/
H A Dmermaid.min.js1330 `,c2t=function(i,a){return LY(i,a)},itn=function(i,a){const g=i.append("circle").attr("cx",a.cx).attr("cy",a.cy).attr("class","face").attr("r",15).attr("stroke-width",2).attr("overflow","visible"),w=i.append("g");w.append("circle").attr("cx",a.cx-15/3).attr("cy",a.cy-15/3).attr("r",1.5).attr("stroke-width",2).attr("fill","#666").attr("stroke","#666"),w.append("circle").attr("cx",a.cx+15/3).attr("cy",a.cy-15/3).attr("r",1.5).attr("stroke-width",2).attr("fill","#666").attr("stroke","#666");function v(S){const _=YL().startAngle(Math.PI/2).endAngle(3*(Math.PI/2)).innerRadius(7.5).outerRadius(6.8181818181818175);S.append("path").attr("class","mouth").attr("d",_).attr("transform","translate("+a.cx+","+(a.cy+2)+")")}function b(S){const _=YL().startAngle(3*Math.PI/2).endAngle(5*(Math.PI/2)).innerRadius(7.5).outerRadius(6.8181818181818175);S.append("path").attr("class","mouth").attr("d",_).attr("transform","translate("+a.cx+","+(a.cy+7)+")")}function E(S){S.append("line").attr("class","mouth").attr("stroke",2).attr("x1",a.cx-5).attr("y1",a.cy+7).attr("x2",a.cx+5).attr("y2",a.cy+7).attr("class","mouth").attr("stroke-width","1px").attr("stroke","#666")}return a.score>3?v(w):a.score<3?b(w):E(w),g},mHt=function(i,a){const f=i.append("circle");return f.attr("cx",a.cx),f.attr("cy",a.cy),f.attr("class","actor-"+a.pos),f.attr("fill",a.fill),f.attr("stroke",a.stroke),f.attr("r",a.r),f.class!==void 0&&f.attr("class",f.class),a.title!==void 0&&f.append("title").text(a.title),f},vHt=function(i,a){return URe(i,a)},stn=function(i,a){function f(w,v,b,E,S){return w+","+v+" "+(w+b)+","+v+" "+(w+b)+","+(v+E-S)+" "+(w+b-S*1.2)+","+(v+E)+" "+w+","+(v+E)}const g=i.append("polygon");g.attr("points",f(a.x,a.y,50,20,7)),g.attr("class","labelBox"),a.y=a.y+a.labelMargin,a.x=a.x+.5*a.labelMargin,vHt(i,a)},atn=function(i,a,f){const g=i.append("g"),w=_9();w.x=a.x,w.y=a.y,w.fill=a.fill,w.width=f.width*a.taskCount+f.diagramMarginX*(a.taskCount-1),w.height=f.height,w.class="journey-section section-type-"+a.num,w.rx=3,w.ry=3,c2t(g,w),xHt(f)(a.text,g,w.x,w.y,w.width,w.height,{class:"journey-section section-type-"+a.num},f,a.colour)};let yHt=-1;const otn=function(i,a,f){const g=a.x+f.width/2,w=i.append("g");yHt++;const v=300+5*30;w.append("line").attr("id","task"+yHt).attr("x1",g).attr("y1",a.y).attr("x2",g).attr("y2",v).attr("class","task-line").attr("stroke-width","1px").attr("stroke-dasharray","4 2").attr("stroke","#666"),itn(w,{cx:g,cy:300+(5-a.score)*30,score:a.score});const b=_9();b.x=a.x,b.y=a.y,b.fill=a.fill,b.width=f.width,b.height=f.height,b.class="task task-type-"+a.num,b.rx=3,b.ry=3,c2t(w,b);let E=a.x+14;a.people.forEach(S=>{const _=a.actors[S].color,M={cx:E,cy:a.y,r:7,fill:_,stroke:"#000",title:S,pos:a.actors[S].position};mHt(w,M),E+=10}),xHt(f)(a.task,w,b.x,b.y,b.width,b.height,{class:"task"},f,a.colour)},ctn=function(i,a){sRt(i,a)},xHt=function(){function i(w,v,b,E,S,_,M,F){const R=v.append("text").attr("x",b+S/2).attr("y",E+_/2+5).style("font-color",F).style("text-anchor","middle").text(w);g(R,M)}function a(w,v,b,E,S,_,M,F,R){const{taskFontSize:B,taskFontFamily:z}=F,Y=w.split(/<br\s*\/?>/gi);for(let nt=0;nt<Y.length;nt++){const ot=nt*B-B*(Y.length-1)/2,ft=v.append("text").attr("x",b+S/2).attr("y",E).attr("fill",R).style("text-anchor","middle").style("font-size",B).style("font-family",z);ft.append("tspan").attr("x",b+S/2).attr("dy",ot).text(Y[nt]),ft.attr("y",E+_/2).attr("dominant-baseline","central").attr("alignment-baseline","central"),g(ft,M)}}function f(w,v,b,E,S,_,M,F){const R=v.append("switch"),z=R.append("foreignObject").attr("x",b).attr("y",E).attr("width",S).attr("height",_).attr("position","fixed").append("xhtml:div").style("display","table").style("height","100%").style("width","100%");z.append("div").attr("class","label").style("display","table-cell").style("text-align","center").style("vertical-align","middle").text(w),a(w,R,b,E,S,_,M,F),g(z,M)}function g(w,v){for(const b in v)b in v&&w.attr(b,v[b])}return function(w){return w.textPlacement==="fo"?f:w.textPlacement==="old"?i:a}}(),_B={drawRect:c2t,drawCircle:mHt,drawSection:atn,drawText:vHt,drawLabel:stn,drawTask:otn,drawBackgroundRect:ctn,initGraphics:function(i){i.append("defs").append("marker").attr("id","arrowhead").attr("refX",5).attr("refY",2).attr("markerWidth",6).attr("markerHeight",4).attr("orient","auto").append("path").attr("d","M 0,0 V 4 L6,2 Z")}},utn=function(i){Object.keys(i).forEach(function(f){DX[f]=i[f]})},Vx={};function ltn(i){const a=Re().journey;let f=60;Object.keys(Vx).forEach(g=>{const w=Vx[g].color,v={cx:20,cy:f,r:7,fill:w,stroke:"#000",pos:Vx[g].position};_B.drawCircle(i,v);const b={x:40,y:f+7,fill:"#666",text:g,textMargin:a.boxTextMargin|5};_B.drawText(i,b),f+=20})}const DX=Re().journey,q9=DX.leftMargin,htn=function(i,a,f,g){const w=Re().journey,v=Re().securityLevel;let b;v==="sandbox"&&(b=Tr("#i"+a));const E=Tr(v==="sandbox"?b.nodes()[0].contentDocument.body:"body");em.init();const S=E.select("#"+a);_B.initGraphics(S);const _=g.db.getTasks(),M=g.db.getDiagramTitle(),F=g.db.getActors();for(const ot in Vx)delete Vx[ot];let R=0;F.forEach(ot=>{Vx[ot]={color:w.actorColours[R%w.actorColours.length],position:R},R++}),ltn(S),em.insert(0,0,q9,Object.keys(Vx).length*50),ftn(S,_,0);const B=em.getBounds();M&&S.append("text").text(M).attr("x",q9).attr("font-size","4ex").attr("font-weight","bold").attr("y",25);const z=B.stopy-B.starty+2*w.diagramMarginY,Y=q9+B.stopx+2*w.diagramMarginX;sg(S,z,Y,w.useMaxWidth),S.append("line").attr("x1",q9).attr("y1",w.height*4).attr("x2",Y-q9-4).attr("y2",w.height*4).attr("stroke-width",4).attr("stroke","black").attr("marker-end","url(#arrowhead)");const nt=M?70:0;S.attr("viewBox",`${B.startx} -25 ${Y} ${z+nt}`),S.attr("preserveAspectRatio","xMinYMin meet"),S.attr("height",z+nt+25)},em={data:{startx:void 0,stopx:void 0,starty:void 0,stopy:void 0},verticalPos:0,sequenceItems:[],init:function(){this.sequenceItems=[],this.data={startx:void 0,stopx:void 0,starty:void 0,stopy:void 0},this.verticalPos=0},updateVal:function(i,a,f,g){i[a]===void 0?i[a]=f:i[a]=g(f,i[a])},updateBounds:function(i,a,f,g){const w=Re().journey,v=this;let b=0;function E(S){return function(M){b++;const F=v.sequenceItems.length-b+1;v.updateVal(M,"starty",a-F*w.boxMargin,Math.min),v.updateVal(M,"stopy",g+F*w.boxMargin,Math.max),v.updateVal(em.data,"startx",i-F*w.boxMargin,Math.min),v.updateVal(em.data,"stopx",f+F*w.boxMargin,Math.max),S!=="activation"&&(v.updateVal(M,"startx",i-F*w.boxMargin,Math.min),v.updateVal(M,"stopx",f+F*w.boxMargin,Math.max),v.updateVal(em.data,"starty",a-F*w.boxMargin,Math.min),v.updateVal(em.data,"stopy",g+F*w.boxMargin,Math.max))}}this.sequenceItems.forEach(E())},insert:function(i,a,f,g){const w=Math.min(i,f),v=Math.max(i,f),b=Math.min(a,g),E=Math.max(a,g);this.updateVal(em.data,"startx",w,Math.min),this.updateVal(em.data,"starty",b,Math.min),this.updateVal(em.data,"stopx",v,Math.max),this.updateVal(em.data,"stopy",E,Math.max),this.updateBounds(w,b,v,E)},bumpVerticalPos:function(i){this.verticalPos=this.verticalPos+i,this.data.stopy=this.verticalPos},getVerticalPos:function(){return this.verticalPos},getBounds:function(){return this.data}},u2t=DX.sectionFills,kHt=DX.sectionColours,ftn=function(i,a,f){const g=Re().journey;let w="";const v=g.height*2+g.diagramMarginY,b=f+v;let E=0,S="#CCC",_="black",M=0;for(const[F,R]of a.entries()){if(w!==R.section){S=u2t[E%u2t.length],M=E%u2t.length,_=kHt[E%kHt.length];let z=0;const Y=R.section;for(let ot=F;ot<a.length&&a[ot].section==Y;ot++)z=z+1;const nt={x:F*g.taskMargin+F*g.width+q9,y:50,text:R.section,fill:S,num:M,colour:_,taskCount:z};_B.drawSection(i,nt,g),w=R.section,E++}const B=R.people.reduce((z,Y)=>(Vx[Y]&&(z[Y]=Vx[Y]),z),{});R.x=F*g.taskMargin+F*g.width+q9,R.y=b,R.width=g.diagramMarginX,R.height=g.diagramMarginY,R.colour=_,R.fill=S,R.num=M,R.actors=B,_B.drawTask(i,R,g),em.insert(R.x,R.y,R.x+R.width+g.taskMargin,300+5* (…)
1323 `);const m=Oe().securityLevel;let b;m==="sandbox"&&(b=Mr("#i"+a));const E=Mr(m==="sandbox"?b.nodes()[0].contentDocument.body:"body");nv.init();const C=E.select("#"+a);RP.initGraphi global() property in AnonymousClass3478d9c75c701.aGe.it
[all...]
/plugin/openlayersmap/
H A DStaticMap.php618 // TODO get colour from kml node (not currently supported in geoPHP)
628 * @param int $colour
629 * drawing colour
631 private function drawGeometry(Geometry $geom, int $colour): void
642 $this->drawGeometry($_geom, $colour);
646 $this->drawPolygon($geom, $colour);
649 $this->drawLineString($geom, $colour);
652 $this->drawPoint($geom, $colour);
668 * @param int $colour
669 * drawing colour
696 drawGeometry(Geometry $geom, int $colour) global() argument
736 drawPolygon($polygon, int $colour) global() argument
770 drawLineString($line, $colour) global() argument
802 drawPoint($point, $colour) global() argument
[all...]
/plugin/photogallery/phpThumb/demo/
H A Djavascript_api.js299 function changeBGColour(myObject, colour) { argument
302 obj.bgColor=colour;
306 obj.background = colour;
308 obj.backgroundColor = colour;
/plugin/photogallery/phpThumb/docs/
H A Dphpthumb.faq.txt338 solid areas of colour). ImageMagick may also not produce the
/plugin/aichat/vendor/mehrab-wj/tiktoken-php/data/
H A Dvocab.bpe
/plugin/dw2pdf/vendor/mpdf/mpdf/
H A DCHANGELOG.md574 - Columns - block with no padding containing a block with borders but no backgound colour, borders not printed
575 - Table in Columns - when background color set by surrounding block element - colour missing for height of half bottom border.
578 - Double border in table - when background colour set in surrounding block element - shows as black line between the 2 bits of double
597 - list-style-type (custom) colour not working
/plugin/combo/resources/theme/default/pages/templates/
H A Dapp-diff.css15 /* no style.ini colours because deleted and added lines have a fixed background colour */
/plugin/elasticsearch/vendor/patrickschur/language-detection/resources/en/
H A Den.txt29 Everyone is entitled to all the rights and freedoms set forth in this Declaration, without distinction of any kind, such as race, colour, sex, language, religion, political or other opinion, national or social origin, property, birth or other status.
/plugin/box/
H A Dplugin.info.txt6 desc Boxes with titles, colour and rounded corners. Syntax: <box width class colours|title> ...…
H A Dsyntax.php208 foreach ($colours as $colour) {
237 protected function colourToTriplet($colour) argument
239 if ($colour[0] == '#') {
240 if (strlen($colour) == 4) {
243 hexdec($colour[1] . $colour[1]),
244 hexdec($colour[2] . $colour[2]),
245 hexdec($colour[3] . $colour[3])
250 hexdec(substr($colour, 1, 2)),
251 hexdec(substr($colour, 3, 2)),
252 hexdec(substr($colour, 5, 2))
[all …]
/plugin/wrap/
H A Dexample.txt188 * ''round'' can be added to anything with a background colour or a border and will only work in modern browsers (no IE8 and under)
H A Dall.less40 /* change border colour of emulated headlines inside boxes to something more neutral
/plugin/box2/
H A Dplugin.info.txt8 desc Boxes with titles, colour and rounded corners. Syntax: <box width class colors style=value…
H A Dsyntax.php236 foreach ($colours as $colour) {
237 $triplet[] = $this->_colourToTriplet($colour);
265 function _colourToTriplet($colour) { argument
266 if ($colour[0] == '#') {
267 if (strlen($colour) == 4) {
269 …return array(hexdec($colour[1].$colour[1]),hexdec($colour[2].$colour[2]),hexdec($colour[3].$colour
272 …return array(hexdec(substr($colour,1,2)),hexdec(substr($colour,3,2)), hexdec(substr($colour,5,2)));
276 return explode(',',substr($colour,4,-1));
/plugin/dirtylittlehelper/mermaid/editor/docs/
H A Dbundle.js.map1colour\n\n if (type === _parser_sequenceDiagram__WEBPACK_IMPORTED_MODULE_3__[\"parser\"].yy.LINET…
H A Dbundle.js285colour:c};s.default.drawSection(e,b,l),i=_.section,o++}var v=_.people.reduce((function(e,t){return…
297colour)},d=-1,u=function(e,t,n){var i=t.x+n.width/2,a=e.append("g");d++,a.append("line").attr("id"…
/plugin/dirtylittlehelper/mermaid/editor/
H A Dbundle.js285colour:c};s.default.drawSection(e,b,l),i=_.section,o++}var v=_.people.reduce((function(e,t){return…
297colour)},d=-1,u=function(e,t,n){var i=t.x+n.width/2,a=e.append("g");d++,a.append("line").attr("id"…
/plugin/dirtylittlehelper/script/
H A Dmermaid.min.js.map1colour","faceData","face","d3arc","smile","sad","ambivalent","person","graphics","journeyDb","LEFT…
/plugin/yearbox/
H A DCHANGELOG.md44 * CSS: improved colour scheme and layout
/plugin/jplayer/vendor/james-heinrich/getid3/
H A Dchangelog.txt2300 (font, colour)
/plugin/pdfjs/pdfjs/build/
H A Dpdf.worker.js.map1 …= this._decodeTransform;\n\n // In PDF files, JPEG images with CMYK colour spaces are usually…
/plugin/sequencediagram/bower_components/raphael/dev/
H A Draphael.core.js876 R.getRGB = cacher(function (colour) { argument
877 if (!colour || !!((colour = Str(colour)).indexOf("-") + 1)) {
880 if (colour == "none") {
883 …!(hsrg[has](colour.toLowerCase().substring(0, 2)) || colour.charAt() == "#") && (colour = toHex(co…
891 rgb = colour.match(colourRegExp);
/plugin/sequencediagram/bower_components/snap.svg/dist/
H A Dsnap.svg.js1355 Snap.getRGB = cacher(function (colour) {
1356 if (!colour || !!((colour = Str(colour)).indexOf("-") + 1)) {
1359 if (colour == "none") {
1362 …!(hsrg[has](colour.toLowerCase().substring(0, 2)) || colour.charAt() == "#") && (colour = toHex(co…
1363 if (!colour) {
1373 rgb = colour.match(colourRegExp);
/plugin/sequencediagram/bower_components/snap.svg/doc/css/
H A Dprism.css116 /* Text Selection colour */
/plugin/pixelyear/
H A Dplugin.info.txt6 desc Outputs a colour coded chart displaying progress throughout a year

12