mg_showoff 0.5.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (100) hide show
  1. data/LICENSE +20 -0
  2. data/README.rdoc +532 -0
  3. data/Rakefile +7 -0
  4. data/bin/showoff +145 -0
  5. data/lib/commandline_parser.rb +67 -0
  6. data/lib/princely.rb +84 -0
  7. data/lib/showoff.rb +452 -0
  8. data/lib/showoff_utils.rb +369 -0
  9. data/public/css/fg.menu.css +114 -0
  10. data/public/css/onepage.css +60 -0
  11. data/public/css/pdf.css +12 -0
  12. data/public/css/reset.css +53 -0
  13. data/public/css/sh_style.css +66 -0
  14. data/public/css/showoff.css +361 -0
  15. data/public/css/spinner_bar.gif +0 -0
  16. data/public/css/theme/images/ui-bg_diagonals-small_100_f0efea_40x40.png +0 -0
  17. data/public/css/theme/images/ui-bg_flat_35_f0f0f0_40x100.png +0 -0
  18. data/public/css/theme/images/ui-bg_glass_55_fcf0ba_1x400.png +0 -0
  19. data/public/css/theme/images/ui-bg_glow-ball_25_2e2e28_600x600.png +0 -0
  20. data/public/css/theme/images/ui-bg_highlight-soft_100_f0efea_1x100.png +0 -0
  21. data/public/css/theme/images/ui-bg_highlight-soft_25_327E04_1x100.png +0 -0
  22. data/public/css/theme/images/ui-bg_highlight-soft_25_5A9D1A_1x100.png +0 -0
  23. data/public/css/theme/images/ui-bg_highlight-soft_95_ffedad_1x100.png +0 -0
  24. data/public/css/theme/images/ui-bg_inset-soft_22_3b3b35_1x100.png +0 -0
  25. data/public/css/theme/images/ui-icons_808080_256x240.png +0 -0
  26. data/public/css/theme/images/ui-icons_8DC262_256x240.png +0 -0
  27. data/public/css/theme/images/ui-icons_cd0a0a_256x240.png +0 -0
  28. data/public/css/theme/images/ui-icons_e7e6e4_256x240.png +0 -0
  29. data/public/css/theme/images/ui-icons_eeeeee_256x240.png +0 -0
  30. data/public/css/theme/images/ui-icons_ffffff_256x240.png +0 -0
  31. data/public/css/theme/ui.accordion.css +9 -0
  32. data/public/css/theme/ui.all.css +2 -0
  33. data/public/css/theme/ui.base.css +9 -0
  34. data/public/css/theme/ui.core.css +37 -0
  35. data/public/css/theme/ui.datepicker.css +62 -0
  36. data/public/css/theme/ui.dialog.css +13 -0
  37. data/public/css/theme/ui.progressbar.css +4 -0
  38. data/public/css/theme/ui.resizable.css +13 -0
  39. data/public/css/theme/ui.slider.css +17 -0
  40. data/public/css/theme/ui.tabs.css +9 -0
  41. data/public/css/theme/ui.theme.css +245 -0
  42. data/public/favicon.ico +0 -0
  43. data/public/js/core.js +79 -0
  44. data/public/js/fg.menu.js +645 -0
  45. data/public/js/jTypeWriter.js +26 -0
  46. data/public/js/jquery-1.4.2.min.js +154 -0
  47. data/public/js/jquery-print.js +109 -0
  48. data/public/js/jquery.batchImageLoad.js +56 -0
  49. data/public/js/jquery.cookie.js +96 -0
  50. data/public/js/jquery.cycle.all.js +1284 -0
  51. data/public/js/jquery.doubletap-0.1.js +105 -0
  52. data/public/js/jquery.uuid.js +24 -0
  53. data/public/js/jquery.ws-0.3pre.js +201 -0
  54. data/public/js/onepage.js +5 -0
  55. data/public/js/sh_lang/sh_bison.min.js +1 -0
  56. data/public/js/sh_lang/sh_c.min.js +1 -0
  57. data/public/js/sh_lang/sh_caml.min.js +1 -0
  58. data/public/js/sh_lang/sh_changelog.min.js +1 -0
  59. data/public/js/sh_lang/sh_cpp.min.js +1 -0
  60. data/public/js/sh_lang/sh_csharp.min.js +1 -0
  61. data/public/js/sh_lang/sh_css.min.js +1 -0
  62. data/public/js/sh_lang/sh_cucumber.min.js +2 -0
  63. data/public/js/sh_lang/sh_desktop.min.js +1 -0
  64. data/public/js/sh_lang/sh_diff.min.js +1 -0
  65. data/public/js/sh_lang/sh_flex.min.js +1 -0
  66. data/public/js/sh_lang/sh_glsl.min.js +1 -0
  67. data/public/js/sh_lang/sh_haxe.min.js +1 -0
  68. data/public/js/sh_lang/sh_html.min.js +1 -0
  69. data/public/js/sh_lang/sh_java.min.js +1 -0
  70. data/public/js/sh_lang/sh_javascript.min.js +1 -0
  71. data/public/js/sh_lang/sh_javascript_dom.min.js +1 -0
  72. data/public/js/sh_lang/sh_latex.min.js +1 -0
  73. data/public/js/sh_lang/sh_ldap.min.js +1 -0
  74. data/public/js/sh_lang/sh_log.min.js +1 -0
  75. data/public/js/sh_lang/sh_lsm.min.js +1 -0
  76. data/public/js/sh_lang/sh_m4.min.js +1 -0
  77. data/public/js/sh_lang/sh_makefile.min.js +1 -0
  78. data/public/js/sh_lang/sh_oracle.min.js +1 -0
  79. data/public/js/sh_lang/sh_pascal.min.js +1 -0
  80. data/public/js/sh_lang/sh_perl.min.js +1 -0
  81. data/public/js/sh_lang/sh_php.min.js +1 -0
  82. data/public/js/sh_lang/sh_prolog.min.js +1 -0
  83. data/public/js/sh_lang/sh_properties.min.js +1 -0
  84. data/public/js/sh_lang/sh_python.min.js +1 -0
  85. data/public/js/sh_lang/sh_ruby.min.js +1 -0
  86. data/public/js/sh_lang/sh_scala.min.js +1 -0
  87. data/public/js/sh_lang/sh_sh.min.js +1 -0
  88. data/public/js/sh_lang/sh_slang.min.js +1 -0
  89. data/public/js/sh_lang/sh_sml.min.js +1 -0
  90. data/public/js/sh_lang/sh_spec.min.js +1 -0
  91. data/public/js/sh_lang/sh_sql.min.js +1 -0
  92. data/public/js/sh_lang/sh_tcl.min.js +1 -0
  93. data/public/js/sh_lang/sh_xml.min.js +1 -0
  94. data/public/js/sh_lang/sh_xorg.min.js +1 -0
  95. data/public/js/sh_main.min.js +4 -0
  96. data/public/js/showoff.js +623 -0
  97. data/public/js/showoffcore.js +13 -0
  98. data/views/index.erb +85 -0
  99. data/views/onepage.erb +35 -0
  100. metadata +227 -0
@@ -0,0 +1,361 @@
1
+ @media screen {
2
+ body {
3
+ font-size: 100%;
4
+ font-family: "Gill Sans", Helvetica, Arial, sans-serif;
5
+ background:#333;
6
+ overflow:hidden;
7
+ margin:0;
8
+ padding:0;
9
+ }
10
+
11
+ #preso, .slide {
12
+ background: #fff;
13
+ width: 1024px;
14
+ height: 768px;
15
+ margin-left:auto;
16
+ margin-right:auto;
17
+ overflow:hidden;
18
+ -webkit-box-shadow:0 0 25px rgba(0,0,0,0.35);
19
+ -moz-box-shadow:0 0 25px rgba(0,0,0,0.35);
20
+ box-shadow:0 0 25px rgba(0,0,0,0.35);
21
+ }
22
+
23
+ #footer {
24
+ background: rgba(221,221,221,0.75);
25
+ color:#333;
26
+ padding: 2px 5px;
27
+ width: 1005px;
28
+ height: 20px;
29
+ line-height:20px;
30
+ font-size:14px;
31
+ position:relative;
32
+ top:-24px;
33
+ margin:0 auto;
34
+ -webkit-border-top-left-radius: 3px;
35
+ -webkit-border-top-right-radius: 3px;
36
+ -moz-border-radius-topleft: 3px;
37
+ -moz-border-radius-topright: 3px;
38
+ border-top-left-radius: 3px;
39
+ border-top-right-radius: 3px;
40
+ z-index: 2147483647; /* max, see http://www.puidokas.com/max-z-index/ */
41
+ }
42
+ }
43
+
44
+ /* iPhone */
45
+ /* Portrait */
46
+ @media screen and (max-width: 320px)
47
+ {
48
+ #preso {
49
+ margin: 0;
50
+ padding: 0;
51
+ width: 320px;
52
+ max-height: 356px;
53
+ margin-left:auto;
54
+ margin-right:auto;
55
+ /* overflow:hidden;*/
56
+ }
57
+ #footer {
58
+ background: #eee;
59
+ margin: 0;
60
+ padding: 2px;
61
+ width: 320px;
62
+ height: 20px;
63
+ margin-left:auto;
64
+ margin-right:auto;
65
+ }
66
+ }
67
+ /* Landscape */
68
+ @media screen and (max-width: 480px)
69
+ {
70
+ #preso {
71
+ margin: 0;
72
+ padding: 0;
73
+ /* min-height: 320px;*/
74
+ width: 480px;
75
+ margin-left:auto;
76
+ margin-right:auto;
77
+ }
78
+ #footer {
79
+ background: #eee;
80
+ margin: 0;
81
+ padding: 2px;
82
+ width: 480px;
83
+ height: 20px;
84
+ margin-left:auto;
85
+ margin-right:auto;
86
+ }
87
+ }
88
+
89
+ /* plain (non-bullet) text */
90
+ .content > p {
91
+ font-size: 2em;
92
+ margin: 1em;
93
+ text-align: center;
94
+ }
95
+
96
+ .center img {
97
+ display:block;
98
+ margin-left:auto;
99
+ margin-right:auto;
100
+ }
101
+
102
+ .slide .center {
103
+ height: 740px;
104
+ width: 1020px;
105
+ display: table-cell;
106
+ text-align: center;
107
+ vertical-align: middle;
108
+ }
109
+
110
+ .bullets > ul {
111
+ font-size: 3em;
112
+ }
113
+ .bullets > ul > li {
114
+ text-align: center;
115
+ padding: 25px;
116
+ }
117
+
118
+ .smbullets > ul {
119
+ font-size: 2.5em;
120
+ }
121
+ .smbullets > ul > li {
122
+ text-align: center;
123
+ padding: 10px;
124
+ }
125
+
126
+ /* nested lists get their bullets back */
127
+ .bullets ul ul {
128
+ list-style: disc;
129
+ margin: 10px 100px;
130
+ padding-left: 40px;
131
+ text-align: left;
132
+ }
133
+ .bullets ul ul > li { font-size: 80%; }
134
+
135
+ .commandline pre {
136
+ font-size: 2em;
137
+ }
138
+
139
+ .commandline code.command {
140
+ color: #000;
141
+ }
142
+
143
+ .commandline code.result {
144
+ color: #444;
145
+ }
146
+
147
+ .command h1 {
148
+ white-space: pre;
149
+ font-family: monospace;
150
+ font-size: 3em;
151
+ }
152
+
153
+ .code {
154
+ white-space: pre;
155
+ font-family: monospace;
156
+ }
157
+
158
+ .subsection h1 {
159
+ background: #008;
160
+ color: #fff;
161
+ padding: .25em;
162
+ }
163
+
164
+ .small {
165
+ font-size: 80%;
166
+ }
167
+
168
+ .smaller {
169
+ font-size: 70%;
170
+ }
171
+
172
+ h1,h2,h3 { font-weight: normal; text-align: center; margin: 0.5em 0; }
173
+ h1 { font-size: 5em; }
174
+ h2 { font-size: 3em; }
175
+ h3 { font-size: 2em; }
176
+
177
+ pre { margin-left: 40px; font-size: 2.8em; }
178
+
179
+ .notes { display: none }
180
+ .hidden { position:absolute; top:0; left:-9999px; width:1px; height:1px; overflow:hidden; }
181
+ .buttonNav { display: none }
182
+ .offscreen { position:absolute; top:0; left:-9999px; overflow:hidden; }
183
+ #debugInfo { margin-left: 30px; }
184
+ #notesInfo { margin-left: 30px; display: none }
185
+ #preshow { display: none; }
186
+
187
+ #help {
188
+ background: #9f9;
189
+ position: absolute;
190
+ right: 80px;
191
+ display: none;
192
+ z-index: 2147483647; /* max, see http://www.puidokas.com/max-z-index/ */
193
+ }
194
+ #help table tr td.key {
195
+ text-align: right;
196
+ border-right: 2px solid #8b8;
197
+ padding-right: 4px;
198
+ font-weight: bold;
199
+ }
200
+
201
+ .fg-menu-container {
202
+ z-index: 2147483647; /* max, see http://www.puidokas.com/max-z-index/ */
203
+ }
204
+
205
+ .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; }
206
+ .fg-button .ui-icon { position: absolute; top: 50%; margin-top: -8px; left: 50%; margin-left: -8px; }
207
+ a.fg-button { float:left; }
208
+ .fg-button-icon-right { padding-right: 2.1em; }
209
+ .fg-button-icon-right .ui-icon { left: auto; right: .2em; margin-left: 0; }
210
+
211
+ .fg-button.ui-state-loading .ui-icon { background: url(spinner_bar.gif) no-repeat 0 0; }
212
+
213
+ #navmenu {
214
+ position: absolute;
215
+ top: 10px;
216
+ left: 10px;
217
+ width: 50px;
218
+ z-index: 2147483647; /* max, see http://www.puidokas.com/max-z-index/ */
219
+ }
220
+
221
+ .code .c { color: #999988; font-style: italic } /* Comment */
222
+ .code .err { color: #a61717; background-color: #e3d2d2 } /* Error */
223
+ .code .k { font-weight: bold } /* Keyword */
224
+ .code .o { font-weight: bold } /* Operator */
225
+ .code .cm { color: #999988; font-style: italic } /* Comment.Multiline */
226
+ .code .cp { color: #999999; font-weight: bold } /* Comment.Preproc */
227
+ .code .c1 { color: #999988; font-style: italic } /* Comment.Single */
228
+ .code .cs { color: #999999; font-weight: bold; font-style: italic } /* Comment.Special */
229
+ .code .gd { color: #000000; background-color: #ffdddd } /* Generic.Deleted */
230
+ .code .gd .x { color: #000000; background-color: #ffaaaa } /* Generic.Deleted.Specific */
231
+ .code .ge { font-style: italic } /* Generic.Emph */
232
+ .code .gr { color: #aa0000 } /* Generic.Error */
233
+ .code .gh { color: #999999 } /* Generic.Heading */
234
+ .code .gi { color: #000000; background-color: #ddffdd } /* Generic.Inserted */
235
+ .code .gi .x { color: #000000; background-color: #aaffaa } /* Generic.Inserted.Specific */
236
+ .code .go { color: #888888 } /* Generic.Output */
237
+ .code .gp { color: #555555 } /* Generic.Prompt */
238
+ .code .gs { font-weight: bold } /* Generic.Strong */
239
+ .code .gu { color: #aaaaaa } /* Generic.Subheading */
240
+ .code .gt { color: #aa0000 } /* Generic.Traceback */
241
+ .code .kc { font-weight: bold } /* Keyword.Constant */
242
+ .code .kd { font-weight: bold } /* Keyword.Declaration */
243
+ .code .kp { font-weight: bold } /* Keyword.Pseudo */
244
+ .code .kr { font-weight: bold } /* Keyword.Reserved */
245
+ .code .kt { color: #445588; font-weight: bold } /* Keyword.Type */
246
+ .code .m { color: #009999 } /* Literal.Number */
247
+ .code .s { color: #d14 } /* Literal.String */
248
+ .code .na { color: #008080 } /* Name.Attribute */
249
+ .code .nb { color: #0086B3 } /* Name.Builtin */
250
+ .code .nc { color: #445588; font-weight: bold } /* Name.Class */
251
+ .code .no { color: #008080 } /* Name.Constant */
252
+ .code .ni { color: #800080 } /* Name.Entity */
253
+ .code .ne { color: #990000; font-weight: bold } /* Name.Exception */
254
+ .code .nf { color: #990000; font-weight: bold } /* Name.Function */
255
+ .code .nn { color: #555555 } /* Name.Namespace */
256
+ .code .nt { color: #000080 } /* Name.Tag */
257
+ .code .nv { color: #008080 } /* Name.Variable */
258
+ .code .ow { font-weight: bold } /* Operator.Word */
259
+ .code .w { color: #bbbbbb } /* Text.Whitespace */
260
+ .code .mf { color: #009999 } /* Literal.Number.Float */
261
+ .code .mh { color: #009999 } /* Literal.Number.Hex */
262
+ .code .mi { color: #009999 } /* Literal.Number.Integer */
263
+ .code .mo { color: #009999 } /* Literal.Number.Oct */
264
+ .code .sb { color: #d14 } /* Literal.String.Backtick */
265
+ .code .sc { color: #d14 } /* Literal.String.Char */
266
+ .code .sd { color: #d14 } /* Literal.String.Doc */
267
+ .code .s2 { color: #d14 } /* Literal.String.Double */
268
+ .code .se { color: #d14 } /* Literal.String.Escape */
269
+ .code .sh { color: #d14 } /* Literal.String.Heredoc */
270
+ .code .si { color: #d14 } /* Literal.String.Interpol */
271
+ .code .sx { color: #d14 } /* Literal.String.Other */
272
+ .code .sr { color: #009926 } /* Literal.String.Regex */
273
+ .code .s1 { color: #d14 } /* Literal.String.Single */
274
+ .code .ss { color: #990073 } /* Literal.String.Symbol */
275
+ .code .bp { color: #999999 } /* Name.Builtin.Pseudo */
276
+ .code .vc { color: #008080 } /* Name.Variable.Class */
277
+ .code .vg { color: #008080 } /* Name.Variable.Global */
278
+ .code .vi { color: #008080 } /* Name.Variable.Instance */
279
+ .code .il { color: #009999 } /* Literal.Number.Integer.Long */
280
+
281
+ .results {
282
+ background-color:#002200;
283
+ color:#00AA00;
284
+ font-size:2em;
285
+ border:2px solid black;
286
+ position: fixed;
287
+ top:0px;
288
+ width:100%;
289
+ padding:15px;
290
+ margin:0px;
291
+ font-family: monospace;
292
+ z-index: 2147483647; /* max, see http://www.puidokas.com/max-z-index/ */
293
+ }
294
+
295
+ .executing {
296
+ color:#0000FF !important;
297
+ background-color: yellow;
298
+ }
299
+
300
+ #tips, #preshow_timer {
301
+ display:inline;
302
+ background-color:#000;
303
+ color:#fff;
304
+ font-size:3em;
305
+ border:2px solid black;
306
+ position: fixed;
307
+ padding:25px;
308
+ margin:0px;
309
+ z-index: 2147483647; /* max, see http://www.puidokas.com/max-z-index/ */
310
+ }
311
+
312
+ #tips {
313
+ top: 0px;
314
+ right: 0px;
315
+ text-align:right;
316
+ }
317
+
318
+ #preshow_timer {
319
+ bottom: 0px;
320
+ }
321
+
322
+ /** Print **/
323
+ @media print {
324
+ body {
325
+ font-size: 70%;
326
+ }
327
+
328
+ #preso, .slide {
329
+ border: 1px solid #999;
330
+ }
331
+
332
+ .slide .center {
333
+ width: 600px;
334
+ height: 600px;
335
+ display: table-cell;
336
+ text-align: center;
337
+ vertical-align: middle;
338
+ }
339
+
340
+ #preso, .slide {
341
+ background: #fff;
342
+ width: 600px;
343
+ height: 600px;
344
+ margin-left:auto;
345
+ margin-right:auto;
346
+ overflow:hidden;
347
+ }
348
+
349
+ #footer {
350
+ background: #eee;
351
+ padding: 2px;
352
+ width: 590px;
353
+ height: 20 px;
354
+ margin-left:auto;
355
+ margin-right:auto;
356
+ }
357
+
358
+ pre, code {
359
+ font-family: Monaco, monospace;
360
+ }
361
+ }
Binary file
@@ -0,0 +1,9 @@
1
+ /* Accordion
2
+ ----------------------------------*/
3
+ .ui-accordion .ui-accordion-header { cursor: pointer; position: relative; margin-top: 1px; zoom: 1; }
4
+ .ui-accordion li {display: inline;}
5
+ .ui-accordion .ui-accordion-header-active { border-bottom: 0 !important; }
6
+ .ui-accordion .ui-accordion-header a { display: block; font-size: 1em; padding: .5em .5em .5em 2.2em; }
7
+ .ui-accordion .ui-accordion-header .ui-icon { position: absolute; left: .5em; top: 50%; margin-top: -8px; }
8
+ .ui-accordion .ui-accordion-content { padding: 1em 2.2em; border-top: 0; margin-top: -2px; position: relative; top: 1px; margin-bottom: 2px; overflow: auto; display: none; }
9
+ .ui-accordion .ui-accordion-content-active { display: block; }
@@ -0,0 +1,2 @@
1
+ @import "ui.base.css";
2
+ @import "ui.theme.css";
@@ -0,0 +1,9 @@
1
+ @import url("ui.core.css");
2
+
3
+ @import url("ui.accordion.css");
4
+ @import url("ui.datepicker.css");
5
+ @import url("ui.dialog.css");
6
+ @import url("ui.progressbar.css");
7
+ @import url("ui.resizable.css");
8
+ @import url("ui.slider.css");
9
+ @import url("ui.tabs.css");
@@ -0,0 +1,37 @@
1
+ /*
2
+ * jQuery UI CSS Framework
3
+ * Copyright (c) 2009 AUTHORS.txt (http://ui.jquery.com/about)
4
+ * Dual licensed under the MIT (MIT-LICENSE.txt) and GPL (GPL-LICENSE.txt) licenses.
5
+ */
6
+
7
+ /* Layout helpers
8
+ ----------------------------------*/
9
+ .ui-helper-hidden { display: none; }
10
+ .ui-helper-hidden-accessible { position: absolute; left: -99999999px; }
11
+ .ui-helper-reset { margin: 0; padding: 0; border: 0; outline: 0; line-height: 1.3; text-decoration: none; font-size: 100%; list-style: none; }
12
+ .ui-helper-clearfix:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; }
13
+ .ui-helper-clearfix { display: inline-block; }
14
+ /* required comment for clearfix to work in Opera \*/
15
+ * html .ui-helper-clearfix { height:1%; }
16
+ .ui-helper-clearfix { display:block; }
17
+ /* end clearfix */
18
+ .ui-helper-zfix { width: 100%; height: 100%; top: 0; left: 0; position: absolute; opacity: 0; filter:Alpha(Opacity=0); }
19
+
20
+
21
+ /* Interaction Cues
22
+ ----------------------------------*/
23
+ .ui-state-disabled { cursor: default !important; }
24
+
25
+
26
+ /* Icons
27
+ ----------------------------------*/
28
+
29
+ /* states and images */
30
+ .ui-icon { display: block; text-indent: -99999px; overflow: hidden; background-repeat: no-repeat; }
31
+
32
+
33
+ /* Misc visuals
34
+ ----------------------------------*/
35
+
36
+ /* Overlays */
37
+ .ui-widget-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
@@ -0,0 +1,62 @@
1
+ /* Datepicker
2
+ ----------------------------------*/
3
+ .ui-datepicker { width: 17em; padding: .2em .2em 0; }
4
+ .ui-datepicker .ui-datepicker-header { position:relative; padding:.2em 0; }
5
+ .ui-datepicker .ui-datepicker-prev, .ui-datepicker .ui-datepicker-next { position:absolute; top: 2px; width: 1.8em; height: 1.8em; }
6
+ .ui-datepicker .ui-datepicker-prev-hover, .ui-datepicker .ui-datepicker-next-hover { top: 1px; }
7
+ .ui-datepicker .ui-datepicker-prev { left:2px; }
8
+ .ui-datepicker .ui-datepicker-next { right:2px; }
9
+ .ui-datepicker .ui-datepicker-prev-hover { left:1px; }
10
+ .ui-datepicker .ui-datepicker-next-hover { right:1px; }
11
+ .ui-datepicker .ui-datepicker-prev span, .ui-datepicker .ui-datepicker-next span { display: block; position: absolute; left: 50%; margin-left: -8px; top: 50%; margin-top: -8px; }
12
+ .ui-datepicker .ui-datepicker-title { margin: 0 2.3em; line-height: 1.8em; text-align: center; }
13
+ .ui-datepicker .ui-datepicker-title select { float:left; font-size:1em; margin:1px 0; }
14
+ .ui-datepicker select.ui-datepicker-month-year {width: 100%;}
15
+ .ui-datepicker select.ui-datepicker-month,
16
+ .ui-datepicker select.ui-datepicker-year { width: 49%;}
17
+ .ui-datepicker .ui-datepicker-title select.ui-datepicker-year { float: right; }
18
+ .ui-datepicker table {width: 100%; font-size: .9em; border-collapse: collapse; margin:0 0 .4em; }
19
+ .ui-datepicker th { padding: .7em .3em; text-align: center; font-weight: bold; border: 0; }
20
+ .ui-datepicker td { border: 0; padding: 1px; }
21
+ .ui-datepicker td span, .ui-datepicker td a { display: block; padding: .2em; text-align: right; text-decoration: none; }
22
+ .ui-datepicker .ui-datepicker-buttonpane { background-image: none; margin: .7em 0 0 0; padding:0 .2em; border-left: 0; border-right: 0; border-bottom: 0; }
23
+ .ui-datepicker .ui-datepicker-buttonpane button { float: right; margin: .5em .2em .4em; cursor: pointer; padding: .2em .6em .3em .6em; width:auto; overflow:visible; }
24
+ .ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current { float:left; }
25
+
26
+ /* with multiple calendars */
27
+ .ui-datepicker.ui-datepicker-multi { width:auto; }
28
+ .ui-datepicker-multi .ui-datepicker-group { float:left; }
29
+ .ui-datepicker-multi .ui-datepicker-group table { width:95%; margin:0 auto .4em; }
30
+ .ui-datepicker-multi-2 .ui-datepicker-group { width:50%; }
31
+ .ui-datepicker-multi-3 .ui-datepicker-group { width:33.3%; }
32
+ .ui-datepicker-multi-4 .ui-datepicker-group { width:25%; }
33
+ .ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header { border-left-width:0; }
34
+ .ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header { border-left-width:0; }
35
+ .ui-datepicker-multi .ui-datepicker-buttonpane { clear:left; }
36
+ .ui-datepicker-row-break { clear:left; width:100%; }
37
+
38
+ /* RTL support */
39
+ .ui-datepicker-rtl { direction: rtl; }
40
+ .ui-datepicker-rtl .ui-datepicker-prev { right: 2px; left: auto; }
41
+ .ui-datepicker-rtl .ui-datepicker-next { left: 2px; right: auto; }
42
+ .ui-datepicker-rtl .ui-datepicker-prev:hover { right: 1px; left: auto; }
43
+ .ui-datepicker-rtl .ui-datepicker-next:hover { left: 1px; right: auto; }
44
+ .ui-datepicker-rtl .ui-datepicker-buttonpane { clear:right; }
45
+ .ui-datepicker-rtl .ui-datepicker-buttonpane button { float: left; }
46
+ .ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current { float:right; }
47
+ .ui-datepicker-rtl .ui-datepicker-group { float:right; }
48
+ .ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header { border-right-width:0; border-left-width:1px; }
49
+ .ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header { border-right-width:0; border-left-width:1px; }
50
+
51
+ /* IE6 IFRAME FIX (taken from datepicker 1.5.3 */
52
+ .ui-datepicker-cover {
53
+ display: none; /*sorry for IE5*/
54
+ display/**/: block; /*sorry for IE5*/
55
+ position: absolute; /*must have*/
56
+ z-index: -1; /*must have*/
57
+ filter: mask(); /*must have*/
58
+ top: -4px; /*must have*/
59
+ left: -4px; /*must have*/
60
+ width: 200px; /*must have*/
61
+ height: 200px; /*must have*/
62
+ }
@@ -0,0 +1,13 @@
1
+ /* Dialog
2
+ ----------------------------------*/
3
+ .ui-dialog { position: relative; padding: .2em; width: 300px; }
4
+ .ui-dialog .ui-dialog-titlebar { padding: .5em .3em .3em 1em; position: relative; }
5
+ .ui-dialog .ui-dialog-title { float: left; margin: .1em 0 .2em; }
6
+ .ui-dialog .ui-dialog-titlebar-close { position: absolute; right: .3em; top: 50%; width: 19px; margin: -10px 0 0 0; padding: 1px; height: 18px; }
7
+ .ui-dialog .ui-dialog-titlebar-close span { display: block; margin: 1px; }
8
+ .ui-dialog .ui-dialog-titlebar-close:hover, .ui-dialog .ui-dialog-titlebar-close:focus { padding: 0; }
9
+ .ui-dialog .ui-dialog-content { border: 0; padding: .5em 1em; background: none; overflow: auto; }
10
+ .ui-dialog .ui-dialog-buttonpane { text-align: left; border-width: 1px 0 0 0; background-image: none; margin: .5em 0 0 0; padding: .3em 1em .5em .4em; }
11
+ .ui-dialog .ui-dialog-buttonpane button { float: right; margin: .5em .4em .5em 0; cursor: pointer; padding: .2em .6em .3em .6em; line-height: 1.4em; width:auto; overflow:visible; }
12
+ .ui-dialog .ui-resizable-se { width: 14px; height: 14px; right: 3px; bottom: 3px; }
13
+ .ui-draggable .ui-dialog-titlebar { cursor: move; }
@@ -0,0 +1,4 @@
1
+ /* Progressbar
2
+ ----------------------------------*/
3
+ .ui-progressbar { height:2em; text-align: left; }
4
+ .ui-progressbar .ui-progressbar-value {margin: -1px; height:100%; }
@@ -0,0 +1,13 @@
1
+ /* Resizable
2
+ ----------------------------------*/
3
+ .ui-resizable { position: relative;}
4
+ .ui-resizable-handle { position: absolute;font-size: 0.1px;z-index: 99999; display: block;}
5
+ .ui-resizable-disabled .ui-resizable-handle, .ui-resizable-autohide .ui-resizable-handle { display: none; }
6
+ .ui-resizable-n { cursor: n-resize; height: 7px; width: 100%; top: -5px; left: 0px; }
7
+ .ui-resizable-s { cursor: s-resize; height: 7px; width: 100%; bottom: -5px; left: 0px; }
8
+ .ui-resizable-e { cursor: e-resize; width: 7px; right: -5px; top: 0px; height: 100%; }
9
+ .ui-resizable-w { cursor: w-resize; width: 7px; left: -5px; top: 0px; height: 100%; }
10
+ .ui-resizable-se { cursor: se-resize; width: 12px; height: 12px; right: 1px; bottom: 1px; }
11
+ .ui-resizable-sw { cursor: sw-resize; width: 9px; height: 9px; left: -5px; bottom: -5px; }
12
+ .ui-resizable-nw { cursor: nw-resize; width: 9px; height: 9px; left: -5px; top: -5px; }
13
+ .ui-resizable-ne { cursor: ne-resize; width: 9px; height: 9px; right: -5px; top: -5px;}
@@ -0,0 +1,17 @@
1
+ /* Slider
2
+ ----------------------------------*/
3
+ .ui-slider { position: relative; text-align: left; }
4
+ .ui-slider .ui-slider-handle { position: absolute; z-index: 2; width: 1.2em; height: 1.2em; cursor: default; }
5
+ .ui-slider .ui-slider-range { position: absolute; z-index: 1; font-size: 1%; display: block; border: 0; }
6
+
7
+ .ui-slider-horizontal { height: .8em; }
8
+ .ui-slider-horizontal .ui-slider-handle { top: -.3em; margin-left: -.6em; }
9
+ .ui-slider-horizontal .ui-slider-range { top: 0; height: 100%; }
10
+ .ui-slider-horizontal .ui-slider-range-min { left: 0; }
11
+ .ui-slider-horizontal .ui-slider-range-max { right: 0; }
12
+
13
+ .ui-slider-vertical { width: .8em; height: 100px; }
14
+ .ui-slider-vertical .ui-slider-handle { left: -.3em; margin-left: 0; margin-bottom: -.6em; }
15
+ .ui-slider-vertical .ui-slider-range { left: 0; width: 100%; }
16
+ .ui-slider-vertical .ui-slider-range-min { bottom: 0; }
17
+ .ui-slider-vertical .ui-slider-range-max { top: 0; }
@@ -0,0 +1,9 @@
1
+ /* Tabs
2
+ ----------------------------------*/
3
+ .ui-tabs {padding: .2em;}
4
+ .ui-tabs .ui-tabs-nav { padding: .2em .2em 0 .2em; position: relative; }
5
+ .ui-tabs .ui-tabs-nav li { float: left; border-bottom: 0 !important; margin: 0 .2em -1px 0; padding: 0; list-style: none; }
6
+ .ui-tabs .ui-tabs-nav li a { display:block; text-decoration: none; padding: .5em 1em; }
7
+ .ui-tabs .ui-tabs-nav li.ui-tabs-selected { padding-bottom: .1em; border-bottom: 0; }
8
+ .ui-tabs .ui-tabs-panel { padding: 1em 1.4em; display: block; border: 0; background: none; }
9
+ .ui-tabs .ui-tabs-hide { display: none !important; }