AmberRack 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (198) hide show
  1. data/.gitignore +74 -0
  2. data/.rvmrc +4 -0
  3. data/Gemfile +2 -0
  4. data/Gemfile.lock +62 -0
  5. data/README.md +17 -0
  6. data/Rakefile +24 -0
  7. data/amber-rack.gemspec +33 -0
  8. data/app/amber_app.rb +35 -0
  9. data/app/javascripts/Benchfib.deploy.js +159 -0
  10. data/app/javascripts/Benchfib.js +159 -0
  11. data/app/javascripts/Canvas.deploy.js +1464 -0
  12. data/app/javascripts/Canvas.js +1464 -0
  13. data/app/javascripts/Compiler.deploy.js +1587 -0
  14. data/app/javascripts/Compiler.js +1587 -0
  15. data/app/javascripts/Examples.deploy.js +800 -0
  16. data/app/javascripts/Examples.js +800 -0
  17. data/app/javascripts/IDE.deploy.js +3457 -0
  18. data/app/javascripts/IDE.js +3457 -0
  19. data/app/javascripts/IDE.js.bak +3420 -0
  20. data/app/javascripts/JQuery.deploy.js +898 -0
  21. data/app/javascripts/JQuery.js +898 -0
  22. data/app/javascripts/Kernel.deploy.js +6761 -0
  23. data/app/javascripts/Kernel.js +6761 -0
  24. data/app/javascripts/Parser.deploy.js +1655 -0
  25. data/app/javascripts/Parser.js +1655 -0
  26. data/app/javascripts/Raphael-Core.js +0 -0
  27. data/app/javascripts/Raphael-Graph.js +0 -0
  28. data/app/javascripts/SUnit.deploy.js +1059 -0
  29. data/app/javascripts/SUnit.js +1059 -0
  30. data/app/javascripts/application.js +2 -0
  31. data/app/javascripts/boot.js +466 -0
  32. data/app/javascripts/init.js +2 -0
  33. data/app/javascripts/jquery-1.4.4.min.js +167 -0
  34. data/app/javascripts/jquery-ui-1.8.9.custom.min.js +781 -0
  35. data/app/javascripts/jquery.textarea.js +267 -0
  36. data/app/javascripts/jtalk.js +78 -0
  37. data/app/javascripts/lib/CodeMirror/LICENSE +19 -0
  38. data/app/javascripts/lib/CodeMirror/README.md +6 -0
  39. data/app/javascripts/lib/CodeMirror/compress.html +92 -0
  40. data/app/javascripts/lib/CodeMirror/css/baboon.png +0 -0
  41. data/app/javascripts/lib/CodeMirror/css/baboon_vector.svg +153 -0
  42. data/app/javascripts/lib/CodeMirror/css/docs.css +154 -0
  43. data/app/javascripts/lib/CodeMirror/demo/activeline.html +72 -0
  44. data/app/javascripts/lib/CodeMirror/demo/changemode.html +51 -0
  45. data/app/javascripts/lib/CodeMirror/demo/complete.html +79 -0
  46. data/app/javascripts/lib/CodeMirror/demo/complete.js +151 -0
  47. data/app/javascripts/lib/CodeMirror/demo/fullscreen.html +158 -0
  48. data/app/javascripts/lib/CodeMirror/demo/marker.html +53 -0
  49. data/app/javascripts/lib/CodeMirror/demo/mustache.html +57 -0
  50. data/app/javascripts/lib/CodeMirror/demo/preview.html +75 -0
  51. data/app/javascripts/lib/CodeMirror/demo/resize.html +44 -0
  52. data/app/javascripts/lib/CodeMirror/demo/runmode.html +50 -0
  53. data/app/javascripts/lib/CodeMirror/demo/search.html +106 -0
  54. data/app/javascripts/lib/CodeMirror/demo/theme.html +53 -0
  55. data/app/javascripts/lib/CodeMirror/index.html +239 -0
  56. data/app/javascripts/lib/CodeMirror/internals.html +389 -0
  57. data/app/javascripts/lib/CodeMirror/lib/codemirror.css +67 -0
  58. data/app/javascripts/lib/CodeMirror/lib/codemirror.js +2144 -0
  59. data/app/javascripts/lib/CodeMirror/lib/overlay.js +51 -0
  60. data/app/javascripts/lib/CodeMirror/lib/runmode.js +27 -0
  61. data/app/javascripts/lib/CodeMirror/manual.html +854 -0
  62. data/app/javascripts/lib/CodeMirror/mode/clike/clike.js +247 -0
  63. data/app/javascripts/lib/CodeMirror/mode/clike/index.html +102 -0
  64. data/app/javascripts/lib/CodeMirror/mode/css/css.js +124 -0
  65. data/app/javascripts/lib/CodeMirror/mode/css/index.html +56 -0
  66. data/app/javascripts/lib/CodeMirror/mode/diff/diff.css +3 -0
  67. data/app/javascripts/lib/CodeMirror/mode/diff/diff.js +13 -0
  68. data/app/javascripts/lib/CodeMirror/mode/diff/index.html +99 -0
  69. data/app/javascripts/lib/CodeMirror/mode/haskell/haskell.js +242 -0
  70. data/app/javascripts/lib/CodeMirror/mode/haskell/index.html +60 -0
  71. data/app/javascripts/lib/CodeMirror/mode/htmlmixed/htmlmixed.js +79 -0
  72. data/app/javascripts/lib/CodeMirror/mode/htmlmixed/index.html +52 -0
  73. data/app/javascripts/lib/CodeMirror/mode/javascript/index.html +78 -0
  74. data/app/javascripts/lib/CodeMirror/mode/javascript/javascript.js +348 -0
  75. data/app/javascripts/lib/CodeMirror/mode/lua/index.html +72 -0
  76. data/app/javascripts/lib/CodeMirror/mode/lua/lua.js +138 -0
  77. data/app/javascripts/lib/CodeMirror/mode/php/index.html +49 -0
  78. data/app/javascripts/lib/CodeMirror/mode/php/php.js +110 -0
  79. data/app/javascripts/lib/CodeMirror/mode/plsql/index.html +63 -0
  80. data/app/javascripts/lib/CodeMirror/mode/plsql/plsql.js +217 -0
  81. data/app/javascripts/lib/CodeMirror/mode/python/LICENSE.txt +21 -0
  82. data/app/javascripts/lib/CodeMirror/mode/python/index.html +123 -0
  83. data/app/javascripts/lib/CodeMirror/mode/python/python.js +321 -0
  84. data/app/javascripts/lib/CodeMirror/mode/rst/index.html +526 -0
  85. data/app/javascripts/lib/CodeMirror/mode/rst/rst.css +75 -0
  86. data/app/javascripts/lib/CodeMirror/mode/rst/rst.js +333 -0
  87. data/app/javascripts/lib/CodeMirror/mode/scheme/index.html +65 -0
  88. data/app/javascripts/lib/CodeMirror/mode/scheme/scheme.js +181 -0
  89. data/app/javascripts/lib/CodeMirror/mode/smalltalk/index.html +56 -0
  90. data/app/javascripts/lib/CodeMirror/mode/smalltalk/smalltalk.js +134 -0
  91. data/app/javascripts/lib/CodeMirror/mode/sparql/index.html +41 -0
  92. data/app/javascripts/lib/CodeMirror/mode/sparql/sparql.js +143 -0
  93. data/app/javascripts/lib/CodeMirror/mode/stex/index.html +96 -0
  94. data/app/javascripts/lib/CodeMirror/mode/stex/stex.js +167 -0
  95. data/app/javascripts/lib/CodeMirror/mode/xml/index.html +42 -0
  96. data/app/javascripts/lib/CodeMirror/mode/xml/xml.js +231 -0
  97. data/app/javascripts/lib/CodeMirror/mode/yaml/index.html +68 -0
  98. data/app/javascripts/lib/CodeMirror/mode/yaml/yaml.js +95 -0
  99. data/app/javascripts/lib/CodeMirror/oldrelease.html +178 -0
  100. data/app/javascripts/lib/CodeMirror/test/index.html +29 -0
  101. data/app/javascripts/lib/CodeMirror/test/test.js +249 -0
  102. data/app/javascripts/lib/CodeMirror/theme/default.css +18 -0
  103. data/app/javascripts/lib/CodeMirror/theme/elegant.css +9 -0
  104. data/app/javascripts/lib/CodeMirror/theme/jtalk.css +21 -0
  105. data/app/javascripts/lib/CodeMirror/theme/neat.css +8 -0
  106. data/app/javascripts/lib/CodeMirror/theme/night.css +20 -0
  107. data/app/javascripts/lib/jQuery/jquery-1.4.4.min.js +167 -0
  108. data/app/javascripts/lib/jQuery/jquery-ui-1.8.9.custom.min.js +781 -0
  109. data/app/javascripts/lib/jQuery/jquery.textarea.js +267 -0
  110. data/app/smalltalk/Canvas.st +481 -0
  111. data/app/smalltalk/IDE.st +1752 -0
  112. data/config.ru +2 -0
  113. data/lib/amber-rack.rb +4 -0
  114. data/lib/amber-rack/version.rb +3 -0
  115. data/public/CodeMirror/LICENSE +19 -0
  116. data/public/CodeMirror/README.md +6 -0
  117. data/public/CodeMirror/compress.html +92 -0
  118. data/public/CodeMirror/css/baboon.png +0 -0
  119. data/public/CodeMirror/css/baboon_vector.svg +153 -0
  120. data/public/CodeMirror/css/docs.css +154 -0
  121. data/public/CodeMirror/demo/activeline.html +72 -0
  122. data/public/CodeMirror/demo/changemode.html +51 -0
  123. data/public/CodeMirror/demo/complete.html +79 -0
  124. data/public/CodeMirror/demo/complete.js +151 -0
  125. data/public/CodeMirror/demo/fullscreen.html +158 -0
  126. data/public/CodeMirror/demo/marker.html +53 -0
  127. data/public/CodeMirror/demo/mustache.html +57 -0
  128. data/public/CodeMirror/demo/preview.html +75 -0
  129. data/public/CodeMirror/demo/resize.html +44 -0
  130. data/public/CodeMirror/demo/runmode.html +50 -0
  131. data/public/CodeMirror/demo/search.html +106 -0
  132. data/public/CodeMirror/demo/theme.html +53 -0
  133. data/public/CodeMirror/index.html +239 -0
  134. data/public/CodeMirror/internals.html +389 -0
  135. data/public/CodeMirror/lib/codemirror.css +67 -0
  136. data/public/CodeMirror/lib/codemirror.js +2144 -0
  137. data/public/CodeMirror/lib/overlay.js +51 -0
  138. data/public/CodeMirror/lib/runmode.js +27 -0
  139. data/public/CodeMirror/manual.html +854 -0
  140. data/public/CodeMirror/mode/clike/clike.js +247 -0
  141. data/public/CodeMirror/mode/clike/index.html +102 -0
  142. data/public/CodeMirror/mode/css/css.js +124 -0
  143. data/public/CodeMirror/mode/css/index.html +56 -0
  144. data/public/CodeMirror/mode/diff/diff.css +3 -0
  145. data/public/CodeMirror/mode/diff/diff.js +13 -0
  146. data/public/CodeMirror/mode/diff/index.html +99 -0
  147. data/public/CodeMirror/mode/haskell/haskell.js +242 -0
  148. data/public/CodeMirror/mode/haskell/index.html +60 -0
  149. data/public/CodeMirror/mode/htmlmixed/htmlmixed.js +79 -0
  150. data/public/CodeMirror/mode/htmlmixed/index.html +52 -0
  151. data/public/CodeMirror/mode/javascript/index.html +78 -0
  152. data/public/CodeMirror/mode/javascript/javascript.js +348 -0
  153. data/public/CodeMirror/mode/lua/index.html +72 -0
  154. data/public/CodeMirror/mode/lua/lua.js +138 -0
  155. data/public/CodeMirror/mode/php/index.html +49 -0
  156. data/public/CodeMirror/mode/php/php.js +110 -0
  157. data/public/CodeMirror/mode/plsql/index.html +63 -0
  158. data/public/CodeMirror/mode/plsql/plsql.js +217 -0
  159. data/public/CodeMirror/mode/python/LICENSE.txt +21 -0
  160. data/public/CodeMirror/mode/python/index.html +123 -0
  161. data/public/CodeMirror/mode/python/python.js +321 -0
  162. data/public/CodeMirror/mode/rst/index.html +526 -0
  163. data/public/CodeMirror/mode/rst/rst.css +75 -0
  164. data/public/CodeMirror/mode/rst/rst.js +333 -0
  165. data/public/CodeMirror/mode/scheme/index.html +65 -0
  166. data/public/CodeMirror/mode/scheme/scheme.js +181 -0
  167. data/public/CodeMirror/mode/smalltalk/index.html +56 -0
  168. data/public/CodeMirror/mode/smalltalk/smalltalk.js +134 -0
  169. data/public/CodeMirror/mode/sparql/index.html +41 -0
  170. data/public/CodeMirror/mode/sparql/sparql.js +143 -0
  171. data/public/CodeMirror/mode/stex/index.html +96 -0
  172. data/public/CodeMirror/mode/stex/stex.js +167 -0
  173. data/public/CodeMirror/mode/xml/index.html +42 -0
  174. data/public/CodeMirror/mode/xml/xml.js +231 -0
  175. data/public/CodeMirror/mode/yaml/index.html +68 -0
  176. data/public/CodeMirror/mode/yaml/yaml.js +95 -0
  177. data/public/CodeMirror/oldrelease.html +178 -0
  178. data/public/CodeMirror/test/index.html +29 -0
  179. data/public/CodeMirror/test/test.js +249 -0
  180. data/public/CodeMirror/theme/default.css +18 -0
  181. data/public/CodeMirror/theme/elegant.css +9 -0
  182. data/public/CodeMirror/theme/jtalk.css +21 -0
  183. data/public/CodeMirror/theme/neat.css +8 -0
  184. data/public/CodeMirror/theme/night.css +20 -0
  185. data/public/css/jtalk.css +362 -0
  186. data/public/css/style.css +456 -0
  187. data/public/css/sunit.css +66 -0
  188. data/public/ide/fork_me.png +0 -0
  189. data/public/ide/screen2.png +0 -0
  190. data/public/ide/style.css +456 -0
  191. data/public/ide/syntax.css +61 -0
  192. data/public/ide/text_header.png +0 -0
  193. data/public/ide/title_container1.png +0 -0
  194. data/public/images/background_box.png +0 -0
  195. data/public/images/background_header.png +0 -0
  196. data/public/images/balloon_header.png +0 -0
  197. data/views/index.haml +66 -0
  198. metadata +341 -0
@@ -0,0 +1,18 @@
1
+ .cm-s-default span.cm-keyword {color: #708;}
2
+ .cm-s-default span.cm-atom {color: #219;}
3
+ .cm-s-default span.cm-number {color: #164;}
4
+ .cm-s-default span.cm-def {color: #00f;}
5
+ .cm-s-default span.cm-variable {color: black;}
6
+ .cm-s-default span.cm-variable-2 {color: #05a;}
7
+ .cm-s-default span.cm-variable-3 {color: #0a5;}
8
+ .cm-s-default span.cm-property {color: black;}
9
+ .cm-s-default span.cm-operator {color: black;}
10
+ .cm-s-default span.cm-comment {color: #a50;}
11
+ .cm-s-default span.cm-string {color: #a11;}
12
+ .cm-s-default span.cm-meta {color: #555;}
13
+ .cm-s-default span.cm-error {color: #f00;}
14
+ .cm-s-default span.cm-qualifier {color: #555;}
15
+ .cm-s-default span.cm-builtin {color: #30a;}
16
+ .cm-s-default span.cm-bracket {color: #cc7;}
17
+ .cm-s-default span.cm-tag {color: #170;}
18
+ .cm-s-default span.cm-attribute {color: #00c;}
@@ -0,0 +1,9 @@
1
+ .cm-s-elegant span.cm-number, .cm-s-elegant span.cm-string, .cm-s-elegant span.cm-atom {color: #762;}
2
+ .cm-s-elegant span.cm-comment {color: #262;font-style: italic;}
3
+ .cm-s-elegant span.cm-meta {color: #555;font-style: italic;}
4
+ .cm-s-elegant span.cm-variable {color: black;}
5
+ .cm-s-elegant span.cm-variable-2 {color: #b11;}
6
+ .cm-s-elegant span.cm-qualifier {color: #555;}
7
+ .cm-s-elegant span.cm-keyword {color: #730;}
8
+ .cm-s-elegant span.cm-builtin {color: #30a;}
9
+ .cm-s-elegant span.cm-error {background-color: #fdd;}
@@ -0,0 +1,21 @@
1
+ .cm-s-jtalk span.cm-keyword {color: #7F0000; font-weight: bold;}
2
+ .cm-s-jtalk span.cm-className {font-weight: bold;}
3
+ .cm-s-jtalk span.cm-assignment {font-weight: bold;}
4
+ .cm-s-jtalk span.cm-return {font-weight: bold;}
5
+ .cm-s-jtalk span.cm-atom {color: #219;}
6
+ .cm-s-jtalk span.cm-number {color: #7F0000;}
7
+ .cm-s-jtalk span.cm-def {color: #00f;}
8
+ .cm-s-jtalk span.cm-variable {color: grey;}
9
+ .cm-s-jtalk span.cm-variable-2 {color: #05a;}
10
+ .cm-s-jtalk span.cm-variable-3 {color: #0a5;}
11
+ .cm-s-jtalk span.cm-property {color: black;}
12
+ .cm-s-jtalk span.cm-operator {color: #00007F;}
13
+ .cm-s-jtalk span.cm-comment {color: #007F00;}
14
+ .cm-s-jtalk span.cm-string {color: #7F007F;}
15
+ .cm-s-jtalk span.cm-meta {color: #555;}
16
+ .cm-s-jtalk span.cm-error {color: #f00;}
17
+ .cm-s-jtalk span.cm-qualifier {color: #555;}
18
+ .cm-s-jtalk span.cm-builtin {color: #30a;}
19
+ .cm-s-jtalk span.cm-bracket {color: #cc7;}
20
+ .cm-s-jtalk span.cm-tag {color: #170;}
21
+ .cm-s-jtalk span.cm-attribute {color: #00c;}
@@ -0,0 +1,8 @@
1
+ .cm-s-neat span.cm-comment { color: #a86; }
2
+ .cm-s-neat span.cm-keyword { font-weight: bold; color: blue; }
3
+ .cm-s-neat span.cm-string { color: #a22; }
4
+ .cm-s-neat span.cm-builtin { font-weight: bold; color: #077; }
5
+ .cm-s-neat span.cm-special { font-weight: bold; color: #0aa; }
6
+ .cm-s-neat span.cm-variable { color: black; }
7
+ .cm-s-neat span.cm-number, .cm-s-neat span.cm-atom { color: #3a3; }
8
+ .cm-s-neat span.cm-meta {color: #555;}
@@ -0,0 +1,20 @@
1
+ /* Loosely based on the Midnight Textmate theme */
2
+
3
+ .cm-s-night { background: #0a001f; color: #f8f8f8; }
4
+ .cm-s-night span.CodeMirror-selected { background: #a8f !important; }
5
+ .cm-s-night .CodeMirror-gutter { background: #0a001f; border-right: 1px solid #aaa; }
6
+ .cm-s-night .CodeMirror-gutter-text { color: #f8f8f8; }
7
+ .cm-s-night .CodeMirror-cursor { border-left: 1px solid white !important; }
8
+
9
+ .cm-s-night span.cm-comment { color: #6900a1; }
10
+ .cm-s-night span.cm-atom { color: #845dc4; }
11
+ .cm-s-night span.cm-number, .cm-s-night span.cm-attribute { color: #ffd500; }
12
+ .cm-s-night span.cm-keyword { color: #599eff; }
13
+ .cm-s-night span.cm-string { color: #37f14a; }
14
+ .cm-s-night span.cm-meta { color: #7678e2; }
15
+ .cm-s-night span.cm-variable-2, .cm-s-night span.cm-tag { color: #99b2ff; }
16
+ .cm-s-night span.cm-variable-3, .cm-s-night span.cm-def { color: white; }
17
+ .cm-s-night span.cm-error { color: #9d1e15; }
18
+ .cm-s-night span.cm-bracket { color: #8da6ce; }
19
+ .cm-s-night span.cm-comment { color: #6900a1; }
20
+ .cm-s-night span.cm-builtin, .cm-s-night span.cm-special { color: #ff9e59; }
@@ -0,0 +1,362 @@
1
+ body.jtalkBody {
2
+ margin-bottom: 350px;
3
+ }
4
+
5
+ #jtalkTabs {
6
+ position: fixed;
7
+ font-family: helvetica,arial,sans;
8
+ font-size: 12px;
9
+ line-height: 1;
10
+ z-index: 1001;
11
+ bottom: 0;
12
+ left: 0;
13
+ right: 0;
14
+ margin: 0;
15
+ padding: 0 0 3px 0;
16
+ height: 20px;
17
+ background: transparent;
18
+ }
19
+ #jtalkTabs li {
20
+ list-style-type: none;
21
+ display: inline;
22
+ background: #c8c8c8;
23
+ font-weight: bold;
24
+ color: #414141;
25
+ padding: 4px;
26
+ border: 1px solid #acacac;
27
+ cursor: pointer;
28
+ line-height: 14px;
29
+ margin: 0;
30
+ }
31
+
32
+ #jtalkTabs li.selected {
33
+ background: #dbdbdb;
34
+ border-top: 0 none;
35
+ padding: 5px 4px;
36
+ color: #222;
37
+ }
38
+
39
+ #jtalkTabs li span.close {
40
+ margin-left: 3px;
41
+ margin-right: 5px;
42
+ }
43
+
44
+ #jtalkTabs li span.close:hover {
45
+ color: #e72a2a;
46
+ }
47
+
48
+ #jtalkTabs li.closeAll {
49
+ -moz-border-radius: 10px;
50
+ -webkit-border-radius: 10px;
51
+ border-radius: 10px;
52
+ background: #ef3b3b;
53
+ color: #e3e3e3;
54
+ font-weight: bold;
55
+ border: 1px solid #ac1616;
56
+ margin: 4px;
57
+ padding: 2px 6px;
58
+ font-size: 10px;
59
+ }
60
+
61
+ #jtalkTabs li.closeAll:hover {
62
+ background: #e72a2a;
63
+ }
64
+
65
+ #jtalk {
66
+ position: fixed;
67
+ bottom: 27px;
68
+ left: 0;
69
+ right: 0;
70
+ height: 330px;
71
+ z-index: 1000;
72
+ }
73
+
74
+ #jtalk .ui-resizable-handle {
75
+ background-color: #a8a8a8;
76
+ top: 0;
77
+ cursor: row-resize;
78
+ height: 4px;
79
+ left: 0;
80
+ position: absolute;
81
+ right: 0;
82
+ width: auto !important;
83
+ }
84
+
85
+ .jtalkTool {
86
+ width: 98%;
87
+ background: #dbdbdb;
88
+ border-style: solid;
89
+ border-width: 1px;
90
+ border-color: #a8a8a8;
91
+ color: @dark;
92
+ font-family: Arial, Helvetica, sans;
93
+ font-size: 12px;
94
+ line-height: 1.5em;
95
+ padding: 15px 1%;
96
+ position: absolute;
97
+ bottom: 0;
98
+ left: 0;
99
+ top: 4px;
100
+ z-index: 1000;
101
+ }
102
+
103
+ .jtalkTool .jt_box {
104
+ width: 98%;
105
+ margin: 0;
106
+ position: absolute;
107
+ top: 15px;
108
+ bottom: 45px;
109
+ }
110
+
111
+ .jtalkTool .jt_buttons {
112
+ position: absolute;
113
+ width: 98%;
114
+ bottom: 15px;
115
+ }
116
+
117
+ .jtalkTool .jt_buttons .right {
118
+ float: right;
119
+ }
120
+
121
+ .jtalkTool .important {
122
+ font-weight: bold;
123
+ }
124
+
125
+ .jtalkTool li {
126
+ margin: 0;
127
+ padding: 0;
128
+ }
129
+
130
+ .jtalkTool .jt_buttons button,
131
+ .jtalkTool .jt_buttons select {
132
+ font-size: 12px;
133
+ }
134
+
135
+ .jtalkTool .source {
136
+ height: 100%;
137
+ }
138
+
139
+ .jtalkTool textarea,
140
+ .jtalkTool input {
141
+ border: 1px solid;
142
+ border-color: #a8a8a8;
143
+ font-family: Arial, Helvetica, sans;
144
+ line-height: 1.2em;
145
+ font-size: 13px;
146
+ position: relative;
147
+ padding: 0;
148
+ }
149
+
150
+ .jtalkTool .CodeMirror {
151
+ border: 1px solid;
152
+ border-color: #a8a8a8;
153
+ font-family: Arial, Helvetica, sans;
154
+ font-size: 13px;
155
+ line-height: 1.3em;
156
+ height: 100%;
157
+ background: white;
158
+ }
159
+
160
+ .jtalkTool .CodeMirror-scroll {
161
+ height: 100%;
162
+ }
163
+
164
+ .talkTool .CodeMirror-scroll pre {
165
+ font-family: Arial, Helvetica, sans;
166
+ }
167
+
168
+ .jtalkTool .jt_clear {
169
+ clear: both;
170
+ }
171
+
172
+ .jtalkTool .jt_transcript,
173
+ .jtalkTool .jt_workspace {
174
+ width: 100%;
175
+ height: 100%;
176
+ }
177
+
178
+ .jtalkTool .jt_commit {
179
+ position: absolute;
180
+ top: 140px;
181
+ left: 0;
182
+ font-size: 12px;
183
+ }
184
+
185
+ .jtalkTool .jt_column {
186
+ width: 24%;
187
+ padding: 0;
188
+ margin: 0;
189
+ float: left;
190
+ border: 1px solid;
191
+ border-color: #a8a8a8;
192
+ height: 130px;
193
+ overflow-y: scroll;
194
+ background: #fff;
195
+ position: absolute;
196
+ top: 0;
197
+ }
198
+
199
+ .jtalkTool .jt_column.value {
200
+ left: 25.2%;
201
+ width: 74.8%;
202
+ }
203
+
204
+ .jtalkTool .jt_column.browser {
205
+ top: 30px;
206
+ }
207
+
208
+ .jtalkTool .jt_column.categories {
209
+ left: 0%;
210
+ height: 105px;
211
+ }
212
+
213
+ .jtalkTool .jt_column.classes {
214
+ height: 105px;
215
+ left: 25.2%
216
+ }
217
+
218
+ .jtalkTool .jt_column.classes ul {
219
+ margin-left: 0;
220
+ }
221
+
222
+ .jtalkTool .jt_column.classes ul li {
223
+ padding-left: 10px;
224
+ margin-left: 0;
225
+ }
226
+
227
+ .jtalkTool .jt_column.protocols {
228
+ left: 50.4%
229
+ }
230
+
231
+ .jtalkTool .jt_column.methods {
232
+ left: 75.6%
233
+ }
234
+
235
+ .jtalkTool .jt_column li {
236
+ list-style-type: none;
237
+ padding-left: 5px;
238
+ cursor: pointer;
239
+ color: #333;
240
+ font-weight: bold;
241
+ }
242
+
243
+ .jtalkTool .jt_column li.selected {
244
+ background: #e3e3e3;
245
+ color: #222;
246
+ }
247
+
248
+ .jtalkTool .jt_column li:hover {
249
+ background: #08c;
250
+ color: white;
251
+ }
252
+
253
+ .jtalkTool .jt_tabs {
254
+ top: 136px;
255
+ position: absolute;
256
+ left: 25.2%;
257
+ padding: 0;
258
+ margin: 0;
259
+ }
260
+
261
+ .jtalkTool .jt_tabs li {
262
+ color: #666;
263
+ font-weight: bold;
264
+ cursor: pointer;
265
+ list-style-type: none;
266
+ float: left;
267
+ padding: 2px 4px;
268
+ margin-right: 2px;
269
+ background: #ccc;
270
+ border: 1px solid #a8a8a8;
271
+ -moz-border-radius-bottomleft: 8px;
272
+ -moz-border-radius-bottomright: 8px;
273
+ -webkit-border-bottom-left-radius: 8px;
274
+ -webkit-border-bottom-right-radius: 8px;
275
+ border-bottom-left-radius: 8px;
276
+ border-bottom-right-radius: 8px;
277
+ height: 20px;
278
+ line-height: 18px;
279
+ }
280
+
281
+ /* .jtalkTool .jt_tabs li:hover { */
282
+ /* background: #08c; */
283
+ /* color: white; */
284
+ /* border-color: #08c; */
285
+ /* } */
286
+
287
+ .jtalkTool .jt_tabs li.selected,
288
+ .jtalkTool .jt_tabs li.selected:hover {
289
+ background: white;
290
+ border: 1px solid #b3b3b3;
291
+ border-top: 1px solid white;
292
+ color: #222;
293
+ }
294
+
295
+
296
+ .jtalkTool .jt_sourceCode {
297
+ position: absolute;
298
+ top: 175px;
299
+ bottom: 0;
300
+ left: 0;
301
+ right: 0;
302
+ }
303
+
304
+ .jtalkTool .jt_sourceCode textarea.source {
305
+ width: 100%;
306
+ height: 100%;
307
+ }
308
+
309
+ /* Debugger */
310
+
311
+ .jtalkTool .jt_box .label {
312
+ width: 98%;
313
+ font-weight: bold;
314
+ text-align: center;
315
+ position: absolute;
316
+ line-height: 1.2em;
317
+ font-size: 16px;
318
+ color: red;
319
+ }
320
+
321
+ .jtalkTool .jt_box .jt_column.debugger.contexts {
322
+ width: 100%;
323
+ top: 30px;
324
+
325
+ }
326
+
327
+ /***** IDE - ReferencesBrowser ******/
328
+
329
+ .jtalkTool .jt_box .implementors {
330
+ width: 100%
331
+ }
332
+
333
+ .jtalkTool .jt_box .jt_column.implementors,
334
+ .jtalkTool .jt_box .jt_column.senders,
335
+ .jtalkTool .jt_box .jt_column.referenced_classes {
336
+ top: 30px;
337
+ height: 100%;
338
+ bottom: 0px;
339
+ width: 33%;
340
+ }
341
+
342
+ .jtalkTool .jt_box .jt_column.senders {
343
+ left: 33.6%
344
+ }
345
+
346
+ .jtalkTool .jt_box .jt_column.referenced_classes {
347
+ left: 67.3%
348
+ }
349
+
350
+ .jtalkTool .jt_box .jt_column.implementors .column_label,
351
+ .jtalkTool .jt_box .jt_column.senders .column_label,
352
+ .jtalkTool .jt_box .jt_column.referenced_classes .column_label {
353
+ background: #dbdbdb
354
+ }
355
+
356
+ .jtalkTool .jt_box .jt_column.implementors .column_label:hover,
357
+ .jtalkTool .jt_box .jt_column.senders .column_label:hover,
358
+ .jtalkTool .jt_box .jt_column.referenced_classes .column_label:hover {
359
+ font-weight: bold;
360
+ color: #000;
361
+ cursor: default
362
+ }
@@ -0,0 +1,456 @@
1
+ /* CSS Reset */
2
+
3
+ html,body {
4
+ margin: 0;
5
+ padding: 0;
6
+ font: 16px/1.6em Georgia,Times,Serif;
7
+ }
8
+
9
+ /* Layout */
10
+
11
+ .clear {clear:both}
12
+
13
+ .main {
14
+ margin: 0 auto;
15
+ width: 960px;
16
+ }
17
+
18
+ #header {
19
+ background: transparent url("../images/background_header.png") top center repeat-x;
20
+ height: 210px;
21
+ }
22
+
23
+ #header .main {
24
+ background: url("../images/balloon_header.png") no-repeat scroll right bottom;
25
+ height: 210px;
26
+ width: 973px;
27
+ }
28
+
29
+ #menu {
30
+ background: #d0def1;
31
+ border-top: 1px solid #aaa;
32
+ border-bottom: 1px solid #aaa;
33
+ position: absolute;
34
+ width: 100%;
35
+ height: 36px;
36
+ top: 210px;
37
+ font-family: arial,helvetica,sans;
38
+ z-index: 1;
39
+ }
40
+
41
+ #menu ul {
42
+ padding: 5px 0;
43
+ margin: 0;
44
+ }
45
+
46
+ #menu li {
47
+ display: inline;
48
+ padding: 1px;
49
+ }
50
+
51
+ #menu a {
52
+ color: #515a6a;
53
+ text-decoration: none;
54
+ padding: 10px 15px;
55
+ }
56
+
57
+ #menu a:hover {
58
+ color: #072d5a;
59
+ text-decoration: underline;
60
+ }
61
+
62
+ #menu .selected a,
63
+ #menu a:hover {
64
+ color: #072d5a;
65
+ text-decoration: none;
66
+ }
67
+
68
+ #menu #dropdown {
69
+ float: left;
70
+ margin-left: 220px;
71
+ background: #d0def1;
72
+ border: 1px solid #aaa;
73
+ border-top: 0 none;
74
+ width: auto;
75
+ display: none;
76
+ }
77
+
78
+ #menu #dropdown li {
79
+ display: block;
80
+ padding: 5px 0;
81
+ }
82
+
83
+ #content .main {
84
+ width: 980px;
85
+ margin: 0 auto;
86
+ }
87
+
88
+ .box {
89
+ padding: 30px;
90
+ margin: 40px 0;
91
+ color: #777;
92
+ box-shadow: 0 0 8px #aaa;
93
+ -moz-box-shadow: 0 0 8px #aaa;
94
+ -webkit-box-shadow: 0 0 8px #aaa;
95
+ border-radius: 10px;
96
+ -moz-border-radius: 10px;
97
+ -webkit-border-radius: 10px;
98
+ background: #fff url('../images/background_box.png') bottom left repeat-x;
99
+ }
100
+
101
+ .box a {
102
+ color: #5b9ff2;
103
+ text-decoration: none;
104
+ }
105
+
106
+ .box a:hover {
107
+ text-decoration: underline;
108
+ }
109
+
110
+ .box h2 {
111
+ font: 26px Georgia, Times, serif;
112
+ color: #242424;
113
+ margin: -30px;
114
+ margin-bottom: 0px;
115
+ padding: 15px;
116
+ background: #eee;
117
+ border-bottom: 1px solid #ccc;
118
+ border-top-left-radius: 10px;
119
+ border-top-right-radius: 10px;
120
+ -webkit-border-top-left-radius: 10px;
121
+ -webkit-border-top-right-radius: 10px;
122
+ -moz-border-radius-topleft: 10px;
123
+ -moz-border-radius-topright: 10px;
124
+ }
125
+
126
+ .box.first {
127
+ padding-top: 0;
128
+ margin-top: 70px;
129
+ }
130
+
131
+ .box.first, .box.last {
132
+ background-image: none;
133
+ }
134
+
135
+ .box.first h1 {
136
+ padding-bottom: 15px;
137
+ }
138
+
139
+ .box.first .content .right img {
140
+ margin-right: -30px
141
+ }
142
+
143
+ .box .content .right {
144
+ float: right;
145
+ }
146
+
147
+ .box .content .left {
148
+ float: left;
149
+ width: 420px;
150
+ }
151
+
152
+ .doc .content {
153
+ width: 620px;
154
+ }
155
+
156
+ .box h1 {
157
+ text-align: center;
158
+ margin-top: 0;
159
+ padding-top: 0;
160
+ }
161
+
162
+ .doc h3 a {
163
+ color: #ccc;
164
+ }
165
+
166
+ .doc h3 a:hover {
167
+ color: #0088CC;
168
+ }
169
+
170
+ .box .content p, h3 {
171
+ font: 16px Georgia, Times, Serif;
172
+ line-height: 1.6em;
173
+ padding: 10px 0;
174
+ margin: 0;
175
+ }
176
+
177
+ .box .content h3 {
178
+ font-size: 20px;
179
+ padding-bottom: 2px;
180
+ padding-top: 30px;
181
+ color: #272727;
182
+ }
183
+
184
+ .box .content h4 {
185
+ font: 18px Georgia, Times, serif;
186
+ color: #272727;
187
+ padding-top: 1em;
188
+ margin-top: 10px;
189
+ margin-bottom: 5px;
190
+ }
191
+
192
+ .box .content pre {
193
+ border: 1px solid #ccc;
194
+ background-color: #f5f5f5;
195
+ border-radius: 10px;
196
+ -moz-border-radius: 10px;
197
+ -webkit-border-radius: 10px;
198
+ padding: 1em;
199
+ line-height: 1.5em;
200
+ font-size: 14px;
201
+ color: #333;
202
+ }
203
+
204
+ .box .content code {
205
+ font-size: 14px;
206
+ color: #333;
207
+ margin: 0;
208
+ padding: 0 3px;
209
+ border: 1px solid #bbb;
210
+ background: #f1f1f1;
211
+ }
212
+
213
+ .box .content pre code {
214
+ background: transparent;
215
+ border: 0 none;
216
+ color: #333;
217
+ }
218
+
219
+ .box .content pre .prompt {
220
+ color: #aaa;
221
+ }
222
+
223
+ .box .content pre .kbd {
224
+ font-weight: bold;
225
+ }
226
+
227
+ .box .content pre .kbd.var {
228
+ font-weight: normal;
229
+ font-style: italic;
230
+ }
231
+
232
+ .box .content .tip {
233
+ border: 1px solid #565656;
234
+ border-radius: 10px;
235
+ -moz-border-radius: 10px;
236
+ -webkit-border-radius: 10px;
237
+ padding: 1em;
238
+ }
239
+
240
+ .box .top img {
241
+ margin: 30px 0 0 70px;
242
+ }
243
+
244
+ .box.last .content .left {
245
+ width: 560px;
246
+ }
247
+
248
+ .box.last .content .left {
249
+ margin-left: -30px;
250
+ margin-bottom: -32px
251
+ }
252
+
253
+ .box.doc {
254
+ margin-top: 70px;
255
+ position: relative;
256
+ width: 630px;
257
+ }
258
+
259
+ .box .content .warning,
260
+ .box .content .information {
261
+ position: absolute;
262
+ right: -250px;
263
+ margin-top: 20px;
264
+ width: 200px;
265
+ font-size: 14px;
266
+ color: #222;
267
+ font-family: arial,helevetica,sans;
268
+ padding: 10px;
269
+ opacity: 0.7;
270
+ -moz-transition: opacity 0.3s;
271
+ -webkit-transition: opacity 0.3s;
272
+ -o-transition: opacity 0.3s;
273
+ }
274
+
275
+ .box .content .warning:hover,
276
+ .box .content .information:hover {
277
+ opacity: 1;
278
+ }
279
+
280
+ .box .content .information:before,
281
+ .box .content .warning:before {
282
+ font-family: Georgia, sans-serif;
283
+ font-size: 28px;
284
+ font-style: italic;
285
+ position: absolute;
286
+ right: 0;
287
+ top: -21px;
288
+ opacity: 0.5;
289
+ }
290
+
291
+ .box .content .information:before {
292
+ content: "Info";
293
+ color: #a6b1f3;
294
+ }
295
+
296
+ .box .content .warning:before {
297
+ content: "Warning";
298
+ color: #e869e7;
299
+ }
300
+
301
+ .box .content .information {
302
+ background-color: #e4e8ff;
303
+ }
304
+
305
+ .box .content .warning {
306
+ background-color: #f8ccf8;
307
+ }
308
+
309
+ .box .content .code {
310
+ background: #565656;
311
+ border-radius: 10px;
312
+ -moz-border-radius: 10px;
313
+ -webkit-border-radius: 10px;
314
+ padding: 7px;
315
+ }
316
+
317
+ .box .content .code p {
318
+ color: white;
319
+ }
320
+
321
+ .box.first .content .left h2 {
322
+ font: 30px regular Georgia, Times, serif;
323
+ color: #272727;
324
+ margin-top: 10px;
325
+ }
326
+
327
+ .box.first .content .left ul {
328
+ padding-left: 10px;
329
+ }
330
+
331
+ .box.last .content .right {
332
+ width: 300px;
333
+ }
334
+
335
+ .doc .box.first .content .right {
336
+ float: right;
337
+ width: 230px;
338
+ margin-top: 20px;
339
+ padding: 10px;
340
+ background-color: #ececec;
341
+ border: 1px solid #e1e1e1;
342
+ border-radius: 10px;
343
+ -moz-border-radius: 10px;
344
+ -webkit-border-radius: 10px;
345
+ }
346
+
347
+ .doc .box.first .content .right ol,
348
+ .doc .box.first .content .right ol a {
349
+ font: 18px Georgia, Time, serif;
350
+ color: #03388a;
351
+ }
352
+
353
+ .doc .box.first .content .right ol {
354
+ padding: 0 0 7px 35px;
355
+ }
356
+
357
+ .doc .box.first .content .right ol li{
358
+ padding: 7px 0 7px 0;
359
+ }
360
+
361
+ .doc .box.first .content .right ul a {
362
+ font: 15px Helvetica, Arial, sans;
363
+ color: black;
364
+ }
365
+
366
+ .doc .box.first .content .right ul li {
367
+ list-style-type: none;
368
+ padding: 2px 0 2px 0;
369
+ }
370
+
371
+ .trysmalltalk {
372
+ text-align: right;
373
+ padding: 10px;
374
+ }
375
+
376
+ .trysmalltalk textarea {
377
+ width: 850px;
378
+ height: 300px;
379
+ padding: 20px;
380
+ background-color: #eaeaea;
381
+ border: 1px solid #d3d3d3;
382
+ border-radius: 10px;
383
+ -moz-border-radius: 10px;
384
+ -webkit-border-radius: 10px;
385
+ font: 16px monaco, courier, monospace;
386
+ color: 434343;
387
+ line-height: 1.6em;
388
+ }
389
+
390
+ .trysmalltalk button {
391
+ margin: 20px 0 0 5px;
392
+ padding: 4px;
393
+ background: #75aef5;
394
+ border: 1px solid #7caeed;
395
+ border-radius: 8px;
396
+ -moz-border-radius: 8px;
397
+ -webkit-border-radius: 8px;
398
+ color: white;
399
+ cursor: pointer;
400
+ }
401
+
402
+ .trysmalltalk .print-it {
403
+ background: #bebebe;
404
+ border: 1px solid #b2b2b2;
405
+ }
406
+
407
+ .trysmalltalk button:hover {
408
+ background: #3180e1;
409
+ border: 1px solid #518cd6;
410
+ }
411
+
412
+ #counters {
413
+ border: 2px dashed;
414
+ text-align: center;
415
+ padding: 10px;
416
+ margin: 10px;
417
+ background: #ffffcc;
418
+ font-family: arial,helvetica,sans;
419
+ }
420
+
421
+ #counters h1 {
422
+ margin: 10px;
423
+ color: #333;
424
+ }
425
+
426
+
427
+ .trysmalltalk .print-it:hover {
428
+ background: #898989;
429
+ border: 1px solid #919293;
430
+ }
431
+
432
+ #footer {
433
+ height: 160px;
434
+ margin: 0 auto;
435
+ }
436
+
437
+ #footer .main {
438
+ border-top: 1px dashed #bbb;
439
+ padding-top: 10px;
440
+ }
441
+
442
+ #footer p {
443
+ text-align: center;
444
+ line-height: 1em;
445
+ color: #aaa;
446
+ }
447
+
448
+ #footer a {
449
+ color: #3faae1;
450
+ text-decoration: none;
451
+ }
452
+
453
+ #footer a:hover {
454
+ text-decoration: underline;
455
+ }
456
+