nosql-tutorial 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (53) hide show
  1. data/README.markdown +20 -0
  2. data/Rakefile +34 -0
  3. data/VERSION.yml +5 -0
  4. data/lib/config.ru +12 -0
  5. data/lib/nosql.rb +64 -0
  6. data/lib/public/doc/mail/body.txt +1 -0
  7. data/lib/public/doc/mail/mail-00.rb +31 -0
  8. data/lib/public/doc/mail/mail-01.rb +29 -0
  9. data/lib/public/doc/mail/mail-10.rb +24 -0
  10. data/lib/public/doc/mail/motylek.jpeg +0 -0
  11. data/lib/public/doc/plain-text-files/contacts.yaml +11 -0
  12. data/lib/public/doc/plain-text-files/contacts_g.rb +105 -0
  13. data/lib/public/doc/plain-text-files/contacts_g_test.rb +51 -0
  14. data/lib/public/doc/plain-text-files/contacts_y.rb +57 -0
  15. data/lib/public/doc/plain-text-files/contacts_y_test.rb +39 -0
  16. data/lib/public/doc/plain-text-files/gdbm-example.rb +22 -0
  17. data/lib/public/doc/using-plain-text-files-for-data-persistence.pdf +0 -0
  18. data/lib/public/favicon.ico +0 -0
  19. data/lib/public/images/conan_doyle.jpg +0 -0
  20. data/lib/public/images/datamapper.png +0 -0
  21. data/lib/public/images/datamapper.svg +95 -0
  22. data/lib/public/stylesheets/fonts/Cyklop-Italic.otf +0 -0
  23. data/lib/public/stylesheets/icons/cross.png +0 -0
  24. data/lib/public/stylesheets/icons/doc.png +0 -0
  25. data/lib/public/stylesheets/icons/email.png +0 -0
  26. data/lib/public/stylesheets/icons/external.png +0 -0
  27. data/lib/public/stylesheets/icons/feed.png +0 -0
  28. data/lib/public/stylesheets/icons/im.png +0 -0
  29. data/lib/public/stylesheets/icons/key.png +0 -0
  30. data/lib/public/stylesheets/icons/pdf.png +0 -0
  31. data/lib/public/stylesheets/icons/tick.png +0 -0
  32. data/lib/public/stylesheets/icons/visited.png +0 -0
  33. data/lib/public/stylesheets/icons/xls.png +0 -0
  34. data/lib/public/stylesheets/ie.css +27 -0
  35. data/lib/public/stylesheets/nosql.css +166 -0
  36. data/lib/public/stylesheets/print.css +30 -0
  37. data/lib/public/stylesheets/screen.css +249 -0
  38. data/lib/public/stylesheets/src/body.png +0 -0
  39. data/lib/public/stylesheets/src/grid.png +0 -0
  40. data/lib/public/stylesheets/src/make_background_images.sh +11 -0
  41. data/lib/public/stylesheets/src/shattered_mirror.png +0 -0
  42. data/lib/public/stylesheets/uv.css +121 -0
  43. data/lib/views/ar.rdiscount +5 -0
  44. data/lib/views/datamapper.rdiscount +43 -0
  45. data/lib/views/layout.rdiscount +38 -0
  46. data/lib/views/main.rdiscount +47 -0
  47. data/lib/views/mongodb.rdiscount +41 -0
  48. data/lib/views/redis.rdiscount +20 -0
  49. data/lib/views/ruby-intro.rdiscount +37 -0
  50. data/lib/views/serializacja-danych.rdiscount +75 -0
  51. data/lib/views/skel.rdiscount +3 -0
  52. data/lib/views/summary.rdiscount +32 -0
  53. metadata +175 -0
@@ -0,0 +1,39 @@
1
+ require "test/unit"
2
+ require "contacts_y"
3
+
4
+ class TestContacts < Test::Unit::TestCase
5
+
6
+ def setup
7
+ @filename = "contacts.yaml"
8
+ @list = ContactList.new(@filename)
9
+ @contact = Contact.new("Joe Smith")
10
+
11
+ @contact.email = "joe@somewhere.abc"
12
+ @contact.home[:street1] = "123 Main Street"
13
+ @contact.home[:city] = "Somewhere"
14
+ @contact.work[:phone] = "(000) 123-4567"
15
+ @contact.extras[:instrument] = "Cello"
16
+
17
+ @list << @contact
18
+ end
19
+
20
+ def test_retrieve_contact_from_list
21
+ contact = @list["Joe Smith"]
22
+ assert_equal("Joe Smith", contact.name)
23
+ end
24
+
25
+ def test_delete_contact_from_list
26
+ assert(!@list.empty?)
27
+ @list.delete(@contact.name)
28
+ assert(@list.empty?)
29
+ end
30
+
31
+ def test_save_and_load_list
32
+ @list.save
33
+ relist = ContactList.load(@filename)
34
+ assert_equal(1, relist.size)
35
+ contact = relist["Joe Smith"]
36
+ assert_equal("Joe Smith", contact.name)
37
+ end
38
+
39
+ end
@@ -0,0 +1,22 @@
1
+ require 'gdbm'
2
+
3
+ movies = GDBM.new("movies.db")
4
+
5
+ movies.update(
6
+ { "Vertigo" => "Alfred Hitchcock",
7
+ "In a Lonely Place" => "Nicholas Ray",
8
+ "Johnny Guitar" => "Nicholas Ray",
9
+ "Touch of Evil" => "Orson Welles",
10
+ "Psycho" => "Alfred Hitchcock",
11
+ })
12
+
13
+ movies.close
14
+
15
+ __END__
16
+
17
+ # irb session
18
+
19
+ require "gdbm"
20
+
21
+ movies = GDBM.new("movies.db")
22
+ movies.values.uniq
File without changes
@@ -0,0 +1,95 @@
1
+ <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
+ <!-- Created with Inkscape (http://www.inkscape.org/) -->
3
+ <svg
4
+ xmlns:dc="http://purl.org/dc/elements/1.1/"
5
+ xmlns:cc="http://creativecommons.org/ns#"
6
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
7
+ xmlns:svg="http://www.w3.org/2000/svg"
8
+ xmlns="http://www.w3.org/2000/svg"
9
+ xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
10
+ xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
11
+ width="640px"
12
+ height="480px"
13
+ id="svg12"
14
+ sodipodi:version="0.32"
15
+ inkscape:version="0.46"
16
+ sodipodi:docname="datamapper.svg"
17
+ inkscape:output_extension="org.inkscape.output.svg.inkscape"
18
+ inkscape:export-filename="/home/wbzyl/public_git/tutorials/datamapper-tutorial/lib/public/images/datamapper.png"
19
+ inkscape:export-xdpi="60"
20
+ inkscape:export-ydpi="60">
21
+ <defs
22
+ id="defs14">
23
+ <inkscape:perspective
24
+ sodipodi:type="inkscape:persp3d"
25
+ inkscape:vp_x="0 : 240 : 1"
26
+ inkscape:vp_y="0 : 1000 : 0"
27
+ inkscape:vp_z="640 : 240 : 1"
28
+ inkscape:persp3d-origin="320 : 160 : 1"
29
+ id="perspective20" />
30
+ </defs>
31
+ <sodipodi:namedview
32
+ id="base"
33
+ pagecolor="#ffffff"
34
+ bordercolor="#666666"
35
+ borderopacity="1.0"
36
+ inkscape:pageopacity="0.0"
37
+ inkscape:pageshadow="2"
38
+ inkscape:zoom="1.0541667"
39
+ inkscape:cx="320"
40
+ inkscape:cy="240"
41
+ inkscape:current-layer="layer1"
42
+ inkscape:document-units="px"
43
+ showgrid="false"
44
+ inkscape:window-width="1280"
45
+ inkscape:window-height="727"
46
+ inkscape:window-x="0"
47
+ inkscape:window-y="25" />
48
+ <metadata
49
+ id="metadata17">
50
+ <rdf:RDF>
51
+ <cc:Work
52
+ rdf:about="">
53
+ <dc:format>image/svg+xml</dc:format>
54
+ <dc:type
55
+ rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
56
+ <dc:title />
57
+ </cc:Work>
58
+ </rdf:RDF>
59
+ </metadata>
60
+ <g
61
+ id="layer1"
62
+ inkscape:label="Layer 1"
63
+ inkscape:groupmode="layer">
64
+ <text
65
+ xml:space="preserve"
66
+ style="font-size:48;font-style:italic;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:start;line-height:125%;writing-mode:lr-tb;text-anchor:start;fill:#800000;font-family:Cyklop;-inkscape-font-specification:Cyklop Italic"
67
+ x="44.192635"
68
+ y="111.69319"
69
+ id="text2018"
70
+ sodipodi:linespacing="125%"><tspan
71
+ sodipodi:role="line"
72
+ id="tspan2020"
73
+ x="44.192635"
74
+ y="111.69319">WB</tspan></text>
75
+ <g
76
+ style="font-size:72px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:start;line-height:125%;writing-mode:lr-tb;text-anchor:start;font-family:Titania MF;-inkscape-font-specification:Titania MF"
77
+ id="text2022"
78
+ transform="matrix(0.9659258,-0.258819,0.258819,0.9659258,-73.301956,61.701304)">
79
+ <path
80
+ d="M 237.90989,69.02862 C 237.90986,69.172667 237.81389,69.412667 237.62189,69.74862 L 208.53389,116.76462 C 208.34189,117.14862 208.12589,117.34062 207.88589,117.34062 C 207.64589,117.34062 207.45389,117.26862 207.30989,117.12462 L 205.36589,115.75662 C 205.07789,115.56462 204.93389,115.37262 204.93389,115.18062 C 204.93389,115.03662 205.07789,114.72462 205.36589,114.24462 L 234.23789,67.66062 C 234.42986,67.276669 234.62186,67.084669 234.81389,67.08462 C 235.00586,67.084669 235.22186,67.15667 235.46189,67.30062 L 237.62189,68.52462 C 237.81386,68.62067 237.90986,68.788668 237.90989,69.02862"
81
+ id="path2910" />
82
+ </g>
83
+ <text
84
+ xml:space="preserve"
85
+ style="font-size:48px;font-style:italic;font-variant:normal;font-weight:bold;font-stretch:normal;text-align:start;line-height:125%;writing-mode:lr-tb;text-anchor:start;fill:#d40000;font-family:Cyklop;-inkscape-font-specification:Cyklop Bold Italic"
86
+ x="168.50166"
87
+ y="111.69319"
88
+ id="text2026"
89
+ sodipodi:linespacing="125%"><tspan
90
+ sodipodi:role="line"
91
+ id="tspan2028"
92
+ x="168.50166"
93
+ y="111.69319">Datamapper</tspan></text>
94
+ </g>
95
+ </svg>
@@ -0,0 +1,27 @@
1
+ /* -----------------------------------------------------------------------
2
+
3
+
4
+ Blueprint CSS Framework 0.8
5
+ http://blueprintcss.org
6
+
7
+ * Copyright (c) 2007-Present. See LICENSE for more info.
8
+ * See README for instructions on how to use Blueprint.
9
+ * For credits and origins, see AUTHORS.
10
+ * This is a compressed file. See the sources in the 'src' directory.
11
+
12
+ ----------------------------------------------------------------------- */
13
+
14
+ /* ie.css */
15
+ body {text-align:center;}
16
+ .container {text-align:left;}
17
+ * html .column, * html div.span-1, * html div.span-2, * html div.span-3, * html div.span-4, * html div.span-5, * html div.span-6, * html div.span-7, * html div.span-8, * html div.span-9, * html div.span-10, * html div.span-11, * html div.span-12, * html div.span-13, * html div.span-14, * html div.span-15, * html div.span-16, * html div.span-17, * html div.span-18, * html div.span-19, * html div.span-20, * html div.span-21, * html div.span-22, * html div.span-23, * html div.span-24 {overflow-x:hidden;}
18
+ * html legend {margin:0px -8px 16px 0;padding:0;}
19
+ ol {margin-left:2em;}
20
+ sup {vertical-align:text-top;}
21
+ sub {vertical-align:text-bottom;}
22
+ html>body p code {*white-space:normal;}
23
+ hr {margin:-8px auto 11px;}
24
+ img {-ms-interpolation-mode:bicubic;}
25
+ .clearfix, .container {display:inline-block;}
26
+ * html .clearfix, * html .container {height:1%;}
27
+ fieldset {padding-top:0;}
@@ -0,0 +1,166 @@
1
+ /* hack for RDiscount comments */
2
+
3
+ h4 {
4
+ display: none;
5
+ }
6
+
7
+ /* fonts */
8
+
9
+ @font-face {
10
+ font-family: "Cyklop";
11
+ src: url(fonts/Cyklop-Regular.otf) format("opentype");
12
+ }
13
+
14
+ @font-face {
15
+ font-family: "Cyklop";
16
+ src: url(fonts/Cyklop-Italic.otf) format("opentype");
17
+ font-style: italic;
18
+ }
19
+
20
+ html {
21
+ /* http://www.hicksdesign.co.uk/journal/forcing-scrollbars-now-even-better */
22
+ height: 100%;
23
+ margin-bottom: 1px;
24
+
25
+ background-color: #E3E6F7;
26
+ margin: 24px auto 24px 44px;
27
+ }
28
+
29
+ body {
30
+ font-family: "DejaVu Sans", "PakTypeNaqsh", "Trebuchet MS", sans-serif ;
31
+ line-height: 28px;
32
+ }
33
+
34
+ #header {
35
+ padding-top: 24px;
36
+ padding-bottom: 0px;
37
+ background-color: #FCE5C0;
38
+ border: solid #888;
39
+ border-width: 1px 1px 0px 1px;
40
+ }
41
+
42
+ #header a {
43
+ font: italic normal 200%/1 Cyklop, sans-serif;
44
+ text-decoration: none;
45
+ color: #C27541;
46
+ }
47
+ #header a:hover { color: #C00; }
48
+
49
+ #links a {
50
+ font: italic normal 100%/1 Cyklop, sans-serif;
51
+ }
52
+
53
+ #wb { color: #7B0E11; }
54
+
55
+ #tutorial { color: #152362; }
56
+
57
+ #links {
58
+ float: right;
59
+ }
60
+
61
+ #links a {
62
+ text-decoration: none;
63
+ color: #A00;
64
+ }
65
+
66
+ .container {
67
+ border: 1px solid #888;
68
+ background-color: #FEF9F0;
69
+ }
70
+
71
+ a[href^="http:"], a[href^="mailto:"], a[href^="http:"]:visited,
72
+ a[href$=".pdf"], a[href$=".doc"], a[href$=".xls"], a[href$=".rss"],
73
+ a[href$=".rdf"], a[href^="aim:"] {
74
+ padding:2px 16px 2px 0;
75
+ }
76
+
77
+ h1 {
78
+ font: italic normal 160%/1 Cyklop, sans-serif;
79
+ color: #A00;
80
+ padding-top: 16px;
81
+ padding-bottom: 16px;
82
+ background-color: #FFE9FD;
83
+ width: 869px;
84
+ margin-left: -44px;
85
+ padding-left: 44px;
86
+ }
87
+
88
+ blockquote {
89
+ font: normal 14/1.5 "DejaVu Sans", PakTypeNaqsh, sans-serif;
90
+ width: 297px;
91
+ margin-top: 6px;
92
+ margin-left: 528px;
93
+ padding: 18px 22px 18px 22px;
94
+ position: absolute;
95
+ background: rgb(252, 229, 192);
96
+ -moz-border-radius: 4px;
97
+ color: #800;
98
+ }
99
+
100
+ blockquote img {
101
+ margin: 0 auto 12px auto;
102
+ display: block;
103
+ }
104
+
105
+ blockquote p.author {
106
+ margin-top: -1em;
107
+ padding-right: 44px;
108
+ color: #800;
109
+ font-style: italic;
110
+ text-align: right;
111
+ }
112
+
113
+ h2 {
114
+ font-size: 130%;
115
+ padding-bottom: 6px;
116
+ border-bottom: 2px dotted #A00;
117
+ color: #A00;
118
+ }
119
+
120
+ h3 {
121
+ font-size: 120%;
122
+ color: #A00;
123
+ }
124
+
125
+ pre.dawn {
126
+ margin-left: -50px;
127
+ padding: 8px 0 8px 39px;
128
+ border-left: 11px solid rgb(237,0,86);
129
+ }
130
+
131
+ pre code, li pre {
132
+ margin: 0;
133
+ padding: 0;
134
+ border: none;
135
+ }
136
+
137
+ code {
138
+ margin: 0 2px;
139
+ padding: 0.06em 0.125em;
140
+ border: 1px solid #403B33;
141
+ }
142
+
143
+ caption {
144
+ text-align: right;
145
+ }
146
+
147
+ pre, code {
148
+ font-family: "DejaVu Sans Mono", PakTypeNaqsh, monospace;
149
+ }
150
+
151
+ /* tabele */
152
+
153
+ thead th {
154
+ background-color: #ADD8C7;
155
+ }
156
+ li ul {
157
+ margin-bottom: 1.5em;
158
+ }
159
+
160
+ .table1 {
161
+ background-color: #EB7C7C;
162
+ }
163
+
164
+ .table2 {
165
+ background-color: #ECB39F;
166
+ }
@@ -0,0 +1,30 @@
1
+ /* -----------------------------------------------------------------------
2
+
3
+
4
+ Blueprint CSS Framework 0.8
5
+ http://blueprintcss.org
6
+
7
+ * Copyright (c) 2007-Present. See LICENSE for more info.
8
+ * See README for instructions on how to use Blueprint.
9
+ * For credits and origins, see AUTHORS.
10
+ * This is a compressed file. See the sources in the 'src' directory.
11
+
12
+ ----------------------------------------------------------------------- */
13
+
14
+ /* print.css */
15
+ body {line-height:1.5;font-family:"Helvetica Neue", Arial, Helvetica, sans-serif;color:#000;background:none;font-size:10pt;}
16
+ .container {background:none;}
17
+ hr {background:#ccc;color:#ccc;width:100%;height:2px;margin:2em 0;padding:0;border:none;}
18
+ hr.space {background:#fff;color:#fff;}
19
+ h1, h2, h3, h4, h5, h6 {font-family:"Helvetica Neue", Arial, "Lucida Grande", sans-serif;}
20
+ code {font:.9em "Courier New", Monaco, Courier, monospace;}
21
+ img {float:left;margin:1.5em 1.5em 1.5em 0;}
22
+ a img {border:none;}
23
+ p img.top {margin-top:0;}
24
+ blockquote {margin:1.5em;padding:1em;font-style:italic;font-size:.9em;}
25
+ .small {font-size:.9em;}
26
+ .large {font-size:1.1em;}
27
+ .quiet {color:#999;}
28
+ .hide {display:none;}
29
+ a:link, a:visited {background:transparent;font-weight:700;text-decoration:underline;}
30
+ a:link:after, a:visited:after {content:" (" attr(href) ")";font-size:90%;}
@@ -0,0 +1,249 @@
1
+ /* -----------------------------------------------------------------------
2
+
3
+
4
+ Blueprint CSS Framework 0.8
5
+ http://blueprintcss.org
6
+
7
+ * Copyright (c) 2007-Present. See LICENSE for more info.
8
+ * See README for instructions on how to use Blueprint.
9
+ * For credits and origins, see AUTHORS.
10
+ * This is a compressed file. See the sources in the 'src' directory.
11
+
12
+ ----------------------------------------------------------------------- */
13
+
14
+ /* reset.css */
15
+ html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, code, del, dfn, em, img, q, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {margin:0;padding:0;border:0;font-weight:inherit;font-style:inherit;font-size:100%;font-family:inherit;vertical-align:baseline;}
16
+ body {line-height:1.5;}
17
+ table {border-collapse:separate;border-spacing:0;}
18
+ caption, th, td {text-align:left;font-weight:normal;}
19
+ table, td, th {vertical-align:middle;}
20
+ blockquote:before, blockquote:after, q:before, q:after {content:"";}
21
+ blockquote, q {quotes:"" "";}
22
+ a img {border:none;}
23
+
24
+ /* typography.css */
25
+ body {font-size:75%;color:#222;background:#fff;font-family:"Helvetica Neue", Arial, Helvetica, sans-serif;}
26
+ h1, h2, h3, h4, h5, h6 {font-weight:normal;color:#111;}
27
+ h1 {font-size:3em;line-height:1;margin-bottom:0.5em;}
28
+ h2 {font-size:2em;margin-bottom:0.75em;}
29
+ h3 {font-size:1.5em;line-height:1;margin-bottom:1em;}
30
+ h4 {font-size:1.2em;line-height:1.25;margin-bottom:1.25em;}
31
+ h5 {font-size:1em;font-weight:bold;margin-bottom:1.5em;}
32
+ h6 {font-size:1em;font-weight:bold;}
33
+ h1 img, h2 img, h3 img, h4 img, h5 img, h6 img {margin:0;}
34
+ p {margin:0 0 1.5em;}
35
+ p img.left {float:left;margin:1.5em 1.5em 1.5em 0;padding:0;}
36
+ p img.right {float:right;margin:1.5em 0 1.5em 1.5em;}
37
+ a:focus, a:hover {color:#000;}
38
+ a {color:#009;text-decoration:underline;}
39
+ blockquote {margin:1.5em;color:#666;font-style:italic;}
40
+ strong {font-weight:bold;}
41
+ em, dfn {font-style:italic;}
42
+ dfn {font-weight:bold;}
43
+ sup, sub {line-height:0;}
44
+ abbr, acronym {border-bottom:1px dotted #666;}
45
+ address {margin:0 0 1.5em;font-style:italic;}
46
+ del {color:#666;}
47
+ pre {margin:1.5em 0;white-space:pre;}
48
+ pre, code, tt {font:1em 'andale mono', 'lucida console', monospace;line-height:1.5;}
49
+ li ul, li ol {margin:0 1.5em;}
50
+ ul, ol {margin:0 1.5em 1.5em 1.5em;}
51
+ ul {list-style-type:disc;}
52
+ ol {list-style-type:decimal;}
53
+ dl {margin:0 0 1.5em 0;}
54
+ dl dt {font-weight:bold;}
55
+ dd {margin-left:1.5em;}
56
+ table {margin-bottom:1.4em;width:100%;}
57
+ th {font-weight:bold;}
58
+ thead th {background:#c3d9ff;}
59
+ th, td, caption {padding:4px 10px 4px 5px;}
60
+ tr.even td {background:#e5ecf9;}
61
+ tfoot {font-style:italic;}
62
+ caption {background:#eee;}
63
+ .small {font-size:.8em;margin-bottom:1.875em;line-height:1.875em;}
64
+ .large {font-size:1.2em;line-height:2.5em;margin-bottom:1.25em;}
65
+ .hide {display:none;}
66
+ .quiet {color:#666;}
67
+ .loud {color:#000;}
68
+ .highlight {background:#ff0;}
69
+ .added {background:#060;color:#fff;}
70
+ .removed {background:#900;color:#fff;}
71
+ .first {margin-left:0;padding-left:0;}
72
+ .last {margin-right:0;padding-right:0;}
73
+ .top {margin-top:0;padding-top:0;}
74
+ .bottom {margin-bottom:0;padding-bottom:0;}
75
+
76
+ /* forms.css */
77
+ label {font-weight:bold;}
78
+ fieldset {padding:1.4em;margin:0 0 1.5em 0;border:1px solid #ccc;}
79
+ legend {font-weight:bold;font-size:1.2em;}
80
+ input.text, input.title, textarea, select {margin:0.5em 0;border:1px solid #bbb;}
81
+ input.text:focus, input.title:focus, textarea:focus, select:focus {border:1px solid #666;}
82
+ input.text, input.title {width:300px;padding:5px;}
83
+ input.title {font-size:1.5em;}
84
+ textarea {width:390px;height:250px;padding:5px;}
85
+ .error, .notice, .success {padding:.8em;margin-bottom:1em;border:2px solid #ddd;}
86
+ .error {background:#FBE3E4;color:#8a1f11;border-color:#FBC2C4;}
87
+ .notice {background:#FFF6BF;color:#514721;border-color:#FFD324;}
88
+ .success {background:#E6EFC2;color:#264409;border-color:#C6D880;}
89
+ .error a {color:#8a1f11;}
90
+ .notice a {color:#514721;}
91
+ .success a {color:#264409;}
92
+
93
+ /* grid.css */
94
+ .container {width:913px;margin:0 auto;}
95
+ .showgrid {background:url(src/grid.png);}
96
+ .column, div.span-1, div.span-2, div.span-3, div.span-4, div.span-5, div.span-6, div.span-7, div.span-8, div.span-9, div.span-10, div.span-11, div.span-12, div.span-13, div.span-14, div.span-15, div.span-16, div.span-17, div.span-18, div.span-19, div.span-20, div.span-21 {float:left;margin-right:11px;}
97
+ .last, div.last {margin-right:0;}
98
+ .span-1 {width:33px;}
99
+ .span-2 {width:77px;}
100
+ .span-3 {width:121px;}
101
+ .span-4 {width:165px;}
102
+ .span-5 {width:209px;}
103
+ .span-6 {width:253px;}
104
+ .span-7 {width:297px;}
105
+ .span-8 {width:341px;}
106
+ .span-9 {width:385px;}
107
+ .span-10 {width:429px;}
108
+ .span-11 {width:473px;}
109
+ .span-12 {width:517px;}
110
+ .span-13 {width:561px;}
111
+ .span-14 {width:605px;}
112
+ .span-15 {width:649px;}
113
+ .span-16 {width:693px;}
114
+ .span-17 {width:737px;}
115
+ .span-18 {width:781px;}
116
+ .span-19 {width:825px;}
117
+ .span-20 {width:869px;}
118
+ .span-21, div.span-21 {width:913px;margin:0;}
119
+ input.span-1, textarea.span-1, input.span-2, textarea.span-2, input.span-3, textarea.span-3, input.span-4, textarea.span-4, input.span-5, textarea.span-5, input.span-6, textarea.span-6, input.span-7, textarea.span-7, input.span-8, textarea.span-8, input.span-9, textarea.span-9, input.span-10, textarea.span-10, input.span-11, textarea.span-11, input.span-12, textarea.span-12, input.span-13, textarea.span-13, input.span-14, textarea.span-14, input.span-15, textarea.span-15, input.span-16, textarea.span-16, input.span-17, textarea.span-17, input.span-18, textarea.span-18, input.span-19, textarea.span-19, input.span-20, textarea.span-20, input.span-21, textarea.span-21 {border-left-width:1px!important;border-right-width:1px!important;padding-left:5px!important;padding-right:5px!important;}
120
+ input.span-1, textarea.span-1 {width:21px!important;}
121
+ input.span-2, textarea.span-2 {width:65px!important;}
122
+ input.span-3, textarea.span-3 {width:109px!important;}
123
+ input.span-4, textarea.span-4 {width:153px!important;}
124
+ input.span-5, textarea.span-5 {width:197px!important;}
125
+ input.span-6, textarea.span-6 {width:241px!important;}
126
+ input.span-7, textarea.span-7 {width:285px!important;}
127
+ input.span-8, textarea.span-8 {width:329px!important;}
128
+ input.span-9, textarea.span-9 {width:373px!important;}
129
+ input.span-10, textarea.span-10 {width:417px!important;}
130
+ input.span-11, textarea.span-11 {width:461px!important;}
131
+ input.span-12, textarea.span-12 {width:505px!important;}
132
+ input.span-13, textarea.span-13 {width:549px!important;}
133
+ input.span-14, textarea.span-14 {width:593px!important;}
134
+ input.span-15, textarea.span-15 {width:637px!important;}
135
+ input.span-16, textarea.span-16 {width:681px!important;}
136
+ input.span-17, textarea.span-17 {width:725px!important;}
137
+ input.span-18, textarea.span-18 {width:769px!important;}
138
+ input.span-19, textarea.span-19 {width:813px!important;}
139
+ input.span-20, textarea.span-20 {width:857px!important;}
140
+ input.span-21, textarea.span-21 {width:901px!important;}
141
+ .append-1 {padding-right:44px;}
142
+ .append-2 {padding-right:88px;}
143
+ .append-3 {padding-right:132px;}
144
+ .append-4 {padding-right:176px;}
145
+ .append-5 {padding-right:220px;}
146
+ .append-6 {padding-right:264px;}
147
+ .append-7 {padding-right:308px;}
148
+ .append-8 {padding-right:352px;}
149
+ .append-9 {padding-right:396px;}
150
+ .append-10 {padding-right:440px;}
151
+ .append-11 {padding-right:484px;}
152
+ .append-12 {padding-right:528px;}
153
+ .append-13 {padding-right:572px;}
154
+ .append-14 {padding-right:616px;}
155
+ .append-15 {padding-right:660px;}
156
+ .append-16 {padding-right:704px;}
157
+ .append-17 {padding-right:748px;}
158
+ .append-18 {padding-right:792px;}
159
+ .append-19 {padding-right:836px;}
160
+ .append-20 {padding-right:880px;}
161
+ .prepend-1 {padding-left:44px;}
162
+ .prepend-2 {padding-left:88px;}
163
+ .prepend-3 {padding-left:132px;}
164
+ .prepend-4 {padding-left:176px;}
165
+ .prepend-5 {padding-left:220px;}
166
+ .prepend-6 {padding-left:264px;}
167
+ .prepend-7 {padding-left:308px;}
168
+ .prepend-8 {padding-left:352px;}
169
+ .prepend-9 {padding-left:396px;}
170
+ .prepend-10 {padding-left:440px;}
171
+ .prepend-11 {padding-left:484px;}
172
+ .prepend-12 {padding-left:528px;}
173
+ .prepend-13 {padding-left:572px;}
174
+ .prepend-14 {padding-left:616px;}
175
+ .prepend-15 {padding-left:660px;}
176
+ .prepend-16 {padding-left:704px;}
177
+ .prepend-17 {padding-left:748px;}
178
+ .prepend-18 {padding-left:792px;}
179
+ .prepend-19 {padding-left:836px;}
180
+ .prepend-20 {padding-left:880px;}
181
+ div.border {padding-right:4px;margin-right:5px;border-right:1px solid #eee;}
182
+ div.colborder {padding-right:27px;margin-right:27px;border-right:1px solid #eee;}
183
+ .pull-1 {margin-left:-44px;}
184
+ .pull-2 {margin-left:-88px;}
185
+ .pull-3 {margin-left:-132px;}
186
+ .pull-4 {margin-left:-176px;}
187
+ .pull-5 {margin-left:-220px;}
188
+ .pull-6 {margin-left:-264px;}
189
+ .pull-7 {margin-left:-308px;}
190
+ .pull-8 {margin-left:-352px;}
191
+ .pull-9 {margin-left:-396px;}
192
+ .pull-10 {margin-left:-440px;}
193
+ .pull-11 {margin-left:-484px;}
194
+ .pull-12 {margin-left:-528px;}
195
+ .pull-13 {margin-left:-572px;}
196
+ .pull-14 {margin-left:-616px;}
197
+ .pull-15 {margin-left:-660px;}
198
+ .pull-16 {margin-left:-704px;}
199
+ .pull-17 {margin-left:-748px;}
200
+ .pull-18 {margin-left:-792px;}
201
+ .pull-19 {margin-left:-836px;}
202
+ .pull-20 {margin-left:-880px;}
203
+ .pull-21 {margin-left:-924px;}
204
+ .pull-1, .pull-2, .pull-3, .pull-4, .pull-5, .pull-6, .pull-7, .pull-8, .pull-9, .pull-10, .pull-11, .pull-12, .pull-13, .pull-14, .pull-15, .pull-16, .pull-17, .pull-18, .pull-19, .pull-20, .pull-21 {float:left;position:relative;}
205
+ .push-1 {margin:0 -44px 1.5em 44px;}
206
+ .push-2 {margin:0 -88px 1.5em 88px;}
207
+ .push-3 {margin:0 -132px 1.5em 132px;}
208
+ .push-4 {margin:0 -176px 1.5em 176px;}
209
+ .push-5 {margin:0 -220px 1.5em 220px;}
210
+ .push-6 {margin:0 -264px 1.5em 264px;}
211
+ .push-7 {margin:0 -308px 1.5em 308px;}
212
+ .push-8 {margin:0 -352px 1.5em 352px;}
213
+ .push-9 {margin:0 -396px 1.5em 396px;}
214
+ .push-10 {margin:0 -440px 1.5em 440px;}
215
+ .push-11 {margin:0 -484px 1.5em 484px;}
216
+ .push-12 {margin:0 -528px 1.5em 528px;}
217
+ .push-13 {margin:0 -572px 1.5em 572px;}
218
+ .push-14 {margin:0 -616px 1.5em 616px;}
219
+ .push-15 {margin:0 -660px 1.5em 660px;}
220
+ .push-16 {margin:0 -704px 1.5em 704px;}
221
+ .push-17 {margin:0 -748px 1.5em 748px;}
222
+ .push-18 {margin:0 -792px 1.5em 792px;}
223
+ .push-19 {margin:0 -836px 1.5em 836px;}
224
+ .push-20 {margin:0 -880px 1.5em 880px;}
225
+ .push-21 {margin:0 -924px 1.5em 924px;}
226
+ .push-1, .push-2, .push-3, .push-4, .push-5, .push-6, .push-7, .push-8, .push-9, .push-10, .push-11, .push-12, .push-13, .push-14, .push-15, .push-16, .push-17, .push-18, .push-19, .push-20, .push-21 {float:right;position:relative;}
227
+ .prepend-top {margin-top:1.5em;}
228
+ .append-bottom {margin-bottom:1.5em;}
229
+ .box {padding:1.5em;margin-bottom:1.5em;background:#E5ECF9;}
230
+ hr {background:#ddd;color:#ddd;clear:both;float:none;width:100%;height:.1em;margin:0 0 1.45em;border:none;}
231
+ hr.space {background:#fff;color:#fff;}
232
+ .clearfix:after, .container:after {content:"\0020";display:block;height:0;clear:both;visibility:hidden;overflow:hidden;}
233
+ .clearfix, .container {display:block;}
234
+ .clear {clear:both;}
235
+
236
+ /* link-icons */
237
+ body a.noicon {background:transparent none !important;padding:0 !important;margin:0 !important;}
238
+ a[href^="http:"], a[href^="mailto:"], a[href^="http:"]:visited, a[href$=".pdf"], a[href$=".doc"], a[href$=".xls"], a[href$=".rss"], a[href$=".rdf"], a[href^="aim:"] {padding:2px 22px 2px 0;margin:-2px 0;background-repeat:no-repeat;background-position:right center;}
239
+ a[href^="http:"] {background-image:url(icons/external.png);}
240
+ a[href^="mailto:"] {background-image:url(icons/email.png);}
241
+ a[href^="http:"]:visited {background-image:url(icons/visited.png);}
242
+ a[href$=".pdf"] {background-image:url(icons/pdf.png);}
243
+ a[href$=".doc"] {background-image:url(icons/doc.png);}
244
+ a[href$=".xls"] {background-image:url(icons/xls.png);}
245
+ a[href$=".rss"], a[href$=".rdf"] {background-image:url(icons/feed.png);}
246
+ a[href^="aim:"] {background-image:url(icons/im.png);}
247
+
248
+ /* tutorials */
249
+ body {font-size:16px;font-family:"Helvetica Neue", Arial, Helvetica, sans-serif;}