subduino 0.1.0 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (102) hide show
  1. data/Readme.textile +48 -2
  2. data/VERSION +1 -1
  3. data/bin/subduino +21 -5
  4. data/duino/Makefile +53 -50
  5. data/duino/duino.pde +271 -5
  6. data/lib/subduino.rb +1 -1
  7. data/lib/subduino/parse.rb +23 -34
  8. data/lib/subduino/parse/bool.rb +13 -0
  9. data/lib/subduino/parse/lux.rb +13 -0
  10. data/lib/subduino/parse/temp.rb +17 -0
  11. data/lib/subduino/scaffold/Makefile +59 -51
  12. data/lib/subduino/store.rb +21 -12
  13. data/subduino.gemspec +88 -2
  14. data/webapp/config.yml +20 -0
  15. data/webapp/lib/app.rb +2 -2
  16. data/webapp/lib/duino.rb +9 -16
  17. data/webapp/public/custom.js +187 -0
  18. data/webapp/public/date_input.css +149 -0
  19. data/webapp/public/facebox.css +83 -0
  20. data/webapp/public/facebox.js +319 -0
  21. data/webapp/public/favicon.ico +0 -0
  22. data/webapp/public/icons/current.png +0 -0
  23. data/webapp/public/icons/day.png +0 -0
  24. data/webapp/public/icons/door-big.png +0 -0
  25. data/webapp/public/icons/favicon.png +0 -0
  26. data/webapp/public/icons/irrigation.png +0 -0
  27. data/webapp/public/icons/lamp-big.png +0 -0
  28. data/webapp/public/icons/lightbulb_off.png +0 -0
  29. data/webapp/public/icons/locked.png +0 -0
  30. data/webapp/public/icons/lux.png +0 -0
  31. data/webapp/public/icons/night.png +0 -0
  32. data/webapp/public/icons/noise.png +0 -0
  33. data/webapp/public/icons/onoff.png +0 -0
  34. data/webapp/public/icons/rain.png +0 -0
  35. data/webapp/public/icons/refrigeration.png +0 -0
  36. data/webapp/public/icons/temp.png +0 -0
  37. data/webapp/public/icons/unlocked.png +0 -0
  38. data/webapp/public/images/ajax-loader.gif +0 -0
  39. data/webapp/public/images/b.png +0 -0
  40. data/webapp/public/images/bendl.gif +0 -0
  41. data/webapp/public/images/bendr.gif +0 -0
  42. data/webapp/public/images/bendsb.gif +0 -0
  43. data/webapp/public/images/bg.jpg +0 -0
  44. data/webapp/public/images/bhead.gif +0 -0
  45. data/webapp/public/images/bheadl.gif +0 -0
  46. data/webapp/public/images/bheadr.gif +0 -0
  47. data/webapp/public/images/bl.png +0 -0
  48. data/webapp/public/images/bnd.gif +0 -0
  49. data/webapp/public/images/br.png +0 -0
  50. data/webapp/public/images/bread.gif +0 -0
  51. data/webapp/public/images/btnb.gif +0 -0
  52. data/webapp/public/images/btnb_.gif +0 -0
  53. data/webapp/public/images/btnm.gif +0 -0
  54. data/webapp/public/images/btnm_.gif +0 -0
  55. data/webapp/public/images/btns.gif +0 -0
  56. data/webapp/public/images/btns_.gif +0 -0
  57. data/webapp/public/images/cal.jpg +0 -0
  58. data/webapp/public/images/close.png +0 -0
  59. data/webapp/public/images/closelabel.gif +0 -0
  60. data/webapp/public/images/error.gif +0 -0
  61. data/webapp/public/images/ft.gif +0 -0
  62. data/webapp/public/images/hdr.gif +0 -0
  63. data/webapp/public/images/hdrl.gif +0 -0
  64. data/webapp/public/images/hdrr.gif +0 -0
  65. data/webapp/public/images/hld.jpg +0 -0
  66. data/webapp/public/images/imgb.gif +0 -0
  67. data/webapp/public/images/imgo.gif +0 -0
  68. data/webapp/public/images/imgt.gif +0 -0
  69. data/webapp/public/images/info.gif +0 -0
  70. data/webapp/public/images/jquery.wysiwyg.gif +0 -0
  71. data/webapp/public/images/li.gif +0 -0
  72. data/webapp/public/images/mbg.png +0 -0
  73. data/webapp/public/images/nsp.gif +0 -0
  74. data/webapp/public/images/phs.gif +0 -0
  75. data/webapp/public/images/sdd.jpg +0 -0
  76. data/webapp/public/images/sdd_.jpg +0 -0
  77. data/webapp/public/images/sidebar.gif +0 -0
  78. data/webapp/public/images/sorta.gif +0 -0
  79. data/webapp/public/images/sortd.gif +0 -0
  80. data/webapp/public/images/srch.gif +0 -0
  81. data/webapp/public/images/srch_.gif +0 -0
  82. data/webapp/public/images/success.gif +0 -0
  83. data/webapp/public/images/thumb1.jpg +0 -0
  84. data/webapp/public/images/thumb2.jpg +0 -0
  85. data/webapp/public/images/thumb3.jpg +0 -0
  86. data/webapp/public/images/tiny.gif +0 -0
  87. data/webapp/public/images/tiny_.gif +0 -0
  88. data/webapp/public/images/tl.png +0 -0
  89. data/webapp/public/images/tr.png +0 -0
  90. data/webapp/public/images/upload.gif +0 -0
  91. data/webapp/public/images/warning.gif +0 -0
  92. data/webapp/public/jquery.img.preload.js +152 -0
  93. data/webapp/public/jquery.sparkline.js +85 -0
  94. data/webapp/public/jquery.tablesorter.min.js +2 -0
  95. data/webapp/public/jquery.visualize.js +452 -0
  96. data/webapp/public/jquery.wysiwyg.css +56 -0
  97. data/webapp/public/style.css +881 -0
  98. data/webapp/public/visualize.css +32 -0
  99. data/webapp/views/index.haml +365 -49
  100. data/webapp/views/layout.haml +78 -7
  101. data/webapp/views/template.haml +676 -0
  102. metadata +89 -3
@@ -0,0 +1,56 @@
1
+ div.wysiwyg { border: 1px solid #bbb; padding: 0; background-color: #fefefe; -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px; width: 99.5% !important; }
2
+ div.wysiwyg * { margin: 0; padding: 0; outline: none; }
3
+
4
+ div.wysiwyg ul.panel { border-bottom: 1px solid #cccccc; background: #fafafa; float: left; width: 99.1%; padding: 5px; margin: 0; -webkit-border-top-left-radius: 3px; -webkit-border-top-right-radius: 3px; -moz-border-radius-topleft: 3px; -moz-border-radius-topright: 3px; border-top-left-radius: 3px; border-top-right-radius: 3px; }
5
+ div.wysiwyg ul.panel li { list-style-type: none; float: left; padding: 0; margin: 2px 2px 2px 0; background: none; height: 19px; overflow: hidden; }
6
+ div.wysiwyg ul.panel li.separator { height: 18px; margin: 3px 4px 0; border-left: 1px solid #cccccc; }
7
+ div.wysiwyg ul.panel li a { text-indent: -5000px; opacity: 0.85; filter:alpha(opacity=85); display: block; width: 16px; height: 16px; background: url('jquery.wysiwyg.gif') no-repeat -64px -80px; border: 0; cursor: pointer; padding: 0; margin: 1px; border: 1px solid #fafafa; }
8
+ div.wysiwyg ul.panel li a:hover, div.wysiwyg ul.panel li a.active { opacity: 1.00; filter:alpha(opacity=100); }
9
+ div.wysiwyg ul.panel li a.active { border: 1px solid #ddd; background-color: #fff; padding: 0; }
10
+
11
+ div.wysiwyg ul.panel li a.bold { background-position: 0 -17px; }
12
+ div.wysiwyg ul.panel li a.italic { background-position: -16px -17px; }
13
+ div.wysiwyg ul.panel li a.strikeThrough { background-position: -32px -17px; }
14
+ div.wysiwyg ul.panel li a.underline { background-position: -48px -16px; }
15
+
16
+ div.wysiwyg ul.panel li a.justifyLeft { background-position: 0 0; }
17
+ div.wysiwyg ul.panel li a.justifyCenter { background-position: -16px 0; }
18
+ div.wysiwyg ul.panel li a.justifyRight { background-position: -32px 0; }
19
+ div.wysiwyg ul.panel li a.justifyFull { background-position: -48px 0; }
20
+
21
+ div.wysiwyg ul.panel li a.indent { background-position: -64px 0; }
22
+ div.wysiwyg ul.panel li a.outdent { background-position: -80px 0; }
23
+
24
+ div.wysiwyg ul.panel li a.subscript { background-position: -64px -16px; }
25
+ div.wysiwyg ul.panel li a.superscript { background-position: -80px -16px; }
26
+
27
+ div.wysiwyg ul.panel li a.undo { background-position: 0 -63px; }
28
+ div.wysiwyg ul.panel li a.redo { background-position: -16px -65px; }
29
+
30
+ div.wysiwyg ul.panel li a.insertOrderedList { background-position: -32px -48px; }
31
+ div.wysiwyg ul.panel li a.insertUnorderedList { background-position: -16px -48px; }
32
+ div.wysiwyg ul.panel li a.insertHorizontalRule { background-position: 0 -48px; }
33
+
34
+ div.wysiwyg ul.panel li a.h1 { background-position: 0 -32px; }
35
+ div.wysiwyg ul.panel li a.h2 { background-position: -16px -32px; }
36
+ div.wysiwyg ul.panel li a.h3 { background-position: -32px -32px; }
37
+ div.wysiwyg ul.panel li a.h4 { background-position: -48px -32px; }
38
+ div.wysiwyg ul.panel li a.h5 { background-position: -64px -32px; }
39
+ div.wysiwyg ul.panel li a.h6 { background-position: -80px -32px; }
40
+
41
+ div.wysiwyg ul.panel li a.cut { background-position: -32px -64px; }
42
+ div.wysiwyg ul.panel li a.copy { background-position: -48px -64px; }
43
+ div.wysiwyg ul.panel li a.paste { background-position: -64px -64px; }
44
+
45
+ div.wysiwyg ul.panel li a.increaseFontSize { background-position: -16px -80px; }
46
+ div.wysiwyg ul.panel li a.decreaseFontSize { background-position: -32px -80px; }
47
+
48
+ div.wysiwyg ul.panel li a.createLink { background-position: -80px -48px; }
49
+ div.wysiwyg ul.panel li a.insertImage { background-position: -80px -80px; }
50
+
51
+ div.wysiwyg ul.panel li a.html { background-position: -47px -46px; }
52
+ div.wysiwyg ul.panel li a.removeFormat { background-position: -80px -64px; }
53
+
54
+ div.wysiwyg ul.panel li a.empty { background-position: -64px -80px; }
55
+
56
+ div.wysiwyg iframe { border: 0; clear: left; margin: 0; width: 100% !important; }
@@ -0,0 +1,881 @@
1
+
2
+ * {
3
+ margin:0;
4
+ padding:0;
5
+ }
6
+ body {
7
+ background:url("images/bg.jpg") repeat scroll 0 0 #FBFBFB;
8
+ color:#666666;
9
+ font-family:"Lucida Grande",Verdana,sans-serif;
10
+ font-size:12px;
11
+ line-height:20px;
12
+ }
13
+ :focus {
14
+ }
15
+ p {
16
+ padding-bottom:15px;
17
+ }
18
+ img, a img {
19
+ border:0 none;
20
+ }
21
+ ul li {
22
+ list-style:none outside none;
23
+ }
24
+ .clear {
25
+ clear:both;
26
+ }
27
+ a {
28
+ color:#008EE8;
29
+ outline:medium none;
30
+ text-decoration:none;
31
+ }
32
+ a:hover {
33
+ color:#EC8526;
34
+ text-decoration:none;
35
+ }
36
+ #hld {
37
+ background:url("images/hld.jpg") repeat-x scroll 0 0 transparent;
38
+ min-height:402px;
39
+ }
40
+ .wrapper {
41
+ margin:0 auto;
42
+ min-width:960px;
43
+ padding-top:20px;
44
+ width:90%;
45
+ }
46
+ #header {
47
+ background:url("images/hdr.gif") repeat-x scroll 0 0 transparent;
48
+ color:#eee;
49
+ font-weight:bold;
50
+ height:50px;
51
+ line-height:50px;
52
+ margin-bottom:20px;
53
+ }
54
+ #header .hdrl {
55
+ background:url("images/hdrl.gif") no-repeat scroll left top transparent;
56
+ float:left;
57
+ height:50px;
58
+ width:20px;
59
+ }
60
+ #header .hdrr {
61
+ background:url("images/hdrr.gif") no-repeat scroll right top transparent;
62
+ float:right;
63
+ height:50px;
64
+ width:20px;
65
+ }
66
+ #header a {
67
+ color:#ddd;
68
+ text-decoration:none;
69
+ }
70
+ #header a:hover {
71
+ color:#666;
72
+ }
73
+ #header h1 {
74
+ color:#FFFFFF;
75
+ float:left;
76
+ font-family:"Titillium800","Trebuchet MS",Arial,sans-serif;
77
+ font-size:18px;
78
+ font-weight:normal;
79
+ margin-right:80px;
80
+ text-transform:uppercase;
81
+ }
82
+ #header h1 a {
83
+ color:#FFFFFF;
84
+ }
85
+ #header h1 a:hover {
86
+ color:#008EE8;
87
+ }
88
+ #header #nav, #header #nav * {
89
+ z-index:20;
90
+ }
91
+ #header #nav {
92
+ border:0 none;
93
+ float:left;
94
+ height:50px;
95
+ list-style:none outside none;
96
+ margin:0;
97
+ padding:0;
98
+ width:auto;
99
+ }
100
+ #header #nav li {
101
+ background:url("images/nsp.gif") no-repeat scroll right center transparent;
102
+ border:0 none;
103
+ display:inline;
104
+ float:left;
105
+ height:50px;
106
+ line-height:50px;
107
+ list-style:none outside none;
108
+ margin:0;
109
+ padding:0 10px;
110
+ position:relative;
111
+ }
112
+ #header #nav li.nobg {
113
+ background:none repeat scroll 0 0 transparent;
114
+ }
115
+ #header #nav ul {
116
+ border:0 none;
117
+ display:none;
118
+ left:0;
119
+ list-style:none outside none;
120
+ margin:0;
121
+ padding:0;
122
+ position:absolute;
123
+ top:50px;
124
+ width:190px;
125
+ }
126
+ #header #nav ul:after {
127
+ clear:both;
128
+ content:".";
129
+ display:block;
130
+ font:1px/0px serif;
131
+ height:0;
132
+ visibility:hidden;
133
+ }
134
+ #header #nav ul li {
135
+ background:none repeat scroll 0 0 transparent;
136
+ display:block !important;
137
+ float:left;
138
+ height:30px;
139
+ line-height:30px;
140
+ padding:0;
141
+ position:relative;
142
+ top:0;
143
+ width:190px;
144
+ }
145
+ #header #nav a {
146
+ display:block;
147
+ float:none !important;
148
+ height:auto !important;
149
+ padding:0 10px;
150
+ color:#DDDDDD;
151
+ }
152
+ #header #nav li.active a {
153
+ color:#DDDDDD;
154
+ }
155
+ #header #nav li.active a:hover {
156
+ color:#FFFFFF;
157
+ }
158
+ #header #nav a.hasmore {
159
+ border:1px solid red;
160
+ }
161
+ #header #nav a:hover, #header #nav li:hover a, #header #nav li.iehover a {
162
+ color:#FFFFFF;
163
+ }
164
+ #header #nav li:hover li a, #header #nav li.iehover li a {
165
+ background:url("images/mbg.png") repeat scroll 0 0 transparent;
166
+ color:#999999;
167
+ font-size:11px;
168
+ font-weight:bold;
169
+ line-height:30px;
170
+ padding:0 15px;
171
+ text-transform:none;
172
+ }
173
+ #header #nav li:hover li a:hover, #header #nav li:hover li:hover a, #header #nav li.iehover li a:hover, #header #nav li.iehover li.iehover a {
174
+ background:none repeat scroll 0 0 #000000;
175
+ color:#FFFFFF;
176
+ }
177
+ #header #nav li:hover li:hover li a, #header #nav li.iehover li.iehover li a {
178
+ background:url("images/mbg.png") repeat scroll 0 0 transparent;
179
+ color:#999999;
180
+ float:none;
181
+ }
182
+ #header #nav li:hover li:hover li a:hover, #header #nav li:hover li:hover li:hover a, #header #nav li.iehover li.iehover li a:hover, #header #nav li.iehover li.iehover li.iehover a {
183
+ background:none repeat scroll 0 0 #000000;
184
+ color:#FFFFFF;
185
+ }
186
+ #header #nav li:hover li:hover li:hover li a, #header #nav li.iehover li.iehover li.iehover li a {
187
+ background:url("images/mbg.png") repeat scroll 0 0 transparent;
188
+ color:#999999;
189
+ }
190
+ #header #nav li:hover li:hover li:hover li a:hover, #header #nav li.iehover li.iehover li.iehover li a:hover {
191
+ background:none repeat scroll 0 0 #000000;
192
+ color:#FFFFFF;
193
+ }
194
+ #header #nav ul ul, #header #nav ul ul ul {
195
+ display:none;
196
+ left:190px;
197
+ position:absolute;
198
+ top:0;
199
+ }
200
+ #header #nav li:hover ul ul, #header #nav li:hover ul ul ul, #header #nav li.iehover ul ul, #header #nav li.iehover ul ul ul {
201
+ display:none;
202
+ }
203
+ #header #nav li:hover ul, #header #nav ul li:hover ul, #header #nav ul ul li:hover ul, #header #nav li.iehover ul, #header #nav ul li.iehover ul, #header #nav ul ul li.iehover ul {
204
+ display:block;
205
+ }
206
+ #header .user {
207
+ float:right;
208
+ font-size:11px;
209
+ }
210
+ #header .user a {
211
+ text-decoration:underline;
212
+ }
213
+ #header .user a:hover {
214
+ text-decoration:none;
215
+ }
216
+ .block {
217
+ background:url("images/bnd.gif") repeat-x scroll center bottom #FFFFFF;
218
+ clear:both;
219
+ margin-bottom:25px;
220
+ padding-bottom:5px;
221
+ }
222
+ .block .bendl {
223
+ background:url("images/bendl.gif") no-repeat scroll left bottom transparent;
224
+ float:left;
225
+ height:5px;
226
+ width:5px;
227
+ }
228
+ .block .bendr {
229
+ background:url("images/bendr.gif") no-repeat scroll left bottom transparent;
230
+ float:right;
231
+ height:5px;
232
+ width:5px;
233
+ }
234
+ .block .block_head {
235
+ background:url("images/bhead.gif") repeat-x scroll 0 0 transparent;
236
+ height:54px;
237
+ line-height:54px;
238
+ overflow:hidden;
239
+ }
240
+ .block .block_head .bheadl {
241
+ background:url("images/bheadl.gif") no-repeat scroll left top transparent;
242
+ float:left;
243
+ height:54px;
244
+ width:20px;
245
+ }
246
+ .block .block_head .bheadr {
247
+ background:url("images/bheadr.gif") no-repeat scroll right top transparent;
248
+ float:right;
249
+ height:54px;
250
+ width:20px;
251
+ }
252
+ .block .block_head h2 {
253
+ color:#555555;
254
+ float:left;
255
+ font-family:"Titillium999","Trebuchet MS",Arial,sans-serif;
256
+ font-size:18px;
257
+ font-weight:normal;
258
+ text-shadow:1px 1px 0 #FFFFFF;
259
+ text-transform:uppercase;
260
+ }
261
+ .block .block_head ul {
262
+ float:right;
263
+ font-size:11px;
264
+ font-weight:bold;
265
+ text-shadow:1px 1px 0 #FFFFFF;
266
+ text-transform:uppercase;
267
+ }
268
+ .block .block_head ul li {
269
+ background:url("images/phs.gif") no-repeat scroll 7px center transparent;
270
+ display:inline;
271
+ padding:3px 0 3px 20px;
272
+ }
273
+ .block .block_head ul li.nobg {
274
+ background:none repeat scroll 0 0 transparent;
275
+ }
276
+ .block .block_head ul li a {
277
+ color:#666666;
278
+ outline:medium none;
279
+ text-decoration:none;
280
+ }
281
+ .block .block_head ul li.active a {
282
+ color:#888888;
283
+ }
284
+ .block .block_head ul li a:hover {
285
+ color:#008EE8;
286
+ }
287
+ .block .block_head form {
288
+ float:right;
289
+ height:34px;
290
+ line-height:24px;
291
+ padding:15px 0;
292
+ }
293
+ .block .block_head form .text {
294
+ background:url("images/srch.gif") no-repeat scroll left center transparent;
295
+ border:0 none;
296
+ color:#999999;
297
+ font-size:11px;
298
+ height:15px;
299
+ margin:0;
300
+ padding:5px 10px 5px 25px;
301
+ width:129px;
302
+ }
303
+ .block .block_head form .text:focus {
304
+ background:url("images/srch_.gif") no-repeat scroll left center transparent;
305
+ color:#666666;
306
+ }
307
+ .block .block_head select {
308
+ text-transform:none;
309
+ }
310
+ .block .block_content {
311
+ background:none repeat scroll 0 0 #FFFFFF;
312
+ border-left:1px solid #CCCCCC;
313
+ border-right:1px solid #CCCCCC;
314
+ overflow:hidden;
315
+ padding:10px 20px 0;
316
+ }
317
+ .block .block_content h1, .block .block_content h2 {
318
+ color:#454545;
319
+ font-family:"Titillium999","Trebuchet MS",Arial,sans-serif;
320
+ font-size:18px;
321
+ font-weight:normal;
322
+ margin-bottom:10px;
323
+ }
324
+ .block .block_content h3 {
325
+ color:#666666;
326
+ font-family:"Lucida Grande",Helvetica,Arial,sans-serif;
327
+ font-size:14px;
328
+ font-weight:bold;
329
+ margin-bottom:5px;
330
+ }
331
+ .block .block_content h4 {
332
+ color:#666666;
333
+ font-family:Arial,Helvetica,sans-serif;
334
+ font-size:13px;
335
+ font-weight:bold;
336
+ margin-bottom:5px;
337
+ }
338
+ .block table {
339
+ margin-bottom:15px;
340
+ text-align:left;
341
+ }
342
+ .block table tr.even td {
343
+ background:none repeat scroll 0 0 #FBFBFB;
344
+ }
345
+ .block table tr td, .block table tr th {
346
+ border-bottom:1px solid #DDDDDD;
347
+ line-height:normal;
348
+ padding:10px;
349
+ text-align:left;
350
+ }
351
+ .block table tr th.headerSortUp {
352
+ background:url("images/sortd.gif") no-repeat scroll 95% center transparent;
353
+ color:#333333;
354
+ }
355
+ .block table tr th.headerSortDown {
356
+ background:url("images/sorta.gif") no-repeat scroll 95% center transparent;
357
+ color:#333333;
358
+ }
359
+ .block table tr td.delete {
360
+ font-size:11px;
361
+ text-align:right;
362
+ }
363
+ .block table tr td.delete a {
364
+ color:#666666;
365
+ }
366
+ .block table tr td.delete a:hover {
367
+ color:#DD0000;
368
+ }
369
+ .block .tableactions {
370
+ float:left;
371
+ overflow:hidden;
372
+ padding-bottom:20px;
373
+ }
374
+ .block .tableactions select {
375
+ margin-right:5px;
376
+ outline:medium none;
377
+ vertical-align:middle;
378
+ width:100px;
379
+ }
380
+ .block .pagination {
381
+ border-top:1px solid #EEEEEE;
382
+ font-size:10px;
383
+ font-weight:bold;
384
+ padding-bottom:15px;
385
+ padding-top:15px;
386
+ }
387
+ .block .pagination.right {
388
+ border:0 none;
389
+ float:right;
390
+ overflow:hidden;
391
+ padding-top:1px;
392
+ text-align:right;
393
+ width:500px;
394
+ }
395
+ .block .pagination a {
396
+ -moz-border-radius:3px 3px 3px 3px;
397
+ border:1px solid #CCCCCC;
398
+ margin:0 1px;
399
+ padding:3px 6px;
400
+ }
401
+ .block .pagination a.active {
402
+ background:none repeat scroll 0 0 #39A3E6;
403
+ border:1px solid #0082D5;
404
+ color:#FFFFFF;
405
+ }
406
+ .block .pagination a:hover {
407
+ background:none repeat scroll 0 0 #EC8526;
408
+ border:1px solid #D77011;
409
+ color:#FFFFFF;
410
+ }
411
+ .block .block_content ul {
412
+ padding-bottom:15px;
413
+ padding-left:15px;
414
+ }
415
+ .block .block_content ol {
416
+ list-style-position:inside;
417
+ padding-bottom:15px;
418
+ padding-left:15px;
419
+ }
420
+ .block .block_content ul li {
421
+ background:url("images/li.gif") no-repeat scroll 0 7px transparent;
422
+ margin-bottom:5px;
423
+ padding-left:15px;
424
+ }
425
+ .block .block_content ol li {
426
+ margin-bottom:5px;
427
+ }
428
+ .block hr {
429
+ background:none no-repeat scroll 0 0 transparent;
430
+ border-color:-moz-use-text-color -moz-use-text-color #DDDDDD;
431
+ border-style:none none solid;
432
+ border-width:0 0 1px;
433
+ height:1px;
434
+ margin-bottom:15px;
435
+ }
436
+ .block .message {
437
+ -moz-border-radius:3px 3px 3px 3px;
438
+ font-weight:bold;
439
+ margin:10px 0;
440
+ overflow:hidden;
441
+ padding:10px 15px 10px 40px;
442
+ }
443
+ .block .message p {
444
+ float:left;
445
+ padding:0;
446
+ width:93%;
447
+ }
448
+ .block .message.errormsg {
449
+ background:url("images/error.gif") no-repeat scroll 12px 12px #FFECCE;
450
+ border:1px solid #E9C59B;
451
+ color:#E3302C;
452
+ }
453
+ .block .message.success {
454
+ background:url("images/success.gif") no-repeat scroll 12px 12px #EDFBD8;
455
+ border:1px solid #BFDE84;
456
+ color:#508600;
457
+ }
458
+ .block .message.info {
459
+ background:url("images/info.gif") no-repeat scroll 12px 12px #ECF9FF;
460
+ border:1px solid #BBDBE0;
461
+ color:#0888C3;
462
+ }
463
+ .block .message.warning {
464
+ background:url("images/warning.gif") no-repeat scroll 12px 12px #FEFDE2;
465
+ border:1px solid #E5E181;
466
+ color:#666666;
467
+ }
468
+ .block .message .close {
469
+ background:url("images/close.png") no-repeat scroll 0 0 transparent;
470
+ cursor:pointer;
471
+ display:block;
472
+ float:right;
473
+ height:16px;
474
+ margin-top:2px;
475
+ opacity:0.7;
476
+ width:16px;
477
+ }
478
+ .block .message .close.hover {
479
+ opacity:1;
480
+ }
481
+ .block form p {
482
+ clear:both;
483
+ overflow:hidden;
484
+ }
485
+ .block form label {
486
+ color:#555555;
487
+ font-family:"Lucida Grande",Verdana,sans-serif;
488
+ font-size:12px;
489
+ font-weight:bold;
490
+ margin-right:10px;
491
+ vertical-align:middle;
492
+ }
493
+ .block form input.text {
494
+ -moz-border-radius:3px 3px 3px 3px;
495
+ background:none repeat scroll 0 0 #FEFEFE;
496
+ border:1px solid #BBBBBB;
497
+ color:#333333;
498
+ font-family:"Lucida Grande",Verdana,sans-serif;
499
+ font-size:14px;
500
+ outline:medium none;
501
+ padding:7px;
502
+ vertical-align:middle;
503
+ width:410px;
504
+ }
505
+ .block form input.text.medium {
506
+ width:600px;
507
+ }
508
+ .block form input.text.big {
509
+ width:98%;
510
+ }
511
+ .block form input.text.date_picker {
512
+ background:url("images/cal.jpg") no-repeat scroll right center transparent;
513
+ cursor:pointer;
514
+ padding-right:36px;
515
+ width:100px;
516
+ }
517
+ .block form textarea {
518
+ -moz-border-radius:3px 3px 3px 3px;
519
+ background:none repeat scroll 0 0 #FEFEFE;
520
+ border:1px solid #BBBBBB;
521
+ color:#333333;
522
+ font-family:"Lucida Grande",Verdana,sans-serif;
523
+ font-size:14px;
524
+ height:140px;
525
+ outline:medium none;
526
+ padding:5px;
527
+ width:98%;
528
+ }
529
+ .block form textarea.wysiwyg {
530
+ padding:0;
531
+ width:98%;
532
+ }
533
+ .block form input.radio, .block form input.checkbox {
534
+ vertical-align:middle;
535
+ }
536
+ .block form select.styled {
537
+ cursor:pointer;
538
+ height:18px;
539
+ margin-right:20px;
540
+ width:245px;
541
+ }
542
+ .block form .cmf-skinned-select {
543
+ -moz-border-radius:3px 3px 3px 3px;
544
+ background:url("images/sdd.jpg") no-repeat scroll right center transparent;
545
+ border:1px solid #BBBBBB;
546
+ display:block;
547
+ margin-right:20px;
548
+ padding:7px;
549
+ }
550
+ .block form .cmf-skinned-select:hover {
551
+ background:url("images/sdd_.jpg") no-repeat scroll right center transparent;
552
+ }
553
+ .block form div.cmf-skinned-text {
554
+ color:#333333;
555
+ font-family:"Lucida Grande",Verdana,sans-serif;
556
+ font-size:14px;
557
+ padding:5px 7px;
558
+ }
559
+ .block form .fileupload {
560
+ position:relative;
561
+ }
562
+ .block form .fileupload #uploadmsg {
563
+ display:block;
564
+ font-size:11px;
565
+ height:30px;
566
+ left:350px;
567
+ line-height:30px;
568
+ margin-left:5px;
569
+ position:absolute;
570
+ top:20px;
571
+ }
572
+ .block form .fileupload #uploadmsg.loading {
573
+ background:url("images/ajax-loader.gif") no-repeat scroll left center transparent;
574
+ padding-left:20px;
575
+ width:30px;
576
+ }
577
+ .block form input.file {
578
+ -moz-border-radius-bottomleft:3px;
579
+ -moz-border-radius-topleft:3px;
580
+ background:none repeat scroll 0 0 #FEFEFE;
581
+ border-color:#BBBBBB -moz-use-text-color #BBBBBB #BBBBBB;
582
+ border-style:solid none solid solid;
583
+ border-width:1px 0 1px 1px;
584
+ color:#333333;
585
+ font-family:"Lucida Grande",Verdana,sans-serif;
586
+ font-size:14px;
587
+ height:20px;
588
+ outline:medium none;
589
+ padding:4px;
590
+ width:250px;
591
+ }
592
+ .block form .note {
593
+ color:#757575;
594
+ font-size:11px;
595
+ font-weight:bold;
596
+ padding-left:10px;
597
+ vertical-align:middle;
598
+ }
599
+ .block form .note.error {
600
+ color:#E3302C;
601
+ }
602
+ .block form input.submit {
603
+ background:url("images/btns.gif") no-repeat scroll center top transparent;
604
+ border:0 none;
605
+ color:#FFFFFF;
606
+ cursor:pointer;
607
+ font-family:"Titillium800","Trebuchet MS",Arial,sans-serif;
608
+ font-size:14px;
609
+ font-weight:normal;
610
+ height:30px;
611
+ line-height:30px;
612
+ margin-right:10px;
613
+ text-shadow:1px 1px 0 #0A5482;
614
+ text-transform:uppercase;
615
+ vertical-align:middle;
616
+ width:85px;
617
+ }
618
+ .block form input.submit:hover {
619
+ background:url("images/btns_.gif") no-repeat scroll center top transparent;
620
+ text-shadow:1px 1px 0 #B55F10;
621
+ }
622
+ .block form input.submit.tiny {
623
+ background:url("images/tiny.gif") no-repeat scroll center top transparent;
624
+ font-family:"Lucida Grande",Arial,Helvetica,sans-serif;
625
+ font-size:10px;
626
+ font-weight:bold;
627
+ height:20px;
628
+ line-height:20px;
629
+ padding-bottom:2px;
630
+ text-transform:none;
631
+ vertical-align:middle;
632
+ width:105px;
633
+ }
634
+ .block form input.submit.tiny:hover {
635
+ background:url("images/tiny_.gif") no-repeat scroll center top transparent;
636
+ }
637
+ .block form input.submit.mid {
638
+ background:url("images/btnm.gif") no-repeat scroll center top transparent;
639
+ width:115px;
640
+ }
641
+ .block form input.submit.mid:hover {
642
+ background:url("images/btnm_.gif") no-repeat scroll center top transparent;
643
+ }
644
+ .block form input.submit.long {
645
+ background:url("images/btnb.gif") no-repeat scroll center top transparent;
646
+ width:165px;
647
+ }
648
+ .block form input.submit.long:hover {
649
+ background:url("images/btnb_.gif") no-repeat scroll center top transparent;
650
+ }
651
+ .block.small {
652
+ background:url("images/bnd.gif") repeat-x scroll center bottom #FFFFFF;
653
+ padding-bottom:0;
654
+ width:49%;
655
+ }
656
+ .block.small.left {
657
+ clear:none;
658
+ float:left;
659
+ }
660
+ .block.small.right {
661
+ clear:none;
662
+ float:right;
663
+ }
664
+ .block.tiny {
665
+ background:url("images/bnd.gif") repeat-x scroll center bottom #FFFFFF;
666
+ padding-bottom:0;
667
+ width:29%;
668
+ }
669
+ .block.tiny.left {
670
+ clear:none;
671
+ float:left;
672
+ }
673
+ .block.tiny.right {
674
+ clear:none;
675
+ float:right;
676
+ }
677
+ .block.huge {
678
+ background:url("images/bnd.gif") repeat-x scroll center bottom #FFFFFF;
679
+ padding-bottom:0;
680
+ width:69%;
681
+ }
682
+ .block.huge.left {
683
+ clear:none;
684
+ float:left;
685
+ }
686
+ .block.huge.right {
687
+ clear:none;
688
+ float:right;
689
+ }
690
+
691
+ .block.small .block_head {
692
+ background:url("images/bhead.gif") repeat-x scroll 0 0 transparent;
693
+ }
694
+ .block.small .block_content {
695
+ background:none repeat scroll 0 0 #FFFFFF;
696
+ border-left:1px solid #CCCCCC;
697
+ border-right:1px solid #CCCCCC;
698
+ }
699
+ .block.small .block_content input.text, .block.small .block_content textarea {
700
+ padding:7px;
701
+ width:96%;
702
+ }
703
+ .block.small.center {
704
+ float:none;
705
+ margin:0 auto;
706
+ }
707
+ .block.small.center.login {
708
+ background:url("images/bnd.gif") repeat-x scroll center bottom #FFFFFF;
709
+ margin-bottom:100px;
710
+ margin-top:100px;
711
+ padding-bottom:5px;
712
+ width:470px;
713
+ }
714
+ .block.withsidebar .bendl {
715
+ background:url("images/bendsb.gif") no-repeat scroll left bottom transparent;
716
+ width:191px;
717
+ }
718
+ .block.withsidebar .block_content {
719
+ background:url("images/sidebar.gif") repeat-y scroll 0 0 transparent;
720
+ overflow:hidden;
721
+ padding:0;
722
+ }
723
+ .block.withsidebar .block_content .sidebar {
724
+ float:left;
725
+ font-size:11px;
726
+ width:190px;
727
+ }
728
+ .block.withsidebar .block_content .sidebar p {
729
+ line-height:18px;
730
+ padding:0 13px 15px;
731
+ }
732
+ .block.withsidebar .block_content .sidebar ul.sidemenu {
733
+ margin-bottom:10px;
734
+ padding:0;
735
+ }
736
+ .block.withsidebar .block_content .sidebar ul.sidemenu li {
737
+ background:none repeat scroll 0 50% transparent;
738
+ border-bottom:1px solid #CCCCCC;
739
+ margin:0;
740
+ padding:0;
741
+ }
742
+ .block.withsidebar .block_content .sidebar ul.sidemenu li a {
743
+ display:block;
744
+ font-weight:bold;
745
+ padding:10px 13px;
746
+ }
747
+ .block.withsidebar .block_content .sidebar ul.sidemenu li a:hover {
748
+ background:none repeat scroll 0 0 #FDFDFD;
749
+ border-right:1px solid #CCCCCC;
750
+ }
751
+ .block.withsidebar .block_content .sidebar ul.sidemenu li.active a, .block.withsidebar .block_content .sidebar ul.sidemenu li.active a:hover {
752
+ background:none repeat scroll 0 0 #FFFFFF;
753
+ border:0 none;
754
+ }
755
+ .block.withsidebar .block_content .sidebar_content {
756
+ padding:15px 20px 15px 210px;
757
+ }
758
+ .block .block_content .imglist {
759
+ margin:0;
760
+ overflow:hidden;
761
+ padding:0 0 10px;
762
+ }
763
+ .block .block_content .imglist ul {
764
+ padding:0;
765
+ }
766
+ .block .block_content .imglist li {
767
+ -moz-box-shadow: 2px 2px 3px #CCCCCC;
768
+ -moz-border-radius:5px 5px 5px 5px;
769
+ -webkit-box-shadow: 2px 2px 3px #CCCCCC;
770
+ -webkit-border-radius:5px 5px 5px 5px;
771
+
772
+ background:url("images/bread.gif") repeat-x scroll 0 0 transparent;
773
+ /* background:none repeat scroll 0 50% transparent; */
774
+ border:1px solid #DDD;
775
+ display:block;
776
+ float:left;
777
+ height: 90px;
778
+ margin:13px 10px 10px 10px;
779
+ padding:1px;
780
+ position:relative;
781
+ width:180px;
782
+ }
783
+ .block .block_content .imglist h3 {
784
+ font-size: 1.4em;
785
+ font-family:"Titillium800","Trebuchet MS",Arial,sans-serif;
786
+ font-weight: bold;
787
+ outline:medium none;
788
+ color: #888;
789
+ /* text-shadow:0 0 2px #000000; */
790
+ padding: 0 0 0 0;
791
+ line-height: 0px;
792
+ margin: 5px 5px 0 0;
793
+ float: right;
794
+
795
+ }
796
+ .block .block_content .imglist .sparklines {
797
+ float: left;
798
+ }
799
+ .block .block_content .imglist h2 {
800
+ font-size: 2.8em;
801
+ font-family:"Titillium800","Trebuchet MS",Arial,sans-serif;
802
+ font-weight: bold;
803
+ outline:medium none;
804
+ color: #ddd;
805
+ text-shadow:0 0 2px #000000;
806
+ text-align: center;
807
+ margin: 17px 10px 10px 40px;
808
+
809
+ }
810
+ .block .block_content .imglist li img {
811
+ /* height:64px; */
812
+ position:absolute;
813
+ /* width:32px; */
814
+ margin: 5px 5px 0 5px;
815
+ z-index:1;
816
+ }
817
+ .block .block_content .imglist li ul {
818
+ background:url("images/imgo.gif") no-repeat scroll center center transparent;
819
+ display:none;
820
+ height:58px;
821
+ left:19px;
822
+ position:absolute;
823
+ top:21px;
824
+ width:62px;
825
+ z-index:10;
826
+ }
827
+ .block .block_content .imglist li:hover ul {
828
+ display:block;
829
+ }
830
+ .block .block_content .imglist li ul li {
831
+ -moz-box-shadow:none;
832
+ -webkit-box-shadow:none;
833
+ border:0 none;
834
+ display:block;
835
+ height:29px;
836
+ margin:0;
837
+ padding:0;
838
+ text-align:center;
839
+ width:62px;
840
+ }
841
+ .block .block_content .imglist li ul li a {
842
+ color:#FFFFFF;
843
+ display:block;
844
+ font-size:10px;
845
+ font-weight:bold;
846
+ height:29px;
847
+ line-height:29px;
848
+ outline:medium none;
849
+ text-shadow:0 0 2px #000000;
850
+ text-transform:uppercase;
851
+ }
852
+ .block .block_content .imglist li ul li.view a:hover {
853
+ background:url("images/imgt.gif") no-repeat scroll center bottom transparent;
854
+ }
855
+ .block .block_content .imglist li ul li.delete a:hover {
856
+ background:url("images/imgb.gif") no-repeat scroll center top transparent;
857
+ }
858
+ #footer {
859
+ background:url("images/ft.gif") repeat-x scroll 0 0 transparent;
860
+ clear:both;
861
+ color:#757575;
862
+ font-size:10px;
863
+ overflow:hidden;
864
+ padding:10px 0 50px;
865
+ }
866
+ #footer a {
867
+ color:#757575;
868
+ text-decoration:underline;
869
+ }
870
+ #footer a:hover {
871
+ color:#666666;
872
+ text-decoration:none;
873
+ }
874
+ #footer .left {
875
+ float:left;
876
+ }
877
+ #footer .right {
878
+ float:right;
879
+ text-align:right;
880
+ }
881
+