radiant 0.6.6 → 0.6.7
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of radiant might be problematic. Click here for more details.
- data/CHANGELOG +15 -0
- data/CONTRIBUTORS +8 -0
- data/app/controllers/admin/page_controller.rb +1 -11
- data/app/controllers/admin/welcome_controller.rb +5 -6
- data/app/controllers/application.rb +2 -0
- data/app/controllers/site_controller.rb +1 -0
- data/app/helpers/admin/page_helper.rb +36 -0
- data/app/helpers/admin/regions_helper.rb +28 -0
- data/app/helpers/admin/user_helper.rb +6 -0
- data/app/helpers/application_helper.rb +2 -1
- data/app/models/user.rb +7 -8
- data/app/views/admin/extension/index.html.haml +28 -0
- data/app/views/admin/layout/edit.html.haml +44 -0
- data/app/views/admin/layout/index.html.haml +25 -0
- data/app/views/admin/layout/remove.html.haml +16 -0
- data/app/views/admin/page/_meta_row.html.haml +6 -0
- data/app/views/admin/page/_node.html.haml +25 -0
- data/app/views/admin/page/_part.html.haml +17 -0
- data/app/views/admin/page/_tag_reference.html.haml +3 -0
- data/app/views/admin/page/children.html.haml +2 -0
- data/app/views/admin/page/edit.html.haml +114 -0
- data/app/views/admin/page/index.html.haml +28 -0
- data/app/views/admin/page/remove.html.haml +20 -0
- data/app/views/admin/snippet/edit.html.haml +36 -0
- data/app/views/admin/snippet/index.html.haml +20 -0
- data/app/views/admin/snippet/remove.html.haml +19 -0
- data/app/views/admin/user/edit.html.haml +80 -0
- data/app/views/admin/user/index.html.haml +23 -0
- data/app/views/admin/user/preferences.html.haml +28 -0
- data/app/views/admin/user/remove.html.haml +18 -0
- data/app/views/admin/welcome/login.html.haml +44 -0
- data/app/views/layouts/application.html.haml +54 -0
- data/app/views/site/not_found.html.haml +3 -0
- data/db/migrate/019_add_salt_to_users.rb +11 -0
- data/db/schema.rb +2 -1
- data/lib/login_system.rb +1 -0
- data/lib/radiant.rb +1 -1
- data/lib/radiant/admin_ui.rb +65 -0
- data/lib/radiant/admin_ui/region_partials.rb +18 -0
- data/lib/radiant/admin_ui/region_set.rb +35 -0
- data/lib/tasks/extensions.rake +33 -0
- data/public/javascripts/admin/admin.js +8 -2
- data/public/javascripts/admin/sitemap.js +2 -1
- data/public/stylesheets/admin/main.css +4 -0
- data/spec/controllers/admin/abstract_model_controller_spec.rb +2 -0
- data/spec/controllers/admin/page_controller_spec.rb +3 -28
- data/spec/controllers/admin/user_controller_spec.rb +1 -1
- data/spec/controllers/admin/welcome_controller_spec.rb +26 -0
- data/spec/helpers/admin/page_helper_spec.rb +4 -0
- data/spec/helpers/admin/regions_helper_spec.rb +47 -0
- data/spec/helpers/admin/user_helper_spec.rb +7 -0
- data/spec/helpers/application_helper_spec.rb +7 -3
- data/spec/lib/login_system_spec.rb +5 -0
- data/spec/lib/radiant/admin_ui/region_partials_spec.rb +35 -0
- data/spec/lib/radiant/admin_ui/region_set_spec.rb +61 -0
- data/spec/lib/radiant/admin_ui_spec.rb +74 -18
- data/spec/models/user_spec.rb +11 -4
- data/spec/scenarios/users_scenario.rb +2 -2
- data/vendor/plugins/haml/MIT-LICENSE +20 -0
- data/vendor/plugins/haml/README.rdoc +319 -0
- data/vendor/plugins/haml/Rakefile +158 -0
- data/vendor/plugins/haml/TODO +9 -0
- data/vendor/plugins/haml/VERSION +1 -0
- data/vendor/plugins/haml/bin/css2sass +7 -0
- data/vendor/plugins/haml/bin/haml +8 -0
- data/vendor/plugins/haml/bin/html2haml +7 -0
- data/vendor/plugins/haml/bin/sass +8 -0
- data/vendor/plugins/haml/extra/haml-mode.el +328 -0
- data/vendor/plugins/haml/extra/sass-mode.el +88 -0
- data/vendor/plugins/haml/init.rb +2 -0
- data/vendor/plugins/haml/lib/haml.rb +977 -0
- data/vendor/plugins/haml/lib/haml/buffer.rb +229 -0
- data/vendor/plugins/haml/lib/haml/engine.rb +274 -0
- data/vendor/plugins/haml/lib/haml/error.rb +23 -0
- data/vendor/plugins/haml/lib/haml/exec.rb +347 -0
- data/vendor/plugins/haml/lib/haml/filters.rb +249 -0
- data/vendor/plugins/haml/lib/haml/helpers.rb +413 -0
- data/vendor/plugins/haml/lib/haml/helpers/action_view_extensions.rb +45 -0
- data/vendor/plugins/haml/lib/haml/helpers/action_view_mods.rb +122 -0
- data/vendor/plugins/haml/lib/haml/html.rb +188 -0
- data/vendor/plugins/haml/lib/haml/precompiler.rb +757 -0
- data/vendor/plugins/haml/lib/haml/template.rb +43 -0
- data/vendor/plugins/haml/lib/haml/template/patch.rb +58 -0
- data/vendor/plugins/haml/lib/haml/template/plugin.rb +72 -0
- data/vendor/plugins/haml/lib/sass.rb +833 -0
- data/vendor/plugins/haml/lib/sass/constant.rb +245 -0
- data/vendor/plugins/haml/lib/sass/constant/color.rb +101 -0
- data/vendor/plugins/haml/lib/sass/constant/literal.rb +53 -0
- data/vendor/plugins/haml/lib/sass/constant/number.rb +87 -0
- data/vendor/plugins/haml/lib/sass/constant/operation.rb +30 -0
- data/vendor/plugins/haml/lib/sass/constant/string.rb +22 -0
- data/vendor/plugins/haml/lib/sass/css.rb +378 -0
- data/vendor/plugins/haml/lib/sass/engine.rb +459 -0
- data/vendor/plugins/haml/lib/sass/error.rb +35 -0
- data/vendor/plugins/haml/lib/sass/plugin.rb +165 -0
- data/vendor/plugins/haml/lib/sass/plugin/merb.rb +56 -0
- data/vendor/plugins/haml/lib/sass/plugin/rails.rb +24 -0
- data/vendor/plugins/haml/lib/sass/tree/attr_node.rb +53 -0
- data/vendor/plugins/haml/lib/sass/tree/comment_node.rb +20 -0
- data/vendor/plugins/haml/lib/sass/tree/directive_node.rb +46 -0
- data/vendor/plugins/haml/lib/sass/tree/node.rb +42 -0
- data/vendor/plugins/haml/lib/sass/tree/rule_node.rb +89 -0
- data/vendor/plugins/haml/lib/sass/tree/value_node.rb +16 -0
- data/vendor/plugins/haml/test/benchmark.rb +82 -0
- data/vendor/plugins/haml/test/haml/engine_test.rb +587 -0
- data/vendor/plugins/haml/test/haml/helper_test.rb +187 -0
- data/vendor/plugins/haml/test/haml/html2haml_test.rb +60 -0
- data/vendor/plugins/haml/test/haml/markaby/standard.mab +52 -0
- data/vendor/plugins/haml/test/haml/mocks/article.rb +6 -0
- data/vendor/plugins/haml/test/haml/results/content_for_layout.xhtml +16 -0
- data/vendor/plugins/haml/test/haml/results/eval_suppressed.xhtml +11 -0
- data/vendor/plugins/haml/test/haml/results/filters.xhtml +82 -0
- data/vendor/plugins/haml/test/haml/results/helpers.xhtml +94 -0
- data/vendor/plugins/haml/test/haml/results/helpful.xhtml +10 -0
- data/vendor/plugins/haml/test/haml/results/just_stuff.xhtml +64 -0
- data/vendor/plugins/haml/test/haml/results/list.xhtml +12 -0
- data/vendor/plugins/haml/test/haml/results/original_engine.xhtml +22 -0
- data/vendor/plugins/haml/test/haml/results/partials.xhtml +21 -0
- data/vendor/plugins/haml/test/haml/results/silent_script.xhtml +74 -0
- data/vendor/plugins/haml/test/haml/results/standard.xhtml +42 -0
- data/vendor/plugins/haml/test/haml/results/tag_parsing.xhtml +28 -0
- data/vendor/plugins/haml/test/haml/results/very_basic.xhtml +7 -0
- data/vendor/plugins/haml/test/haml/results/whitespace_handling.xhtml +94 -0
- data/vendor/plugins/haml/test/haml/rhtml/_av_partial_1.rhtml +12 -0
- data/vendor/plugins/haml/test/haml/rhtml/_av_partial_2.rhtml +8 -0
- data/vendor/plugins/haml/test/haml/rhtml/action_view.rhtml +62 -0
- data/vendor/plugins/haml/test/haml/rhtml/standard.rhtml +54 -0
- data/vendor/plugins/haml/test/haml/template_test.rb +168 -0
- data/vendor/plugins/haml/test/haml/templates/_av_partial_1.haml +9 -0
- data/vendor/plugins/haml/test/haml/templates/_av_partial_2.haml +5 -0
- data/vendor/plugins/haml/test/haml/templates/_partial.haml +8 -0
- data/vendor/plugins/haml/test/haml/templates/_text_area.haml +3 -0
- data/vendor/plugins/haml/test/haml/templates/action_view.haml +47 -0
- data/vendor/plugins/haml/test/haml/templates/breakage.haml +8 -0
- data/vendor/plugins/haml/test/haml/templates/content_for_layout.haml +10 -0
- data/vendor/plugins/haml/test/haml/templates/eval_suppressed.haml +11 -0
- data/vendor/plugins/haml/test/haml/templates/filters.haml +81 -0
- data/vendor/plugins/haml/test/haml/templates/helpers.haml +69 -0
- data/vendor/plugins/haml/test/haml/templates/helpful.haml +11 -0
- data/vendor/plugins/haml/test/haml/templates/just_stuff.haml +77 -0
- data/vendor/plugins/haml/test/haml/templates/list.haml +12 -0
- data/vendor/plugins/haml/test/haml/templates/original_engine.haml +17 -0
- data/vendor/plugins/haml/test/haml/templates/partialize.haml +1 -0
- data/vendor/plugins/haml/test/haml/templates/partials.haml +12 -0
- data/vendor/plugins/haml/test/haml/templates/silent_script.haml +40 -0
- data/vendor/plugins/haml/test/haml/templates/standard.haml +42 -0
- data/vendor/plugins/haml/test/haml/templates/tag_parsing.haml +24 -0
- data/vendor/plugins/haml/test/haml/templates/very_basic.haml +4 -0
- data/vendor/plugins/haml/test/haml/templates/whitespace_handling.haml +87 -0
- data/vendor/plugins/haml/test/haml/test_helper.rb +15 -0
- data/vendor/plugins/haml/test/profile.rb +65 -0
- data/vendor/plugins/haml/test/sass/engine_test.rb +276 -0
- data/vendor/plugins/haml/test/sass/plugin_test.rb +159 -0
- data/vendor/plugins/haml/test/sass/results/alt.css +4 -0
- data/vendor/plugins/haml/test/sass/results/basic.css +9 -0
- data/vendor/plugins/haml/test/sass/results/compact.css +5 -0
- data/vendor/plugins/haml/test/sass/results/complex.css +87 -0
- data/vendor/plugins/haml/test/sass/results/compressed.css +1 -0
- data/vendor/plugins/haml/test/sass/results/constants.css +14 -0
- data/vendor/plugins/haml/test/sass/results/expanded.css +19 -0
- data/vendor/plugins/haml/test/sass/results/import.css +29 -0
- data/vendor/plugins/haml/test/sass/results/mixins.css +95 -0
- data/vendor/plugins/haml/test/sass/results/multiline.css +24 -0
- data/vendor/plugins/haml/test/sass/results/nested.css +22 -0
- data/vendor/plugins/haml/test/sass/results/parent_ref.css +13 -0
- data/vendor/plugins/haml/test/sass/results/subdir/nested_subdir/nested_subdir.css +1 -0
- data/vendor/plugins/haml/test/sass/results/subdir/subdir.css +1 -0
- data/vendor/plugins/haml/test/sass/templates/_partial.sass +2 -0
- data/vendor/plugins/haml/test/sass/templates/alt.sass +16 -0
- data/vendor/plugins/haml/test/sass/templates/basic.sass +23 -0
- data/vendor/plugins/haml/test/sass/templates/bork.sass +2 -0
- data/vendor/plugins/haml/test/sass/templates/bork2.sass +2 -0
- data/vendor/plugins/haml/test/sass/templates/compact.sass +17 -0
- data/vendor/plugins/haml/test/sass/templates/complex.sass +310 -0
- data/vendor/plugins/haml/test/sass/templates/compressed.sass +15 -0
- data/vendor/plugins/haml/test/sass/templates/constants.sass +97 -0
- data/vendor/plugins/haml/test/sass/templates/expanded.sass +17 -0
- data/vendor/plugins/haml/test/sass/templates/import.sass +11 -0
- data/vendor/plugins/haml/test/sass/templates/importee.sass +14 -0
- data/vendor/plugins/haml/test/sass/templates/mixins.sass +76 -0
- data/vendor/plugins/haml/test/sass/templates/multiline.sass +20 -0
- data/vendor/plugins/haml/test/sass/templates/nested.sass +25 -0
- data/vendor/plugins/haml/test/sass/templates/parent_ref.sass +25 -0
- data/vendor/plugins/haml/test/sass/templates/subdir/nested_subdir/nested_subdir.sass +3 -0
- data/vendor/plugins/haml/test/sass/templates/subdir/subdir.sass +6 -0
- metadata +185 -24
- data/app/views/admin/extension/index.html.erb +0 -40
- data/app/views/admin/layout/edit.html.erb +0 -39
- data/app/views/admin/layout/index.html.erb +0 -38
- data/app/views/admin/layout/remove.html.erb +0 -17
- data/app/views/admin/page/_meta_row.html.erb +0 -4
- data/app/views/admin/page/_node.html.erb +0 -28
- data/app/views/admin/page/_part.html.erb +0 -13
- data/app/views/admin/page/_tag_reference.html.erb +0 -4
- data/app/views/admin/page/children.html.erb +0 -4
- data/app/views/admin/page/edit.html.erb +0 -140
- data/app/views/admin/page/index.html.erb +0 -31
- data/app/views/admin/page/remove.html.erb +0 -14
- data/app/views/admin/snippet/edit.html.erb +0 -29
- data/app/views/admin/snippet/index.html.erb +0 -36
- data/app/views/admin/snippet/remove.html.erb +0 -16
- data/app/views/admin/user/edit.html.erb +0 -54
- data/app/views/admin/user/index.html.erb +0 -43
- data/app/views/admin/user/preferences.html.erb +0 -29
- data/app/views/admin/user/remove.html.erb +0 -16
- data/app/views/admin/welcome/login.html.erb +0 -51
- data/app/views/layouts/application.html.erb +0 -83
- data/app/views/site/not_found.html.erb +0 -3
@@ -0,0 +1,22 @@
|
|
1
|
+
#main {
|
2
|
+
width: 15em;
|
3
|
+
color: #0000ff; }
|
4
|
+
#main p {
|
5
|
+
border-style: dotted;
|
6
|
+
/* Nested comment
|
7
|
+
* More nested stuff */
|
8
|
+
border-width: 2px; }
|
9
|
+
#main .cool {
|
10
|
+
width: 100px; }
|
11
|
+
|
12
|
+
#left {
|
13
|
+
font-size: 2em;
|
14
|
+
font-weight: bold;
|
15
|
+
float: left; }
|
16
|
+
|
17
|
+
#right .header {
|
18
|
+
border-style: solid; }
|
19
|
+
#right .body {
|
20
|
+
border-style: dotted; }
|
21
|
+
#right .footer {
|
22
|
+
border-style: dashed; }
|
@@ -0,0 +1,13 @@
|
|
1
|
+
a { color: #000; }
|
2
|
+
a:hover { color: #f00; }
|
3
|
+
|
4
|
+
p, div { width: 100em; }
|
5
|
+
p foo, div foo { width: 10em; }
|
6
|
+
p:hover, p bar, div:hover, div bar { height: 20em; }
|
7
|
+
|
8
|
+
#cool { border-style: solid; border-width: 2em; }
|
9
|
+
.ie7 #cool, .ie6 #cool { content: string(Totally not cool.); }
|
10
|
+
.firefox #cool { content: string(Quite cool.); }
|
11
|
+
|
12
|
+
.wow, .snazzy { font-family: fantasy; }
|
13
|
+
.wow:hover, .wow:visited, .snazzy:hover, .snazzy:visited { font-weight: bold; }
|
@@ -0,0 +1 @@
|
|
1
|
+
#pi { width: 314px; }
|
@@ -0,0 +1 @@
|
|
1
|
+
#subdir { font-size: 20px; font-weight: bold; }
|
@@ -0,0 +1,23 @@
|
|
1
|
+
|
2
|
+
|
3
|
+
body
|
4
|
+
:font Arial
|
5
|
+
:background blue
|
6
|
+
|
7
|
+
#page
|
8
|
+
:width 700px
|
9
|
+
:height 100
|
10
|
+
#header
|
11
|
+
:height 300px
|
12
|
+
h1
|
13
|
+
:font-size 50px
|
14
|
+
:color blue
|
15
|
+
|
16
|
+
#content.user.show
|
17
|
+
#container.top
|
18
|
+
#column.left
|
19
|
+
:width 100px
|
20
|
+
#column.right
|
21
|
+
:width 600px
|
22
|
+
#container.bottom
|
23
|
+
:background brown
|
@@ -0,0 +1,310 @@
|
|
1
|
+
body
|
2
|
+
:margin 0
|
3
|
+
:font 0.85em "Lucida Grande", "Trebuchet MS", Verdana, sans-serif
|
4
|
+
:color #fff
|
5
|
+
:background url(/images/global_bg.gif)
|
6
|
+
|
7
|
+
#page
|
8
|
+
:width 900px
|
9
|
+
:margin 0 auto
|
10
|
+
:background #440008
|
11
|
+
:border-top
|
12
|
+
:width 5px
|
13
|
+
:style solid
|
14
|
+
:color #ff8500
|
15
|
+
|
16
|
+
#header
|
17
|
+
:height 75px
|
18
|
+
:padding 0
|
19
|
+
h1
|
20
|
+
:float left
|
21
|
+
:width 274px
|
22
|
+
:height 75px
|
23
|
+
:margin 0
|
24
|
+
:background
|
25
|
+
:image url(/images/global_logo.gif)
|
26
|
+
/* Crazy nested comment
|
27
|
+
:repeat no-repeat
|
28
|
+
:text-indent -9999px
|
29
|
+
.status
|
30
|
+
:float right
|
31
|
+
:padding
|
32
|
+
:top .5em
|
33
|
+
:left .5em
|
34
|
+
:right .5em
|
35
|
+
:bottom 0
|
36
|
+
p
|
37
|
+
:float left
|
38
|
+
:margin
|
39
|
+
:top 0
|
40
|
+
:right 0.5em
|
41
|
+
:bottom 0
|
42
|
+
:left 0
|
43
|
+
ul
|
44
|
+
:float left
|
45
|
+
:margin 0
|
46
|
+
:padding 0
|
47
|
+
li
|
48
|
+
:list-style-type none
|
49
|
+
:display inline
|
50
|
+
:margin 0 5px
|
51
|
+
a:link, a:visited
|
52
|
+
:color #ff8500
|
53
|
+
:text-decoration none
|
54
|
+
a:hover
|
55
|
+
:text-decoration underline
|
56
|
+
.search
|
57
|
+
:float right
|
58
|
+
:clear right
|
59
|
+
:margin 12px 0 0 0
|
60
|
+
form
|
61
|
+
:margin 0
|
62
|
+
input
|
63
|
+
:margin 0 3px 0 0
|
64
|
+
:padding 2px
|
65
|
+
:border none
|
66
|
+
|
67
|
+
#menu
|
68
|
+
:clear both
|
69
|
+
:text-align right
|
70
|
+
:height 20px
|
71
|
+
:border-bottom 5px solid #006b95
|
72
|
+
:background #00a4e4
|
73
|
+
.contests
|
74
|
+
ul
|
75
|
+
:margin 0 5px 0 0
|
76
|
+
:padding 0
|
77
|
+
li
|
78
|
+
:list-style-type none
|
79
|
+
:margin 0 5px
|
80
|
+
:padding 5px 5px 0 5px
|
81
|
+
:display inline
|
82
|
+
// This comment is in the middle of this rule
|
83
|
+
:font-size 1.1em
|
84
|
+
// This comment is properly indented
|
85
|
+
:color #fff
|
86
|
+
:background #00a4e4
|
87
|
+
/ This rule isn't a comment!
|
88
|
+
:red green
|
89
|
+
a:link, a:visited
|
90
|
+
:color #fff
|
91
|
+
:text-decoration none
|
92
|
+
:font-weight bold
|
93
|
+
a:hover
|
94
|
+
:text-decoration underline
|
95
|
+
|
96
|
+
//General content information
|
97
|
+
#content
|
98
|
+
:clear both
|
99
|
+
.container
|
100
|
+
:clear both
|
101
|
+
.column
|
102
|
+
:float left
|
103
|
+
.left
|
104
|
+
.middle
|
105
|
+
.right
|
106
|
+
:float right
|
107
|
+
a:link, a:visited
|
108
|
+
:color #93d700
|
109
|
+
:text-decoration none
|
110
|
+
a:hover
|
111
|
+
:text-decoration underline
|
112
|
+
|
113
|
+
// A hard tab:
|
114
|
+
|
115
|
+
|
116
|
+
#content
|
117
|
+
p, div
|
118
|
+
:width 40em
|
119
|
+
li, dt, dd
|
120
|
+
:color #ddffdd
|
121
|
+
:background-color #4792bb
|
122
|
+
.container.video
|
123
|
+
.column.left
|
124
|
+
:width 200px
|
125
|
+
.box
|
126
|
+
:margin-top 10px
|
127
|
+
p
|
128
|
+
:margin 0 1em auto 1em
|
129
|
+
.box.participants
|
130
|
+
img
|
131
|
+
:float left
|
132
|
+
:margin 0 1em auto 1em
|
133
|
+
:border 1px solid #6e000d
|
134
|
+
:style solid
|
135
|
+
h2
|
136
|
+
:margin 0 0 10px 0
|
137
|
+
:padding 0.5em
|
138
|
+
/* The background image is a gif!
|
139
|
+
:background #6e000d url(/images/hdr_participant.gif) 2px 2px no-repeat
|
140
|
+
/* Okay check this out
|
141
|
+
Multiline comments
|
142
|
+
Wow dude
|
143
|
+
I mean seriously, WOW
|
144
|
+
:text-indent -9999px
|
145
|
+
// And also...
|
146
|
+
Multiline comments that don't output!
|
147
|
+
Snazzy, no?
|
148
|
+
:border
|
149
|
+
:top
|
150
|
+
:width 5px
|
151
|
+
:style solid
|
152
|
+
:color #a20013
|
153
|
+
:right
|
154
|
+
:width 1px
|
155
|
+
:style dotted
|
156
|
+
.column.middle
|
157
|
+
:width 500px
|
158
|
+
.column.right
|
159
|
+
:width 200px
|
160
|
+
.box
|
161
|
+
:margin-top 0
|
162
|
+
p
|
163
|
+
:margin 0 1em auto 1em
|
164
|
+
.column
|
165
|
+
p
|
166
|
+
:margin-top 0
|
167
|
+
|
168
|
+
#content.contests
|
169
|
+
.container.information
|
170
|
+
.column.right
|
171
|
+
.box
|
172
|
+
:margin 1em 0
|
173
|
+
.box.videos
|
174
|
+
.thumbnail img
|
175
|
+
:width 200px
|
176
|
+
:height 150px
|
177
|
+
:margin-bottom 5px
|
178
|
+
a:link, a:visited
|
179
|
+
:color #93d700
|
180
|
+
:text-decoration none
|
181
|
+
a:hover
|
182
|
+
:text-decoration underline
|
183
|
+
.box.votes
|
184
|
+
a
|
185
|
+
:display block
|
186
|
+
:width 200px
|
187
|
+
:height 60px
|
188
|
+
:margin 15px 0
|
189
|
+
:background url(/images/btn_votenow.gif) no-repeat
|
190
|
+
:text-indent -9999px
|
191
|
+
:outline none
|
192
|
+
:border none
|
193
|
+
h2
|
194
|
+
:margin 52px 0 10px 0
|
195
|
+
:padding 0.5em
|
196
|
+
:background #6e000d url(/images/hdr_videostats.gif) 2px 2px no-repeat
|
197
|
+
:text-indent -9999px
|
198
|
+
:border-top 5px solid #a20013
|
199
|
+
|
200
|
+
#content.contests
|
201
|
+
.container.video
|
202
|
+
.box.videos
|
203
|
+
h2
|
204
|
+
:margin 0
|
205
|
+
:padding 0.5em
|
206
|
+
:background #6e000d url(/images/hdr_newestclips.gif) 2px 2px no-repeat
|
207
|
+
:text-indent -9999px
|
208
|
+
:border-top 5px solid #a20013
|
209
|
+
table
|
210
|
+
:width 100
|
211
|
+
td
|
212
|
+
:padding 1em
|
213
|
+
:width 25
|
214
|
+
:vertical-align top
|
215
|
+
p
|
216
|
+
:margin 0 0 5px 0
|
217
|
+
a:link, a:visited
|
218
|
+
:color #93d700
|
219
|
+
:text-decoration none
|
220
|
+
a:hover
|
221
|
+
:text-decoration underline
|
222
|
+
.thumbnail
|
223
|
+
:float left
|
224
|
+
img
|
225
|
+
:width 80px
|
226
|
+
:height 60px
|
227
|
+
:margin 0 10px 0 0
|
228
|
+
:border 1px solid #6e000d
|
229
|
+
|
230
|
+
#content
|
231
|
+
.container.comments
|
232
|
+
.column
|
233
|
+
:margin-top 15px
|
234
|
+
.column.left
|
235
|
+
:width 600px
|
236
|
+
.box
|
237
|
+
ol
|
238
|
+
:margin 0
|
239
|
+
:padding 0
|
240
|
+
li
|
241
|
+
:list-style-type none
|
242
|
+
:padding 10px
|
243
|
+
:margin 0 0 1em 0
|
244
|
+
:background #6e000d
|
245
|
+
:border-top 5px solid #a20013
|
246
|
+
div
|
247
|
+
:margin-bottom 1em
|
248
|
+
ul
|
249
|
+
:text-align right
|
250
|
+
li
|
251
|
+
:display inline
|
252
|
+
:border none
|
253
|
+
:padding 0
|
254
|
+
.column.right
|
255
|
+
:width 290px
|
256
|
+
:padding-left 10px
|
257
|
+
h2
|
258
|
+
:margin 0
|
259
|
+
:padding 0.5em
|
260
|
+
:background #6e000d url(/images/hdr_addcomment.gif) 2px 2px no-repeat
|
261
|
+
:text-indent -9999px
|
262
|
+
:border-top 5px solid #a20013
|
263
|
+
.box
|
264
|
+
textarea
|
265
|
+
:width 290px
|
266
|
+
:height 100px
|
267
|
+
:border none
|
268
|
+
|
269
|
+
#footer
|
270
|
+
:margin-top 10px
|
271
|
+
:padding 1.2em 1.5em
|
272
|
+
:background #ff8500
|
273
|
+
ul
|
274
|
+
:margin 0
|
275
|
+
:padding 0
|
276
|
+
:list-style-type none
|
277
|
+
li
|
278
|
+
:display inline
|
279
|
+
:margin 0 0.5em
|
280
|
+
:color #440008
|
281
|
+
ul.links
|
282
|
+
:float left
|
283
|
+
a:link, a:visited
|
284
|
+
:color #440008
|
285
|
+
:text-decoration none
|
286
|
+
a:hover
|
287
|
+
:text-decoration underline
|
288
|
+
ul.copyright
|
289
|
+
:float right
|
290
|
+
|
291
|
+
|
292
|
+
.clear
|
293
|
+
:clear both
|
294
|
+
|
295
|
+
.centered
|
296
|
+
:text-align center
|
297
|
+
|
298
|
+
img
|
299
|
+
:border none
|
300
|
+
|
301
|
+
button.short
|
302
|
+
:width 60px
|
303
|
+
:height 22px
|
304
|
+
:padding 0 0 2px 0
|
305
|
+
:color #fff
|
306
|
+
:border none
|
307
|
+
:background url(/images/btn_short.gif) no-repeat
|
308
|
+
|
309
|
+
table
|
310
|
+
:border-collapse collapse
|
@@ -0,0 +1,97 @@
|
|
1
|
+
!width = 10em + 20
|
2
|
+
!color = #00ff98
|
3
|
+
!main_text = #ffa
|
4
|
+
!num = 10
|
5
|
+
!dec = 10.2
|
6
|
+
!dec_0 = 99.0
|
7
|
+
!neg = -10
|
8
|
+
!esc= 10\+12
|
9
|
+
!str= "Hello!"
|
10
|
+
!qstr= "Quo\"ted\"!"
|
11
|
+
!hstr= "Hyph-en!"
|
12
|
+
!concat = (5 + 4) hi there
|
13
|
+
!percent= 11%
|
14
|
+
|
15
|
+
#main
|
16
|
+
:content = !str
|
17
|
+
:qstr = !qstr
|
18
|
+
:hstr = !hstr
|
19
|
+
:width = !width
|
20
|
+
:background-color #000
|
21
|
+
:color= !main_text
|
22
|
+
:short-color= #123
|
23
|
+
:named-color= olive
|
24
|
+
:con= foo bar (!concat boom)
|
25
|
+
:con2= noquo "quo"
|
26
|
+
#sidebar
|
27
|
+
:background-color= !color
|
28
|
+
:num
|
29
|
+
:normal= !num
|
30
|
+
:dec= !dec
|
31
|
+
:dec0= !dec_0
|
32
|
+
:neg= !neg
|
33
|
+
:esc= !esc
|
34
|
+
:many= 1 + 2 + 3
|
35
|
+
:order= 1 + 2 * 3
|
36
|
+
:complex= ((1 + 2) + 15)+#3a8b9f + (hi+(1 +1+ 2)* 4)
|
37
|
+
|
38
|
+
#plus
|
39
|
+
:num
|
40
|
+
:num= 5+2
|
41
|
+
:num-un= 10em + 15em
|
42
|
+
:num-un2= 10 + 13em
|
43
|
+
:num-neg= 10 + -.13
|
44
|
+
:str= 100 + px
|
45
|
+
:col= 13 + #aaa
|
46
|
+
:perc = !percent + 20%
|
47
|
+
:str
|
48
|
+
:str= hi + \ there
|
49
|
+
:str2= hi + " there"
|
50
|
+
:col= "14em solid " + #123
|
51
|
+
:num= times:\ + 13
|
52
|
+
:col
|
53
|
+
:num= #f02 + 123.5
|
54
|
+
:col= #12A + #405162
|
55
|
+
|
56
|
+
#minus
|
57
|
+
:num
|
58
|
+
:num= 912 - 12
|
59
|
+
:col
|
60
|
+
:num= #fffffa - 5.2
|
61
|
+
:col= #abcdef - #fedcba
|
62
|
+
:unary
|
63
|
+
:num= -1
|
64
|
+
:const= -!neg
|
65
|
+
:paren= -(5 + 6)
|
66
|
+
:two= --12
|
67
|
+
:many= --------12
|
68
|
+
:crazy= -----(5 + ---!neg)
|
69
|
+
|
70
|
+
#times
|
71
|
+
:num
|
72
|
+
:num= 2 * 3.5
|
73
|
+
:col= 2 * #3a4b5c
|
74
|
+
:col
|
75
|
+
:num= #12468a * 0.5
|
76
|
+
:col= #121212 * #020304
|
77
|
+
|
78
|
+
#div
|
79
|
+
:num
|
80
|
+
:num= 10 / 3.0
|
81
|
+
:num2= 10 / 3
|
82
|
+
:col
|
83
|
+
:num= #12468a / 2
|
84
|
+
:col= #abcdef / #0f0f0f
|
85
|
+
|
86
|
+
#mod
|
87
|
+
:num
|
88
|
+
:num= 17 % 3
|
89
|
+
:col
|
90
|
+
:col= #5f6e7d % #10200a
|
91
|
+
:num= #aaabac % 3
|
92
|
+
|
93
|
+
#const
|
94
|
+
:escaped
|
95
|
+
:quote = "!foo"
|
96
|
+
:slash = \!foo
|
97
|
+
:default = !str !important
|