mattmatt-showoff 0.2.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (96) hide show
  1. data/LICENSE +20 -0
  2. data/README.rdoc +280 -0
  3. data/Rakefile +15 -0
  4. data/bin/showoff +115 -0
  5. data/lib/princely.rb +84 -0
  6. data/lib/showoff.rb +346 -0
  7. data/lib/showoff_utils.rb +259 -0
  8. data/public/css/fg.menu.css +114 -0
  9. data/public/css/onepage.css +44 -0
  10. data/public/css/pdf.css +12 -0
  11. data/public/css/reset.css +53 -0
  12. data/public/css/sh_style.css +66 -0
  13. data/public/css/showoff.css +258 -0
  14. data/public/css/spinner_bar.gif +0 -0
  15. data/public/css/theme/images/ui-bg_diagonals-small_100_f0efea_40x40.png +0 -0
  16. data/public/css/theme/images/ui-bg_flat_35_f0f0f0_40x100.png +0 -0
  17. data/public/css/theme/images/ui-bg_glass_55_fcf0ba_1x400.png +0 -0
  18. data/public/css/theme/images/ui-bg_glow-ball_25_2e2e28_600x600.png +0 -0
  19. data/public/css/theme/images/ui-bg_highlight-soft_100_f0efea_1x100.png +0 -0
  20. data/public/css/theme/images/ui-bg_highlight-soft_25_327E04_1x100.png +0 -0
  21. data/public/css/theme/images/ui-bg_highlight-soft_25_5A9D1A_1x100.png +0 -0
  22. data/public/css/theme/images/ui-bg_highlight-soft_95_ffedad_1x100.png +0 -0
  23. data/public/css/theme/images/ui-bg_inset-soft_22_3b3b35_1x100.png +0 -0
  24. data/public/css/theme/images/ui-icons_808080_256x240.png +0 -0
  25. data/public/css/theme/images/ui-icons_8DC262_256x240.png +0 -0
  26. data/public/css/theme/images/ui-icons_cd0a0a_256x240.png +0 -0
  27. data/public/css/theme/images/ui-icons_e7e6e4_256x240.png +0 -0
  28. data/public/css/theme/images/ui-icons_eeeeee_256x240.png +0 -0
  29. data/public/css/theme/images/ui-icons_ffffff_256x240.png +0 -0
  30. data/public/css/theme/ui.accordion.css +9 -0
  31. data/public/css/theme/ui.all.css +2 -0
  32. data/public/css/theme/ui.base.css +9 -0
  33. data/public/css/theme/ui.core.css +37 -0
  34. data/public/css/theme/ui.datepicker.css +62 -0
  35. data/public/css/theme/ui.dialog.css +13 -0
  36. data/public/css/theme/ui.progressbar.css +4 -0
  37. data/public/css/theme/ui.resizable.css +13 -0
  38. data/public/css/theme/ui.slider.css +17 -0
  39. data/public/css/theme/ui.tabs.css +9 -0
  40. data/public/css/theme/ui.theme.css +245 -0
  41. data/public/favicon.ico +0 -0
  42. data/public/js/fg.menu.js +645 -0
  43. data/public/js/jTypeWriter.js +26 -0
  44. data/public/js/jquery-1.4.min.js +151 -0
  45. data/public/js/jquery-print.js +109 -0
  46. data/public/js/jquery.batchImageLoad.js +56 -0
  47. data/public/js/jquery.cookie.js +96 -0
  48. data/public/js/jquery.cycle.all.js +1284 -0
  49. data/public/js/jquery.doubletap-0.1.js +105 -0
  50. data/public/js/jquery.uuid.js +24 -0
  51. data/public/js/jquery.ws-0.3pre.js +201 -0
  52. data/public/js/onepage.js +5 -0
  53. data/public/js/sh_lang/sh_bison.min.js +1 -0
  54. data/public/js/sh_lang/sh_c.min.js +1 -0
  55. data/public/js/sh_lang/sh_caml.min.js +1 -0
  56. data/public/js/sh_lang/sh_changelog.min.js +1 -0
  57. data/public/js/sh_lang/sh_cpp.min.js +1 -0
  58. data/public/js/sh_lang/sh_csharp.min.js +1 -0
  59. data/public/js/sh_lang/sh_css.min.js +1 -0
  60. data/public/js/sh_lang/sh_desktop.min.js +1 -0
  61. data/public/js/sh_lang/sh_diff.min.js +1 -0
  62. data/public/js/sh_lang/sh_flex.min.js +1 -0
  63. data/public/js/sh_lang/sh_glsl.min.js +1 -0
  64. data/public/js/sh_lang/sh_haxe.min.js +1 -0
  65. data/public/js/sh_lang/sh_html.min.js +1 -0
  66. data/public/js/sh_lang/sh_java.min.js +1 -0
  67. data/public/js/sh_lang/sh_javascript.min.js +1 -0
  68. data/public/js/sh_lang/sh_javascript_dom.min.js +1 -0
  69. data/public/js/sh_lang/sh_latex.min.js +1 -0
  70. data/public/js/sh_lang/sh_ldap.min.js +1 -0
  71. data/public/js/sh_lang/sh_log.min.js +1 -0
  72. data/public/js/sh_lang/sh_lsm.min.js +1 -0
  73. data/public/js/sh_lang/sh_m4.min.js +1 -0
  74. data/public/js/sh_lang/sh_makefile.min.js +1 -0
  75. data/public/js/sh_lang/sh_oracle.min.js +1 -0
  76. data/public/js/sh_lang/sh_pascal.min.js +1 -0
  77. data/public/js/sh_lang/sh_perl.min.js +1 -0
  78. data/public/js/sh_lang/sh_php.min.js +1 -0
  79. data/public/js/sh_lang/sh_prolog.min.js +1 -0
  80. data/public/js/sh_lang/sh_properties.min.js +1 -0
  81. data/public/js/sh_lang/sh_python.min.js +1 -0
  82. data/public/js/sh_lang/sh_ruby.min.js +1 -0
  83. data/public/js/sh_lang/sh_scala.min.js +1 -0
  84. data/public/js/sh_lang/sh_sh.min.js +1 -0
  85. data/public/js/sh_lang/sh_slang.min.js +1 -0
  86. data/public/js/sh_lang/sh_sml.min.js +1 -0
  87. data/public/js/sh_lang/sh_spec.min.js +1 -0
  88. data/public/js/sh_lang/sh_sql.min.js +1 -0
  89. data/public/js/sh_lang/sh_tcl.min.js +1 -0
  90. data/public/js/sh_lang/sh_xml.min.js +1 -0
  91. data/public/js/sh_lang/sh_xorg.min.js +1 -0
  92. data/public/js/sh_main.min.js +4 -0
  93. data/public/js/showoff.js +441 -0
  94. data/views/index.erb +73 -0
  95. data/views/onepage.erb +36 -0
  96. metadata +198 -0
@@ -0,0 +1,114 @@
1
+ /* Styles for jQuery menu widget
2
+ Author: Maggie Wachs, maggie@filamentgroup.com
3
+ Date: September 2008
4
+ */
5
+
6
+
7
+ /* REQUIRED STYLES - the menus will only render correctly with these rules */
8
+
9
+ .fg-menu-container { position: absolute; top:0; left:-999px; padding: .4em; overflow: hidden; }
10
+ .fg-menu-container.fg-menu-flyout { overflow: visible; }
11
+
12
+ .fg-menu, .fg-menu ul { list-style-type:none; padding: 0; margin:0; }
13
+
14
+ .fg-menu { position:relative; }
15
+ .fg-menu-flyout .fg-menu { position:static; }
16
+
17
+ .fg-menu ul { position:absolute; top:0; }
18
+ .fg-menu ul ul { top:-1px; }
19
+
20
+ .fg-menu-container.fg-menu-ipod .fg-menu-content,
21
+ .fg-menu-container.fg-menu-ipod .fg-menu-content ul { background: none !important; }
22
+
23
+ .fg-menu.fg-menu-scroll,
24
+ .fg-menu ul.fg-menu-scroll { overflow: scroll; overflow-x: hidden; }
25
+
26
+ .fg-menu li { clear:both; float:left; width:100%; margin: 0; padding:0; border: 0; }
27
+ .fg-menu li li { font-size:1em; } /* inner li font size must be reset so that they don't blow up */
28
+
29
+ .fg-menu-flyout ul ul { padding: .4em; }
30
+ .fg-menu-flyout li { position:relative; }
31
+
32
+ .fg-menu-scroll { overflow: scroll; overflow-x: hidden; }
33
+
34
+ .fg-menu-breadcrumb { margin: 0; padding: 0; }
35
+
36
+ .fg-menu-footer { margin-top: .4em; padding: .4em; }
37
+ .fg-menu-header { margin-bottom: .4em; padding: .4em; }
38
+
39
+ .fg-menu-breadcrumb li { float: left; list-style: none; margin: 0; padding: 0 .2em; font-size: .9em; opacity: .7; }
40
+ .fg-menu-breadcrumb li.fg-menu-prev-list,
41
+ .fg-menu-breadcrumb li.fg-menu-current-crumb { clear: left; float: none; opacity: 1; }
42
+ .fg-menu-breadcrumb li.fg-menu-current-crumb { padding-top: .2em; }
43
+
44
+ .fg-menu-breadcrumb a,
45
+ .fg-menu-breadcrumb span { float: left; }
46
+
47
+ .fg-menu-footer a:link,
48
+ .fg-menu-footer a:visited { float:left; width:100%; text-decoration: none; }
49
+ .fg-menu-footer a:hover,
50
+ .fg-menu-footer a:active { }
51
+
52
+ .fg-menu-footer a span { float:left; cursor: pointer; }
53
+
54
+ .fg-menu-breadcrumb .fg-menu-prev-list a:link,
55
+ .fg-menu-breadcrumb .fg-menu-prev-list a:visited,
56
+ .fg-menu-breadcrumb .fg-menu-prev-list a:hover,
57
+ .fg-menu-breadcrumb .fg-menu-prev-list a:active { background-image: none; text-decoration:none; }
58
+
59
+ .fg-menu-breadcrumb .fg-menu-prev-list a { float: left; padding-right: .4em; }
60
+ .fg-menu-breadcrumb .fg-menu-prev-list a .ui-icon { float: left; }
61
+
62
+ .fg-menu-breadcrumb .fg-menu-current-crumb a:link,
63
+ .fg-menu-breadcrumb .fg-menu-current-crumb a:visited,
64
+ .fg-menu-breadcrumb .fg-menu-current-crumb a:hover,
65
+ .fg-menu-breadcrumb .fg-menu-current-crumb a:active { display:block; background-image:none; font-size:1.3em; text-decoration:none; }
66
+
67
+
68
+
69
+ /* REQUIRED LINK STYLES: links are "display:block" by default; if the menu options are split into
70
+ selectable node links and 'next' links, the script floats the node links left and floats the 'next' links to the right */
71
+
72
+ .fg-menu a:link,
73
+ .fg-menu a:visited,
74
+ .fg-menu a:hover,
75
+ .fg-menu a:active { float:left; width:92%; padding:.3em 3%; text-decoration:none; outline: 0 !important; }
76
+
77
+ .fg-menu a { border: 1px dashed transparent; }
78
+
79
+ .fg-menu a.ui-state-default:link,
80
+ .fg-menu a.ui-state-default:visited,
81
+ .fg-menu a.ui-state-default:hover,
82
+ .fg-menu a.ui-state-default:active,
83
+ .fg-menu a.ui-state-hover:link,
84
+ .fg-menu a.ui-state-hover:visited,
85
+ .fg-menu a.ui-state-hover:hover,
86
+ .fg-menu a.ui-state-hover:active,
87
+ .fg-menu a.ui-state-active:link,
88
+ .fg-menu a.ui-state-active:visited,
89
+ .fg-menu a.ui-state-active:hover,
90
+ .fg-menu a.ui-state-active:active { border-style: solid; font-weight: normal; }
91
+
92
+ .fg-menu a span { display:block; cursor:pointer; }
93
+
94
+
95
+ /* SUGGESTED STYLES - for use with jQuery UI Themeroller CSS */
96
+
97
+ .fg-menu-indicator span { float:left; }
98
+ .fg-menu-indicator span.ui-icon { float:right; }
99
+
100
+ .fg-menu-content.ui-widget-content,
101
+ .fg-menu-content ul.ui-widget-content { border:0; }
102
+
103
+
104
+ /* ICONS AND DIVIDERS */
105
+
106
+ .fg-menu.fg-menu-has-icons a:link,
107
+ .fg-menu.fg-menu-has-icons a:visited,
108
+ .fg-menu.fg-menu-has-icons a:hover,
109
+ .fg-menu.fg-menu-has-icons a:active { padding-left:20px; }
110
+
111
+ .fg-menu .horizontal-divider hr, .fg-menu .horizontal-divider span { padding:0; margin:5px .6em; }
112
+ .fg-menu .horizontal-divider hr { border:0; height:1px; }
113
+ .fg-menu .horizontal-divider span { font-size:.9em; text-transform: uppercase; padding-left:.2em; }
114
+
@@ -0,0 +1,44 @@
1
+ .slide {
2
+ margin: 10px;
3
+ padding: 0;
4
+ width: 1020px;
5
+ height: 740px;
6
+ margin-left:auto;
7
+ margin-right:auto;
8
+ overflow:hidden;
9
+ border: 1px solid #333;
10
+ page-break-after: always
11
+ }
12
+
13
+ /* iPhone */
14
+ /* Portrait */
15
+ @media screen and (max-width: 320px)
16
+ {
17
+ .preso {
18
+ margin: 10px;
19
+ padding: 0;
20
+ width: 320px;
21
+ min-height: 480px;
22
+ margin-left:auto;
23
+ margin-right:auto;
24
+ /* overflow:hidden;*/
25
+ border: 1px solid #333;
26
+ page-break-after: always
27
+ }
28
+ }
29
+ /* Landscape */
30
+ @media screen and (min-width: 321px)
31
+ {
32
+ .preso {
33
+ margin: 10px;
34
+ padding: 0;
35
+ width: 480px;
36
+ min-height: 320px;
37
+ margin-left:auto;
38
+ margin-right:auto;
39
+ /* overflow:hidden;*/
40
+ border: 1px solid #333;
41
+ page-break-after: always
42
+ }
43
+ }
44
+
@@ -0,0 +1,12 @@
1
+ .slide {
2
+ margin: 0;
3
+ padding: 0;
4
+ width: 100%;
5
+ height: 740px;
6
+ margin-left:auto;
7
+ margin-right:auto;
8
+ overflow:hidden;
9
+ page-break-after: always
10
+ }
11
+
12
+ @page { size: A4 landscape }
@@ -0,0 +1,53 @@
1
+ /* http://meyerweb.com/eric/tools/css/reset/ */
2
+ /* v1.0 | 20080212 */
3
+
4
+ html, body, div, span, applet, object, iframe,
5
+ h1, h2, h3, h4, h5, h6, p, blockquote, pre,
6
+ a, abbr, acronym, address, big, cite, code,
7
+ del, dfn, em, font, img, ins, kbd, q, s, samp,
8
+ small, strike, strong, sub, sup, tt, var,
9
+ b, u, i, center,
10
+ dl, dt, dd, ol, ul, li,
11
+ fieldset, form, label, legend,
12
+ table, caption, tbody, tfoot, thead, tr, th, td {
13
+ margin: 0;
14
+ padding: 0;
15
+ border: 0;
16
+ outline: 0;
17
+ font-size: 100%;
18
+ vertical-align: baseline;
19
+ background: transparent;
20
+ }
21
+ body {
22
+ line-height: 1;
23
+ }
24
+ ol, ul {
25
+ list-style: none;
26
+ }
27
+ blockquote, q {
28
+ quotes: none;
29
+ }
30
+ blockquote:before, blockquote:after,
31
+ q:before, q:after {
32
+ content: '';
33
+ content: none;
34
+ }
35
+
36
+ /* remember to define focus styles! */
37
+ :focus {
38
+ outline: 0;
39
+ }
40
+
41
+ /* remember to highlight inserts somehow! */
42
+ ins {
43
+ text-decoration: none;
44
+ }
45
+ del {
46
+ text-decoration: line-through;
47
+ }
48
+
49
+ /* tables still need 'cellspacing="0"' in the markup */
50
+ table {
51
+ border-collapse: collapse;
52
+ border-spacing: 0;
53
+ }
@@ -0,0 +1,66 @@
1
+ pre.sh_sourceCode {
2
+ background-color: white;
3
+ color: black;
4
+ font-style: normal;
5
+ font-weight: normal;
6
+ }
7
+
8
+ pre.sh_sourceCode .sh_keyword { color: blue; font-weight: bold; } /* language keywords */
9
+ pre.sh_sourceCode .sh_type { color: darkgreen; } /* basic types */
10
+ pre.sh_sourceCode .sh_usertype { color: teal; } /* user defined types */
11
+ pre.sh_sourceCode .sh_string { color: red; font-family: monospace; } /* strings and chars */
12
+ pre.sh_sourceCode .sh_regexp { color: orange; font-family: monospace; } /* regular expressions */
13
+ pre.sh_sourceCode .sh_specialchar { color: pink; font-family: monospace; } /* e.g., \n, \t, \\ */
14
+ pre.sh_sourceCode .sh_comment { color: brown; font-style: italic; } /* comments */
15
+ pre.sh_sourceCode .sh_number { color: purple; } /* literal numbers */
16
+ pre.sh_sourceCode .sh_preproc { color: darkblue; font-weight: bold; } /* e.g., #include, import */
17
+ pre.sh_sourceCode .sh_symbol { color: darkred; } /* */
18
+ pre.sh_sourceCode .sh_function { color: black; font-weight: bold; } /* function calls and declarations */
19
+ pre.sh_sourceCode .sh_cbracket { color: red; } /* block brackets (e.g., {, }) */
20
+ pre.sh_sourceCode .sh_todo { font-weight: bold; background-color: cyan; } /* TODO and FIXME */
21
+
22
+ /* Predefined variables and functions (for instance glsl) */
23
+ pre.sh_sourceCode .sh_predef_var { color: darkblue; }
24
+ pre.sh_sourceCode .sh_predef_func { color: darkblue; font-weight: bold; }
25
+
26
+ /* for OOP */
27
+ pre.sh_sourceCode .sh_classname { color: teal; }
28
+
29
+ /* line numbers (not yet implemented) */
30
+ pre.sh_sourceCode .sh_linenum { color: black; font-family: monospace; }
31
+
32
+ /* Internet related */
33
+ pre.sh_sourceCode .sh_url { color: blue; text-decoration: underline; font-family: monospace; }
34
+
35
+ /* for ChangeLog and Log files */
36
+ pre.sh_sourceCode .sh_date { color: blue; font-weight: bold; }
37
+ pre.sh_sourceCode .sh_time, pre.sh_sourceCode .sh_file { color: darkblue; font-weight: bold; }
38
+ pre.sh_sourceCode .sh_ip, pre.sh_sourceCode .sh_name { color: darkgreen; }
39
+
40
+ /* for Prolog, Perl... */
41
+ pre.sh_sourceCode .sh_variable { color: darkgreen; }
42
+
43
+ /* for LaTeX */
44
+ pre.sh_sourceCode .sh_italics { color: darkgreen; font-style: italic; }
45
+ pre.sh_sourceCode .sh_bold { color: darkgreen; font-weight: bold; }
46
+ pre.sh_sourceCode .sh_underline { color: darkgreen; text-decoration: underline; }
47
+ pre.sh_sourceCode .sh_fixed { color: green; font-family: monospace; }
48
+ pre.sh_sourceCode .sh_argument { color: darkgreen; }
49
+ pre.sh_sourceCode .sh_optionalargument { color: purple; }
50
+ pre.sh_sourceCode .sh_math { color: orange; }
51
+ pre.sh_sourceCode .sh_bibtex { color: blue; }
52
+
53
+ /* for diffs */
54
+ pre.sh_sourceCode .sh_oldfile { color: orange; }
55
+ pre.sh_sourceCode .sh_newfile { color: darkgreen; }
56
+ pre.sh_sourceCode .sh_difflines { color: blue; }
57
+
58
+ /* for css */
59
+ pre.sh_sourceCode .sh_selector { color: purple; }
60
+ pre.sh_sourceCode .sh_property { color: blue; }
61
+ pre.sh_sourceCode .sh_value { color: darkgreen; font-style: italic; }
62
+
63
+ /* other */
64
+ pre.sh_sourceCode .sh_section { color: black; font-weight: bold; }
65
+ pre.sh_sourceCode .sh_paren { color: red; }
66
+ pre.sh_sourceCode .sh_attribute { color: darkgreen; }
@@ -0,0 +1,258 @@
1
+ body {
2
+ font-family: "Gill Sans", Helvetica, Arial, sans-serif;
3
+ }
4
+
5
+ #preso, .slide {
6
+ background: #fff;
7
+ width: 1020px;
8
+ height: 740px;
9
+ margin-left:auto;
10
+ margin-right:auto;
11
+ overflow:hidden;
12
+ }
13
+
14
+ #footer {
15
+ background: #eee;
16
+ padding: 2px;
17
+ width: 1010px;
18
+ height: 20px;
19
+ margin-left:auto;
20
+ margin-right:auto;
21
+ }
22
+
23
+ /* iPhone */
24
+ /* Portrait */
25
+ @media screen and (max-width: 320px)
26
+ {
27
+ #preso {
28
+ margin: 0;
29
+ padding: 0;
30
+ width: 320px;
31
+ max-height: 356px;
32
+ margin-left:auto;
33
+ margin-right:auto;
34
+ /* overflow:hidden;*/
35
+ }
36
+ #footer {
37
+ background: #eee;
38
+ margin: 0;
39
+ padding: 2px;
40
+ width: 320px;
41
+ height: 20px;
42
+ margin-left:auto;
43
+ margin-right:auto;
44
+ }
45
+ }
46
+ /* Landscape */
47
+ @media screen and (max-width: 480px)
48
+ {
49
+ #preso {
50
+ margin: 0;
51
+ padding: 0;
52
+ /* min-height: 320px;*/
53
+ width: 480px;
54
+ margin-left:auto;
55
+ margin-right:auto;
56
+ }
57
+ #footer {
58
+ background: #eee;
59
+ margin: 0;
60
+ padding: 2px;
61
+ width: 480px;
62
+ height: 20px;
63
+ margin-left:auto;
64
+ margin-right:auto;
65
+ }
66
+ }
67
+
68
+ .slide {
69
+ border: 1px solid #fff;
70
+ }
71
+
72
+ .center img {
73
+ display:block;
74
+ margin-left:auto;
75
+ margin-right:auto;
76
+ }
77
+
78
+ .slide .center {
79
+ height: 740px;
80
+ width: 1020px;
81
+ display: table-cell;
82
+ text-align: center;
83
+ vertical-align: middle;
84
+ }
85
+
86
+ .bullets ul {
87
+ font-size: 3em;
88
+ }
89
+ .bullets ul li {
90
+ text-align: center;
91
+ padding: 25px;
92
+ }
93
+
94
+ .smbullets ul {
95
+ font-size: 2em;
96
+ }
97
+ .smbullets ul li {
98
+ text-align: center;
99
+ padding: 10px;
100
+ }
101
+
102
+ .commandline pre {
103
+ font-size: 2em;
104
+ }
105
+
106
+ .commandline code.command {
107
+ color: #000;
108
+ }
109
+
110
+ .commandline code.result {
111
+ color: #444;
112
+ }
113
+
114
+ .command h1 {
115
+ white-space: pre;
116
+ font-family: monospace;
117
+ font-size: 3em;
118
+ }
119
+
120
+ .code {
121
+ white-space: pre;
122
+ font-family: monospace;
123
+ }
124
+
125
+ .subsection {
126
+ background: #008;
127
+ color: #fff;
128
+ }
129
+
130
+ .small {
131
+ font-size: 80%;
132
+ }
133
+
134
+ .smaller {
135
+ font-size: 70%;
136
+ }
137
+
138
+ h1 { font-size: 5em; font-weight: normal; text-align: center;}
139
+ h2 { font-size: 3em; font-weight: normal; text-align: center; }
140
+ h3 { font-size: 2em; font-weight: normal; text-align: center; }
141
+
142
+ h1, h2, h3 {
143
+ margin: 0.5em 0;
144
+ }
145
+
146
+ pre { margin-left: 40px; font-size: 2.8em; }
147
+
148
+ .notes { display: none }
149
+ .hidden { position:absolute; top:0; left:-9999px; width:1px; height:1px; overflow:hidden; }
150
+ .offscreen { position:absolute; top:0; left:-9999px; overflow:hidden; }
151
+ #debugInfo { margin-left: 30px; }
152
+
153
+ #help {
154
+ background: #9f9;
155
+ position: absolute;
156
+ right: 80px;
157
+ display: none;
158
+ z-index: 2147483647; //max, see http://www.puidokas.com/max-z-index/
159
+ }
160
+ #help table tr td.key {
161
+ text-align: right;
162
+ border-right: 2px solid #8b8;
163
+ padding-right: 4px;
164
+ font-weight: bold;
165
+ }
166
+
167
+ .fg-menu-container {
168
+ z-index: 2147483647; //max, see http://www.puidokas.com/max-z-index/
169
+ }
170
+
171
+ .fg-button { clear:left; margin:0 4px 40px 20px; padding: .4em 1em; text-decoration:none !important; cursor:pointer; position: relative; text-align: center; zoom: 1; }
172
+ .fg-button .ui-icon { position: absolute; top: 50%; margin-top: -8px; left: 50%; margin-left: -8px; }
173
+ a.fg-button { float:left; }
174
+ .fg-button-icon-right { padding-right: 2.1em; }
175
+ .fg-button-icon-right .ui-icon { left: auto; right: .2em; margin-left: 0; }
176
+
177
+ .fg-button.ui-state-loading .ui-icon { background: url(spinner_bar.gif) no-repeat 0 0; }
178
+
179
+ #navmenu { position: absolute; top: 10px; left: 10px; width: 50px; }
180
+
181
+ .code .c { color: #999988; font-style: italic } /* Comment */
182
+ .code .err { color: #a61717; background-color: #e3d2d2 } /* Error */
183
+ .code .k { font-weight: bold } /* Keyword */
184
+ .code .o { font-weight: bold } /* Operator */
185
+ .code .cm { color: #999988; font-style: italic } /* Comment.Multiline */
186
+ .code .cp { color: #999999; font-weight: bold } /* Comment.Preproc */
187
+ .code .c1 { color: #999988; font-style: italic } /* Comment.Single */
188
+ .code .cs { color: #999999; font-weight: bold; font-style: italic } /* Comment.Special */
189
+ .code .gd { color: #000000; background-color: #ffdddd } /* Generic.Deleted */
190
+ .code .gd .x { color: #000000; background-color: #ffaaaa } /* Generic.Deleted.Specific */
191
+ .code .ge { font-style: italic } /* Generic.Emph */
192
+ .code .gr { color: #aa0000 } /* Generic.Error */
193
+ .code .gh { color: #999999 } /* Generic.Heading */
194
+ .code .gi { color: #000000; background-color: #ddffdd } /* Generic.Inserted */
195
+ .code .gi .x { color: #000000; background-color: #aaffaa } /* Generic.Inserted.Specific */
196
+ .code .go { color: #888888 } /* Generic.Output */
197
+ .code .gp { color: #555555 } /* Generic.Prompt */
198
+ .code .gs { font-weight: bold } /* Generic.Strong */
199
+ .code .gu { color: #aaaaaa } /* Generic.Subheading */
200
+ .code .gt { color: #aa0000 } /* Generic.Traceback */
201
+ .code .kc { font-weight: bold } /* Keyword.Constant */
202
+ .code .kd { font-weight: bold } /* Keyword.Declaration */
203
+ .code .kp { font-weight: bold } /* Keyword.Pseudo */
204
+ .code .kr { font-weight: bold } /* Keyword.Reserved */
205
+ .code .kt { color: #445588; font-weight: bold } /* Keyword.Type */
206
+ .code .m { color: #009999 } /* Literal.Number */
207
+ .code .s { color: #d14 } /* Literal.String */
208
+ .code .na { color: #008080 } /* Name.Attribute */
209
+ .code .nb { color: #0086B3 } /* Name.Builtin */
210
+ .code .nc { color: #445588; font-weight: bold } /* Name.Class */
211
+ .code .no { color: #008080 } /* Name.Constant */
212
+ .code .ni { color: #800080 } /* Name.Entity */
213
+ .code .ne { color: #990000; font-weight: bold } /* Name.Exception */
214
+ .code .nf { color: #990000; font-weight: bold } /* Name.Function */
215
+ .code .nn { color: #555555 } /* Name.Namespace */
216
+ .code .nt { color: #000080 } /* Name.Tag */
217
+ .code .nv { color: #008080 } /* Name.Variable */
218
+ .code .ow { font-weight: bold } /* Operator.Word */
219
+ .code .w { color: #bbbbbb } /* Text.Whitespace */
220
+ .code .mf { color: #009999 } /* Literal.Number.Float */
221
+ .code .mh { color: #009999 } /* Literal.Number.Hex */
222
+ .code .mi { color: #009999 } /* Literal.Number.Integer */
223
+ .code .mo { color: #009999 } /* Literal.Number.Oct */
224
+ .code .sb { color: #d14 } /* Literal.String.Backtick */
225
+ .code .sc { color: #d14 } /* Literal.String.Char */
226
+ .code .sd { color: #d14 } /* Literal.String.Doc */
227
+ .code .s2 { color: #d14 } /* Literal.String.Double */
228
+ .code .se { color: #d14 } /* Literal.String.Escape */
229
+ .code .sh { color: #d14 } /* Literal.String.Heredoc */
230
+ .code .si { color: #d14 } /* Literal.String.Interpol */
231
+ .code .sx { color: #d14 } /* Literal.String.Other */
232
+ .code .sr { color: #009926 } /* Literal.String.Regex */
233
+ .code .s1 { color: #d14 } /* Literal.String.Single */
234
+ .code .ss { color: #990073 } /* Literal.String.Symbol */
235
+ .code .bp { color: #999999 } /* Name.Builtin.Pseudo */
236
+ .code .vc { color: #008080 } /* Name.Variable.Class */
237
+ .code .vg { color: #008080 } /* Name.Variable.Global */
238
+ .code .vi { color: #008080 } /* Name.Variable.Instance */
239
+ .code .il { color: #009999 } /* Literal.Number.Integer.Long */
240
+
241
+ .results {
242
+ background-color:#002200;
243
+ color:#00AA00;
244
+ font-size:2em;
245
+ border:2px solid black;
246
+ position: fixed;
247
+ top:0px;
248
+ width:100%;
249
+ padding:15px;
250
+ margin:0px;
251
+ font-family: monospace;
252
+ z-index: 2147483647; //max, see http://www.puidokas.com/max-z-index/
253
+ }
254
+
255
+ .executing {
256
+ color:#0000FF !important;
257
+ background-color: yellow;
258
+ }