diff --git a/example/app.js b/example/app.js index dd5bdf87..3484b058 100644 --- a/example/app.js +++ b/example/app.js @@ -62,7 +62,10 @@ // check file api availability if (!window.FileList || !window.FileReader) { - window.alert('Looks like you use an older browser that does not support drag and drop. Try using Chrome, Firefox or the Internet Explorer > 10.'); + window.alert( + 'Looks like you use an older browser that does not support drag and drop. ' + + 'Try using Chrome, Firefox or the Internet Explorer > 10.'); + return; } diff --git a/example/css/app.css b/example/css/app.css index 4833bb7d..95272e15 100644 --- a/example/css/app.css +++ b/example/css/app.css @@ -17,7 +17,6 @@ a:link { text-decoration: none; } - .content, .content > div { width: 100%; @@ -71,11 +70,15 @@ a:link { padding: 0; margin: 0; list-style: none; - - font-size: 2em; } .buttons > li { + display: inline-block; + margin-right: 10px; +} +.buttons > li > a { + background: #DDD; + border: solid 1px #666; display: inline-block; padding: 5px; } @@ -86,50 +89,4 @@ a:link { .buttons a.active { opacity: 1.0; -} - - -/* icon integration */ -@font-face { - font-family: 'bpmnio-embedded'; - src: url('../font/bpmnio-embedded.eot?52356950'); - src: url('../font/bpmnio-embedded.eot?52356950#iefix') format('embedded-opentype'), - url('../font/bpmnio-embedded.woff?52356950') format('woff'), - url('../font/bpmnio-embedded.ttf?52356950') format('truetype'), - url('../font/bpmnio-embedded.svg?52356950#bpmnio-embedded') format('svg'); - font-weight: normal; - font-style: normal; -} - -[class^="icon-"]:before, -[class*=" icon-"]:before { - font-family: "bpmnio-embedded"; - font-style: normal; - font-weight: normal; - speak: none; - - display: inline-block; - text-decoration: inherit; - width: 1em; - margin-right: .2em; - text-align: center; - - font-variant: normal; - text-transform: none; - - line-height: 1em; - margin-left: .2em; -} - -.icon-bpmn-io:before { content: '\e807'; } -.icon-save:before { content: '\e806'; } -.icon-info:before { content: '\e80b'; } -.icon-download:before { content: '\e80a'; } -.icon-link:before { content: '\e808'; } -.icon-source:before { content: '\e802'; } -.icon-picture:before { content: '\e809'; } -.icon-comments:before { content: '\e801'; } -.icon-resize-full:before { content: '\e800'; } -.icon-resize-small:before { content: '\e805'; } -.icon-diagram:before { content: '\e803'; } -.icon-edit:before { content: '\e804'; } \ No newline at end of file +} \ No newline at end of file diff --git a/example/font/bpmnio-embedded.eot b/example/font/bpmnio-embedded.eot deleted file mode 100644 index ba5016f2..00000000 Binary files a/example/font/bpmnio-embedded.eot and /dev/null differ diff --git a/example/font/bpmnio-embedded.svg b/example/font/bpmnio-embedded.svg deleted file mode 100644 index 02f88ea2..00000000 --- a/example/font/bpmnio-embedded.svg +++ /dev/null @@ -1,23 +0,0 @@ - - - -Copyright (C) 2014 by original authors @ fontello.com - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/example/font/bpmnio-embedded.ttf b/example/font/bpmnio-embedded.ttf deleted file mode 100644 index 89295380..00000000 Binary files a/example/font/bpmnio-embedded.ttf and /dev/null differ diff --git a/example/font/bpmnio-embedded.woff b/example/font/bpmnio-embedded.woff deleted file mode 100644 index d1d4ca20..00000000 Binary files a/example/font/bpmnio-embedded.woff and /dev/null differ diff --git a/example/index.html b/example/modeler.html similarity index 90% rename from example/index.html rename to example/modeler.html index 7bfc5be5..b84d7184 100644 --- a/example/index.html +++ b/example/modeler.html @@ -1,6 +1,6 @@ - bpmn-js demo + bpmn-js modeler demo @@ -29,14 +29,17 @@ diff --git a/example/viewer/index.html b/example/viewer.html similarity index 72% rename from example/viewer/index.html rename to example/viewer.html index 5efe3566..5f400c0d 100644 --- a/example/viewer/index.html +++ b/example/viewer.html @@ -2,8 +2,8 @@ bpmn-js demo - - + +
@@ -29,14 +29,17 @@
@@ -45,12 +48,12 @@ var str = window.location.search; var min = !/\?debug=/.test(str); - document.write(' - + \ No newline at end of file