moonwalkair 0.3.1 → 0.3.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (32) hide show
  1. data/VERSION.yml +1 -1
  2. data/lib/moonwalkair/templates/app/assets/css/theme.css +224 -374
  3. data/lib/moonwalkair/templates/app/assets/images/jqt/back_button.png +0 -0
  4. data/lib/moonwalkair/templates/app/assets/images/jqt/back_button_clicked.png +0 -0
  5. data/lib/moonwalkair/templates/app/assets/images/jqt/button.png +0 -0
  6. data/lib/moonwalkair/templates/app/assets/images/jqt/button_clicked.png +0 -0
  7. data/lib/moonwalkair/templates/app/assets/images/jqt/chevron.png +0 -0
  8. data/lib/moonwalkair/templates/app/assets/images/jqt/chevron_circle.png +0 -0
  9. data/lib/moonwalkair/templates/app/assets/images/{apple → jqt}/grayButton.png +0 -0
  10. data/lib/moonwalkair/templates/app/assets/images/jqt/loading.gif +0 -0
  11. data/lib/moonwalkair/templates/app/assets/images/jqt/on_off.png +0 -0
  12. data/lib/moonwalkair/templates/app/assets/images/jqt/rowhead.png +0 -0
  13. data/lib/moonwalkair/templates/app/assets/images/{apple → jqt}/toggle.png +0 -0
  14. data/lib/moonwalkair/templates/app/assets/images/{apple → jqt}/toggleOn.png +0 -0
  15. data/lib/moonwalkair/templates/app/assets/images/jqt/toolbar.png +0 -0
  16. data/lib/moonwalkair/templates/app/assets/images/{apple → jqt}/whiteButton.png +0 -0
  17. data/lib/moonwalkair/templates/app/views/index.html +22 -3
  18. data/moonwalkair.gemspec +16 -19
  19. metadata +16 -19
  20. data/lib/moonwalkair/templates/app/assets/images/apple/backButton.png +0 -0
  21. data/lib/moonwalkair/templates/app/assets/images/apple/blueButton.png +0 -0
  22. data/lib/moonwalkair/templates/app/assets/images/apple/cancel.png +0 -0
  23. data/lib/moonwalkair/templates/app/assets/images/apple/chevron.png +0 -0
  24. data/lib/moonwalkair/templates/app/assets/images/apple/listArrowSel.png +0 -0
  25. data/lib/moonwalkair/templates/app/assets/images/apple/listGroup.png +0 -0
  26. data/lib/moonwalkair/templates/app/assets/images/apple/loading.gif +0 -0
  27. data/lib/moonwalkair/templates/app/assets/images/apple/on_off.png +0 -0
  28. data/lib/moonwalkair/templates/app/assets/images/apple/pinstripes.png +0 -0
  29. data/lib/moonwalkair/templates/app/assets/images/apple/selection.png +0 -0
  30. data/lib/moonwalkair/templates/app/assets/images/apple/thumb.png +0 -0
  31. data/lib/moonwalkair/templates/app/assets/images/apple/toolButton.png +0 -0
  32. data/lib/moonwalkair/templates/app/assets/images/apple/toolbar.png +0 -0
data/VERSION.yml CHANGED
@@ -1,5 +1,5 @@
1
1
  ---
2
- :patch: 1
2
+ :patch: 2
3
3
  :major: 0
4
4
  :minor: 3
5
5
  :build:
@@ -1,33 +1,28 @@
1
1
  body {
2
- background: rgb(0,0,0);
2
+ background: #000;
3
+ color: #ddd;
3
4
  }
4
-
5
5
  body > * {
6
- background: rgb(197,204,211) url(../images/apple/pinstripes.png);
6
+ background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#333), to(#5e5e65));
7
7
  }
8
-
9
8
  h1, h2 {
10
9
  font: bold 18px Helvetica;
11
10
  text-shadow: rgba(255,255,255,.2) 0 1px 1px;
12
- color: rgb(76, 86, 108);
13
- margin: 10px 20px 6px;
11
+ color: #000;
12
+ margin: 10px 20px 5px;
14
13
  }
15
-
16
14
  /* @group Toolbar */
17
-
18
15
  .toolbar {
19
16
  -webkit-box-sizing: border-box;
20
- border-bottom: 1px solid #2d3642;
17
+ border-bottom: 1px solid #000;
21
18
  padding: 10px;
22
19
  height: 45px;
23
- background: url(../images/apple/toolbar.png) #6d84a2 repeat-x;
20
+ background: url(../images/jqt/toolbar.png) #000000 repeat-x;
24
21
  position: relative;
25
22
  }
26
-
27
23
  .black-translucent .toolbar {
28
24
  margin-top: 20px;
29
25
  }
30
-
31
26
  .toolbar > h1 {
32
27
  position: absolute;
33
28
  overflow: hidden;
@@ -39,23 +34,21 @@ h1, h2 {
39
34
  font-size: 20px;
40
35
  width: 150px;
41
36
  font-weight: bold;
42
- text-shadow: rgba(0, 0, 0, 0.4) 0px -1px 0;
37
+ text-shadow: rgba(0,0,0,1) 0 -1px 1px;
43
38
  text-align: center;
44
39
  text-overflow: ellipsis;
45
40
  white-space: nowrap;
46
41
  color: #fff;
47
42
  }
48
-
49
43
  body.landscape .toolbar > h1 {
50
44
  margin-left: -125px;
51
45
  width: 250px;
52
46
  }
53
-
54
47
  .button, .back, .cancel, .add {
55
48
  position: absolute;
56
49
  overflow: hidden;
57
50
  top: 8px;
58
- right: 6px;
51
+ right: 10px;
59
52
  margin: 0;
60
53
  border-width: 0 5px;
61
54
  padding: 0 3px;
@@ -71,38 +64,33 @@ body.landscape .toolbar > h1 {
71
64
  text-decoration: none;
72
65
  white-space: nowrap;
73
66
  background: none;
74
- -webkit-border-image: url(../images/apple/toolButton.png) 0 5 0 5;
75
- }
76
-
77
- .button.active, .back.active, .cancel.active, .add.active {
78
- -webkit-border-image: url(../images/apple/toolButton.png) 0 5 0 5;
67
+ -webkit-border-image: url(../images/jqt/button.png) 0 5 0 5;
79
68
  }
80
-
81
69
  .blueButton {
82
- -webkit-border-image: url(../images/apple/blueButton.png) 0 5 0 5;
70
+ -webkit-border-image: url(../images/jqt/blueButton.png) 0 5 0 5;
83
71
  border-width: 0 5px;
84
72
  }
85
-
86
73
  .back {
87
74
  left: 6px;
88
75
  right: auto;
89
76
  padding: 0;
90
77
  max-width: 55px;
91
78
  border-width: 0 8px 0 14px;
92
- -webkit-border-image: url(../images/apple/backButton.png) 0 8 0 14;
79
+ -webkit-border-image: url(../images/jqt/back_button.png) 0 8 0 14;
80
+ }
81
+ .back.active {
82
+ -webkit-border-image: url(../images/jqt/back_button_clicked.png) 0 8 0 14;
83
+ color: #aaa;
93
84
  }
94
-
95
85
  .leftButton, .cancel {
96
86
  left: 6px;
97
87
  right: auto;
98
88
  }
99
-
100
89
  .add {
101
90
  font-size: 24px;
102
91
  line-height: 24px;
103
92
  font-weight: bold;
104
93
  }
105
-
106
94
  .whiteButton,
107
95
  .grayButton {
108
96
  display: block;
@@ -114,73 +102,61 @@ body.landscape .toolbar > h1 {
114
102
  text-decoration: inherit;
115
103
  color: inherit;
116
104
  }
117
-
118
105
  .whiteButton {
119
- -webkit-border-image: url(../images/apple/whiteButton.png) 0 12 0 12;
106
+ -webkit-border-image: url(../images/jqt/whiteButton.png) 0 12 0 12;
120
107
  text-shadow: rgba(255, 255, 255, 0.7) 0 1px 0;
121
108
  }
122
-
123
109
  .grayButton {
124
- -webkit-border-image: url(../images/apple/grayButton.png) 0 12 0 12;
110
+ -webkit-border-image: url(../images/jqt/grayButton.png) 0 12 0 12;
125
111
  color: #FFFFFF;
126
112
  }
127
-
128
113
  /* @end */
129
-
130
114
  /* @group Lists */
131
-
132
115
  h1 + ul, h2 + ul, h3 + ul, h4 + ul, h5 + ul, h6 + ul {
133
116
  margin-top: 0;
134
117
  }
135
-
136
118
  ul {
137
- color: black;
138
- background: #fff;
139
- border: 1px solid #B4B4B4;
140
- font: bold 17px Helvetica;
119
+ color: #aaa;
120
+ border: 1px solid #333333;
121
+ font: bold 18px Helvetica;
141
122
  padding: 0;
142
123
  margin: 15px 10px 17px 10px;
143
- -webkit-border-radius: 8px;
144
124
  }
145
-
146
- ul li {
147
- color: #666;
148
- border-top: 1px solid #B4B4B4;
149
- list-style-type: none;
150
- padding: 10px 10px 10px 10px;
125
+ ul.rounded {
126
+ -webkit-border-radius: 8px;
127
+ -webkit-box-shadow: rgba(0,0,0,.3) 1px 1px 3px;
151
128
  }
152
-
153
- /* when you have a first LI item on any list */
154
-
155
- li:first-child, li:first-child a {
129
+ ul.rounded li:first-child, ul.rounded li:first-child a {
156
130
  border-top: 0;
157
131
  -webkit-border-top-left-radius: 8px;
158
132
  -webkit-border-top-right-radius: 8px;
159
133
  }
160
-
161
- li:last-child, li:last-child a {
134
+ ul.rounded li:last-child, ul.rounded li:last-child a {
162
135
  -webkit-border-bottom-left-radius: 8px;
163
136
  -webkit-border-bottom-right-radius: 8px;
164
137
  }
165
-
166
- /* universal arrows */
167
-
138
+ ul li {
139
+ color: #666;
140
+ border-top: 1px solid #333;
141
+ border-bottom: #555858;
142
+ list-style-type: none;
143
+ padding: 10px 10px 10px 10px;
144
+ background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#4c4d4e), to(#404142));
145
+ overflow: hidden;
146
+ }
168
147
  ul li.arrow {
169
- background-image: url(../images/apple/chevron.png);
148
+ background-image: url(../images/jqt/chevron.png), -webkit-gradient(linear, 0% 0%, 0% 100%, from(#4c4d4e), to(#404142));
170
149
  background-position: right center;
171
150
  background-repeat: no-repeat;
172
151
  }
173
-
174
- #plastic ul li.arrow, #metal ul li.arrow {
175
- background-image: url(../images/chevron_dg.png);
152
+ ul li.forward {
153
+ background-image: url(../images/jqt/chevron_circle.png), -webkit-gradient(linear, 0% 0%, 0% 100%, from(#4c4d4e), to(#404142));
176
154
  background-position: right center;
177
155
  background-repeat: no-repeat;
178
156
  }
179
-
180
157
  /* universal links on list */
181
-
182
158
  ul li a, li.img a + a {
183
- color: #000;
159
+ color: #fff;
184
160
  text-decoration: none;
185
161
  text-overflow: ellipsis;
186
162
  white-space: nowrap;
@@ -189,24 +165,32 @@ ul li a, li.img a + a {
189
165
  padding: 12px 10px 12px 10px;
190
166
  margin: -10px;
191
167
  -webkit-tap-highlight-color: rgba(0,0,0,0);
168
+ text-shadow: rgba(0,0,0,.2) 0 1px 1px;
192
169
  }
193
-
194
- ul li a.active {
195
- background: #194fdb url(../images/apple/selection.png) 0 0 repeat-x;
170
+ ul li a.active, ul li a.button {
171
+ background-color: #53b401;
196
172
  color: #fff;
197
173
  }
198
-
199
- ul li a.button {
200
- background-color: #194fdb;
201
- color: #fff;
174
+ ul li a.active.loading {
175
+ background-image: url(../images/jqt/loading.gif);
176
+ background-position: 95% center;
177
+ background-repeat: no-repeat;
178
+ }
179
+ ul li.arrow a.active {
180
+ background-image: url(../images/jqt/chevron.png);
181
+ background-position: right center;
182
+ background-repeat: no-repeat;
183
+ }
184
+ ul li.forward a.active {
185
+ background-image: url(../images/jqt/chevron_circle.png);
186
+ background-position: right center;
187
+ background-repeat: no-repeat;
202
188
  }
203
-
204
189
  ul li.img a + a {
205
190
  margin: -10px 10px -20px -5px;
206
191
  font-size: 17px;
207
192
  font-weight: bold;
208
193
  }
209
-
210
194
  ul li.img a + a + a {
211
195
  font-size: 14px;
212
196
  font-weight: normal;
@@ -214,11 +198,9 @@ ul li.img a + a + a {
214
198
  margin-bottom: -10px;
215
199
  margin-top: 0;
216
200
  }
217
-
218
201
  ul li.img a + small + a {
219
202
  margin-left: -5px;
220
203
  }
221
-
222
204
  ul li.img a + small + a + a {
223
205
  margin-left: -10px;
224
206
  margin-top: -20px;
@@ -226,12 +208,10 @@ ul li.img a + small + a + a {
226
208
  font-size: 14px;
227
209
  font-weight: normal;
228
210
  }
229
-
230
211
  ul li.img a + small + a + a + a {
231
212
  margin-left: 0px !important;
232
213
  margin-bottom: 0;
233
214
  }
234
-
235
215
  ul li a + a {
236
216
  color: #000;
237
217
  font: 14px Helvetica;
@@ -242,7 +222,6 @@ ul li a + a {
242
222
  margin: 0;
243
223
  padding: 0;
244
224
  }
245
-
246
225
  ul li a + a + a, ul li.img a + a + a + a, ul li.img a + small + a + a + a {
247
226
  color: #666;
248
227
  font: 13px Helvetica;
@@ -253,31 +232,21 @@ ul li a + a + a, ul li.img a + a + a + a, ul li.img a + small + a + a + a {
253
232
  display: block;
254
233
  padding: 0;
255
234
  }
256
-
257
235
  /*
258
236
  @end */
259
-
260
237
  /* @group Forms */
261
-
262
238
  ul.form li {
263
239
  padding: 7px 10px;
264
240
  }
265
-
266
241
  ul.form li.error {
267
242
  border: 2px solid red;
268
243
  }
269
-
270
244
  ul.form li.error + li.error {
271
245
  border-top: 0;
272
246
  }
273
-
274
- ul.form li:hover {
275
- background: #fff;
276
- }
277
-
278
247
  ul li input[type="text"], ul li input[type="password"], ul li textarea, ul li select {
279
248
  color: #777;
280
- background: #fff url(../.png);
249
+ background: transparent url(../.png);
281
250
  border: 0;
282
251
  font: normal 17px Helvetica;
283
252
  padding: 0;
@@ -286,97 +255,34 @@ ul li input[type="text"], ul li input[type="password"], ul li textarea, ul li se
286
255
  width: 100%;
287
256
  -webkit-appearance: textarea;
288
257
  }
289
-
290
258
  ul li textarea {
291
259
  height: 120px;
292
260
  padding: 0;
293
261
  text-indent: -2px;
294
262
  }
295
-
296
263
  ul li select {
297
264
  text-indent: 0px;
298
- background: transparent url(../images/apple/chevron.png) no-repeat 103% 3px;
265
+ background: transparent url(../images/jqt/chevron.png) no-repeat right center;
299
266
  -webkit-appearance: textfield;
300
267
  margin-left: -6px;
301
268
  width: 104%;
302
269
  }
303
-
304
270
  ul li input[type="checkbox"], ul li input[type="radio"] {
305
271
  margin: 0;
306
- color: rgb(50,79,133);
307
272
  padding: 10px 10px;
308
273
  }
309
-
310
274
  ul li input[type="checkbox"]:after, ul li input[type="radio"]:after {
311
275
  content: attr(title);
312
276
  font: 17px Helvetica;
313
277
  display: block;
314
278
  width: 246px;
279
+ color: #777;
315
280
  margin: -12px 0 0 17px;
316
281
  }
317
-
318
282
  /* @end */
319
-
320
- /* @group Edge to edge */
321
-
322
- .edgetoedge h4 {
323
- color: #fff;
324
- background: rgb(154,159,170) url(../images/apple/listGroup.png) top left repeat-x;
325
- border-top: 1px solid rgb(165,177,186);
326
- text-shadow: #666 0 1px 0;
327
- margin: 0;
328
- padding: 2px 10px;
329
- }
330
-
331
- .edgetoedge, .metal {
332
- margin: 0;
333
- padding: 0;
334
- background-color: rgb(255,255,255);
335
- }
336
-
337
- .edgetoedge ul, .metal ul, .plastic ul {
338
- -webkit-border-radius: 0;
339
- margin: 0;
340
- border-left: 0;
341
- border-right: 0;
342
- border-top: 0;
343
- }
344
-
345
- .metal ul {
346
- border-top: 0;
347
- border-bottom: 0;
348
- background: rgb(180,180,180);
349
- }
350
-
351
- .edgetoedge ul li:first-child, .edgetoedge ul li:first-child a, .edgetoedge ul li:last-child, .edgetoedge ul li:last-child a, .metal ul li:first-child a, .metal ul li:last-child a {
352
- -webkit-border-radius: 0;
353
- }
354
-
355
- .edgetoedge ul li small {
356
- font-size: 16px;
357
- line-height: 28px;
358
- }
359
-
360
- .edgetoedge li, .metal li {
361
- -webkit-border-radius: 0;
362
- }
363
-
364
- .edgetoedge li em {
365
- font-weight: normal;
366
- font-style: normal;
367
- }
368
-
369
- .edgetoedge h4 + ul {
370
- border-top: 1px solid rgb(152,158,164);
371
- border-bottom: 1px solid rgb(113,125,133);
372
- }
373
-
374
- /* @end */
375
-
376
283
  /* @group Mini Label */
377
-
378
284
  ul li small {
379
- color: #369;
285
+ color: #64c114;
380
286
  font: 17px Helvetica;
381
287
  text-align: right;
382
288
  text-overflow: ellipsis;
@@ -385,220 +291,40 @@ ul li small {
385
291
  display: block;
386
292
  width: 23%;
387
293
  float: right;
388
- padding: 3px 0px;
294
+ padding: 0;
389
295
  }
390
-
391
296
  ul li.arrow small {
392
297
  padding: 0 15px;
393
298
  }
394
-
395
299
  ul li small.counter {
396
- font-size: 17px !important;
397
- line-height: 13px !important;
300
+ font-size: 17px;
301
+ line-height: 13px;
398
302
  font-weight: bold;
399
- background: rgb(154,159,170);
303
+ background: rgba(0,0,0,.15);
400
304
  color: #fff;
401
305
  -webkit-border-radius: 11px;
402
306
  padding: 4px 10px 5px 10px;
403
- display: inline !important;
307
+ display: block;
404
308
  width: auto;
405
309
  margin-top: -22px;
310
+ -webkit-box-shadow: rgba(255,255,255,.1) 0 1px 0;
406
311
  }
407
-
408
312
  ul li.arrow small.counter {
409
313
  margin-right: 15px;
410
314
  }
411
-
412
- /* @end */
413
-
414
- /* @group Plastic */
415
-
416
- #plastic ul li.arrow, #metal ul li.arrow {
417
- background-image: url(../images/apple/listArrow.png);
418
- background-position: right center;
419
- background-repeat: no-repeat;
420
- }
421
-
422
- .edgetoedge ul, .metal ul, .plastic ul {
423
- -webkit-border-radius: 0;
424
- margin: 0;
425
- border-left: 0;
426
- border-right: 0;
427
- border-top: 0;
428
- }
429
-
430
- .metal ul li {
431
- border-top: 1px solid rgb(238,238,238);
432
- border-bottom: 1px solid rgb(156,158,165);
433
- background: url(../images/bgMetal.png) top left repeat-x;
434
- font-size: 26px;
435
- text-shadow: #fff 0 1px 0;
436
- }
437
-
438
- .metal ul li a {
439
- line-height: 26px;
440
- margin: 0;
441
- padding: 13px 0;
442
- }
443
-
444
- .metal ul li a:hover {
445
- color: rgb(0,0,0);
446
- }
447
-
448
- .metal ul li:hover small {
449
- color: inherit;
450
- }
451
-
452
- .metal ul li a em {
453
- display: block;
454
- font-size: 14px;
455
- font-style: normal;
456
- color: #444;
457
- width: 50%;
458
- line-height: 14px;
459
- }
460
-
461
- .metal ul li small {
462
- float: right;
463
- position: relative;
464
- margin-top: 10px;
465
- font-weight: bold;
466
- }
467
-
468
- .metal ul li.arrow a small {
469
- padding-right: 0;
470
- line-height: 17px;
471
- }
472
-
473
- .metal ul li.arrow {
474
- background: url(../images/bgMetal.png) top left repeat-x,
475
- url(../images/chevron_dg.png) right center no-repeat;
476
- }
477
-
478
- .plastic {
479
- margin: 0;
480
- padding: 0;
481
- background: rgb(173,173,173);
482
- }
483
-
484
- .plastic ul {
485
- -webkit-border-radius: 0;
486
- margin: 0;
487
- border-left: 0;
488
- border-right: 0;
489
- border-top: 0;
490
- background-color: rgb(173,173,173);
491
- }
492
-
493
- .plastic ul li {
494
- -webkit-border-radius: 0;
495
- border-top: 1px solid rgb(191,191,191);
496
- border-bottom: 1px solid rgb(157,157,157);
497
- }
498
-
499
- .plastic ul li:nth-child(odd) {
500
- background-color: rgb(152,152,152);
501
- border-top: 1px solid rgb(181,181,181);
502
- border-bottom: 1px solid rgb(138,138,138);
503
- }
504
-
505
- .plastic ul + p {
506
- font-size: 11px;
507
- color: #2f3237;
508
- text-shadow: none;
509
- padding: 10px 10px;
510
- }
511
-
512
- .plastic ul + p strong {
513
- font-size: 14px;
514
- line-height: 18px;
515
- text-shadow: #fff 0 1px 0;
516
- }
517
-
518
- .plastic ul li a {
519
- text-shadow: rgb(211,211,211) 0 1px 0;
520
- }
521
-
522
- .plastic ul li:nth-child(odd) a {
523
- text-shadow: rgb(191,191,191) 0 1px 0;
524
- }
525
-
526
- .plastic ul li small {
527
- color: #3C3C3C;
528
- text-shadow: rgb(211,211,211) 0 1px 0;
529
- font-size: 13px;
530
- font-weight: bold;
531
- text-transform: uppercase;
532
- line-height: 24px;
533
- }
534
-
535
- #plastic ul.minibanner, #plastic ul.bigbanner {
536
- margin: 10px;
537
- border: 0;
538
- height: 81px;
539
- clear: both;
540
- }
541
-
542
- #plastic ul.bigbanner {
543
- height: 140px !important;
544
- }
545
-
546
- #plastic ul.minibanner li {
547
- border: 1px solid rgb(138,138,138);
548
- background-color: rgb(152,152,152);
549
- width: 145px;
550
- height: 81px;
551
- float: left;
552
- -webkit-border-radius: 5px;
553
- padding: 0;
554
- }
555
-
556
- #plastic ul.bigbanner li {
557
- border: 1px solid rgb(138,138,138);
558
- background-color: rgb(152,152,152);
559
- width: 296px;
560
- height: 140px;
561
- float: left;
562
- -webkit-border-radius: 5px;
563
- padding: 0;
564
- margin-bottom: 4px;
565
- }
566
-
567
- #plastic ul.minibanner li:first-child {
568
- margin-right: 6px;
569
- }
570
-
571
- #plastic ul.minibanner li a {
572
- color: transparent;
573
- text-shadow: none;
574
- display: block;
575
- width: 145px;
576
- height: 81px;
577
- }
578
-
579
- #plastic ul.bigbanner li a {
580
- color: transparent;
581
- text-shadow: none;
582
- display: block;
583
- width: 296px;
584
- height: 145px;
585
- }
586
-
587
315
  /* @end */
588
-
589
316
  /* @group Individual */
590
-
591
317
  ul.individual {
592
318
  border: 0;
593
319
  background: none;
594
320
  clear: both;
595
321
  overflow: hidden;
322
+ padding-bottom: 3px;
323
+ -webkit-box-shadow: none;
596
324
  }
597
-
598
325
  ul.individual li {
599
- color: rgb(183,190,205);
600
- background: white;
601
- border: 1px solid rgb(180,180,180);
326
+ background: #4c4d4e;
327
+ border: 1px solid #333;
602
328
  font-size: 14px;
603
329
  text-align: center;
604
330
  -webkit-border-radius: 8px;
@@ -607,30 +333,21 @@ ul.individual li {
607
333
  float: left;
608
334
  display: block;
609
335
  padding: 11px 10px 14px 10px;
336
+ -webkit-box-shadow: rgba(0,0,0,.2) 1px 1px 3px;
337
+ background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#4c4d4e), to(#404142));
610
338
  }
611
-
612
339
  ul.individual li + li {
613
340
  float: right;
614
341
  }
615
-
616
342
  ul.individual li a {
617
- color: rgb(50,79,133);
343
+ color: #fff;
618
344
  line-height: 16px;
619
345
  margin: -11px -10px -14px -10px;
620
346
  padding: 11px 10px 14px 10px;
621
347
  -webkit-border-radius: 8px;
622
348
  }
623
-
624
- ul.individual li a:hover {
625
- color: #fff;
626
- background: #36c;
627
- }
628
-
629
349
  /* @end */
630
-
631
350
  /* @group Toggle */
632
-
633
-
634
351
  .toggle {
635
352
  width: 94px;
636
353
  position: relative;
@@ -639,39 +356,172 @@ ul.individual li a:hover {
639
356
  overflow: hidden;
640
357
  float: right;
641
358
  }
642
-
643
359
  .toggle input[type="checkbox"]:checked {
644
360
  left: 0px;
645
361
  }
646
-
647
362
  .toggle input[type="checkbox"] {
648
- -webkit-tap-highlight-color: rgba(0,0,0,0);
649
- margin: 0;
363
+ -webkit-appearance: textarea;
650
364
  -webkit-border-radius: 5px;
651
- background: #fff url(../images/apple/on_off.png) 0 0 no-repeat;
365
+ -webkit-tap-highlight-color: rgba(0,0,0,0);
366
+ -webkit-transition: left .15s;
367
+ background-color: transparent;
368
+ background: #fff url(../images/jqt/on_off.png) 0 0 no-repeat;
369
+ border: 0;
652
370
  height: 27px;
371
+ left: -55px;
372
+ margin: 0;
653
373
  overflow: hidden;
654
- width: 149px;
655
- border: 0;
656
- -webkit-appearance: textarea;
657
- background-color: transparent;
658
- -webkit-transition: left .15s;
659
374
  position: absolute;
660
375
  top: 0;
661
- left: -55px;
376
+ width: 149px;
662
377
  }
663
378
  /* @end */
664
-
665
-
666
-
379
+ /* @group Info */
667
380
  .info {
668
- background: #dce1eb;
381
+ background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#ccc), to(#aaa), color-stop(.6,#CCCCCC));
669
382
  font-size: 12px;
670
383
  line-height: 16px;
671
384
  text-align: center;
672
385
  text-shadow: rgba(255,255,255,.8) 0 1px 0;
673
- color: rgb(76, 86, 108);
386
+ color: #444;
674
387
  padding: 15px;
675
- border-top: 1px solid rgba(76, 86, 108, .3);
388
+ border-top: 1px solid rgba(255,255,255,.2);
389
+ font-weight: bold;
390
+ }
391
+ /* @end */
392
+ /* @group Edge to edge */
393
+ ul.edgetoedge {
394
+ border-width: 1px 0;
395
+ margin: 0;
396
+ padding: 0;
397
+ }
398
+ ul.edgetoedge li {
399
+ background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#1e1f21), to(#272729));
400
+ border-bottom: 2px solid #000;
401
+ border-top: 1px solid #4a4b4d;
402
+ font-size: 20px;
403
+ margin-bottom: -1px;
404
+ }
405
+ ul.edgetoedge li.sep {
406
+ background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(rgba(0,0,0,0)), to(rgba(0,0,0,.5)));
407
+ border-bottom: 1px solid #111113;
408
+ border-top: 1px solid #666;
409
+ color: #3e9ac3;
410
+ font-size: 16px;
411
+ margin: 1px 0 0 0;
412
+ padding: 2px 10px;
413
+ text-shadow: #000 0 1px 0;
414
+ }
415
+ ul.edgetoedge li em {
416
+ font-weight: normal;
417
+ font-style: normal;
418
+ }
419
+ /* @end */
420
+ /* @group Plastic */
421
+ #plastic {
422
+ background: #17181a;
423
+ }
424
+ ul.plastic {
425
+ background: #17181a;
426
+ color: #aaa;
427
+ font: bold 18px Helvetica;
428
+ margin: 0;
429
+ padding: 0;
430
+ border-width: 0 0 1px 0;
431
+ }
432
+ ul.plastic li {
433
+ border-width: 1px 0;
434
+ border-style: solid;
435
+ border-top-color: #222;
436
+ border-bottom-color: #000;
437
+ color: #666;
438
+ list-style-type: none;
439
+ overflow: hidden;
440
+ padding: 10px 10px 10px 10px;
441
+ }
442
+ ul.plastic li a.active.loading {
443
+ background-image: url(../images/jqt/loading.gif);
444
+ background-position: 95% center;
445
+ background-repeat: no-repeat;
446
+ }
447
+ ul.plastic li small {
448
+ color: #888;
449
+ font-size: 13px;
676
450
  font-weight: bold;
677
- }
451
+ line-height: 24px;
452
+ text-transform: uppercase;
453
+ }
454
+ ul.plastic li:nth-child(odd) {
455
+ background-color: #1c1c1f;
456
+ }
457
+ ul.plastic li.arrow {
458
+ background-image: url(../images/jqt/chevron.png);
459
+ background-position: right center;
460
+ background-repeat: no-repeat;
461
+ }
462
+ ul.plastic li.arrow a.active {
463
+ background-image: url(../images/jqt/chevron.png);
464
+ background-position: right center;
465
+ background-repeat: no-repeat;
466
+ }
467
+ ul.plastic li.forward {
468
+ background-image: url(../images/jqt/chevron_circle.png);
469
+ background-position: right center;
470
+ background-repeat: no-repeat;
471
+ }
472
+ ul.plastic li.forward a.active {
473
+ background-image: url(../images/jqt/chevron_circle.png);
474
+ background-position: right center;
475
+ background-repeat: no-repeat;
476
+ }
477
+ /* @group Metal */
478
+ ul.metal {
479
+ border-bottom: 0;
480
+ border-left: 0;
481
+ border-right: 0;
482
+ border-top: 0;
483
+ margin: 0;
484
+ }
485
+ ul.metal li {
486
+ background-image: none;
487
+ border-top: 1px solid #fff;
488
+ border-bottom: 1px solid #666;
489
+ font-size: 26px;
490
+ background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(rgba(238,238,238,1)), to(rgba(156,158,160,1)));
491
+ }
492
+ ul.metal li a {
493
+ line-height: 26px;
494
+ margin: 0;
495
+ text-shadow: #fff 0 1px 0;
496
+ padding: 13px 0;
497
+ }
498
+ ul.metal li a em {
499
+ display: block;
500
+ font-size: 14px;
501
+ font-style: normal;
502
+ color: #444;
503
+ width: 50%;
504
+ line-height: 14px;
505
+ }
506
+ ul.metal li a.active {
507
+ color: rgb(0,0,0);
508
+ }
509
+ ul.metal li small {
510
+ float: right;
511
+ position: relative;
512
+ margin-top: 10px;
513
+ font-weight: bold;
514
+ }
515
+ ul.metal li.arrow {
516
+ background-image: url(../images/jqt/chevron.png);
517
+ background-position: right center;
518
+ background-repeat: no-repeat;
519
+ background-image: url(../images/jqt/chevron.png), -webkit-gradient(linear, 0% 0%, 0% 100%, from(rgba(238,238,238,1)), to(rgba(156,158,160,1)));
520
+ background-repeat: no-repeat;
521
+ background-position: right center;
522
+ }
523
+ ul.metal li.arrow a small {
524
+ padding-right: 15px;
525
+ line-height: 17px;
526
+ }
527
+ /* @end */
@@ -9,11 +9,30 @@
9
9
  </style>
10
10
 
11
11
  <script src="../lib/jquery.js" type="text/javascript" charset="utf-8" />
12
- <script src="../lib/plugins/jqtouch/jqtouch.js" type="application/x-javascript" charset="utf-8" />
12
+ <script src="../lib/plugins/jqtouch/jqtouch.js" type="text/javascript" charset="utf-8" />
13
+ <script src='../lib/air/AIRAliases.js' type="text/javascript" charset="utf-8" />
14
+
15
+ <script type="text/javascript" charset="utf-8">
16
+ var jQT = new $.jQTouch({ });
17
+ </script>
18
+
13
19
  </head>
14
20
  <body>
15
- <div id="home">
16
- <p>Wellcome!</p>
21
+ <div id='home'>
22
+ <div class='toolbar'>
23
+ <h1>Home</h1>
17
24
  </div>
25
+ <ul class='rounded'>
26
+ <li class='arrow'><a href="#todo">TODO</a></li>
27
+ </ul>
28
+ </div>
29
+
30
+ <div id='todo'>
31
+ <div class='toolbar'>
32
+ <a href="#home" class="back">back</a>
33
+ <h1>Another Screen</h1>
34
+ </div>
35
+ </div>
36
+
18
37
  </body>
19
38
  </html>
data/moonwalkair.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{moonwalkair}
8
- s.version = "0.3.1"
8
+ s.version = "0.3.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Daniel Lopes"]
12
- s.date = %q{2010-01-09}
12
+ s.date = %q{2010-01-10}
13
13
  s.default_executable = %q{moonwalk}
14
14
  s.description = %q{Moonwalkair help you to start build your AIR app and make it walk in the right way. The gem let you start your development faster, creating the entire folder structure and many files that a AIR app depends}
15
15
  s.email = %q{danielvlopes@gmail.com}
@@ -35,27 +35,24 @@ Gem::Specification.new do |s|
35
35
  "lib/moonwalkair/templates/README",
36
36
  "lib/moonwalkair/templates/app/assets/css/jqtouch.css",
37
37
  "lib/moonwalkair/templates/app/assets/css/theme.css",
38
- "lib/moonwalkair/templates/app/assets/images/apple/backButton.png",
39
- "lib/moonwalkair/templates/app/assets/images/apple/blueButton.png",
40
- "lib/moonwalkair/templates/app/assets/images/apple/cancel.png",
41
- "lib/moonwalkair/templates/app/assets/images/apple/chevron.png",
42
- "lib/moonwalkair/templates/app/assets/images/apple/grayButton.png",
43
- "lib/moonwalkair/templates/app/assets/images/apple/listArrowSel.png",
44
- "lib/moonwalkair/templates/app/assets/images/apple/listGroup.png",
45
- "lib/moonwalkair/templates/app/assets/images/apple/loading.gif",
46
- "lib/moonwalkair/templates/app/assets/images/apple/on_off.png",
47
- "lib/moonwalkair/templates/app/assets/images/apple/pinstripes.png",
48
- "lib/moonwalkair/templates/app/assets/images/apple/selection.png",
49
- "lib/moonwalkair/templates/app/assets/images/apple/thumb.png",
50
- "lib/moonwalkair/templates/app/assets/images/apple/toggle.png",
51
- "lib/moonwalkair/templates/app/assets/images/apple/toggleOn.png",
52
- "lib/moonwalkair/templates/app/assets/images/apple/toolButton.png",
53
- "lib/moonwalkair/templates/app/assets/images/apple/toolbar.png",
54
- "lib/moonwalkair/templates/app/assets/images/apple/whiteButton.png",
55
38
  "lib/moonwalkair/templates/app/assets/images/icons/128.png",
56
39
  "lib/moonwalkair/templates/app/assets/images/icons/16.png",
57
40
  "lib/moonwalkair/templates/app/assets/images/icons/32.png",
58
41
  "lib/moonwalkair/templates/app/assets/images/icons/48.png",
42
+ "lib/moonwalkair/templates/app/assets/images/jqt/back_button.png",
43
+ "lib/moonwalkair/templates/app/assets/images/jqt/back_button_clicked.png",
44
+ "lib/moonwalkair/templates/app/assets/images/jqt/button.png",
45
+ "lib/moonwalkair/templates/app/assets/images/jqt/button_clicked.png",
46
+ "lib/moonwalkair/templates/app/assets/images/jqt/chevron.png",
47
+ "lib/moonwalkair/templates/app/assets/images/jqt/chevron_circle.png",
48
+ "lib/moonwalkair/templates/app/assets/images/jqt/grayButton.png",
49
+ "lib/moonwalkair/templates/app/assets/images/jqt/loading.gif",
50
+ "lib/moonwalkair/templates/app/assets/images/jqt/on_off.png",
51
+ "lib/moonwalkair/templates/app/assets/images/jqt/rowhead.png",
52
+ "lib/moonwalkair/templates/app/assets/images/jqt/toggle.png",
53
+ "lib/moonwalkair/templates/app/assets/images/jqt/toggleOn.png",
54
+ "lib/moonwalkair/templates/app/assets/images/jqt/toolbar.png",
55
+ "lib/moonwalkair/templates/app/assets/images/jqt/whiteButton.png",
59
56
  "lib/moonwalkair/templates/app/lib/air/AIRAliases.js",
60
57
  "lib/moonwalkair/templates/app/lib/air/AIRIntrospector.js",
61
58
  "lib/moonwalkair/templates/app/lib/air/AIRLocalizer.js",
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: moonwalkair
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Lopes
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2010-01-09 00:00:00 -02:00
12
+ date: 2010-01-10 00:00:00 -02:00
13
13
  default_executable: moonwalk
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -58,27 +58,24 @@ files:
58
58
  - lib/moonwalkair/templates/README
59
59
  - lib/moonwalkair/templates/app/assets/css/jqtouch.css
60
60
  - lib/moonwalkair/templates/app/assets/css/theme.css
61
- - lib/moonwalkair/templates/app/assets/images/apple/backButton.png
62
- - lib/moonwalkair/templates/app/assets/images/apple/blueButton.png
63
- - lib/moonwalkair/templates/app/assets/images/apple/cancel.png
64
- - lib/moonwalkair/templates/app/assets/images/apple/chevron.png
65
- - lib/moonwalkair/templates/app/assets/images/apple/grayButton.png
66
- - lib/moonwalkair/templates/app/assets/images/apple/listArrowSel.png
67
- - lib/moonwalkair/templates/app/assets/images/apple/listGroup.png
68
- - lib/moonwalkair/templates/app/assets/images/apple/loading.gif
69
- - lib/moonwalkair/templates/app/assets/images/apple/on_off.png
70
- - lib/moonwalkair/templates/app/assets/images/apple/pinstripes.png
71
- - lib/moonwalkair/templates/app/assets/images/apple/selection.png
72
- - lib/moonwalkair/templates/app/assets/images/apple/thumb.png
73
- - lib/moonwalkair/templates/app/assets/images/apple/toggle.png
74
- - lib/moonwalkair/templates/app/assets/images/apple/toggleOn.png
75
- - lib/moonwalkair/templates/app/assets/images/apple/toolButton.png
76
- - lib/moonwalkair/templates/app/assets/images/apple/toolbar.png
77
- - lib/moonwalkair/templates/app/assets/images/apple/whiteButton.png
78
61
  - lib/moonwalkair/templates/app/assets/images/icons/128.png
79
62
  - lib/moonwalkair/templates/app/assets/images/icons/16.png
80
63
  - lib/moonwalkair/templates/app/assets/images/icons/32.png
81
64
  - lib/moonwalkair/templates/app/assets/images/icons/48.png
65
+ - lib/moonwalkair/templates/app/assets/images/jqt/back_button.png
66
+ - lib/moonwalkair/templates/app/assets/images/jqt/back_button_clicked.png
67
+ - lib/moonwalkair/templates/app/assets/images/jqt/button.png
68
+ - lib/moonwalkair/templates/app/assets/images/jqt/button_clicked.png
69
+ - lib/moonwalkair/templates/app/assets/images/jqt/chevron.png
70
+ - lib/moonwalkair/templates/app/assets/images/jqt/chevron_circle.png
71
+ - lib/moonwalkair/templates/app/assets/images/jqt/grayButton.png
72
+ - lib/moonwalkair/templates/app/assets/images/jqt/loading.gif
73
+ - lib/moonwalkair/templates/app/assets/images/jqt/on_off.png
74
+ - lib/moonwalkair/templates/app/assets/images/jqt/rowhead.png
75
+ - lib/moonwalkair/templates/app/assets/images/jqt/toggle.png
76
+ - lib/moonwalkair/templates/app/assets/images/jqt/toggleOn.png
77
+ - lib/moonwalkair/templates/app/assets/images/jqt/toolbar.png
78
+ - lib/moonwalkair/templates/app/assets/images/jqt/whiteButton.png
82
79
  - lib/moonwalkair/templates/app/lib/air/AIRAliases.js
83
80
  - lib/moonwalkair/templates/app/lib/air/AIRIntrospector.js
84
81
  - lib/moonwalkair/templates/app/lib/air/AIRLocalizer.js