calamum 1.0.2 → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -17,4 +17,19 @@
17
17
  background-color: #f5e8e8;
18
18
  border: 1px solid black;
19
19
  border-color: #e8c6c7;
20
+ }
21
+
22
+ pre.prettyprint {
23
+ padding: 0px;
24
+ background-color: #fafafb;
25
+ border: none !important;
26
+ }
27
+ pre .str {
28
+ color: #36C;
29
+ }
30
+ pre .lit {
31
+ color: #c00;
32
+ }
33
+ pre .pun {
34
+ color: #999;
20
35
  }
@@ -16,7 +16,7 @@
16
16
  <body data-spy="scroll" data-target=".bs-docs-sidebar">
17
17
  <header class="jumbotron subhead" id="overview">
18
18
  <div class="container">
19
- <h1><%= @name %> Rest API Doc</h1>
19
+ <h1><%= @name %></h1>
20
20
  <p class="lead"><%= @url %></p>
21
21
  </div>
22
22
  </header>
@@ -24,14 +24,14 @@
24
24
  <div class="row">
25
25
  <div class="span3 bs-docs-sidebar">
26
26
  <ul class="nav nav-list bs-docs-sidenav affix-top">
27
- <% if description %>
27
+ <% if @description %>
28
28
  <li class="active">
29
29
  <a href="#overview">
30
30
  <i class="icon-chevron-right"></i>Overview</a>
31
31
  </li>
32
32
  <% end %>
33
33
  <% @resources.keys.each_with_index do |key,index| %>
34
- <li class="<%= !description && (index == 0) ? 'active': '' %>">
34
+ <li class="<%= !@description && (index == 0) ? 'active': '' %>">
35
35
  <a href="#<%= key %>_section">
36
36
  <i class="icon-chevron-right"></i><%= key %></a>
37
37
  </li>
@@ -39,13 +39,13 @@
39
39
  </ul>
40
40
  </div>
41
41
  <div class="span9">
42
- <% if description %>
42
+ <% if @description %>
43
43
  <section id="overview">
44
44
  <div class="page-header">
45
45
  <h2>Overview</h2>
46
46
  </div>
47
47
  <div id="overview-body">
48
- <%= description %>
48
+ <%= @description %>
49
49
  </div>
50
50
  </section>
51
51
  <% end %>
@@ -77,8 +77,8 @@
77
77
  <table class="table table-bordered table-hover">
78
78
  <thead>
79
79
  <tr>
80
- <th>Key</th>
81
- <th>Value</th>
80
+ <th>Key</th>
81
+ <th>Value</th>
82
82
  </tr>
83
83
  </thead>
84
84
  <tbody>
@@ -120,7 +120,11 @@
120
120
  Request without parametres
121
121
  <% end %>
122
122
  </div>
123
- <div class="tab-pane" id="response_<%= req.object_id %>"><code><%= req.response %></code></div>
123
+ <div class="tab-pane content" id="response_<%= req.object_id %>">
124
+ <% if req.response %>
125
+ <pre class="prettyprint"><%= pj req.response %></pre>
126
+ <% end%>
127
+ </div>
124
128
  </div>
125
129
  </div>
126
130
  </div>
@@ -0,0 +1,1055 @@
1
+ fieldset {
2
+ margin-bottom: 1em;
3
+ padding: .5em;
4
+ }
5
+ form {
6
+ margin: 0;
7
+ padding: 0;
8
+ }
9
+ hr {
10
+ height: 1px;
11
+ border: 1px solid gray;
12
+ }
13
+ img {
14
+ border: 0;
15
+ }
16
+ table {
17
+ border-collapse: collapse;
18
+ }
19
+ th {
20
+ text-align: left;
21
+ padding-right: 1em;
22
+ border-bottom: 3px solid #ccc;
23
+ }
24
+ .clear-block:after {
25
+ content: ".";
26
+ display: block;
27
+ height: 0;
28
+ clear: both;
29
+ visibility: hidden;
30
+ }
31
+ .clear-block {
32
+ display: inline-block;
33
+ }
34
+ /*_\*/
35
+ * html .clear-block {
36
+ height: 1%;
37
+ }
38
+ .clear-block {
39
+ display: block;
40
+ }
41
+ /* End hide from IE-mac */
42
+
43
+
44
+ .field .field-label, .field .field-label-inline, .field .field-label-inline-first {
45
+ font-weight: bold;
46
+ }
47
+ .field .field-label-inline, .field .field-label-inline-first {
48
+ display: inline;
49
+ }
50
+ .field .field-label-inline {
51
+ visibility: hidden;
52
+ }
53
+
54
+ .form-item #autocomplete .reference-autocomplete {
55
+ white-space: normal;
56
+ }
57
+ .form-item #autocomplete .reference-autocomplete label {
58
+ display: inline;
59
+ font-weight: normal;
60
+ }
61
+ #content-field-overview-form .advanced-help-link, #content-display-overview-form .advanced-help-link {
62
+ margin: 4px 4px 0 0;
63
+ }
64
+ #content-field-overview-form .label-group, #content-display-overview-form .label-group, #content-copy-export-form .label-group {
65
+ font-weight: bold;
66
+ }
67
+ table#content-field-overview .label-add-new-field, table#content-field-overview .label-add-existing-field, table#content-field-overview .label-add-new-group {
68
+ float: left;
69
+ }
70
+ table#content-field-overview tr.content-add-new .tabledrag-changed {
71
+ display: none;
72
+ }
73
+ table#content-field-overview tr.content-add-new .description {
74
+ margin-bottom: 0;
75
+ }
76
+ table#content-field-overview .content-new {
77
+ font-weight: bold;
78
+ padding-bottom: .5em;
79
+ }
80
+
81
+
82
+ div.fieldgroup {
83
+ margin: .5em 0 1em 0;
84
+ }
85
+ div.fieldgroup .content {
86
+ padding-left: 1em;
87
+ }
88
+
89
+ div.view div.views-hide {
90
+ display: none;
91
+ }
92
+ div.view div.views-hide-hover, div.view:hover div.views-hide {
93
+ display: block;
94
+ position: absolute;
95
+ z-index: 200;
96
+ }
97
+ div.view:hover div.views-hide {
98
+ margin-top: -1.5em;
99
+ }
100
+ .views-view-grid tbody {
101
+ border-top: none;
102
+ }
103
+
104
+ html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, header, footer, section, aside, nav, article {
105
+ margin: 0;
106
+ padding: 0;
107
+ border: 0;
108
+ outline: 0;
109
+ font-size: 100%;
110
+ vertical-align: baseline;
111
+ }
112
+ body {
113
+ line-height: 1;
114
+ -webkit-font-smoothing: antialiased;
115
+ font: 13px/1.5 'Helvetica Neue', Arial, 'Liberation Sans', FreeSans, sans-serif;
116
+ color: #555;
117
+ }
118
+ ul {
119
+ list-style: disc inside;
120
+ }
121
+ ol {
122
+ list-style: decimal inside;
123
+ }
124
+ li {
125
+ margin-bottom: 0.5em;
126
+ padding-left: 8px;
127
+ }
128
+ li ol, li ul {
129
+ margin-top: 0.5em;
130
+ padding-left: 8px;
131
+ }
132
+ blockquote, q {
133
+ quotes: none;
134
+ }
135
+ blockquote:before, blockquote:after, q:before, q:after {
136
+ content: '';
137
+ content: none;
138
+ }
139
+ ins {
140
+ text-decoration: none;
141
+ }
142
+ del {
143
+ text-decoration: line-through;
144
+ }
145
+ table {
146
+ border-collapse: collapse;
147
+ border-spacing: 0;
148
+ }
149
+ header, footer, section, aside, nav, article {
150
+ display: block;
151
+ }
152
+ h1, h2, h3, h4, h5, h6, p, blockquote, form, label, ul, ol, dl, address, table, pre {
153
+ margin-bottom: 1em;
154
+ }
155
+ form p {
156
+ margin-bottom: 0;
157
+ }
158
+ form input:focus {
159
+ outline: none;
160
+ }
161
+ form label {
162
+ display: block;
163
+ }
164
+ address {
165
+ font-style: normal;
166
+ }
167
+ small {
168
+ font-size: 0.8em;
169
+ }
170
+ h1 {
171
+ font-size: 3em;
172
+ font-weight: 300;
173
+ }
174
+ h2, legend, caption {
175
+ font-size: 1.3em;
176
+ font-weight: bold;
177
+ }
178
+ h3 {
179
+ font-size: 1.2em;
180
+ font-weight: normal;
181
+ }
182
+ h1, h2, h3, legend, caption {
183
+ line-height: 1.1;
184
+ margin-bottom: 0.75em;
185
+ }
186
+ h1, h2, h3, h4, h5, h6, legend, caption {
187
+ color: #333;
188
+ }
189
+ a {
190
+ text-decoration: none;
191
+ color: #0094C2;
192
+ }
193
+ a:hover {
194
+ text-decoration: underline;
195
+ color: #0080A6;
196
+ }
197
+ table {
198
+ border-top: 1px solid #EEE;
199
+ margin: 0 0 3em 0;
200
+ width: 100%;
201
+ }
202
+ table caption {
203
+ font-weight: normal;
204
+ text-align: left;
205
+ }
206
+ th, thead th {
207
+ padding: 8px 0;
208
+ width: 140px;
209
+ border-bottom: 1px solid #EEE;
210
+ font-weight: bold;
211
+ text-align: left;
212
+ }
213
+ td {
214
+ padding: 8px 0 8px 0;
215
+ vertical-align: top;
216
+ background: #FFF;
217
+ border-bottom: 1px solid #EEE;
218
+ }
219
+ tr:hover td, tr:hover td.active {
220
+ background: #F8F8F8;
221
+ }
222
+ .skip {
223
+ display: none;
224
+ visibility: hidden;
225
+ }
226
+
227
+ #header, #content-outer, #footer {
228
+ width: 960px;
229
+ margin: 0 auto;
230
+ }
231
+ #header-outer {
232
+ position: fixed;
233
+ width: 100%;
234
+ top: 0;
235
+ height: 40px;
236
+ z-index: 999;
237
+ -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25), 0 -1px 0 rgba(0, 0, 0, 0.1) inset;
238
+ -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25), 0 -1px 0 rgba(0, 0, 0, 0.1) inset;
239
+ box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25), 0 -1px 0 rgba(0, 0, 0, 0.1) inset;
240
+ background-color: #00A0D1;
241
+ }
242
+ @media only screen
243
+ and (max-device-width:980px) {
244
+ #header-outer, #admin-menu {
245
+ position: absolute !important;
246
+ top: 0;
247
+ left: 0;
248
+ }
249
+ }
250
+ body, #footer-outer {
251
+ background: #F8F8F8;
252
+ }
253
+ #page {
254
+ background: #FFF;
255
+ }
256
+ * html #header-outer, * html #alerts {
257
+ position: absolute;
258
+ }
259
+ #logo {
260
+ float: left;
261
+ display: block;
262
+ color: #FFF;
263
+ font-size: 150%;
264
+ font-weight: 200;
265
+ line-height: 38px;
266
+ }
267
+ #breadcrumbs {
268
+ border-bottom: 1px solid #EEE;
269
+ margin-bottom: 2em;
270
+ line-height: 2em;
271
+ font-size: 1.1em;
272
+ }
273
+ #breadcrumbs div div {
274
+ float: right;
275
+ text-align: right;
276
+ color: #777;
277
+ }
278
+ #breadcrumbs div div span {
279
+ display: block;
280
+ }
281
+ #breadcrumbs div div span.protected {
282
+ float: right;
283
+ padding-left: 18px;
284
+ background-repeat: no-repeat;
285
+ background-position: 0 -536px;
286
+ }
287
+ #breadcrumbs div a.twitter-share-button {
288
+ display: none;
289
+ }
290
+ #breadcrumbs span a.active {
291
+ color: #777;
292
+ }
293
+ #content-outer {
294
+ padding-top: 60px;
295
+ min-height: 400px;
296
+ margin-bottom: 6em;
297
+ overflow: hidden;
298
+ }
299
+ #content-main {
300
+ position: relative;
301
+ z-index: 0;
302
+ width: 700px;
303
+ margin-right: 20px;
304
+ float: left;
305
+ }
306
+ .no-sidebars #content-main {
307
+ width: 100%;
308
+ margin-right: 0;
309
+ float: none;
310
+ }
311
+ #content-main ol, #content-main ul, #sidebar-last ul, #sidebar-last ol {
312
+ list-style-position: outside;
313
+ }
314
+ #content-main li, #sidebar-last li {
315
+ margin-left: 2em;
316
+ padding-left: 0;
317
+ }
318
+ #panel-top {
319
+ margin-bottom: 1.5em;
320
+ }
321
+ #panel-first, #panel-last {
322
+ width: 440px;
323
+ padding-right: 40px;
324
+ float: left;
325
+ }
326
+ #panel-last {
327
+ padding-right: 0;
328
+ padding-left: 40px;
329
+ }
330
+ div.section {
331
+ margin-bottom: 2em;
332
+ }
333
+ #sidebar-last {
334
+ width: 240px;
335
+ float: left;
336
+ }
337
+ #sidebar-last .block {
338
+ margin-bottom: 3em;
339
+ }
340
+ #footer-outer {
341
+ overflow: auto;
342
+ clear: both;
343
+ position: relative;
344
+ display: block;
345
+ margin: 0 auto;
346
+ border-top: 1px solid #EEE;
347
+ padding: 1em 0 4em;
348
+ font-size: 85%;
349
+ }
350
+ #footer {
351
+ text-align: right;
352
+ }
353
+ #footer ul {
354
+ float: right;
355
+ margin-bottom: 3em;
356
+ }
357
+ #footer ul, #footer li {
358
+ margin: 0;
359
+ padding: 0;
360
+ display: inline;
361
+ }
362
+ #footer li {
363
+ margin-right: 8px;
364
+ vertical-align: middle;
365
+ }
366
+ #footer a, #footer a:hover {
367
+ color: #999;
368
+ }
369
+ #content-main blockquote {
370
+ padding-left: 1em;
371
+ border-left: 5px solid #EEE;
372
+ font-size: 1.2em;
373
+ color: #777;
374
+ }
375
+ #content-main blockquote.node-embed {
376
+ background-color: #F8F8F8;
377
+ border: 1px solid #EEE;
378
+ -moz-border-radius: 5px;
379
+ -webkit-border-radius: 5px;
380
+ border-radius: 5px;
381
+ color: #555;
382
+ padding: 1em;
383
+ font-size: 1em;
384
+ margin-bottom: 1em;
385
+ }
386
+ #page-node #content-main blockquote.node-embed {
387
+ max-height: 300px;
388
+ overflow: auto;
389
+ }
390
+ #content-main form blockquote p {
391
+ margin-bottom: 1em;
392
+ }
393
+ #content-main blockquote.node-embed:last-child {
394
+ margin-bottom: 0;
395
+ }
396
+ a.version-pill {
397
+ display: inline !important;
398
+ border-radius: 5px;
399
+ padding-left: 5px;
400
+ padding-right: 5px;
401
+ margin-left: 5px;
402
+ -moz-border-radius: 5px;
403
+ -webkit-border-radius: 5px;
404
+ color: #F8F8F8;
405
+ text-decoration: none;
406
+ background-color: #0094C2;
407
+ font-weight: bold;
408
+ }
409
+ div.api-doc-block a.version-pill {
410
+ border: 0px;
411
+ border-radius: 0px;
412
+ padding-left: 0px;
413
+ padding-right: 0px;
414
+ margin-left: 0px;
415
+ -moz-border-radius: 0px;
416
+ -webkit-border-radius: 0px;
417
+ background-color: inherit;
418
+ color: #0094C2;
419
+ text-decoration: none;
420
+ font-weight: bold;
421
+ }
422
+ div.doc-version {
423
+ float: right;
424
+ }
425
+
426
+ div.view {
427
+ position: relative;
428
+ width: 100%;
429
+ }
430
+ ul.vertical-tabs-list li {
431
+ margin-left: 0 !important;
432
+ }
433
+
434
+ #title-nav {
435
+ float: right;
436
+ margin-bottom: 0;
437
+ }
438
+ #title-nav li {
439
+ position: relative;
440
+ float: left;
441
+ display: block;
442
+ line-height: 40px;
443
+ margin: 0;
444
+ padding: 0;
445
+ }
446
+ #title-nav li img {
447
+ position: absolute;
448
+ top: 10px;
449
+ left: 10px;
450
+ width: 20px;
451
+ height: 20px;
452
+ }
453
+ #title-nav li.last {
454
+ float: right;
455
+ }
456
+ #title-nav a.avatar {
457
+ padding-left: 40px;
458
+ }
459
+ #title-nav a {
460
+ display: block;
461
+ padding: 0 10px;
462
+ -webkit-font-smoothing: subpixel-antialiased;
463
+ text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.3);
464
+ outline: none;
465
+ color: #BFE4EF;
466
+ }
467
+ #title-nav li.active, #title-nav li a:hover {
468
+ background: #0089B3;
469
+ color: #FFF;
470
+ text-decoration: none;
471
+ }
472
+ #title-nav li.active a {
473
+ background: none;
474
+ color: #FFF;
475
+ }
476
+ #title-nav .expanded {
477
+ position: relative;
478
+ }
479
+ #title-nav .expanded .menu {
480
+ position: absolute;
481
+ left: 0;
482
+ top: 40px;
483
+ padding: 0;
484
+ margin: 0;
485
+ width: 150px;
486
+ list-style: none outside;
487
+ display: none;
488
+ }
489
+ #title-nav .last .menu {
490
+ position: absolute;
491
+ left: auto;
492
+ right: 0;
493
+ }
494
+ #title-nav .expanded .leaf {
495
+ display: block;
496
+ padding: 0;
497
+ margin: 0;
498
+ width: 150px;
499
+ line-height: normal;
500
+ }
501
+ #title-nav .last.expanded .leaf {
502
+ float: right;
503
+ }
504
+ #title-nav .expanded .leaf a {
505
+ background: #00A0D1;
506
+ display: block;
507
+ width: 130px;
508
+ padding: 9px 10px;
509
+ }
510
+ #title-nav .expanded .last a {
511
+ -moz-border-radius: 0 0 6px 6px;
512
+ -webkit-border-radius: 0 0 6px 6px;
513
+ border-radius: 0 0 6px 6px;
514
+ }
515
+ #dropdown {
516
+ position: absolute;
517
+ z-index: 900;
518
+ top: 10px;
519
+ left: 712px;
520
+ }
521
+ #dropdown .title {
522
+ -moz-border-radius: 5px;
523
+ -webkit-border-radius: 5px;
524
+ border-radius: 5px;
525
+ border: 1px #ccc solid;
526
+ display: block;
527
+ width: 208px;
528
+ padding: 5px 15px;
529
+ margin: 0;
530
+ font-size: 1.3em;
531
+ color: #0094C2;
532
+ background: #EDEDED url(/sites/all/themes/twitter_commons/images/arrow.png) no-repeat 210px 8px;
533
+ }
534
+ #dropdown .active .title {
535
+ -moz-border-radius-bottomleft: 0;
536
+ -moz-border-radius-bottomright: 0;
537
+ -webkit-border-bottom-left-radius: 0;
538
+ -webkit-border-bottom-right-radius: 0; border-bottom-left-radius: 0;
539
+ border-bottom-right-radius: 0;
540
+ border: 0;
541
+ background: #4F4F4F;
542
+ background: rgba(40, 40, 40, 0.8);
543
+ color: #999;
544
+ }
545
+ #dropdown .active .title a {
546
+ color: #999;
547
+ }
548
+ #dropdown ul, #dropdown li {
549
+ margin: 0;
550
+ list-style: none outside;
551
+ }
552
+ #dropdown .menu {
553
+ margin-top: 0 !important;
554
+ display: none;
555
+ width: 238px;
556
+ padding: 0 0 5px;
557
+ -moz-border-radius-bottomleft: 5px;
558
+ -moz-border-radius-bottomright: 5px;
559
+ -webkit-border-bottom-left-radius: 5px;
560
+ -webkit-border-bottom-right-radius: 5px;
561
+ border-bottom-left-radius: 5px;
562
+ border-bottom-right-radius: 5px;
563
+ background: #4F4F4F;
564
+ background: rgba(40, 40, 40, 0.8);
565
+ color: #FFF;
566
+ }
567
+ #dropdown .menu .menu {
568
+ width: 208px;
569
+ background: none;
570
+ padding: 0;
571
+ }
572
+ #dropdown .menu li {
573
+ display: block;
574
+ padding: 5px 15px;
575
+ }
576
+ #dropdown .menu a {
577
+ color: #FFF;
578
+ text-decoration: none;
579
+ }
580
+ #dropdown .menu li.hover, #dropdown .menu li:hover {
581
+ background: #282828;
582
+ cursor: pointer;
583
+ }
584
+
585
+ .parameter {
586
+ border-bottom: 1px solid #EEE;
587
+ padding: 8px 0;
588
+ }
589
+ .parameter:first-child {
590
+ border-top: 1px solid #EEE;
591
+ }
592
+ .parameter:last-child {
593
+ border-bottom: 0;
594
+ }
595
+ .parameter:hover {
596
+ background-color: #F8F8F8;
597
+ }
598
+ .parameter .param {
599
+ display: block;
600
+ float: left;
601
+ width: 220px;
602
+ color: #333;
603
+ font-weight: bold;
604
+ }
605
+ .parameter .param span {
606
+ display: block;
607
+ color: #999;
608
+ font-weight: normal;
609
+ }
610
+ .parameter p {
611
+ margin-left: 220px;
612
+ }
613
+ div.field {
614
+ margin-bottom: 2em;
615
+ }
616
+ div.field h2 {
617
+ margin-bottom: 0.5em;
618
+ }
619
+ .doc-updated {
620
+ margin-bottom: 1em;
621
+ font-style: italic;
622
+ font-weight: normal;
623
+ color: #777;
624
+ }
625
+ .api-doc-block {
626
+ background-color: #F8F8F8;
627
+ padding: 10px;
628
+ -moz-border-radius: 5px;
629
+ -webkit-border-radius: 5px;
630
+ border-radius: 5px;
631
+ }
632
+ .api-doc-block table {
633
+ margin-bottom: 0;
634
+ border-top: 0;
635
+ }
636
+ .api-doc-block td {
637
+ background-color: #F8F8F8;
638
+ }
639
+ .api-doc-block td:last-child {
640
+ font-weight: bold;
641
+ }
642
+ .api-doc-block tr:first-child td {
643
+ padding-top: 0;
644
+ }
645
+ .api-doc-block tr:last-child td {
646
+ border-bottom: 0 !important;
647
+ }
648
+ .group-example-request h2 {
649
+ margin-bottom: 0.5em;
650
+ }
651
+ .group-example-request table {
652
+ margin-bottom: 1em;
653
+ }
654
+ .group-example-request tr td {
655
+ vertical-align: middle;
656
+ padding: 8px 0;
657
+ }
658
+ .group-example-request tr td p {
659
+ margin-bottom: 0;
660
+ }
661
+ .group-example-request div.content {
662
+ padding-left: 0;
663
+ }
664
+ .group-example-request tr td:first-child {
665
+ width: 12%;
666
+ font-weight: bold;
667
+ }
668
+ .group-example-request tr td:last-child {
669
+ word-break: break-all;
670
+ }
671
+ .group-example-request tr:last-child td {
672
+ border-bottom: 0;
673
+ }
674
+ .api-docs .views-field-title {
675
+ width: 35%;
676
+ }
677
+ .api-docs tr.protected td.views-field-title a {
678
+ padding-left: 18px;
679
+ background-repeat: no-repeat;
680
+ background-position: 0 -543px;
681
+ }
682
+ .api-docs .views-field-body {
683
+ width: 65%;
684
+ }
685
+ .api-docs caption p {
686
+ color: #777;
687
+ margin-top: 0.5em;
688
+ font-size: 0.75em;
689
+ }
690
+
691
+ #content-main fieldset {
692
+ position: relative;
693
+ margin-bottom: 1.5em;
694
+ border: none;
695
+ background: #F8F8F8;
696
+ -moz-border-radius: 5px;
697
+ -webkit-border-radius: 5px;
698
+ border-radius: 5px;
699
+ }
700
+ #content-main fieldset table {
701
+ border-top: 0;
702
+ }
703
+ #content-main fieldset table td {
704
+ background: #F8F8F8;
705
+ }
706
+ #content-main fieldset table td.webform-grid-question {
707
+ width: 30%;
708
+ padding-right: 8px;
709
+ }
710
+ #content-main fieldset table th {
711
+ font-weight: normal;
712
+ }
713
+ #content-main #webform-components td:first-child {
714
+ width: 40%;
715
+ padding-right: 8px;
716
+ }
717
+ #content-main .node-form .content-multiple-table {
718
+ margin: 1em 0 0.5em 0;
719
+ }
720
+ #content-main legend {
721
+ position: absolute;
722
+ top: 1em;
723
+ left: 25px;
724
+ font-size: 1.5em;
725
+ text-transform: capitalize;
726
+ text-shadow: 0 1px 0 #CCC;
727
+ }
728
+ #content-main .webform-submission-info legend {
729
+ margin-left: 48px;
730
+ }
731
+ #content-main .form-item {
732
+ padding-bottom: 1em;
733
+ border-bottom: 1px solid #DDD;
734
+ }
735
+ #content-main .fieldset-wrapper {
736
+ padding: 50px 25px 0;
737
+ }
738
+ #content-main .form-item .description, #content-main form div.description {
739
+ margin-top: 3px;
740
+ color: #777;
741
+ font-size: 85%;
742
+ }
743
+ #content-main .select-or-other .form-item {
744
+ padding-bottom: 0;
745
+ border-bottom: 0;
746
+ }
747
+ #content-main tr.draggable td .form-item {
748
+ padding-bottom: 0;
749
+ border-bottom: 0;
750
+ }
751
+ #content-main label {
752
+ padding-top: 1em;
753
+ margin: 0;
754
+ line-height: 1.75em;
755
+ vertical-align: middle;
756
+ font-weight: bold;
757
+ }
758
+ #content-main label.option {
759
+ font-weight: normal;
760
+ }
761
+ #content-main form input, #content-main form textarea, #content-main form select {
762
+ border: 1px solid #CCC;
763
+ -moz-border-radius: 4px;
764
+ -moz-box-shadow: 0 1px 1px #EEE;
765
+ -webkit-border-radius: 4px;
766
+ -webkit-box-shadow: 0 1px 1px #EEE;
767
+ border-radius: 4px;
768
+ box-shadow: 0 1px 1px #EEE;
769
+ -webkit-font-smoothing: antialiased;
770
+ font: 13px/1.5 'Helvetica Neue', Arial, 'Liberation Sans', FreeSans, sans-serif;
771
+ width: auto;
772
+ margin: 0;
773
+ padding: 6px;
774
+ }
775
+ #content-main form input {
776
+ width: 95%;
777
+ }
778
+ #content-main form input[readonly] {
779
+ color: #555;
780
+ box-shadow: 0 1px 1px #EEE !important;
781
+ border: 1px solid #CCC !important;
782
+ }
783
+ #content-main form input.teaser-button {
784
+ width: auto;
785
+ margin-top: 1em;
786
+ }
787
+ #content-main form textarea {
788
+ width: 95%;
789
+ height: 150px;
790
+ }
791
+ #content-main form textarea#edit-teaser-js {
792
+ margin-bottom: 1em;
793
+ }
794
+ #content-main form textarea#edit-body {
795
+ height: 300px;
796
+ }
797
+ #content-main form .form-checkbox, #content-main form .form-radio {
798
+ width: auto;
799
+ border: 0;
800
+ padding: 0;
801
+ }
802
+ #content-main .form-radios .form-item, #content-main .form-checkboxes .form-item {
803
+ padding: 0;
804
+ border: 0;
805
+ }
806
+ #content-main .form-radios .form-item label, #content-main .form-checkboxes .form-item label {
807
+ padding: 0;
808
+ }
809
+ #content-main form .error, #sidebar-last form .error {
810
+ border: 2px solid #F00;
811
+ }
812
+ #content-main form .form-required {
813
+ color: #F00;
814
+ font-weight: bold;
815
+ }
816
+ #content-main form input:hover {
817
+ -moz-box-shadow: 0 0 8px #CCC;
818
+ -webkit-box-shadow: 0 0 8px #CCC;
819
+ box-shadow: 0 0 8px #CCC;
820
+ }
821
+ #content-main form input:focus {
822
+ -moz-box-shadow: 0 0 8px rgba(82, 168, 236, .5);
823
+ -webkit-box-shadow: 0 0 8px rgba(82, 168, 236, .5);
824
+ box-shadow: 0 0 8px rgba(82, 168, 236, .5);
825
+ border-color: rgb(102, 210, 255);
826
+ border-color: rgba(82, 168, 236, .75);
827
+ }
828
+ #content-main form .form-submit, #sidebar-last form .form-submit {
829
+ width: auto;
830
+ padding: 3px 28px;
831
+ margin-left: 25px;
832
+ margin-bottom: 1em;
833
+ -moz-border-radius: 40px;
834
+ -moz-box-shadow: 0 1px 1px #ccc;
835
+ -webkit-border-radius: 40px;
836
+ -webkit-box-shadow: 0 1px 1px #ccc;
837
+ -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr='#00A0D1', endColorstr='#008DB8')";
838
+ background-image: -moz-linear-gradient(#00A0D1, #008DB8);
839
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00A0D1', endColorstr='#008DB8');
840
+ background-color: #00A0D1;
841
+ background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#00A0D1), to(#008DB8));
842
+ border: 1px solid #095B7E;
843
+ border-radius: 40px;
844
+ -webkit-font-smoothing: subpixel-antialiased;
845
+ color: #BFE4EF;
846
+ text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.3);
847
+ }
848
+ #content-main form.confirmation .form-submit {
849
+ margin-left: 0;
850
+ }
851
+ #sidebar-last form .form-submit {
852
+ margin: 0.5em 0 0 0;
853
+ padding: 3px 9px;
854
+ }
855
+ #content-main form fieldset .form-submit {
856
+ margin: 1em 0;
857
+ }
858
+ #content-main form .content-add-more .form-submit {
859
+ margin-top: 0.5em;
860
+ }
861
+ #content-main form .form-submit:hover, #sidebar-last form .form-submit:hover {
862
+ border: 1px solid #095B7E;
863
+ color: #FFF;
864
+ cursor: pointer;
865
+ }
866
+ #content-main form .form-submit:active, #sidebar-last form .form-submit:active {
867
+ background-color: #008DB8;
868
+ background-image: none;
869
+ }
870
+ a.button {
871
+ display: block;
872
+ float: right;
873
+ width: auto;
874
+ margin-top: 10px;
875
+ padding: 6px 12px;
876
+ border: 1px solid #095B7E;
877
+ text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.3);
878
+ background-color: #00A0D1;
879
+ background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#00A0D1), to(#008DB8));
880
+ color: #BFE4EF;
881
+ font: 13px/1.5 'Helvetica Neue', Arial, 'Liberation Sans', FreeSans, sans-serif;
882
+ -webkit-font-smoothing: subpixel-antialiased;
883
+ box-shadow: 0 1px 1px #EEE;
884
+ -moz-border-radius: 4px;
885
+ -moz-box-shadow: 0 1px 1px #EEE;
886
+ -webkit-border-radius: 4px;
887
+ -webkit-box-shadow: 0 1px 1px #EEE;
888
+ border-radius: 4px;
889
+ }
890
+ a.button:hover {
891
+ color: #FFF;
892
+ text-decoration: none;
893
+ }
894
+
895
+
896
+ * html #search-theme-form {
897
+ margin: 0 10px 0 0;
898
+ }
899
+
900
+ dt {
901
+ font-size: 1.3em;
902
+ }
903
+ dt.protected a {
904
+ padding-left: 18px;
905
+ background-image: url(/sites/all/themes/twitter_commons/images/dev-sprites-v3.png);
906
+ background-repeat: no-repeat;
907
+ background-position: 0 -540px;
908
+ }
909
+ dd {
910
+ border-bottom: 1px solid #EEE;
911
+ margin-bottom: 1.5em;
912
+ padding-bottom: 1.5em;
913
+ }
914
+ dd p.search-info, dd p.search-info a {
915
+ color: #999;
916
+ margin-bottom: 0;
917
+ }
918
+ p.search-404 {
919
+ margin-bottom: 1em;
920
+ padding-bottom: 1em;
921
+ border-bottom: 1px solid #EEE;
922
+ font-size: 1.2em;
923
+ color: #777;
924
+ }
925
+
926
+
927
+ #autocomplete {
928
+ position: absolute;
929
+ border: 1px solid transparent;
930
+ overflow: hidden;
931
+ z-index: 100;
932
+ background: #282828;
933
+ background: rgba(40, 40, 40, 0.8);
934
+ color: #FFF;
935
+ -moz-border-radius: 5px;
936
+ -webkit-border-radius: 5px;
937
+ border-radius: 5px;
938
+ }
939
+ #autocomplete ul {
940
+ margin: 0;
941
+ padding: 0;
942
+ list-style: none;
943
+ }
944
+ #autocomplete ul li {
945
+ padding: 5px 6px;
946
+ margin: 0;
947
+ }
948
+ #autocomplete ul li.selected {
949
+ background: #4F4F4F;
950
+ background: rgba(40, 40, 40, 0.8);
951
+ cursor: pointer;
952
+ }
953
+ .draggable a.tabledrag-handle {
954
+ cursor: move;
955
+ float: left;
956
+ height: 1.7em;
957
+ margin: -0.4em 0 -0.4em -0.5em;
958
+ padding: 0.42em 1.5em 0.42em 0.5em;
959
+ text-decoration: none;
960
+ }
961
+ a.tabledrag-handle:hover {
962
+ text-decoration: none;
963
+ }
964
+ a.tabledrag-handle .handle {
965
+ margin-top: 4px;
966
+ height: 13px;
967
+ width: 13px;
968
+ background: url(/misc/draggable.png) no-repeat 0 0;
969
+ }
970
+ a.tabledrag-handle-hover .handle {
971
+ background-position: 0 -20px;
972
+ }
973
+ div.indentation {
974
+ width: 20px;
975
+ height: 1.7em;
976
+ margin: -0.4em 0.2em -0.4em -0.4em;
977
+ padding: 0.42em 0 0.42em 0.6em;
978
+ float: left;
979
+ }
980
+
981
+
982
+ ul.book-links {
983
+ list-style-type: none;
984
+ border-top: 1px solid #EEE;
985
+ padding-top: 0.5em;
986
+ margin-bottom: 3em;
987
+ margin-top: 2em;
988
+ }
989
+ body.node-type-discussion ul.book-links {
990
+ border-top: 0;
991
+ }
992
+ ul.book-links li {
993
+ margin-left: 0 !important;
994
+ white-space: nowrap;
995
+ }
996
+ ul.book-links .previous {
997
+ float: left;
998
+ text-align: left;
999
+ width: 35%;
1000
+ }
1001
+ ul.book-links .up {
1002
+ float: left;
1003
+ text-align: center;
1004
+ width: 30%;
1005
+ }
1006
+ ul.book-links .next {
1007
+ float: right;
1008
+ text-align: right;
1009
+ width: 35%;
1010
+ }
1011
+
1012
+
1013
+ .toc {
1014
+ background-color: #F8F8F8;
1015
+ border: 1px #ccc solid;
1016
+ margin-bottom: 1em;
1017
+ padding: 1em;
1018
+ -moz-border-radius: 5px;
1019
+ -webkit-border-radius: 5px;
1020
+ border-radius: 5px;
1021
+ }
1022
+ .toc ol {
1023
+ margin: 0;
1024
+ }
1025
+
1026
+
1027
+
1028
+
1029
+
1030
+
1031
+ .page-header {
1032
+ margin-bottom: 20px;
1033
+ border-bottom: 1px solid #eee;
1034
+ }
1035
+ .page-header h1 {
1036
+ margin-bottom: 5px;
1037
+ }
1038
+ .field-el {
1039
+ margin-bottom: 25px;
1040
+ }
1041
+
1042
+ pre.prettyprint {
1043
+ padding: 0px;
1044
+ background-color: #fafafb;
1045
+ border: none !important;
1046
+ }
1047
+ pre .str {
1048
+ color: #36C;
1049
+ }
1050
+ pre .lit {
1051
+ color: #c00;
1052
+ }
1053
+ pre .pun {
1054
+ color: #999;
1055
+ }