wbzyl-datamapper-tutorial 0.0.8 → 0.0.9
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.
- data/README.markdown +9 -7
- data/Rakefile +8 -8
- data/VERSION.yml +4 -0
- data/config.ru +0 -5
- data/lib/config.ru +12 -0
- data/lib/datamapper-tutorial.rb +20 -5
- data/lib/public/doc/plain-text-files/contacts.yaml +11 -0
- data/lib/public/doc/plain-text-files/contacts_g.rb +105 -0
- data/lib/public/doc/plain-text-files/contacts_g_test.rb +51 -0
- data/lib/public/doc/plain-text-files/contacts_y.rb +57 -0
- data/lib/public/doc/plain-text-files/contacts_y_test.rb +39 -0
- data/lib/public/doc/plain-text-files/gdbm-example.rb +22 -0
- data/lib/public/doc/plain-text-files/gdbm_contacts/Ja/305/233_Ma/305/202gosia/extras +0 -0
- data/lib/public/doc/plain-text-files/gdbm_contacts/Ja/305/233_Ma/305/202gosia/home +0 -0
- data/lib/public/doc/plain-text-files/gdbm_contacts/Ja/305/233_Ma/305/202gosia/work +0 -0
- data/lib/public/doc/plain-text-files/gdbm_contacts/Joe_Smith/extras +0 -0
- data/lib/public/doc/plain-text-files/gdbm_contacts/Joe_Smith/home +0 -0
- data/lib/public/doc/plain-text-files/gdbm_contacts/Joe_Smith/work +0 -0
- data/lib/public/doc/using-plain-text-files-for-data-persistence.pdf +0 -0
- data/lib/public/images/datamapper.png +0 -0
- data/lib/public/images/datamapper.svg +95 -0
- data/lib/public/stylesheets/datamapper.css +160 -0
- data/lib/public/stylesheets/fonts/Cyklop-Italic.otf +0 -0
- data/lib/public/stylesheets/ie.css +1 -0
- data/lib/public/stylesheets/screen.css +48 -66
- data/lib/public/stylesheets/uv.css +121 -0
- data/lib/views/intro.rdiscount +10 -0
- data/lib/views/layout.rdiscount +28 -7
- data/lib/views/main.rdiscount +16 -6
- data/lib/views/using-plain-text-files-for-data-persistence.rdiscount +53 -0
- metadata +32 -12
- data/lib/public/Onyx_Mother_O_Pearl.html +0 -122
- data/lib/public/stylesheets/application.css +0 -113
- data/lib/public/stylesheets/coderay.css +0 -99
Binary file
|
Binary file
|
Binary file
|
@@ -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,160 @@
|
|
1
|
+
/* hack for RDiscount comments */
|
2
|
+
|
3
|
+
h4 {
|
4
|
+
display: none;
|
5
|
+
}
|
6
|
+
|
7
|
+
/* fonts */
|
8
|
+
|
9
|
+
@font-face {
|
10
|
+
font-family: Header;
|
11
|
+
src: url('fonts/Cyklop-Italic.otf') format('opentype');
|
12
|
+
}
|
13
|
+
|
14
|
+
html {
|
15
|
+
/* http://www.hicksdesign.co.uk/journal/forcing-scrollbars-now-even-better */
|
16
|
+
height: 100%;
|
17
|
+
margin-bottom: 1px;
|
18
|
+
|
19
|
+
background-color: #E3E6F7;
|
20
|
+
margin: 24px auto 24px 44px;
|
21
|
+
}
|
22
|
+
|
23
|
+
body {
|
24
|
+
font-family: "DejaVu Sans", "PakTypeNaqsh", "Trebuchet MS", sans-serif ;
|
25
|
+
line-height: 28px;
|
26
|
+
}
|
27
|
+
|
28
|
+
#header {
|
29
|
+
padding-top: 24px;
|
30
|
+
padding-bottom: 0px;
|
31
|
+
background-color: #FCE5C0;
|
32
|
+
border: solid #888;
|
33
|
+
border-width: 1px 1px 0px 1px;
|
34
|
+
}
|
35
|
+
|
36
|
+
#header a {
|
37
|
+
font: 222% Header, "DejaVu Sans", sans-serif ;
|
38
|
+
text-decoration: none;
|
39
|
+
color: #C27541;
|
40
|
+
}
|
41
|
+
#header a:hover { color: #C00; }
|
42
|
+
|
43
|
+
#links a { font: 100% Header, "DejaVu Sans", sans-serif ; }
|
44
|
+
|
45
|
+
#wb { color: #7B0E11; }
|
46
|
+
|
47
|
+
#tutorial { color: #152362; }
|
48
|
+
|
49
|
+
#links {
|
50
|
+
float: right;
|
51
|
+
}
|
52
|
+
|
53
|
+
#links a {
|
54
|
+
text-decoration: none;
|
55
|
+
color: #A00;
|
56
|
+
}
|
57
|
+
|
58
|
+
.container {
|
59
|
+
border: 1px solid #888;
|
60
|
+
background-color: #FEF9F0;
|
61
|
+
}
|
62
|
+
|
63
|
+
a[href^="http:"], a[href^="mailto:"], a[href^="http:"]:visited,
|
64
|
+
a[href$=".pdf"], a[href$=".doc"], a[href$=".xls"], a[href$=".rss"],
|
65
|
+
a[href$=".rdf"], a[href^="aim:"] {
|
66
|
+
padding:2px 16px 2px 0;
|
67
|
+
}
|
68
|
+
|
69
|
+
h1 {
|
70
|
+
font-weight: bold;
|
71
|
+
font-size: 160%;
|
72
|
+
font-family: "DejaVu Sans", "PakTypeNaqsh", serif;
|
73
|
+
color: #A00;
|
74
|
+
padding-top: 16px;
|
75
|
+
padding-bottom: 16px;
|
76
|
+
background-color: #FFE9FD;
|
77
|
+
width: 869px;
|
78
|
+
margin-left: -44px;
|
79
|
+
padding-left: 44px;
|
80
|
+
}
|
81
|
+
|
82
|
+
blockquote {
|
83
|
+
font: normal 14/1.5 "DejaVu Sans", PakTypeNaqsh, sans-serif;
|
84
|
+
width: 297px;
|
85
|
+
margin-top: 6px;
|
86
|
+
margin-left: 528px;
|
87
|
+
padding: 18px 22px 18px 22px;
|
88
|
+
position: absolute;
|
89
|
+
background: rgb(252, 229, 192);
|
90
|
+
-moz-border-radius: 4px;
|
91
|
+
color: #800;
|
92
|
+
}
|
93
|
+
|
94
|
+
blockquote img {
|
95
|
+
margin: 0 auto 12px auto;
|
96
|
+
display: block;
|
97
|
+
}
|
98
|
+
|
99
|
+
blockquote p.author {
|
100
|
+
margin-top: -1em;
|
101
|
+
padding-right: 44px;
|
102
|
+
color: #800;
|
103
|
+
font-style: italic;
|
104
|
+
text-align: right;
|
105
|
+
}
|
106
|
+
|
107
|
+
h2 {
|
108
|
+
font-size: 130%;
|
109
|
+
padding-bottom: 6px;
|
110
|
+
border-bottom: 2px dotted #A00;
|
111
|
+
color: #A00;
|
112
|
+
}
|
113
|
+
|
114
|
+
h3 {
|
115
|
+
font-size: 120%;
|
116
|
+
color: #A00;
|
117
|
+
}
|
118
|
+
|
119
|
+
pre.dawn {
|
120
|
+
margin-left: -50px;
|
121
|
+
padding: 8px 0 8px 39px;
|
122
|
+
border-left: 11px solid rgb(237,0,86);
|
123
|
+
}
|
124
|
+
|
125
|
+
pre code, li pre {
|
126
|
+
margin: 0;
|
127
|
+
padding: 0;
|
128
|
+
border: none;
|
129
|
+
}
|
130
|
+
|
131
|
+
code {
|
132
|
+
margin: 0 2px;
|
133
|
+
padding: 0.06em 0.125em;
|
134
|
+
border: 1px solid #403B33;
|
135
|
+
}
|
136
|
+
|
137
|
+
caption {
|
138
|
+
text-align: right;
|
139
|
+
}
|
140
|
+
|
141
|
+
pre, code {
|
142
|
+
font-family: "DejaVu Sans Mono", PakTypeNaqsh, monospace;
|
143
|
+
}
|
144
|
+
|
145
|
+
/* tabele */
|
146
|
+
|
147
|
+
thead th {
|
148
|
+
background-color: #ADD8C7;
|
149
|
+
}
|
150
|
+
li ul {
|
151
|
+
margin-bottom: 1.5em;
|
152
|
+
}
|
153
|
+
|
154
|
+
.table1 {
|
155
|
+
background-color: #EB7C7C;
|
156
|
+
}
|
157
|
+
|
158
|
+
.table2 {
|
159
|
+
background-color: #ECB39F;
|
160
|
+
}
|
Binary file
|
@@ -21,6 +21,7 @@ sup {vertical-align:text-top;}
|
|
21
21
|
sub {vertical-align:text-bottom;}
|
22
22
|
html>body p code {*white-space:normal;}
|
23
23
|
hr {margin:-8px auto 11px;}
|
24
|
+
img {-ms-interpolation-mode:bicubic;}
|
24
25
|
.clearfix, .container {display:inline-block;}
|
25
26
|
* html .clearfix, * html .container {height:1%;}
|
26
27
|
fieldset {padding-top:0;}
|
@@ -22,11 +22,11 @@ blockquote, q {quotes:"" "";}
|
|
22
22
|
a img {border:none;}
|
23
23
|
|
24
24
|
/* typography.css */
|
25
|
-
body {font-size:
|
25
|
+
body {font-size:75%;color:#222;background:#fff;font-family:"Helvetica Neue", Arial, Helvetica, sans-serif;}
|
26
26
|
h1, h2, h3, h4, h5, h6 {font-weight:normal;color:#111;}
|
27
|
-
h1 {font-size:
|
28
|
-
h2 {font-size:
|
29
|
-
h3 {font-size:1.
|
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
30
|
h4 {font-size:1.2em;line-height:1.25;margin-bottom:1.25em;}
|
31
31
|
h5 {font-size:1em;font-weight:bold;margin-bottom:1.5em;}
|
32
32
|
h6 {font-size:1em;font-weight:bold;}
|
@@ -73,9 +73,25 @@ caption {background:#eee;}
|
|
73
73
|
.top {margin-top:0;padding-top:0;}
|
74
74
|
.bottom {margin-bottom:0;padding-bottom:0;}
|
75
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
|
+
|
76
93
|
/* grid.css */
|
77
|
-
|
78
|
-
.container {width:913px;margin:0;padding:0 0 0 11px;}
|
94
|
+
.container {width:913px;margin:0 auto;}
|
79
95
|
.showgrid {background:url(src/grid.png);}
|
80
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;}
|
81
97
|
.last, div.last {margin-right:0;}
|
@@ -100,27 +116,28 @@ caption {background:#eee;}
|
|
100
116
|
.span-19 {width:825px;}
|
101
117
|
.span-20 {width:869px;}
|
102
118
|
.span-21, div.span-21 {width:913px;margin:0;}
|
103
|
-
input.span-1, textarea.span-1,
|
104
|
-
input.span-
|
105
|
-
input.span-
|
106
|
-
input.span-
|
107
|
-
input.span-
|
108
|
-
input.span-
|
109
|
-
input.span-
|
110
|
-
input.span-
|
111
|
-
input.span-
|
112
|
-
input.span-
|
113
|
-
input.span-
|
114
|
-
input.span-
|
115
|
-
input.span-
|
116
|
-
input.span-
|
117
|
-
input.span-
|
118
|
-
input.span-
|
119
|
-
input.span-
|
120
|
-
input.span-
|
121
|
-
input.span-
|
122
|
-
input.span-
|
123
|
-
input.span-
|
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;}
|
124
141
|
.append-1 {padding-right:44px;}
|
125
142
|
.append-2 {padding-right:88px;}
|
126
143
|
.append-3 {padding-right:132px;}
|
@@ -216,41 +233,9 @@ hr.space {background:#fff;color:#fff;}
|
|
216
233
|
.clearfix, .container {display:block;}
|
217
234
|
.clear {clear:both;}
|
218
235
|
|
219
|
-
/* forms.css */
|
220
|
-
label {font-weight:bold;}
|
221
|
-
fieldset {padding:1.4em;margin:0 0 1.5em 0;border:1px solid #ccc;}
|
222
|
-
legend {font-weight:bold;font-size:1.2em;}
|
223
|
-
input.text, input.title, textarea, select {margin:0.5em 0;border:1px solid #bbb;}
|
224
|
-
input.text:focus, input.title:focus, textarea:focus, select:focus {border:1px solid #666;}
|
225
|
-
input.text, input.title {width:300px;padding:5px;}
|
226
|
-
input.title {font-size:1.5em;}
|
227
|
-
textarea {width:390px;height:250px;padding:5px;}
|
228
|
-
.error, .notice, .success {padding:.8em;margin-bottom:1em;border:2px solid #ddd;}
|
229
|
-
.error {background:#FBE3E4;color:#8a1f11;border-color:#FBC2C4;}
|
230
|
-
.notice {background:#FFF6BF;color:#514721;border-color:#FFD324;}
|
231
|
-
.success {background:#E6EFC2;color:#264409;border-color:#C6D880;}
|
232
|
-
.error a {color:#8a1f11;}
|
233
|
-
.notice a {color:#514721;}
|
234
|
-
.success a {color:#264409;}
|
235
|
-
|
236
|
-
/* buttons */
|
237
|
-
a.button, button {display:block;float:left;margin:0.7em 0.5em 0.7em 0;padding:5px 10px 5px 7px;border:1px solid #dedede;border-top:1px solid #eee;border-left:1px solid #eee;background-color:#f5f5f5;font-family:"Lucida Grande", Tahoma, Arial, Verdana, sans-serif;font-size:100%;line-height:130%;text-decoration:none;font-weight:bold;color:#565656;cursor:pointer;}
|
238
|
-
button {width:auto;overflow:visible;padding:4px 10px 3px 7px;}
|
239
|
-
button[type] {padding:4px 10px 4px 7px;line-height:17px;}
|
240
|
-
*:first-child+html button[type] {padding:4px 10px 3px 7px;}
|
241
|
-
button img, a.button img {margin:0 3px -3px 0 !important;padding:0;border:none;width:16px;height:16px;float:none;}
|
242
|
-
button:hover, a.button:hover {background-color:#dff4ff;border:1px solid #c2e1ef;color:#336699;}
|
243
|
-
a.button:active {background-color:#6299c5;border:1px solid #6299c5;color:#fff;}
|
244
|
-
body .positive {color:#529214;}
|
245
|
-
a.positive:hover, button.positive:hover {background-color:#E6EFC2;border:1px solid #C6D880;color:#529214;}
|
246
|
-
a.positive:active {background-color:#529214;border:1px solid #529214;color:#fff;}
|
247
|
-
body .negative {color:#d12f19;}
|
248
|
-
a.negative:hover, button.negative:hover {background-color:#fbe3e4;border:1px solid #fbc2c4;color:#d12f19;}
|
249
|
-
a.negative:active {background-color:#d12f19;border:1px solid #d12f19;color:#fff;}
|
250
|
-
|
251
236
|
/* link-icons */
|
252
237
|
body a.noicon {background:transparent none !important;padding:0 !important;margin:0 !important;}
|
253
|
-
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^="
|
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;}
|
254
239
|
a[href^="http:"] {background-image:url(icons/external.png);}
|
255
240
|
a[href^="mailto:"] {background-image:url(icons/email.png);}
|
256
241
|
a[href^="http:"]:visited {background-image:url(icons/visited.png);}
|
@@ -258,10 +243,7 @@ a[href$=".pdf"] {background-image:url(icons/pdf.png);}
|
|
258
243
|
a[href$=".doc"] {background-image:url(icons/doc.png);}
|
259
244
|
a[href$=".xls"] {background-image:url(icons/xls.png);}
|
260
245
|
a[href$=".rss"], a[href$=".rdf"] {background-image:url(icons/feed.png);}
|
261
|
-
a[href^="
|
262
|
-
a {text-decoration:none; color:black;border-bottom:1px dotted black;}
|
263
|
-
ol li a[href^="/"]:visited {background-image:none;}
|
246
|
+
a[href^="aim:"] {background-image:url(icons/im.png);}
|
264
247
|
|
265
|
-
/*
|
266
|
-
|
267
|
-
#footer, #header {float:left;margin-right:11px;width:913px;margin:0;}
|
248
|
+
/* tutorials */
|
249
|
+
body {font-size:16px;font-family:"Helvetica Neue", Arial, Helvetica, sans-serif;}
|
@@ -0,0 +1,121 @@
|
|
1
|
+
pre.dawn .MetaSeparator {
|
2
|
+
font-weight: bold;
|
3
|
+
background-color: #DCDCDC;
|
4
|
+
color: #19356D;
|
5
|
+
}
|
6
|
+
pre.dawn .SupportVariable {
|
7
|
+
color: #234A97;
|
8
|
+
}
|
9
|
+
pre.dawn .Constant {
|
10
|
+
font-weight: bold;
|
11
|
+
color: #811F24;
|
12
|
+
}
|
13
|
+
pre.dawn .EmbeddedSource {
|
14
|
+
background-color: #829AC2;
|
15
|
+
}
|
16
|
+
pre.dawn .StringRegexpConstantCharacterEscape {
|
17
|
+
font-weight: bold;
|
18
|
+
color: #811F24;
|
19
|
+
}
|
20
|
+
pre.dawn .Support {
|
21
|
+
color: #691C97;
|
22
|
+
}
|
23
|
+
pre.dawn .MarkupList {
|
24
|
+
color: #693A17;
|
25
|
+
}
|
26
|
+
pre.dawn .Storage {
|
27
|
+
color: #A71D5D;
|
28
|
+
font-style: italic;
|
29
|
+
}
|
30
|
+
pre.dawn .line-numbers {
|
31
|
+
background-color: #7496CF;
|
32
|
+
color: #000000;
|
33
|
+
}
|
34
|
+
pre.dawn .StringConstant {
|
35
|
+
font-weight: bold;
|
36
|
+
color: #696969;
|
37
|
+
}
|
38
|
+
pre.dawn .MarkupUnderline {
|
39
|
+
text-decoration: underline;
|
40
|
+
color: #080808;
|
41
|
+
}
|
42
|
+
pre.dawn .MarkupHeading {
|
43
|
+
font-weight: bold;
|
44
|
+
color: #19356D;
|
45
|
+
}
|
46
|
+
pre.dawn .SupportConstant {
|
47
|
+
color: #B4371F;
|
48
|
+
}
|
49
|
+
pre.dawn .MarkupQuote {
|
50
|
+
background-color: #C5C5C5;
|
51
|
+
color: #0B6125;
|
52
|
+
font-style: italic;
|
53
|
+
}
|
54
|
+
pre.dawn .StringRegexpSpecial {
|
55
|
+
font-weight: bold;
|
56
|
+
color: #CF5628;
|
57
|
+
}
|
58
|
+
pre.dawn .InvalidIllegal {
|
59
|
+
background-color: #B52A1D;
|
60
|
+
color: #F8F8F8;
|
61
|
+
font-style: italic;
|
62
|
+
}
|
63
|
+
pre.dawn .MarkupDeleted {
|
64
|
+
color: #B52A1D;
|
65
|
+
}
|
66
|
+
pre.dawn .MarkupRaw {
|
67
|
+
background-color: #C5C5C5;
|
68
|
+
color: #234A97;
|
69
|
+
}
|
70
|
+
pre.dawn .SupportFunction {
|
71
|
+
color: #693A17;
|
72
|
+
}
|
73
|
+
pre.dawn .PunctuationSeparator {
|
74
|
+
color: #794938;
|
75
|
+
}
|
76
|
+
pre.dawn .StringRegexp {
|
77
|
+
color: #CF5628;
|
78
|
+
}
|
79
|
+
pre.dawn .StringEmbeddedSource {
|
80
|
+
background-color: #829AC2;
|
81
|
+
color: #080808;
|
82
|
+
}
|
83
|
+
pre.dawn .MarkupLink {
|
84
|
+
color: #234A97;
|
85
|
+
font-style: italic;
|
86
|
+
}
|
87
|
+
pre.dawn .MarkupBold {
|
88
|
+
font-weight: bold;
|
89
|
+
color: #080808;
|
90
|
+
}
|
91
|
+
pre.dawn .StringVariable {
|
92
|
+
color: #234A97;
|
93
|
+
}
|
94
|
+
pre.dawn .String {
|
95
|
+
color: #0B6125;
|
96
|
+
}
|
97
|
+
pre.dawn .Keyword {
|
98
|
+
color: #794938;
|
99
|
+
}
|
100
|
+
pre.dawn {
|
101
|
+
background-color: #F5F5F5;
|
102
|
+
color: #080808;
|
103
|
+
}
|
104
|
+
pre.dawn .MarkupItalic {
|
105
|
+
color: #080808;
|
106
|
+
font-style: italic;
|
107
|
+
}
|
108
|
+
pre.dawn .InvalidDeprecated {
|
109
|
+
font-weight: bold;
|
110
|
+
color: #B52A1D;
|
111
|
+
}
|
112
|
+
pre.dawn .Variable {
|
113
|
+
color: #234A97;
|
114
|
+
}
|
115
|
+
pre.dawn .Entity {
|
116
|
+
color: #BF4F24;
|
117
|
+
}
|
118
|
+
pre.dawn .Comment {
|
119
|
+
color: #5A525F;
|
120
|
+
font-style: italic;
|
121
|
+
}
|