kitsune 0.0.13 → 0.0.14
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +1 -1
- data/app/views/admin/kitsune/models/index.html.erb +1 -3
- data/app/views/admin/kitsune/pages/edit.html.erb +1 -1
- data/app/views/admin/kitsune/pages/new.html.erb +1 -1
- data/app/views/admin/kitsune/records/_list.html.erb +1 -1
- data/app/views/admin/kitsune/records/edit.html.erb +1 -1
- data/app/views/admin/kitsune/records/new.html.erb +1 -1
- data/app/views/layouts/admin/kitsune.html.erb +21 -17
- data/generators/kitsune/kitsune_generator.rb +1 -1
- data/generators/kitsune/templates/images/back-arrow.gif +0 -0
- data/generators/kitsune/templates/images/box-shadow.png +0 -0
- data/generators/kitsune/templates/images/content-bg.gif +0 -0
- data/generators/kitsune/templates/images/grey-btn.png +0 -0
- data/generators/kitsune/templates/images/header-bg.gif +0 -0
- data/generators/kitsune/templates/images/header-link.png +0 -0
- data/generators/kitsune/templates/images/nicEditorIcons.gif +0 -0
- data/generators/kitsune/templates/stylesheets/global.css +213 -259
- data/generators/kitsune/templates/stylesheets/ie.css +0 -12
- data/lib/kitsune.rb +1 -1
- metadata +6 -2
data/Rakefile
CHANGED
@@ -2,7 +2,7 @@ require 'rake'
|
|
2
2
|
|
3
3
|
gem_spec = Gem::Specification.new do |gem_spec|
|
4
4
|
gem_spec.name = "kitsune"
|
5
|
-
gem_spec.version = "0.0.
|
5
|
+
gem_spec.version = "0.0.14"
|
6
6
|
gem_spec.summary = "Integrated Rails Content Management System."
|
7
7
|
gem_spec.email = "matt@toastyapps.com"
|
8
8
|
gem_spec.homepage = "http://github.com/toastyapps/kitsune"
|
@@ -1,4 +1,2 @@
|
|
1
|
-
<
|
2
|
-
Use the left menu to manage your site. Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
|
3
|
-
</div>
|
1
|
+
<p>Use the left menu to manage your site. Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
|
4
2
|
|
@@ -11,7 +11,7 @@
|
|
11
11
|
<% records.each do |record| %>
|
12
12
|
<tr class="<%= cycle('odd', 'even') %>">
|
13
13
|
<% model.columns(:display).each do |column| %>
|
14
|
-
<td><%=
|
14
|
+
<td><%= sanitize(model.display_for(record, column.name).to_s) %></td>
|
15
15
|
<% end %>
|
16
16
|
<td>
|
17
17
|
<% unless model.disabled?(:edit) %>
|
@@ -1,4 +1,5 @@
|
|
1
|
-
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
2
|
+
<html lang='en' xml:lang='en' xmlns='http://www.w3.org/1999/xhtml'>
|
2
3
|
<head>
|
3
4
|
<title>Kitsune CMS</title>
|
4
5
|
<%= stylesheet_link_tag 'kitsune/global.css' %>
|
@@ -11,29 +12,32 @@
|
|
11
12
|
<div id='content'>
|
12
13
|
<div id='header'>
|
13
14
|
<h1><%= link_to 'Kitsune CMS', :controller => 'admin/kitsune/models' %></h1>
|
14
|
-
<a href='/'>View Site</a>
|
15
|
+
<a href='/' class='view'>View Site</a>
|
15
16
|
</div>
|
16
17
|
<div class='kitsune_container'>
|
17
18
|
<div class='kitsune_right_container'>
|
18
|
-
<div class='kitsune_right'>
|
19
|
+
<div class='kitsune_right wrapper'>
|
19
20
|
<%= yield %>
|
20
21
|
</div>
|
21
22
|
</div>
|
22
23
|
<div class='kitsune_left'>
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
24
|
+
<div class='wrapper'>
|
25
|
+
<ul>
|
26
|
+
<% @models.each do |model| %>
|
27
|
+
<% if model.is_a? Hash %>
|
28
|
+
<% model.each do |key, value| %>
|
29
|
+
<li class='kitsune_category'><%= key %>
|
30
|
+
<% value.each do |inner_model| %>
|
31
|
+
<li class='kitsune_inner_model_link'><%= link_to inner_model.admin_name, :controller => 'admin/kitsune/records', :model_id => inner_model.object_class %></li>
|
32
|
+
<% end %>
|
33
|
+
</li>
|
34
|
+
<% end %>
|
35
|
+
<% else %>
|
36
|
+
<li class='kitsune_model_link'><%= link_to model.admin_name, :controller => 'admin/kitsune/records', :model_id => model.object_class %></li>
|
37
|
+
<% end %>
|
38
|
+
<% end %>
|
39
|
+
</ul>
|
40
|
+
</div>
|
37
41
|
</div>
|
38
42
|
</div>
|
39
43
|
</div>
|
@@ -17,7 +17,7 @@ class KitsuneGenerator < Rails::Generator::Base
|
|
17
17
|
m.file "stylesheets/global.css", "public/stylesheets/kitsune/global.css"
|
18
18
|
m.file "stylesheets/ie.css", "public/stylesheets/kitsune/ie.css"
|
19
19
|
m.directory "public/images/kitsune/"
|
20
|
-
%w[bg.
|
20
|
+
%w[back-arrow.gif box-shadow.png content-bg.gif header-bg.gif form-bg.gif header-link.png grey-btn.png nicEditorIcons.gif].each do |image|
|
21
21
|
m.file "images/#{image}", "public/images/kitsune/#{image}"
|
22
22
|
end
|
23
23
|
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
File without changes
|
@@ -1,183 +1,64 @@
|
|
1
|
-
/*
|
1
|
+
/* -------RESET------- */
|
2
2
|
html, body, div, span, applet, object, iframe,
|
3
3
|
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
|
4
4
|
a, abbr, acronym, address, big, cite, code,
|
5
|
-
del, dfn,
|
6
|
-
small, strike,
|
7
|
-
b, u, i, center,
|
5
|
+
del, dfn, font, img, ins, kbd, q, s, samp,
|
6
|
+
small, strike, sub, sup, tt, var,
|
8
7
|
dl, dt, dd, ol, ul, li,
|
9
8
|
fieldset, form, label, legend,
|
10
9
|
table, caption, tbody, tfoot, thead, tr, th, td {
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
10
|
+
margin: 0;
|
11
|
+
padding: 0;
|
12
|
+
border: 0;
|
13
|
+
outline: 0;
|
14
|
+
font-weight: inherit;
|
15
|
+
font-style: inherit;
|
16
|
+
font-size: 100%;
|
17
|
+
font-family: inherit;
|
18
|
+
vertical-align: baseline;
|
18
19
|
}
|
20
|
+
|
19
21
|
body {
|
20
|
-
|
21
|
-
|
22
|
-
ol, ul {
|
23
|
-
list-style: none;
|
24
|
-
}
|
25
|
-
blockquote, q {
|
26
|
-
quotes: none;
|
22
|
+
color: black;
|
23
|
+
background: white;
|
27
24
|
}
|
28
25
|
|
29
|
-
|
30
|
-
|
31
|
-
|
26
|
+
a {
|
27
|
+
color:#666;
|
28
|
+
text-decoration: none;
|
32
29
|
}
|
33
30
|
|
34
|
-
|
35
|
-
|
36
|
-
text-decoration: none;
|
37
|
-
}
|
38
|
-
del {
|
39
|
-
text-decoration: line-through;
|
31
|
+
ol, ul {
|
32
|
+
list-style: none;
|
40
33
|
}
|
41
34
|
|
42
|
-
/* tables still need 'cellspacing="0"' in the markup */
|
43
35
|
table {
|
44
|
-
|
45
|
-
|
36
|
+
border-collapse: separate;
|
37
|
+
border-spacing: 0;
|
46
38
|
}
|
47
39
|
|
48
|
-
|
49
|
-
|
50
|
-
|
40
|
+
caption, th, td {
|
41
|
+
text-align: left;
|
42
|
+
font-weight: normal;
|
51
43
|
}
|
52
44
|
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
blockquote:before, blockquote:after, q:before, q:after
|
57
|
-
{
|
58
|
-
/*
|
59
|
-
CSS 2; used to remove quotes in case "none" fails below.
|
60
|
-
*/
|
61
|
-
content: "";
|
62
|
-
/*
|
63
|
-
CSS 2.1; will remove quotes if supported, and override the above.
|
64
|
-
User-agents that don't understand "none" should ignore it, and
|
65
|
-
keep the above value. This is here for future compatibility,
|
66
|
-
though I'm not 100% convinced that it's a good idea...
|
67
|
-
*/
|
68
|
-
content: none;
|
45
|
+
blockquote:before, blockquote:after,
|
46
|
+
q:before, q:after {
|
47
|
+
content: "";
|
69
48
|
}
|
70
49
|
|
71
|
-
|
72
|
-
|
73
|
-
|
50
|
+
blockquote, q {
|
51
|
+
quotes: "" "";
|
52
|
+
}
|
74
53
|
|
75
54
|
|
55
|
+
/* -------COMMON------- */
|
76
56
|
body {
|
77
|
-
|
78
|
-
width: 100%;
|
79
|
-
margin: 0 auto;
|
80
|
-
background: #B0DDE2 url(/images/kitsune/bg.jpg) 0 0 repeat-x;
|
57
|
+
background-color: #eee;
|
81
58
|
color: #000;
|
82
59
|
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
|
83
|
-
|
84
|
-
|
85
|
-
}
|
86
|
-
|
87
|
-
/* -------HEADER------- */
|
88
|
-
|
89
|
-
#header {
|
90
|
-
width: 100%;
|
91
|
-
height: 38px;
|
92
|
-
|
93
|
-
}
|
94
|
-
|
95
|
-
#header h1 {
|
96
|
-
float: left;
|
97
|
-
padding-top: 8px;
|
98
|
-
margin-left: 15px;
|
99
|
-
}
|
100
|
-
|
101
|
-
#header > a {
|
102
|
-
height: 38px;
|
103
|
-
background: url(/images/kitsune/header-link.png) top left no-repeat;
|
104
|
-
width: 90px;
|
105
|
-
float: right;
|
106
|
-
margin-right: 15px;
|
107
|
-
color: #CCC;
|
108
|
-
font-size: 0.8em;
|
109
|
-
line-height: 38px;
|
110
|
-
text-align: center;
|
111
|
-
text-decoration:none;
|
112
|
-
}
|
113
|
-
|
114
|
-
#header > a:hover {
|
115
|
-
color: #FFF;
|
116
|
-
}
|
117
|
-
|
118
|
-
#header h1 a {
|
119
|
-
text-decoration: none;
|
120
|
-
color: #fff;
|
121
|
-
}
|
122
|
-
|
123
|
-
.kitsune_container {
|
124
|
-
width: 100%;
|
125
|
-
clear: both;
|
126
|
-
}
|
127
|
-
|
128
|
-
.kitsune_left {
|
129
|
-
background: #FFF;
|
130
|
-
border: 1px solid #CCC;
|
131
|
-
padding: 15px;
|
132
|
-
float: left;
|
133
|
-
width: 240px;
|
134
|
-
margin: 20px 0 0 20px;
|
135
|
-
}
|
136
|
-
|
137
|
-
.kitsune_right_container {
|
138
|
-
float: right;
|
139
|
-
width: 100%;
|
140
|
-
margin: 20px 0 0 -310px;
|
141
|
-
}
|
142
|
-
|
143
|
-
.kitsune_right {
|
144
|
-
background: #FFF;
|
145
|
-
border: 1px solid #CCC;
|
146
|
-
padding: 15px;
|
147
|
-
margin: 0 20px 0 310px;
|
148
|
-
}
|
149
|
-
|
150
|
-
#kitsune_record_header {
|
151
|
-
float:left;
|
152
|
-
width: 100%;
|
153
|
-
margin-bottom: 15px;
|
154
|
-
}
|
155
|
-
|
156
|
-
#kitsune_record_header h2 {
|
157
|
-
float:left;
|
158
|
-
width: 45%;
|
159
|
-
}
|
160
|
-
|
161
|
-
#kitsune_record_header #menu {
|
162
|
-
float: right;
|
163
|
-
}
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
/* ------BODY---------- */
|
168
|
-
|
169
|
-
#body {
|
170
|
-
width: 84%;
|
171
|
-
padding: 30px 3% 50px 3%;
|
172
|
-
margin: 40px 5% 10px 5%;
|
173
|
-
background-color: #fff;
|
174
|
-
|
175
|
-
}
|
176
|
-
|
177
|
-
|
178
|
-
/* ----- HEADINGS ----- */
|
179
|
-
h1, h2, h3, h4, h5 {
|
180
|
-
|
60
|
+
font-size: 14px;
|
61
|
+
line-height: 1.3em;
|
181
62
|
}
|
182
63
|
|
183
64
|
h1 {
|
@@ -185,7 +66,7 @@ h1 {
|
|
185
66
|
}
|
186
67
|
h2 {
|
187
68
|
font-size: 2em;
|
188
|
-
|
69
|
+
}
|
189
70
|
h3 {
|
190
71
|
font-size: 1.5em;
|
191
72
|
}
|
@@ -196,60 +77,18 @@ h5 {
|
|
196
77
|
font-size: 1em;
|
197
78
|
}
|
198
79
|
|
199
|
-
/* ----- PARAGRAPHS ----- */
|
200
80
|
p {
|
201
81
|
font-size: 1em;
|
202
82
|
}
|
203
83
|
|
204
|
-
/* ----- LISTS ----- */
|
205
|
-
|
206
|
-
li {
|
207
|
-
}
|
208
|
-
li p {
|
209
|
-
}
|
210
|
-
ol {
|
211
|
-
}
|
212
|
-
ul {
|
213
|
-
}
|
214
|
-
ol li {
|
215
|
-
}
|
216
|
-
ul li {
|
217
|
-
}
|
218
|
-
|
219
|
-
/* ----- IMAGES ----- */
|
220
|
-
|
221
|
-
img {
|
222
|
-
}
|
223
|
-
img a {
|
224
|
-
}
|
225
|
-
img a:hover {
|
226
|
-
}
|
227
|
-
|
228
|
-
/* ----- LINKS ----- */
|
229
|
-
|
230
|
-
a {
|
231
|
-
}
|
232
|
-
a:hover {
|
233
|
-
}
|
234
|
-
a:visited, a:active, a:focus {
|
235
|
-
}
|
236
|
-
a:visited {
|
237
|
-
}
|
238
|
-
a:active {
|
239
|
-
}
|
240
|
-
a:focus {
|
241
|
-
}
|
242
|
-
|
243
|
-
/* ----- FORMS ----- */
|
244
84
|
|
245
85
|
form {
|
246
86
|
}
|
247
87
|
fieldset {
|
248
|
-
background: #F6F6F6
|
88
|
+
background: #F6F6F6;
|
249
89
|
border: 1px solid #eee;
|
250
|
-
padding: 30px
|
90
|
+
padding: 30px 0 0 0;
|
251
91
|
}
|
252
|
-
|
253
92
|
h2.legend {
|
254
93
|
width: 100%;
|
255
94
|
border-bottom: 1px solid #eee;
|
@@ -258,7 +97,6 @@ h2.legend {
|
|
258
97
|
margin-bottom: 10px;
|
259
98
|
color: #555;
|
260
99
|
}
|
261
|
-
|
262
100
|
label {
|
263
101
|
font-weight: bold;
|
264
102
|
font-size: 1em;
|
@@ -266,50 +104,73 @@ label {
|
|
266
104
|
text-transform: ;
|
267
105
|
color: #aaa;
|
268
106
|
}
|
269
|
-
input {
|
270
|
-
|
271
|
-
}
|
272
|
-
textarea {
|
273
|
-
}
|
274
107
|
input, textarea {
|
275
108
|
font-family: "Lucida Grande", "Lucida Sans", Arial, sans-serif;
|
276
109
|
font-size: .9em;
|
277
110
|
border: 1px solid #ccc;
|
278
111
|
padding: 5px;
|
279
112
|
}
|
280
|
-
|
281
113
|
input:focus, textarea:focus {
|
282
114
|
border: 1px solid #e1cd30;
|
283
115
|
background-color: #fbffeb;
|
284
116
|
}
|
285
|
-
|
286
|
-
|
287
|
-
|
288
117
|
select {
|
289
118
|
font-family: "Lucida Grande", "Lucida Sans", Arial, sans-serif;
|
290
119
|
font-size: .9em;
|
291
|
-
|
292
|
-
}
|
293
|
-
optgroup {
|
294
|
-
}
|
295
|
-
option {
|
296
120
|
}
|
297
121
|
|
298
|
-
fieldset {
|
122
|
+
fieldset {
|
123
|
+
clear: both;
|
124
|
+
}
|
299
125
|
|
300
|
-
fieldset fieldset legend {
|
301
|
-
|
302
|
-
|
126
|
+
fieldset fieldset legend {
|
127
|
+
padding: 0 0 1.5em; font-size: 1em;
|
128
|
+
}
|
129
|
+
* html legend {
|
130
|
+
margin-left: -7px; /* ie6 */
|
131
|
+
}
|
132
|
+
*+html legend {
|
133
|
+
margin-left: -7px; /* ie7 */
|
134
|
+
}
|
303
135
|
|
304
|
-
form .field, form .buttons
|
305
|
-
|
306
|
-
|
307
|
-
|
308
|
-
|
309
|
-
form
|
136
|
+
form .field, form .buttons, form .submit_button {
|
137
|
+
clear: both;
|
138
|
+
margin: 0 0 1.5em;
|
139
|
+
padding:0 20px;
|
140
|
+
}
|
141
|
+
form .field label {
|
142
|
+
display: block;
|
143
|
+
}
|
144
|
+
form ul.fields {
|
145
|
+
margin: 0 0 1.5em;
|
146
|
+
padding: 0;
|
147
|
+
}
|
148
|
+
form ul.fields li {
|
149
|
+
list-style-type: none;
|
150
|
+
margin: 0;
|
151
|
+
}
|
152
|
+
form ul.inline li, form ul.inline label {
|
153
|
+
display: inline;
|
154
|
+
}
|
155
|
+
form ul.inline {
|
156
|
+
|
157
|
+
}
|
158
|
+
form ul.inline li {
|
159
|
+
padding: 0 .75em 0 0;
|
160
|
+
}
|
161
|
+
form .submit_button {
|
162
|
+
background-color:#eee;
|
163
|
+
border-top:1px solid #ddd;
|
164
|
+
margin:0;
|
165
|
+
padding:15px 20px;
|
166
|
+
}
|
310
167
|
|
311
|
-
input.radio, input.checkbox {
|
312
|
-
|
168
|
+
input.radio, input.checkbox {
|
169
|
+
vertical-align: top;
|
170
|
+
}
|
171
|
+
label, button, input.submit, input.image {
|
172
|
+
cursor: pointer;
|
173
|
+
}
|
313
174
|
input.submit {
|
314
175
|
font-family: "Helvetica Neue", Arial, sans-serif;
|
315
176
|
font-weight: bold;
|
@@ -318,7 +179,7 @@ input.submit {
|
|
318
179
|
color: #fff;
|
319
180
|
border: none;
|
320
181
|
padding: 4px 20px;
|
321
|
-
|
182
|
+
}
|
322
183
|
* html input.radio, * html input.checkbox {vertical-align: middle;} /* ie6 */
|
323
184
|
*+html input.radio, *+html input.checkbox {vertical-align: middle;} /* ie7 */
|
324
185
|
|
@@ -337,8 +198,6 @@ table {
|
|
337
198
|
width: 100%;
|
338
199
|
padding: 0;
|
339
200
|
background: #fff;
|
340
|
-
|
341
|
-
|
342
201
|
}
|
343
202
|
|
344
203
|
caption {
|
@@ -350,10 +209,9 @@ caption {
|
|
350
209
|
th {
|
351
210
|
color: #4f6b72;
|
352
211
|
border-bottom: 1px solid #ddd;
|
353
|
-
|
354
212
|
text-align: left;
|
355
213
|
padding: 6px 6px 6px 12px;
|
356
|
-
background: #fff;
|
214
|
+
background: #fff;
|
357
215
|
color: #555;
|
358
216
|
}
|
359
217
|
|
@@ -367,21 +225,20 @@ th.nobg {
|
|
367
225
|
td {
|
368
226
|
border-bottom: 1px solid #eee;
|
369
227
|
background: #f6f6f6;
|
370
|
-
padding: 8px 6px 8px 12px;
|
371
228
|
color: #333;
|
372
229
|
font-size: .9em;
|
230
|
+
overflow:hidden;
|
231
|
+
max-width:300px;
|
232
|
+
padding: 8px 6px 8px 12px;
|
233
|
+
white-space:nowrap;
|
373
234
|
}
|
374
235
|
|
375
|
-
|
376
236
|
tr.alt, td.alt {
|
377
237
|
background: #F5FAFA;
|
378
238
|
color: #797268;
|
379
239
|
}
|
380
240
|
|
381
241
|
|
382
|
-
|
383
|
-
|
384
|
-
|
385
242
|
/* BUTTON STYLES */
|
386
243
|
button {
|
387
244
|
position: relative;
|
@@ -390,8 +247,6 @@ button {
|
|
390
247
|
cursor: pointer;
|
391
248
|
overflow: visible; /* removes extra side padding in IE */
|
392
249
|
margin: 0 0;
|
393
|
-
|
394
|
-
|
395
250
|
}
|
396
251
|
|
397
252
|
button::-moz-focus-inner {
|
@@ -414,31 +269,130 @@ button span {
|
|
414
269
|
|
415
270
|
/* OPTIONAL BUTTON STYLES */
|
416
271
|
button.submitBtn {
|
417
|
-
|
418
|
-
|
419
|
-
|
420
|
-
|
421
|
-
|
422
|
-
|
423
|
-
|
424
|
-
|
425
|
-
|
426
|
-
font-size: 18px;
|
272
|
+
background: transparent url('/images/kitsune/grey-btn.png') no-repeat left top;
|
273
|
+
color: #000;
|
274
|
+
display:block;
|
275
|
+
height:38px;
|
276
|
+
text-indent:-9999em;
|
277
|
+
width:92px;
|
278
|
+
}
|
279
|
+
button.submitBtn:hover {
|
280
|
+
background-position:left bottom;
|
427
281
|
}
|
428
|
-
|
429
|
-
button.submitBtn span {
|
430
|
-
padding: 6px 0 0 25px;
|
431
|
-
height:28px;
|
432
|
-
background: transparent url(/images/kitsune/grey-btn.png) no-repeat left top;
|
433
282
|
|
283
|
+
#header {
|
284
|
+
background:url('/images/kitsune/header-bg.gif') repeat-x left top;
|
285
|
+
height: 38px;
|
286
|
+
width: 100%;
|
434
287
|
}
|
435
|
-
|
436
|
-
|
437
|
-
|
288
|
+
#header a.view {
|
289
|
+
background: url('/images/kitsune/header-link.png') top left no-repeat;
|
290
|
+
display: block;
|
291
|
+
float: right;
|
292
|
+
height: 27px;
|
293
|
+
margin: 5px 15px 0 0;
|
294
|
+
text-indent: -9999em;
|
295
|
+
width: 92px;
|
296
|
+
}
|
297
|
+
#header a.view:hover {
|
298
|
+
color: #FFF;
|
299
|
+
}
|
300
|
+
#header h1 {
|
301
|
+
float: left;
|
302
|
+
padding-top: 8px;
|
303
|
+
margin-left: 15px;
|
304
|
+
}
|
305
|
+
#header h1 a {
|
306
|
+
text-decoration: none;
|
307
|
+
color: #fff;
|
308
|
+
}
|
309
|
+
|
310
|
+
.kitsune_container {
|
311
|
+
background:url('/images/kitsune/content-bg.gif') repeat-x left top;
|
312
|
+
padding-top: 20px;
|
313
|
+
position: relative;
|
314
|
+
width: 100%;
|
438
315
|
}
|
439
|
-
|
440
|
-
|
441
|
-
|
316
|
+
.kitsune_left {
|
317
|
+
background:url('/images/kitsune/box-shadow.png') no-repeat right bottom;
|
318
|
+
left: 20px;
|
319
|
+
padding: 0 4px 4px 0;
|
320
|
+
position: absolute;
|
321
|
+
top: 20px;
|
322
|
+
width: 275px;
|
323
|
+
}
|
324
|
+
.kitsune_left .wrapper {
|
325
|
+
background:#fff;
|
326
|
+
border: 1px solid #ccc;
|
327
|
+
padding: 15px;
|
328
|
+
}
|
329
|
+
|
330
|
+
.kitsune_right_container {
|
331
|
+
background:url('/images/kitsune/box-shadow.png') no-repeat right bottom;
|
332
|
+
margin: 0 20px 0 310px;
|
333
|
+
padding: 0 4px 4px 0;
|
334
|
+
}
|
335
|
+
.kitsune_right {
|
336
|
+
background: #fff;
|
337
|
+
border: 1px solid #ccc;
|
338
|
+
padding: 0 15px 15px;
|
339
|
+
}
|
340
|
+
.kitsune_right p {
|
341
|
+
margin:1em 0;
|
342
|
+
}
|
343
|
+
|
344
|
+
#kitsune_record_header {
|
345
|
+
position:relative;
|
346
|
+
width: 100%;
|
347
|
+
margin-bottom: 15px;
|
442
348
|
}
|
349
|
+
#kitsune_record_header h2 {
|
350
|
+
padding-top:15px;
|
351
|
+
}
|
352
|
+
#kitsune_record_header #menu {
|
353
|
+
position:absolute;
|
354
|
+
right:0;
|
355
|
+
text-transform:lowercase;
|
356
|
+
top:15px;
|
357
|
+
}
|
358
|
+
#kitsune_record_header #menu a {
|
359
|
+
display: block;
|
360
|
+
line-height:1;
|
361
|
+
text-align:right;
|
362
|
+
width: 51px;
|
363
|
+
}
|
364
|
+
#kitsune_record_header #menu.with_form a {
|
365
|
+
background:url('/images/kitsune/back-arrow.gif') no-repeat left 100px;
|
366
|
+
}
|
367
|
+
#kitsune_record_header #menu a:hover {
|
368
|
+
background-position: left 5px;
|
369
|
+
}
|
443
370
|
|
371
|
+
#body {
|
372
|
+
width: 84%;
|
373
|
+
padding: 30px 3% 50px 3%;
|
374
|
+
margin: 40px 5% 10px 5%;
|
375
|
+
background-color: #fff;
|
376
|
+
}
|
444
377
|
|
378
|
+
/* Clearfix */
|
379
|
+
.wrapper:after {
|
380
|
+
content: ".";
|
381
|
+
display: block;
|
382
|
+
clear: both;
|
383
|
+
visibility: hidden;
|
384
|
+
line-height: 0;
|
385
|
+
height: 0;
|
386
|
+
}
|
387
|
+
|
388
|
+
.wrapper {
|
389
|
+
display: inline-block;
|
390
|
+
}
|
391
|
+
|
392
|
+
html[xmlns] .wrapper {
|
393
|
+
display: block;
|
394
|
+
}
|
395
|
+
|
396
|
+
* html .wrapper {
|
397
|
+
height: 1%;
|
398
|
+
}
|
data/lib/kitsune.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: kitsune
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.14
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matthew Mongeau <matt@toastyapps.com>
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-12-
|
12
|
+
date: 2009-12-02 00:00:00 -05:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
@@ -56,9 +56,13 @@ files:
|
|
56
56
|
- config/kitsune_routes.rb
|
57
57
|
- generators/kitsune/kitsune_generator.rb
|
58
58
|
- generators/kitsune/lib/insert_commands.rb
|
59
|
+
- generators/kitsune/templates/images/back-arrow.gif
|
59
60
|
- generators/kitsune/templates/images/bg.jpg
|
61
|
+
- generators/kitsune/templates/images/box-shadow.png
|
62
|
+
- generators/kitsune/templates/images/content-bg.gif
|
60
63
|
- generators/kitsune/templates/images/form-bg.gif
|
61
64
|
- generators/kitsune/templates/images/grey-btn.png
|
65
|
+
- generators/kitsune/templates/images/header-bg.gif
|
62
66
|
- generators/kitsune/templates/images/header-link.png
|
63
67
|
- generators/kitsune/templates/images/nicEditorIcons.gif
|
64
68
|
- generators/kitsune/templates/javascripts/nicEdit.js
|