motion-prime 0.3.2 → 0.3.3
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.
- checksums.yaml +8 -8
- data/CHANGELOG.md +3 -0
- data/Gemfile.lock +1 -1
- data/README.md +10 -0
- data/doc/code/getting_started.rb +61 -0
- data/doc/docs/docco.css +500 -0
- data/doc/docs/getting_started.html +177 -0
- data/doc/docs/public/fonts/aller-bold.eot +0 -0
- data/doc/docs/public/fonts/aller-bold.ttf +0 -0
- data/doc/docs/public/fonts/aller-bold.woff +0 -0
- data/doc/docs/public/fonts/aller-light.eot +0 -0
- data/doc/docs/public/fonts/aller-light.ttf +0 -0
- data/doc/docs/public/fonts/aller-light.woff +0 -0
- data/doc/docs/public/fonts/novecento-bold.eot +0 -0
- data/doc/docs/public/fonts/novecento-bold.ttf +0 -0
- data/doc/docs/public/fonts/novecento-bold.woff +0 -0
- data/doc/docs/public/stylesheets/normalize.css +375 -0
- data/files/app/sections/sidebar/action.rb +1 -1
- data/motion-prime/app_delegate.rb +8 -2
- data/motion-prime/elements/_content_padding_mixin.rb +12 -12
- data/motion-prime/elements/_content_text_mixin.rb +65 -0
- data/motion-prime/elements/base.rb +51 -19
- data/motion-prime/elements/button.rb +1 -1
- data/motion-prime/elements/draw.rb +26 -113
- data/motion-prime/elements/draw/_draw_background_mixin.rb +26 -0
- data/motion-prime/elements/draw/image.rb +10 -1
- data/motion-prime/elements/draw/label.rb +61 -42
- data/motion-prime/elements/draw/view.rb +14 -0
- data/motion-prime/elements/error_message.rb +1 -1
- data/motion-prime/elements/label.rb +1 -1
- data/motion-prime/elements/text_field.rb +2 -2
- data/motion-prime/elements/text_view.rb +3 -0
- data/motion-prime/helpers/has_style_chain_builder.rb +1 -1
- data/motion-prime/helpers/has_styles.rb +28 -0
- data/motion-prime/models/bag.rb +1 -1
- data/motion-prime/models/sync.rb +4 -4
- data/motion-prime/screens/_base_mixin.rb +1 -1
- data/motion-prime/screens/extensions/_navigation_bar_mixin.rb +7 -0
- data/motion-prime/screens/sidebar_container_screen.rb +8 -2
- data/motion-prime/sections/_cell_section_mixin.rb +25 -0
- data/motion-prime/sections/base.rb +17 -16
- data/motion-prime/sections/draw.rb +32 -10
- data/motion-prime/sections/form.rb +27 -17
- data/motion-prime/sections/form/base_field_section.rb +0 -1
- data/motion-prime/sections/form/base_header_section.rb +3 -2
- data/motion-prime/sections/form/password_field_section.rb +1 -1
- data/motion-prime/sections/table.rb +31 -10
- data/motion-prime/sections/table/base_cell_section.rb +1 -22
- data/motion-prime/sections/table/draw_cell_section.rb +5 -0
- data/motion-prime/styles/form.rb +12 -4
- data/motion-prime/support/_key_value_store.rb +0 -2
- data/motion-prime/support/dm_text_field.rb +2 -2
- data/motion-prime/support/tab_bar_controller.rb +28 -0
- data/motion-prime/version.rb +1 -1
- data/motion-prime/views/_frame_calculator_mixin.rb +75 -0
- data/motion-prime/views/view_styler.rb +36 -94
- metadata +23 -4
- data/motion-prime/elements/_field_dimensions_mixin.rb +0 -59
- data/motion-prime/elements/_text_dimensions_mixin.rb +0 -35
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
YzZhZGNhZTIzZDliM2I2MzY3ZTE1NjdmODc2NmFmYjkyNjdjN2NhYw==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
MDQ2ZmI4ZDMzNjI2MDVjOWQ5NDY2ZmFlZGQwM2RmNWYyNDc4N2IyZg==
|
7
7
|
!binary "U0hBNTEy":
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
NjA4ZTk1ZmZmYmM4NmU4YWRkN2UwYWEzMWI3ZDJkY2ZlZDdkNjc0MDA2OGE0
|
10
|
+
ZGQ0ZTM3NGFlNDBiMjRmYzNkMmQyZWQ1MDkzMjRlMzcxYTc3NWJmMGJjODM0
|
11
|
+
MWVlNzYwMzViNjMxMzU2NjIyNWQxZTJjZTUxMGE0MDNkMmFmOTY=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
YTE2MTY4ZTE5YjVkZjgwYWZhYzhkMDQzZmUzYzA3ZWYxZGFjYTAyOGQ1M2U5
|
14
|
+
MWZlMThkYmIxYTJlN2VhZTE5NWM5OWY0MzlkYmU4NjgwMGRkZjZiNzdlM2Jk
|
15
|
+
ZTQwMjlkNzA4MmExMjFhNTg3OTc1M2Q4MzQ4MzliMGY4NmYzMmQ=
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -66,6 +66,16 @@ The main feature of MotionPrime is one more layer on UI elements: Section.
|
|
66
66
|
4. Push to the branch (`git push origin my-new-feature`)
|
67
67
|
5. Create new Pull Request
|
68
68
|
|
69
|
+
## Documentation
|
70
|
+
|
71
|
+
We are using Docco (http://jashkenas.github.io/docco/) to generate documentation.
|
72
|
+
|
73
|
+
Please install the tool and run this to update documentation:
|
74
|
+
|
75
|
+
```
|
76
|
+
$ cd doc && docco code/*.rb
|
77
|
+
```
|
78
|
+
|
69
79
|
## Thanks for using MotionPrime!
|
70
80
|
|
71
81
|
Hope, you'll enjoy MotionPrime!
|
@@ -0,0 +1,61 @@
|
|
1
|
+
# **1. Install required tools.**
|
2
|
+
---
|
3
|
+
|
4
|
+
# * Ruby 1.9.3 or newer.
|
5
|
+
$ rvm install 2.0.0
|
6
|
+
|
7
|
+
# * RubyMotion.
|
8
|
+
Visit http://www.rubymotion.com
|
9
|
+
|
10
|
+
# **2. Create application delegate.**
|
11
|
+
#
|
12
|
+
# You should rewrite the `on_load` method, which will be runned after starting application.
|
13
|
+
# Note: you should always use AppDelegate class name.
|
14
|
+
|
15
|
+
class AppDelegate < Prime::BaseAppDelegate
|
16
|
+
def on_load(app, options)
|
17
|
+
open_screen MainScreen.new
|
18
|
+
end
|
19
|
+
end
|
20
|
+
|
21
|
+
# **3. Create the main screen.**
|
22
|
+
#
|
23
|
+
# You should rewrite the `render` method, which will be runned after opening screen.
|
24
|
+
|
25
|
+
class MainScreen < Prime::BaseScreen
|
26
|
+
title 'Main screen'
|
27
|
+
|
28
|
+
def render
|
29
|
+
@main_section = MyProfileSection.new(model: User.first)
|
30
|
+
@main_section.render(to: self)
|
31
|
+
end
|
32
|
+
end
|
33
|
+
|
34
|
+
# **4. Create your first section.**
|
35
|
+
#
|
36
|
+
# "Section" is something like helper, which contains "Elements".
|
37
|
+
#
|
38
|
+
# Each element will be added to the parent screen when you run `section.render(to: screen)`
|
39
|
+
|
40
|
+
class MyProfileSection < Prime::BaseSection
|
41
|
+
element :title, text: "Hello World"
|
42
|
+
element :avatar, image: "images/avatar.png", type: :image
|
43
|
+
end
|
44
|
+
|
45
|
+
# **5. Create your first stylesheet file.**
|
46
|
+
#
|
47
|
+
# Styles will be applied to each element in section.
|
48
|
+
# The simplest rule by default is: `:section-name_:element-name`.
|
49
|
+
#
|
50
|
+
# E.g. if you have 'MyProfileSection' (the name for section by default will be - `my_profile`)
|
51
|
+
# and 'title' element, then you should use `my_profile_title` style name.
|
52
|
+
|
53
|
+
Prime::Styles.define do
|
54
|
+
style :my_profile_title, width: 300, height: 20
|
55
|
+
end
|
56
|
+
|
57
|
+
# Also, you can pass namespace to `define` method.
|
58
|
+
|
59
|
+
Prime::Styles.define :my_profile do
|
60
|
+
style :title, width: 300, height: 20
|
61
|
+
end
|
data/doc/docs/docco.css
ADDED
@@ -0,0 +1,500 @@
|
|
1
|
+
/*--------------------- Typography ----------------------------*/
|
2
|
+
|
3
|
+
@font-face {
|
4
|
+
font-family: 'aller-light';
|
5
|
+
src: url('public/fonts/aller-light.eot');
|
6
|
+
src: url('public/fonts/aller-light.eot?#iefix') format('embedded-opentype'),
|
7
|
+
url('public/fonts/aller-light.woff') format('woff'),
|
8
|
+
url('public/fonts/aller-light.ttf') format('truetype');
|
9
|
+
font-weight: normal;
|
10
|
+
font-style: normal;
|
11
|
+
}
|
12
|
+
|
13
|
+
@font-face {
|
14
|
+
font-family: 'aller-bold';
|
15
|
+
src: url('public/fonts/aller-bold.eot');
|
16
|
+
src: url('public/fonts/aller-bold.eot?#iefix') format('embedded-opentype'),
|
17
|
+
url('public/fonts/aller-bold.woff') format('woff'),
|
18
|
+
url('public/fonts/aller-bold.ttf') format('truetype');
|
19
|
+
font-weight: normal;
|
20
|
+
font-style: normal;
|
21
|
+
}
|
22
|
+
|
23
|
+
@font-face {
|
24
|
+
font-family: 'novecento-bold';
|
25
|
+
src: url('public/fonts/novecento-bold.eot');
|
26
|
+
src: url('public/fonts/novecento-bold.eot?#iefix') format('embedded-opentype'),
|
27
|
+
url('public/fonts/novecento-bold.woff') format('woff'),
|
28
|
+
url('public/fonts/novecento-bold.ttf') format('truetype');
|
29
|
+
font-weight: normal;
|
30
|
+
font-style: normal;
|
31
|
+
}
|
32
|
+
|
33
|
+
/*--------------------- Layout ----------------------------*/
|
34
|
+
html { height: 100%; }
|
35
|
+
body {
|
36
|
+
font-family: "aller-light";
|
37
|
+
font-size: 14px;
|
38
|
+
line-height: 18px;
|
39
|
+
color: #30404f;
|
40
|
+
margin: 0; padding: 0;
|
41
|
+
height:100%;
|
42
|
+
}
|
43
|
+
#container { min-height: 100%; }
|
44
|
+
|
45
|
+
a {
|
46
|
+
color: #000;
|
47
|
+
}
|
48
|
+
|
49
|
+
b, strong {
|
50
|
+
font-weight: normal;
|
51
|
+
font-family: "aller-bold";
|
52
|
+
}
|
53
|
+
|
54
|
+
p, ul, ol {
|
55
|
+
margin: 15px 0 0px;
|
56
|
+
}
|
57
|
+
|
58
|
+
h1, h2, h3, h4, h5, h6 {
|
59
|
+
color: #112233;
|
60
|
+
line-height: 1em;
|
61
|
+
font-weight: normal;
|
62
|
+
font-family: "novecento-bold";
|
63
|
+
text-transform: uppercase;
|
64
|
+
margin: 30px 0 15px 0;
|
65
|
+
}
|
66
|
+
|
67
|
+
h1 {
|
68
|
+
margin-top: 40px;
|
69
|
+
}
|
70
|
+
|
71
|
+
hr {
|
72
|
+
border: 0;
|
73
|
+
background: 1px solid #ddd;
|
74
|
+
height: 1px;
|
75
|
+
margin: 20px 0;
|
76
|
+
}
|
77
|
+
|
78
|
+
pre, tt, code {
|
79
|
+
font-size: 12px; line-height: 16px;
|
80
|
+
font-family: Menlo, Monaco, Consolas, "Lucida Console", monospace;
|
81
|
+
margin: 0; padding: 0;
|
82
|
+
}
|
83
|
+
.annotation pre {
|
84
|
+
display: block;
|
85
|
+
margin: 0;
|
86
|
+
padding: 7px 10px;
|
87
|
+
background: #fcfcfc;
|
88
|
+
-moz-box-shadow: inset 0 0 10px rgba(0,0,0,0.1);
|
89
|
+
-webkit-box-shadow: inset 0 0 10px rgba(0,0,0,0.1);
|
90
|
+
box-shadow: inset 0 0 10px rgba(0,0,0,0.1);
|
91
|
+
overflow-x: auto;
|
92
|
+
}
|
93
|
+
.annotation pre code {
|
94
|
+
border: 0;
|
95
|
+
padding: 0;
|
96
|
+
background: transparent;
|
97
|
+
}
|
98
|
+
|
99
|
+
|
100
|
+
blockquote {
|
101
|
+
border-left: 5px solid #ccc;
|
102
|
+
margin: 0;
|
103
|
+
padding: 1px 0 1px 1em;
|
104
|
+
}
|
105
|
+
.sections blockquote p {
|
106
|
+
font-family: Menlo, Consolas, Monaco, monospace;
|
107
|
+
font-size: 12px; line-height: 16px;
|
108
|
+
color: #999;
|
109
|
+
margin: 10px 0 0;
|
110
|
+
white-space: pre-wrap;
|
111
|
+
}
|
112
|
+
|
113
|
+
ul.sections {
|
114
|
+
list-style: none;
|
115
|
+
padding:0 0 5px 0;;
|
116
|
+
margin:0;
|
117
|
+
}
|
118
|
+
|
119
|
+
/*
|
120
|
+
Force border-box so that % widths fit the parent
|
121
|
+
container without overlap because of margin/padding.
|
122
|
+
|
123
|
+
More Info : http://www.quirksmode.org/css/box.html
|
124
|
+
*/
|
125
|
+
ul.sections > li > div {
|
126
|
+
-moz-box-sizing: border-box; /* firefox */
|
127
|
+
-ms-box-sizing: border-box; /* ie */
|
128
|
+
-webkit-box-sizing: border-box; /* webkit */
|
129
|
+
-khtml-box-sizing: border-box; /* konqueror */
|
130
|
+
box-sizing: border-box; /* css3 */
|
131
|
+
}
|
132
|
+
|
133
|
+
|
134
|
+
/*---------------------- Jump Page -----------------------------*/
|
135
|
+
#jump_to, #jump_page {
|
136
|
+
margin: 0;
|
137
|
+
background: white;
|
138
|
+
-webkit-box-shadow: 0 0 25px #777; -moz-box-shadow: 0 0 25px #777;
|
139
|
+
-webkit-border-bottom-left-radius: 5px; -moz-border-radius-bottomleft: 5px;
|
140
|
+
font: 16px Arial;
|
141
|
+
cursor: pointer;
|
142
|
+
text-align: right;
|
143
|
+
list-style: none;
|
144
|
+
}
|
145
|
+
|
146
|
+
#jump_to a {
|
147
|
+
text-decoration: none;
|
148
|
+
}
|
149
|
+
|
150
|
+
#jump_to a.large {
|
151
|
+
display: none;
|
152
|
+
}
|
153
|
+
#jump_to a.small {
|
154
|
+
font-size: 22px;
|
155
|
+
font-weight: bold;
|
156
|
+
color: #676767;
|
157
|
+
}
|
158
|
+
|
159
|
+
#jump_to, #jump_wrapper {
|
160
|
+
position: fixed;
|
161
|
+
right: 0; top: 0;
|
162
|
+
padding: 10px 15px;
|
163
|
+
margin:0;
|
164
|
+
}
|
165
|
+
|
166
|
+
#jump_wrapper {
|
167
|
+
display: none;
|
168
|
+
padding:0;
|
169
|
+
}
|
170
|
+
|
171
|
+
#jump_to:hover #jump_wrapper {
|
172
|
+
display: block;
|
173
|
+
}
|
174
|
+
|
175
|
+
#jump_page {
|
176
|
+
padding: 5px 0 3px;
|
177
|
+
margin: 0 0 25px 25px;
|
178
|
+
}
|
179
|
+
|
180
|
+
#jump_page .source {
|
181
|
+
display: block;
|
182
|
+
padding: 15px;
|
183
|
+
text-decoration: none;
|
184
|
+
border-top: 1px solid #eee;
|
185
|
+
}
|
186
|
+
|
187
|
+
#jump_page .source:hover {
|
188
|
+
background: #f5f5ff;
|
189
|
+
}
|
190
|
+
|
191
|
+
#jump_page .source:first-child {
|
192
|
+
}
|
193
|
+
|
194
|
+
/*---------------------- Low resolutions (> 320px) ---------------------*/
|
195
|
+
@media only screen and (min-width: 320px) {
|
196
|
+
.pilwrap { display: none; }
|
197
|
+
|
198
|
+
ul.sections > li > div {
|
199
|
+
display: block;
|
200
|
+
padding:5px 10px 0 10px;
|
201
|
+
}
|
202
|
+
|
203
|
+
ul.sections > li > div.annotation ul, ul.sections > li > div.annotation ol {
|
204
|
+
padding-left: 30px;
|
205
|
+
}
|
206
|
+
|
207
|
+
ul.sections > li > div.content {
|
208
|
+
background: #f5f5ff;
|
209
|
+
overflow-x:auto;
|
210
|
+
-webkit-box-shadow: inset 0 0 5px #e5e5ee;
|
211
|
+
box-shadow: inset 0 0 5px #e5e5ee;
|
212
|
+
border: 1px solid #dedede;
|
213
|
+
margin:5px 10px 5px 10px;
|
214
|
+
padding-bottom: 5px;
|
215
|
+
}
|
216
|
+
|
217
|
+
ul.sections > li > div.annotation pre {
|
218
|
+
margin: 7px 0 7px;
|
219
|
+
padding-left: 15px;
|
220
|
+
}
|
221
|
+
|
222
|
+
ul.sections > li > div.annotation p tt, .annotation code {
|
223
|
+
background: #f8f8ff;
|
224
|
+
border: 1px solid #dedede;
|
225
|
+
font-size: 12px;
|
226
|
+
padding: 0 0.2em;
|
227
|
+
}
|
228
|
+
}
|
229
|
+
|
230
|
+
/*---------------------- (> 481px) ---------------------*/
|
231
|
+
@media only screen and (min-width: 481px) {
|
232
|
+
#container {
|
233
|
+
position: relative;
|
234
|
+
}
|
235
|
+
body {
|
236
|
+
background-color: #F5F5FF;
|
237
|
+
font-size: 15px;
|
238
|
+
line-height: 21px;
|
239
|
+
}
|
240
|
+
pre, tt, code {
|
241
|
+
line-height: 18px;
|
242
|
+
}
|
243
|
+
p, ul, ol {
|
244
|
+
margin: 0 0 15px;
|
245
|
+
}
|
246
|
+
|
247
|
+
|
248
|
+
#jump_to {
|
249
|
+
padding: 5px 10px;
|
250
|
+
}
|
251
|
+
#jump_wrapper {
|
252
|
+
padding: 0;
|
253
|
+
}
|
254
|
+
#jump_to, #jump_page {
|
255
|
+
font: 10px Arial;
|
256
|
+
text-transform: uppercase;
|
257
|
+
}
|
258
|
+
#jump_page .source {
|
259
|
+
padding: 5px 10px;
|
260
|
+
}
|
261
|
+
#jump_to a.large {
|
262
|
+
display: inline-block;
|
263
|
+
}
|
264
|
+
#jump_to a.small {
|
265
|
+
display: none;
|
266
|
+
}
|
267
|
+
|
268
|
+
|
269
|
+
|
270
|
+
#background {
|
271
|
+
position: absolute;
|
272
|
+
top: 0; bottom: 0;
|
273
|
+
width: 350px;
|
274
|
+
background: #fff;
|
275
|
+
border-right: 1px solid #e5e5ee;
|
276
|
+
z-index: -1;
|
277
|
+
}
|
278
|
+
|
279
|
+
ul.sections > li > div.annotation ul, ul.sections > li > div.annotation ol {
|
280
|
+
padding-left: 40px;
|
281
|
+
}
|
282
|
+
|
283
|
+
ul.sections > li {
|
284
|
+
white-space: nowrap;
|
285
|
+
}
|
286
|
+
|
287
|
+
ul.sections > li > div {
|
288
|
+
display: inline-block;
|
289
|
+
}
|
290
|
+
|
291
|
+
ul.sections > li > div.annotation {
|
292
|
+
max-width: 350px;
|
293
|
+
min-width: 350px;
|
294
|
+
min-height: 5px;
|
295
|
+
padding: 13px;
|
296
|
+
overflow-x: hidden;
|
297
|
+
white-space: normal;
|
298
|
+
vertical-align: top;
|
299
|
+
text-align: left;
|
300
|
+
}
|
301
|
+
ul.sections > li > div.annotation pre {
|
302
|
+
margin: 15px 0 15px;
|
303
|
+
padding-left: 15px;
|
304
|
+
}
|
305
|
+
|
306
|
+
ul.sections > li > div.content {
|
307
|
+
padding: 13px;
|
308
|
+
vertical-align: top;
|
309
|
+
background: #f5f5ff;
|
310
|
+
border: none;
|
311
|
+
-webkit-box-shadow: none;
|
312
|
+
box-shadow: none;
|
313
|
+
}
|
314
|
+
|
315
|
+
.pilwrap {
|
316
|
+
position: relative;
|
317
|
+
display: inline;
|
318
|
+
}
|
319
|
+
|
320
|
+
.pilcrow {
|
321
|
+
font: 12px Arial;
|
322
|
+
text-decoration: none;
|
323
|
+
color: #454545;
|
324
|
+
position: absolute;
|
325
|
+
top: 3px; left: -20px;
|
326
|
+
padding: 1px 2px;
|
327
|
+
opacity: 0;
|
328
|
+
-webkit-transition: opacity 0.2s linear;
|
329
|
+
}
|
330
|
+
.for-h1 .pilcrow {
|
331
|
+
top: 47px;
|
332
|
+
}
|
333
|
+
.for-h2 .pilcrow, .for-h3 .pilcrow, .for-h4 .pilcrow {
|
334
|
+
top: 35px;
|
335
|
+
}
|
336
|
+
|
337
|
+
ul.sections > li > div.annotation:hover .pilcrow {
|
338
|
+
opacity: 1;
|
339
|
+
}
|
340
|
+
}
|
341
|
+
|
342
|
+
/*---------------------- (> 1025px) ---------------------*/
|
343
|
+
@media only screen and (min-width: 1025px) {
|
344
|
+
|
345
|
+
body {
|
346
|
+
font-size: 16px;
|
347
|
+
line-height: 24px;
|
348
|
+
}
|
349
|
+
|
350
|
+
#background {
|
351
|
+
width: 525px;
|
352
|
+
}
|
353
|
+
ul.sections > li > div.annotation {
|
354
|
+
max-width: 525px;
|
355
|
+
min-width: 525px;
|
356
|
+
padding: 10px 25px 1px 50px;
|
357
|
+
}
|
358
|
+
ul.sections > li > div.content {
|
359
|
+
padding: 9px 15px 16px 25px;
|
360
|
+
}
|
361
|
+
}
|
362
|
+
|
363
|
+
/*---------------------- Syntax Highlighting -----------------------------*/
|
364
|
+
|
365
|
+
td.linenos { background-color: #f0f0f0; padding-right: 10px; }
|
366
|
+
span.lineno { background-color: #f0f0f0; padding: 0 5px 0 5px; }
|
367
|
+
/*
|
368
|
+
|
369
|
+
github.com style (c) Vasily Polovnyov <vast@whiteants.net>
|
370
|
+
|
371
|
+
*/
|
372
|
+
|
373
|
+
pre code {
|
374
|
+
display: block; padding: 0.5em;
|
375
|
+
color: #000;
|
376
|
+
background: #f8f8ff
|
377
|
+
}
|
378
|
+
|
379
|
+
pre .comment,
|
380
|
+
pre .template_comment,
|
381
|
+
pre .diff .header,
|
382
|
+
pre .javadoc {
|
383
|
+
color: #408080;
|
384
|
+
font-style: italic
|
385
|
+
}
|
386
|
+
|
387
|
+
pre .keyword,
|
388
|
+
pre .assignment,
|
389
|
+
pre .literal,
|
390
|
+
pre .css .rule .keyword,
|
391
|
+
pre .winutils,
|
392
|
+
pre .javascript .title,
|
393
|
+
pre .lisp .title,
|
394
|
+
pre .subst {
|
395
|
+
color: #954121;
|
396
|
+
/*font-weight: bold*/
|
397
|
+
}
|
398
|
+
|
399
|
+
pre .number,
|
400
|
+
pre .hexcolor {
|
401
|
+
color: #40a070
|
402
|
+
}
|
403
|
+
|
404
|
+
pre .string,
|
405
|
+
pre .tag .value,
|
406
|
+
pre .phpdoc,
|
407
|
+
pre .tex .formula {
|
408
|
+
color: #219161;
|
409
|
+
}
|
410
|
+
|
411
|
+
pre .title,
|
412
|
+
pre .id {
|
413
|
+
color: #19469D;
|
414
|
+
}
|
415
|
+
pre .params {
|
416
|
+
color: #00F;
|
417
|
+
}
|
418
|
+
|
419
|
+
pre .javascript .title,
|
420
|
+
pre .lisp .title,
|
421
|
+
pre .subst {
|
422
|
+
font-weight: normal
|
423
|
+
}
|
424
|
+
|
425
|
+
pre .class .title,
|
426
|
+
pre .haskell .label,
|
427
|
+
pre .tex .command {
|
428
|
+
color: #458;
|
429
|
+
font-weight: bold
|
430
|
+
}
|
431
|
+
|
432
|
+
pre .tag,
|
433
|
+
pre .tag .title,
|
434
|
+
pre .rules .property,
|
435
|
+
pre .django .tag .keyword {
|
436
|
+
color: #000080;
|
437
|
+
font-weight: normal
|
438
|
+
}
|
439
|
+
|
440
|
+
pre .attribute,
|
441
|
+
pre .variable,
|
442
|
+
pre .instancevar,
|
443
|
+
pre .lisp .body {
|
444
|
+
color: #008080
|
445
|
+
}
|
446
|
+
|
447
|
+
pre .regexp {
|
448
|
+
color: #B68
|
449
|
+
}
|
450
|
+
|
451
|
+
pre .class {
|
452
|
+
color: #458;
|
453
|
+
font-weight: bold
|
454
|
+
}
|
455
|
+
|
456
|
+
pre .symbol,
|
457
|
+
pre .ruby .symbol .string,
|
458
|
+
pre .ruby .symbol .keyword,
|
459
|
+
pre .ruby .symbol .keymethods,
|
460
|
+
pre .lisp .keyword,
|
461
|
+
pre .tex .special,
|
462
|
+
pre .input_number {
|
463
|
+
color: #990073
|
464
|
+
}
|
465
|
+
|
466
|
+
pre .builtin,
|
467
|
+
pre .constructor,
|
468
|
+
pre .built_in,
|
469
|
+
pre .lisp .title {
|
470
|
+
color: #0086b3
|
471
|
+
}
|
472
|
+
|
473
|
+
pre .preprocessor,
|
474
|
+
pre .pi,
|
475
|
+
pre .doctype,
|
476
|
+
pre .shebang,
|
477
|
+
pre .cdata {
|
478
|
+
color: #999;
|
479
|
+
font-weight: bold
|
480
|
+
}
|
481
|
+
|
482
|
+
pre .deletion {
|
483
|
+
background: #fdd
|
484
|
+
}
|
485
|
+
|
486
|
+
pre .addition {
|
487
|
+
background: #dfd
|
488
|
+
}
|
489
|
+
|
490
|
+
pre .diff .change {
|
491
|
+
background: #0086b3
|
492
|
+
}
|
493
|
+
|
494
|
+
pre .chunk {
|
495
|
+
color: #aaa
|
496
|
+
}
|
497
|
+
|
498
|
+
pre .tex .formula {
|
499
|
+
opacity: 0.5;
|
500
|
+
}
|