beef-admin_area 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.document +5 -0
- data/.gitignore +5 -0
- data/LICENSE +20 -0
- data/README.rdoc +7 -0
- data/Rakefile +59 -0
- data/VERSION +1 -0
- data/admin_area.gemspec +168 -0
- data/app/controllers/admin/base_controller.rb +8 -0
- data/app/controllers/admin/settings_controller.rb +43 -0
- data/app/controllers/admin/users_controller.rb +74 -0
- data/app/helpers/admin/base_helper.rb +59 -0
- data/app/helpers/admin/settings_helper.rb +8 -0
- data/app/helpers/admin/users_helper.rb +2 -0
- data/app/models/settings.rb +92 -0
- data/app/views/admin/base/index.html.erb +2 -0
- data/app/views/admin/settings/_form.html.erb +31 -0
- data/app/views/admin/settings/update.js.rjs +1 -0
- data/app/views/admin/users/index.html.erb +39 -0
- data/app/views/admin/users/show.html.erb +37 -0
- data/app/views/layouts/admin.html.erb +68 -0
- data/config/routes.rb +8 -0
- data/generators/admin_area_files/USAGE +8 -0
- data/generators/admin_area_files/admin_area_files_generator.rb +114 -0
- data/generators/admin_area_files/lib/insert_commands.rb +47 -0
- data/generators/admin_area_files/templates/app/models/content_sweeper.rb +43 -0
- data/generators/admin_area_files/templates/app/views/admin/settings/show.html.erb +52 -0
- data/generators/admin_area_files/templates/config/initializers/admin_area.rb +2 -0
- data/generators/admin_area_files/templates/config/initializers/settings.rb +8 -0
- data/generators/admin_area_files/templates/lib/tasks/admin_area.rake +10 -0
- data/generators/admin_area_files/templates/migration.rb +21 -0
- data/generators/admin_area_files/templates/public/images/admin/accept_button.gif +0 -0
- data/generators/admin_area_files/templates/public/images/admin/add.png +0 -0
- data/generators/admin_area_files/templates/public/images/admin/application_cascade.png +0 -0
- data/generators/admin_area_files/templates/public/images/admin/arrow_left.gif +0 -0
- data/generators/admin_area_files/templates/public/images/admin/arrow_right.gif +0 -0
- data/generators/admin_area_files/templates/public/images/admin/button_bg.gif +0 -0
- data/generators/admin_area_files/templates/public/images/admin/cancel_button.gif +0 -0
- data/generators/admin_area_files/templates/public/images/admin/cursor_arrow.gif +0 -0
- data/generators/admin_area_files/templates/public/images/admin/delete_button.gif +0 -0
- data/generators/admin_area_files/templates/public/images/admin/down_icon.gif +0 -0
- data/generators/admin_area_files/templates/public/images/admin/edit_button.gif +0 -0
- data/generators/admin_area_files/templates/public/images/admin/file-uploads.png +0 -0
- data/generators/admin_area_files/templates/public/images/admin/folder.png +0 -0
- data/generators/admin_area_files/templates/public/images/admin/folder_image.png +0 -0
- data/generators/admin_area_files/templates/public/images/admin/head_bg.gif +0 -0
- data/generators/admin_area_files/templates/public/images/admin/image_add.png +0 -0
- data/generators/admin_area_files/templates/public/images/admin/images-pointer.png +0 -0
- data/generators/admin_area_files/templates/public/images/admin/info_bg.gif +0 -0
- data/generators/admin_area_files/templates/public/images/admin/nav_bg.gif +0 -0
- data/generators/admin_area_files/templates/public/images/admin/over_button_bg.gif +0 -0
- data/generators/admin_area_files/templates/public/images/admin/page_bg.gif +0 -0
- data/generators/admin_area_files/templates/public/images/admin/page_white.png +0 -0
- data/generators/admin_area_files/templates/public/images/admin/page_white_get.png +0 -0
- data/generators/admin_area_files/templates/public/images/admin/page_white_link.png +0 -0
- data/generators/admin_area_files/templates/public/images/admin/page_white_stack.png +0 -0
- data/generators/admin_area_files/templates/public/images/admin/picture.png +0 -0
- data/generators/admin_area_files/templates/public/images/admin/picture_medium.png +0 -0
- data/generators/admin_area_files/templates/public/images/admin/picture_square.png +0 -0
- data/generators/admin_area_files/templates/public/images/admin/picture_thumb.png +0 -0
- data/generators/admin_area_files/templates/public/images/admin/pictures.png +0 -0
- data/generators/admin_area_files/templates/public/images/admin/unapproved.png +0 -0
- data/generators/admin_area_files/templates/public/images/admin/up_icon.gif +0 -0
- data/generators/admin_area_files/templates/public/images/lightwindow/Thumbs.db +0 -0
- data/generators/admin_area_files/templates/public/images/lightwindow/ajax-loading.gif +0 -0
- data/generators/admin_area_files/templates/public/images/lightwindow/arrow-down.gif +0 -0
- data/generators/admin_area_files/templates/public/images/lightwindow/arrow-up.gif +0 -0
- data/generators/admin_area_files/templates/public/images/lightwindow/black-70.png +0 -0
- data/generators/admin_area_files/templates/public/images/lightwindow/black.png +0 -0
- data/generators/admin_area_files/templates/public/images/lightwindow/nextlabel.gif +0 -0
- data/generators/admin_area_files/templates/public/images/lightwindow/pattern_148-70.png +0 -0
- data/generators/admin_area_files/templates/public/images/lightwindow/pattern_148.gif +0 -0
- data/generators/admin_area_files/templates/public/images/lightwindow/prevlabel.gif +0 -0
- data/generators/admin_area_files/templates/public/images/textile-editor/background.png +0 -0
- data/generators/admin_area_files/templates/public/images/textile-editor/blockquote.png +0 -0
- data/generators/admin_area_files/templates/public/images/textile-editor/bold.png +0 -0
- data/generators/admin_area_files/templates/public/images/textile-editor/center.png +0 -0
- data/generators/admin_area_files/templates/public/images/textile-editor/h1.png +0 -0
- data/generators/admin_area_files/templates/public/images/textile-editor/h2.png +0 -0
- data/generators/admin_area_files/templates/public/images/textile-editor/h3.png +0 -0
- data/generators/admin_area_files/templates/public/images/textile-editor/h4.png +0 -0
- data/generators/admin_area_files/templates/public/images/textile-editor/h5.png +0 -0
- data/generators/admin_area_files/templates/public/images/textile-editor/h6.png +0 -0
- data/generators/admin_area_files/templates/public/images/textile-editor/indent.png +0 -0
- data/generators/admin_area_files/templates/public/images/textile-editor/italic.png +0 -0
- data/generators/admin_area_files/templates/public/images/textile-editor/justify.png +0 -0
- data/generators/admin_area_files/templates/public/images/textile-editor/left.png +0 -0
- data/generators/admin_area_files/templates/public/images/textile-editor/link.png +0 -0
- data/generators/admin_area_files/templates/public/images/textile-editor/list_bullets.png +0 -0
- data/generators/admin_area_files/templates/public/images/textile-editor/list_numbers.png +0 -0
- data/generators/admin_area_files/templates/public/images/textile-editor/omega.png +0 -0
- data/generators/admin_area_files/templates/public/images/textile-editor/outdent.png +0 -0
- data/generators/admin_area_files/templates/public/images/textile-editor/paragraph.png +0 -0
- data/generators/admin_area_files/templates/public/images/textile-editor/preview.png +0 -0
- data/generators/admin_area_files/templates/public/images/textile-editor/right.png +0 -0
- data/generators/admin_area_files/templates/public/images/textile-editor/strikethrough.png +0 -0
- data/generators/admin_area_files/templates/public/images/textile-editor/underline.png +0 -0
- data/generators/admin_area_files/templates/public/javascripts/admin/application.js +185 -0
- data/generators/admin_area_files/templates/public/javascripts/lightwindow.js +1921 -0
- data/generators/admin_area_files/templates/public/javascripts/textile-editor-config.js +107 -0
- data/generators/admin_area_files/templates/public/javascripts/textile-editor.js +788 -0
- data/generators/admin_area_files/templates/public/stylesheets/admin/handheld.css +6 -0
- data/generators/admin_area_files/templates/public/stylesheets/admin/ie.css +21 -0
- data/generators/admin_area_files/templates/public/stylesheets/admin/print.css +27 -0
- data/generators/admin_area_files/templates/public/stylesheets/admin/screen.css +996 -0
- data/generators/admin_area_files/templates/public/stylesheets/admin/theme-1.0.css +131 -0
- data/generators/admin_area_files/templates/public/stylesheets/lightwindow.css +376 -0
- data/generators/admin_area_files/templates/public/stylesheets/textile-editor.css +60 -0
- data/generators/admin_scaffold/USAGE +8 -0
- data/generators/admin_scaffold/admin_scaffold_generator.rb +53 -0
- data/generators/admin_scaffold/lib/insert_commands.rb +61 -0
- data/generators/admin_scaffold/templates/admin_controller.rb +83 -0
- data/generators/admin_scaffold/templates/admin_index.html.erb +38 -0
- data/generators/admin_scaffold/templates/admin_show.html.erb +16 -0
- data/generators/admin_scaffold/templates/helper.rb +2 -0
- data/generators/admin_scaffold/templates/helper_test.rb +4 -0
- data/generators/admin_scaffold/templates/layout.html.erb +17 -0
- data/generators/admin_scaffold/templates/style.css +54 -0
- data/generators/admin_scaffold/templates/view_controller.rb +14 -0
- data/generators/admin_scaffold/templates/view_index.html.erb +17 -0
- data/lib/admin_area.rb +82 -0
- data/rails/init.rb +4 -0
- data/test/admin_area_test.rb +7 -0
- data/test/test_helper.rb +10 -0
- metadata +206 -0
@@ -0,0 +1,21 @@
|
|
1
|
+
#status {
|
2
|
+
position: relative;
|
3
|
+
top: -7px;
|
4
|
+
}
|
5
|
+
|
6
|
+
div#main-content, div#sub-content{
|
7
|
+
padding: 0 10px 10px 10px;
|
8
|
+
}
|
9
|
+
|
10
|
+
input{
|
11
|
+
padding: 0;
|
12
|
+
}
|
13
|
+
|
14
|
+
#password-meter {
|
15
|
+
margin-left:5px;
|
16
|
+
margin-top: -14px;
|
17
|
+
}
|
18
|
+
|
19
|
+
ul#topnav {
|
20
|
+
height: 1%;
|
21
|
+
}
|
@@ -0,0 +1,27 @@
|
|
1
|
+
body {
|
2
|
+
font-size: 11pt;
|
3
|
+
font-family: arial, verdana, helvetica, sans-serif;
|
4
|
+
color: #000000;
|
5
|
+
background-color: #ffffff;
|
6
|
+
}
|
7
|
+
|
8
|
+
ul, li {
|
9
|
+
font-weight: bold;
|
10
|
+
list-style-type: none;
|
11
|
+
display: inline;
|
12
|
+
margin: 0;
|
13
|
+
padding: 0;
|
14
|
+
}
|
15
|
+
|
16
|
+
.print {
|
17
|
+
display: block;
|
18
|
+
}
|
19
|
+
|
20
|
+
form, h1, a, div#footerNav {
|
21
|
+
display: none;
|
22
|
+
}
|
23
|
+
|
24
|
+
div.print {
|
25
|
+
border-top: 1px solid #000;
|
26
|
+
padding-top: 10px;
|
27
|
+
}
|
@@ -0,0 +1,996 @@
|
|
1
|
+
body {
|
2
|
+
background-color: #fff;
|
3
|
+
font-family: "Lucida Sans Unicode", "Lucida Grande", Arial, Verdana, sans-serif;
|
4
|
+
background: #fcfcf6 url(/images/admin/page_bg.gif) repeat-x;
|
5
|
+
font-size: 10px;
|
6
|
+
}
|
7
|
+
|
8
|
+
|
9
|
+
body, h1, h2, h3, h4, h5, h6, ul, li, form, input, dl, dt, dd, textarea, table, th, input {
|
10
|
+
margin: 0;
|
11
|
+
padding: 0;
|
12
|
+
}
|
13
|
+
|
14
|
+
a {
|
15
|
+
text-decoration: none;
|
16
|
+
}
|
17
|
+
|
18
|
+
/*Font Colours*/
|
19
|
+
form p,
|
20
|
+
form.setting-form,
|
21
|
+
label,
|
22
|
+
legend,
|
23
|
+
div#footer a,
|
24
|
+
div#footer a:active,
|
25
|
+
div#footer a:visited,
|
26
|
+
div#footer p,
|
27
|
+
table tr.actionbar td,
|
28
|
+
table th {
|
29
|
+
color: #818181;
|
30
|
+
}
|
31
|
+
|
32
|
+
.in-place-edit span,
|
33
|
+
div.flash,
|
34
|
+
div#header h1,
|
35
|
+
div#header h1 strong,
|
36
|
+
ul#status li a,
|
37
|
+
ul#status li a:active,
|
38
|
+
ul#status li a:visited,
|
39
|
+
ul#status li,
|
40
|
+
.progress-bar,
|
41
|
+
.pagination span.current{
|
42
|
+
color: #fff;
|
43
|
+
}
|
44
|
+
|
45
|
+
a,
|
46
|
+
div#main-content h2,
|
47
|
+
div#main-content h1,
|
48
|
+
div#sub-content h2,
|
49
|
+
dl#asset-browser dt{
|
50
|
+
color: #7b8227;
|
51
|
+
}
|
52
|
+
|
53
|
+
a:hover,
|
54
|
+
dl#asset-browser dt:hover,
|
55
|
+
div#sub-content h2.sfhover {
|
56
|
+
color: #b2bd3e;
|
57
|
+
}
|
58
|
+
|
59
|
+
legend{
|
60
|
+
font-size: 1.5em;
|
61
|
+
font-weight: bold;
|
62
|
+
padding: 5px 0 0 0;
|
63
|
+
}
|
64
|
+
|
65
|
+
|
66
|
+
ul#settings-menu li{
|
67
|
+
list-style-type: none;
|
68
|
+
float: left;
|
69
|
+
border-left: 1px solid #b2bd3e;
|
70
|
+
padding: 0 5px;
|
71
|
+
margin: 10px 0;
|
72
|
+
}
|
73
|
+
|
74
|
+
ul#settings-menu li:first-child{
|
75
|
+
border-left: none;
|
76
|
+
}
|
77
|
+
|
78
|
+
|
79
|
+
|
80
|
+
.in-place-edit span {
|
81
|
+
background-color: #b2bd3e;
|
82
|
+
font-weight: bold;
|
83
|
+
padding: 5px;
|
84
|
+
}
|
85
|
+
|
86
|
+
.drop-down {
|
87
|
+
background: url("/images/admin/up_icon.gif") right center no-repeat;
|
88
|
+
}
|
89
|
+
|
90
|
+
.open {
|
91
|
+
background: url("/images/admin/down_icon.gif") right center no-repeat;
|
92
|
+
}
|
93
|
+
|
94
|
+
div.flash {
|
95
|
+
background-color: #13CC00;
|
96
|
+
font-weight: bold;
|
97
|
+
font-size: 1.2em;
|
98
|
+
margin: 0 15px;
|
99
|
+
height: 3em;
|
100
|
+
padding: 0 10px;
|
101
|
+
line-height: 3em;
|
102
|
+
}
|
103
|
+
|
104
|
+
div#flash-error {
|
105
|
+
background-color: red;
|
106
|
+
}
|
107
|
+
|
108
|
+
/*MAIN LAYOUT*/
|
109
|
+
|
110
|
+
div#header {
|
111
|
+
background: #000 url(/images/admin/head_bg.gif) repeat-x;
|
112
|
+
border-bottom: 5px solid #b2bd3e;
|
113
|
+
height: 95px;
|
114
|
+
}
|
115
|
+
|
116
|
+
div#content-area {
|
117
|
+
margin: 10px 0 20px 30px;
|
118
|
+
}
|
119
|
+
|
120
|
+
div#main-content, div#sub-content {
|
121
|
+
background-color: #fff;
|
122
|
+
float: left;
|
123
|
+
margin: 0 1% 20px 0;
|
124
|
+
padding: 0 10px;
|
125
|
+
}
|
126
|
+
|
127
|
+
body#base div#main-content, body#base div#sub-content {
|
128
|
+
background: none;
|
129
|
+
}
|
130
|
+
|
131
|
+
body#base .module {
|
132
|
+
background-color: #fff;
|
133
|
+
padding: 10px;
|
134
|
+
margin: 10px;
|
135
|
+
}
|
136
|
+
|
137
|
+
body#base .module h2 {
|
138
|
+
margin: 0 0 10px 0;
|
139
|
+
}
|
140
|
+
|
141
|
+
div#main-content {
|
142
|
+
width: 60%;
|
143
|
+
}
|
144
|
+
|
145
|
+
div#sub-content {
|
146
|
+
width: 30%;
|
147
|
+
padding-bottom: 20px;
|
148
|
+
}
|
149
|
+
|
150
|
+
div#sub-content h2.sfhover {
|
151
|
+
cursor: pointer;
|
152
|
+
}
|
153
|
+
|
154
|
+
div#main-column form {
|
155
|
+
margin-top: 20px;
|
156
|
+
}
|
157
|
+
|
158
|
+
|
159
|
+
div#footer {
|
160
|
+
margin: 0 0 0 30px;
|
161
|
+
padding: 8px 5px;
|
162
|
+
clear: both;
|
163
|
+
border-top: 1px solid #afafaf;
|
164
|
+
}
|
165
|
+
|
166
|
+
div#errorExplanation {
|
167
|
+
margin: 10px 0 10px 0;
|
168
|
+
color: #444;
|
169
|
+
}
|
170
|
+
|
171
|
+
div#errorExplanation ul {
|
172
|
+
list-style: decimal;
|
173
|
+
margin: 10px 0 0 20px;
|
174
|
+
}
|
175
|
+
|
176
|
+
.fieldWithErrors {
|
177
|
+
display: inline;
|
178
|
+
}
|
179
|
+
|
180
|
+
.error {
|
181
|
+
background-color: red !important;
|
182
|
+
}
|
183
|
+
|
184
|
+
/*MAIN LAYOUT*/
|
185
|
+
|
186
|
+
div#header h1 {
|
187
|
+
font: normal 1.6em Helvetica, Arial, Verdana, sans-serif;
|
188
|
+
padding: 20px 0 0 30px;
|
189
|
+
}
|
190
|
+
|
191
|
+
div#header h1 strong {
|
192
|
+
font: bold 1.5em Helvetica, Arial, Verdana, sans-serif;
|
193
|
+
display: block;
|
194
|
+
}
|
195
|
+
|
196
|
+
div#main-content h1, div.module h2, div#sub-content h2 {
|
197
|
+
font: bold 1.6em Helvetica, Arial, Verdana, sans-serif;
|
198
|
+
padding: 10px 0 5px;
|
199
|
+
border-bottom: 1px solid #afafaf;
|
200
|
+
text-transform: capitalize;
|
201
|
+
|
202
|
+
}
|
203
|
+
|
204
|
+
div.module h2 {
|
205
|
+
font: bold 1.5em Helvetica, Arial, Verdana, sans-serif;
|
206
|
+
}
|
207
|
+
|
208
|
+
table.module {
|
209
|
+
background-color:#FFFFFF;
|
210
|
+
border-collapse:separate;
|
211
|
+
border-spacing:0;
|
212
|
+
margin:0;
|
213
|
+
table-layout:fixed;
|
214
|
+
width: 100%;
|
215
|
+
}
|
216
|
+
|
217
|
+
table.module thead th {
|
218
|
+
border-bottom: 1px solid #afafaf !important;
|
219
|
+
}
|
220
|
+
|
221
|
+
table.module tfoot th {
|
222
|
+
border-top: 1px solid #afafaf !important;
|
223
|
+
}
|
224
|
+
|
225
|
+
table.module tbody tr {
|
226
|
+
border-bottom: 1px solid #afafaf;
|
227
|
+
border-top: 1px solid #afafaf;
|
228
|
+
}
|
229
|
+
|
230
|
+
table.module tr th {
|
231
|
+
padding: 7px 7px 8px !important;
|
232
|
+
|
233
|
+
}
|
234
|
+
|
235
|
+
table.module tr td {
|
236
|
+
padding: 7px 7px 8px !important;
|
237
|
+
}
|
238
|
+
|
239
|
+
div#main-content div.module h2 {
|
240
|
+
border-bottom: 1px solid #afafaf;
|
241
|
+
}
|
242
|
+
|
243
|
+
div#main-content h2 {
|
244
|
+
margin-top: 10px;
|
245
|
+
}
|
246
|
+
|
247
|
+
body#help h3 {
|
248
|
+
margin-top: 40px;
|
249
|
+
}
|
250
|
+
|
251
|
+
body#help ul {
|
252
|
+
margin-left: 20px;
|
253
|
+
}
|
254
|
+
|
255
|
+
ul#topnav {
|
256
|
+
background: #818181 url(/images/admin/nav_bg.gif);
|
257
|
+
list-style-type: none;
|
258
|
+
padding: 0 0 0 30px;
|
259
|
+
}
|
260
|
+
|
261
|
+
ul#topnav li {
|
262
|
+
display: inline;
|
263
|
+
|
264
|
+
|
265
|
+
}
|
266
|
+
|
267
|
+
ul#topnav li a {
|
268
|
+
display: block;
|
269
|
+
float: left;
|
270
|
+
height: 36px;
|
271
|
+
padding: 0 8px;
|
272
|
+
line-height: 26px;
|
273
|
+
color: #f6f7e7;
|
274
|
+
text-decoration: none;
|
275
|
+
font-size: 1.1em;
|
276
|
+
font-weight: bold;
|
277
|
+
white-space : nowrap;
|
278
|
+
background: #818181 url(/images/admin/nav_bg.gif) repeat-x;
|
279
|
+
}
|
280
|
+
|
281
|
+
ul#topnav li a:hover, ul#topnav li a.selected {
|
282
|
+
color: #000;
|
283
|
+
background: url(/images/admin/button_bg.gif);
|
284
|
+
}
|
285
|
+
|
286
|
+
p#main-choice {
|
287
|
+
float: left;
|
288
|
+
margin: 10px 0 20px 20px;
|
289
|
+
}
|
290
|
+
|
291
|
+
ul.choices {
|
292
|
+
border-bottom: 5px solid #b2bd3e;
|
293
|
+
background: #f6f7e7;
|
294
|
+
margin-bottom: 2px;
|
295
|
+
list-style: none;
|
296
|
+
height: 25px;
|
297
|
+
clear: both;
|
298
|
+
}
|
299
|
+
|
300
|
+
img.screen-shot {
|
301
|
+
float: right;
|
302
|
+
}
|
303
|
+
|
304
|
+
label.case_study_body {
|
305
|
+
clear: both;
|
306
|
+
}
|
307
|
+
|
308
|
+
body#feedback-index ul.choices {
|
309
|
+
height: 40px;
|
310
|
+
}
|
311
|
+
|
312
|
+
ul.choices li {
|
313
|
+
padding: 5px 10px;
|
314
|
+
float: left;
|
315
|
+
display: block;
|
316
|
+
}
|
317
|
+
|
318
|
+
ul.choices li a {
|
319
|
+
text-decoration: none;
|
320
|
+
}
|
321
|
+
|
322
|
+
td, th {
|
323
|
+
vertical-align: top;
|
324
|
+
|
325
|
+
}
|
326
|
+
td p {
|
327
|
+
margin-top:0;
|
328
|
+
}
|
329
|
+
|
330
|
+
table {
|
331
|
+
border-collapse: collapse;
|
332
|
+
width: 100%;
|
333
|
+
clear: both;
|
334
|
+
}
|
335
|
+
|
336
|
+
table thead tr {
|
337
|
+
border-bottom: 1px solid #afafaf;
|
338
|
+
}
|
339
|
+
|
340
|
+
table tfoot tr {
|
341
|
+
border-top: 1px solid #afafaf;
|
342
|
+
}
|
343
|
+
|
344
|
+
table tr.actionbar {
|
345
|
+
border-top: 1px solid #afafaf;
|
346
|
+
}
|
347
|
+
|
348
|
+
table tr.shade {
|
349
|
+
background-color: #f2f2e9;
|
350
|
+
}
|
351
|
+
|
352
|
+
table th {
|
353
|
+
text-align: left;
|
354
|
+
padding: 4px;
|
355
|
+
}
|
356
|
+
|
357
|
+
table td {
|
358
|
+
padding: 8px 4px;
|
359
|
+
color: #444;
|
360
|
+
}
|
361
|
+
|
362
|
+
table tr.actionbar td {
|
363
|
+
font-weight: normal;
|
364
|
+
text-align: center;
|
365
|
+
}
|
366
|
+
|
367
|
+
td.title {
|
368
|
+
padding-right: 30px;
|
369
|
+
}
|
370
|
+
td.date {
|
371
|
+
width: 20%;
|
372
|
+
}
|
373
|
+
|
374
|
+
a.feature {
|
375
|
+
background: url('../../images/admin/unapproved.png') no-repeat;
|
376
|
+
}
|
377
|
+
a.featured {
|
378
|
+
background: url('../../images/admin/accept_button.gif') no-repeat;
|
379
|
+
}
|
380
|
+
|
381
|
+
a.edit, a.delete, a.editor_cancel, a.feature, ul.buttons a {
|
382
|
+
float: left;
|
383
|
+
margin-right: 6px;
|
384
|
+
height: 16px;
|
385
|
+
width: 16px;
|
386
|
+
}
|
387
|
+
|
388
|
+
a.left {
|
389
|
+
float: left;
|
390
|
+
margin-left: 30px;
|
391
|
+
height: 16px;
|
392
|
+
width: 16px;
|
393
|
+
}
|
394
|
+
|
395
|
+
a.right {
|
396
|
+
float: left;
|
397
|
+
margin-right: 30px;
|
398
|
+
height: 16px;
|
399
|
+
width: 16px;
|
400
|
+
}
|
401
|
+
|
402
|
+
.comment, .status {
|
403
|
+
|
404
|
+
-moz-border-radius-bottomleft:5px;
|
405
|
+
-moz-border-radius-bottomright:5px;
|
406
|
+
-moz-border-radius-topleft:5px;
|
407
|
+
-moz-border-radius-topright:5px;
|
408
|
+
|
409
|
+
-webkit-border-bottom-left-radius:5px;
|
410
|
+
-webkit-border-bottom-right-radius:5px;
|
411
|
+
-webkit-border-top-left-radius:5px;
|
412
|
+
-webkit-border-top-right-radius:5px;
|
413
|
+
|
414
|
+
cursor:pointer;
|
415
|
+
display:inline-block;
|
416
|
+
font-size:9px;
|
417
|
+
height:1.7em;
|
418
|
+
line-height:1.7em;
|
419
|
+
min-width:0.7em;
|
420
|
+
padding:0 6px;
|
421
|
+
background-color:#BBBBBB;
|
422
|
+
color: #fff;
|
423
|
+
text-decoration: none;
|
424
|
+
}
|
425
|
+
|
426
|
+
.status {
|
427
|
+
cursor: auto;
|
428
|
+
}
|
429
|
+
|
430
|
+
.comment:hover {
|
431
|
+
color:#000000 !important;
|
432
|
+
}
|
433
|
+
|
434
|
+
.approved {
|
435
|
+
background-color: green;
|
436
|
+
}
|
437
|
+
|
438
|
+
.draft {
|
439
|
+
background-color: orange;
|
440
|
+
}
|
441
|
+
|
442
|
+
|
443
|
+
ul#status {
|
444
|
+
margin: 9px 30px 0 auto;
|
445
|
+
padding: 5px 0 0 7px;
|
446
|
+
width: 405px;
|
447
|
+
height: 19px;
|
448
|
+
background: url(/images/admin/info_bg.gif) repeat-x;
|
449
|
+
white-space: nowrap;
|
450
|
+
}
|
451
|
+
|
452
|
+
|
453
|
+
ul#status li {
|
454
|
+
float: left;
|
455
|
+
margin-left: 20px;
|
456
|
+
}
|
457
|
+
|
458
|
+
ul#status li.no_bull {
|
459
|
+
list-style: none;
|
460
|
+
margin: 0;
|
461
|
+
}
|
462
|
+
|
463
|
+
ul#status li a, ul#status li a:active, ul#status li a:visited {
|
464
|
+
text-decoration: none;
|
465
|
+
}
|
466
|
+
|
467
|
+
ul#status li a:hover {
|
468
|
+
color: #ccc;
|
469
|
+
}
|
470
|
+
|
471
|
+
div#footer p {
|
472
|
+
font-size: 10px;
|
473
|
+
}
|
474
|
+
|
475
|
+
|
476
|
+
div#footer a:hover {
|
477
|
+
color: #444;
|
478
|
+
}
|
479
|
+
|
480
|
+
label {
|
481
|
+
padding-top: 5px;
|
482
|
+
padding-right: 5px;
|
483
|
+
text-align: bottom;
|
484
|
+
font-weight: bold;
|
485
|
+
}
|
486
|
+
form p, form.setting-form {
|
487
|
+
padding: 0 6px 0 0;
|
488
|
+
|
489
|
+
}
|
490
|
+
|
491
|
+
|
492
|
+
form.setting-form {
|
493
|
+
margin-top: 10px;
|
494
|
+
}
|
495
|
+
|
496
|
+
|
497
|
+
fieldset {
|
498
|
+
margin: 0;
|
499
|
+
padding: 0;
|
500
|
+
border: none;
|
501
|
+
}
|
502
|
+
|
503
|
+
input, select, textarea {
|
504
|
+
margin: 4px 0;
|
505
|
+
border: 1px solid #ddd;
|
506
|
+
border-top: 1px solid #aaa;
|
507
|
+
border-left: 1px solid #aaa;
|
508
|
+
padding: 2px;
|
509
|
+
}
|
510
|
+
|
511
|
+
.ed_toolbar {
|
512
|
+
width: 100%;
|
513
|
+
margin-bottom: 40px;
|
514
|
+
}
|
515
|
+
|
516
|
+
.ed_toolbar input {
|
517
|
+
width: 4em;
|
518
|
+
}
|
519
|
+
|
520
|
+
p.submission {
|
521
|
+
border-top: 1px solid #b2bd3e;
|
522
|
+
margin-top: 20px;
|
523
|
+
padding: 10px;
|
524
|
+
clear: both;
|
525
|
+
}
|
526
|
+
|
527
|
+
div.submission input {
|
528
|
+
border: 1px solid #aaa;
|
529
|
+
width: auto;
|
530
|
+
}
|
531
|
+
|
532
|
+
#recent-column ul {
|
533
|
+
margin-top: 10px;
|
534
|
+
}
|
535
|
+
|
536
|
+
#recent-column ul li {
|
537
|
+
list-style: none;
|
538
|
+
margin-bottom: 10px ;
|
539
|
+
}
|
540
|
+
|
541
|
+
input.button {
|
542
|
+
width: auto;
|
543
|
+
}
|
544
|
+
|
545
|
+
input.feedback_check {
|
546
|
+
width: 1em;
|
547
|
+
}
|
548
|
+
|
549
|
+
textarea {
|
550
|
+
font: 1.2em "Lucida Grande", Arial, Verdana, sans-serif;
|
551
|
+
}
|
552
|
+
|
553
|
+
input.title {
|
554
|
+
font-size: 1.4em;
|
555
|
+
width: 100%;
|
556
|
+
}
|
557
|
+
|
558
|
+
input.long, textarea {
|
559
|
+
width: 100%;
|
560
|
+
}
|
561
|
+
|
562
|
+
.fieldWithErrors {
|
563
|
+
background-color: #FFCCCC;
|
564
|
+
}
|
565
|
+
|
566
|
+
div.hr {
|
567
|
+
border-bottom: 1px solid #afafaf;
|
568
|
+
margin: 0 12px;
|
569
|
+
}
|
570
|
+
|
571
|
+
hr {
|
572
|
+
display:none;
|
573
|
+
}
|
574
|
+
|
575
|
+
/*BIR*/
|
576
|
+
|
577
|
+
a.cancel {
|
578
|
+
color: red;
|
579
|
+
display: block;
|
580
|
+
float: left;
|
581
|
+
}
|
582
|
+
|
583
|
+
a.help {
|
584
|
+
font-weight: bold;
|
585
|
+
}
|
586
|
+
|
587
|
+
a.edit {
|
588
|
+
background: url(/images/admin/edit_button.gif) no-repeat;
|
589
|
+
}
|
590
|
+
a.images {
|
591
|
+
background: url(/images/admin/pictures.png) no-repeat;
|
592
|
+
padding-left: 20px;
|
593
|
+
}
|
594
|
+
a.downloads {
|
595
|
+
background: url(/images/admin/page_white_stack.png) no-repeat;
|
596
|
+
padding-left: 20px;
|
597
|
+
}
|
598
|
+
a.upload {
|
599
|
+
background: url(/images/admin/page_white_get.png) no-repeat;
|
600
|
+
padding: 0 0 0 20px;
|
601
|
+
}
|
602
|
+
|
603
|
+
a.add {
|
604
|
+
background: url(/images/admin/add.png) no-repeat;
|
605
|
+
}
|
606
|
+
a.link {
|
607
|
+
background: url(/images/admin/page_white_link.png) no-repeat;
|
608
|
+
}
|
609
|
+
a.insert {
|
610
|
+
background: url(/images/admin/image_add.png) no-repeat;
|
611
|
+
}
|
612
|
+
|
613
|
+
/* image sizes */
|
614
|
+
a.image-size{
|
615
|
+
width:16px;
|
616
|
+
height:16px;
|
617
|
+
padding:2px;
|
618
|
+
background: url(/images/admin/picture.png) no-repeat;
|
619
|
+
}
|
620
|
+
a.size-thumb {
|
621
|
+
background: url(/images/admin/picture_thumb.png) no-repeat;
|
622
|
+
}
|
623
|
+
a.size-medium {
|
624
|
+
background: url(/images/admin/picture_medium.png) no-repeat;
|
625
|
+
}
|
626
|
+
a.size-square {
|
627
|
+
background: url(/images/admin/picture_square.png) no-repeat;
|
628
|
+
}
|
629
|
+
|
630
|
+
a.delete ,a.remove {
|
631
|
+
background: url(/images/admin/delete_button.gif) no-repeat;
|
632
|
+
}
|
633
|
+
|
634
|
+
a.editor_cancel {
|
635
|
+
background: url(/images/admin/cancel_button.gif) no-repeat;
|
636
|
+
}
|
637
|
+
|
638
|
+
input.editor_field {
|
639
|
+
margin: 0;
|
640
|
+
float: left;
|
641
|
+
width: 65%;
|
642
|
+
margin-right: 5px;
|
643
|
+
}
|
644
|
+
|
645
|
+
input.editor_ok_button {
|
646
|
+
background: url(/images/admin/accept_button.gif) no-repeat 0 1px;
|
647
|
+
border: 0;
|
648
|
+
margin: 0 5px 0 0;
|
649
|
+
width: 16px;
|
650
|
+
float: left;
|
651
|
+
cursor: pointer;
|
652
|
+
}
|
653
|
+
|
654
|
+
a.left {
|
655
|
+
background: url(/images/admin/arrow_left.gif) no-repeat left;
|
656
|
+
}
|
657
|
+
|
658
|
+
a.right {
|
659
|
+
background: url(/images/admin/arrow_right.gif) no-repeat right;
|
660
|
+
}
|
661
|
+
|
662
|
+
.pagination {
|
663
|
+
padding: 3px 0;
|
664
|
+
margin: 10px 0 10px 0;
|
665
|
+
padding: 10px;
|
666
|
+
background-color: #fff;
|
667
|
+
}
|
668
|
+
|
669
|
+
.pagination a {
|
670
|
+
padding: 2px 5px 2px 5px;
|
671
|
+
margin: 2px;
|
672
|
+
border: 1px solid #b2bd3e;
|
673
|
+
text-decoration: none;
|
674
|
+
color: #000;
|
675
|
+
}
|
676
|
+
.pagination a:hover, .pagination a:active {
|
677
|
+
border: 1px solid #666;
|
678
|
+
color: #000;
|
679
|
+
}
|
680
|
+
.pagination span.current {
|
681
|
+
padding: 2px 5px 2px 5px;
|
682
|
+
margin: 2px;
|
683
|
+
border: 1px solid #b2bd3e;
|
684
|
+
font-weight: bold;
|
685
|
+
background-color: #b2bd3e;
|
686
|
+
}
|
687
|
+
.pagination span.disabled {
|
688
|
+
padding: 2px 5px 2px 5px;
|
689
|
+
margin: 2px;
|
690
|
+
border: 1px solid #eee;
|
691
|
+
color: #ddd;
|
692
|
+
}
|
693
|
+
|
694
|
+
#flickr-select img {
|
695
|
+
margin: 2px;
|
696
|
+
border: 1px solid #666;
|
697
|
+
}
|
698
|
+
|
699
|
+
/* so:preview-text */
|
700
|
+
|
701
|
+
.preview-area p {
|
702
|
+
color: #666;
|
703
|
+
padding: 5px;
|
704
|
+
font-size: 1.2em;
|
705
|
+
}
|
706
|
+
|
707
|
+
.preview-area p,
|
708
|
+
.preview-area h1,
|
709
|
+
.preview-area h2,
|
710
|
+
.preview-area h3,
|
711
|
+
.preview-area h4,
|
712
|
+
.preview-area h5,
|
713
|
+
.preview-area h6 {
|
714
|
+
padding: 5px;
|
715
|
+
}
|
716
|
+
|
717
|
+
/* eo:preview-text */
|
718
|
+
|
719
|
+
/* so:upload-progress */
|
720
|
+
|
721
|
+
.progress-bar {
|
722
|
+
width:100%;
|
723
|
+
height:35px;
|
724
|
+
margin:15px 0;
|
725
|
+
border:solid 1px #ccc;
|
726
|
+
position:relative;
|
727
|
+
}
|
728
|
+
|
729
|
+
.progress-bar .status-bar {
|
730
|
+
display:block;
|
731
|
+
height:35px;
|
732
|
+
width:0;
|
733
|
+
background-color: #b2bd3e;
|
734
|
+
border-right:solid 1px #ccc;
|
735
|
+
position:absolute;
|
736
|
+
top:0; left:0;
|
737
|
+
}
|
738
|
+
|
739
|
+
.progress-bar .status-text {
|
740
|
+
display:block;
|
741
|
+
padding: 3px 5px;
|
742
|
+
position:absolute;
|
743
|
+
top:0; left:0;
|
744
|
+
}
|
745
|
+
/* eo:upload-progress */
|
746
|
+
|
747
|
+
/* so:assets */
|
748
|
+
|
749
|
+
dl#asset-browser {
|
750
|
+
border-bottom: 1px solid #ccc;
|
751
|
+
}
|
752
|
+
|
753
|
+
dl#asset-browser h3 {
|
754
|
+
margin: 10px;
|
755
|
+
}
|
756
|
+
|
757
|
+
dl#asset-browser dd ul {
|
758
|
+
border-top:1px solid #CCCCCC;
|
759
|
+
}
|
760
|
+
|
761
|
+
#sub-content dl#asset-browser {
|
762
|
+
margin-top: 4px;
|
763
|
+
padding-bottom: 2px;
|
764
|
+
}
|
765
|
+
|
766
|
+
#main-browser {
|
767
|
+
position: relative;
|
768
|
+
}
|
769
|
+
|
770
|
+
#main-browser dl#asset-browser {
|
771
|
+
height: 400px;
|
772
|
+
width: 45%;
|
773
|
+
overflow: auto;
|
774
|
+
margin-top: 10px;
|
775
|
+
border: 1px solid;
|
776
|
+
border-color: #aaa;
|
777
|
+
padding: 10px 10px 0 10px;
|
778
|
+
margin-bottom: 10px;
|
779
|
+
}
|
780
|
+
|
781
|
+
#main-content dl#asset-browser dd {
|
782
|
+
position: absolute;
|
783
|
+
top: 0;
|
784
|
+
right: 0;
|
785
|
+
border: 1px solid #aaa;
|
786
|
+
width: 50%;
|
787
|
+
height: 410px;
|
788
|
+
overflow: auto;
|
789
|
+
}
|
790
|
+
|
791
|
+
dl#asset-browser dt input {
|
792
|
+
margin: -3px;
|
793
|
+
padding: 1px;
|
794
|
+
width: 100%;
|
795
|
+
background: #b2bd3e;
|
796
|
+
}
|
797
|
+
|
798
|
+
dl#asset-browser dt {
|
799
|
+
padding: 6px 10px 5px 30px;
|
800
|
+
height: 1em;
|
801
|
+
background: url('/images/admin/folder.png') 5px center no-repeat;
|
802
|
+
cursor: pointer;
|
803
|
+
cursor: hand;
|
804
|
+
}
|
805
|
+
|
806
|
+
dl#asset-browser dt.change {
|
807
|
+
background: none;
|
808
|
+
}
|
809
|
+
|
810
|
+
|
811
|
+
dl#asset-browser dt.image {
|
812
|
+
background: url('../../images/admin/folder_image.png') 5px center no-repeat;
|
813
|
+
}
|
814
|
+
#sub-content dl#asset-browser h3.type-heading {
|
815
|
+
display: none;
|
816
|
+
}
|
817
|
+
|
818
|
+
ul.asset-list {
|
819
|
+
list-style: none;
|
820
|
+
padding-right: 12px;
|
821
|
+
}
|
822
|
+
|
823
|
+
ul.asset-list li {
|
824
|
+
padding: 6px;
|
825
|
+
/* background: url('/images/admin/page_white.png') 10px center no-repeat; */
|
826
|
+
border-bottom: 1px solid #ccc;
|
827
|
+
position: relative;
|
828
|
+
width: 100%;
|
829
|
+
clear: both;
|
830
|
+
}
|
831
|
+
|
832
|
+
ul.asset-list li:after {
|
833
|
+
content: ".";
|
834
|
+
display: block;
|
835
|
+
clear: both;
|
836
|
+
visibility: hidden;
|
837
|
+
line-height: 0;
|
838
|
+
height: 0;
|
839
|
+
}
|
840
|
+
|
841
|
+
|
842
|
+
ul.asset-list li div, ul.asset-list li img {
|
843
|
+
float: left;
|
844
|
+
margin-right: 10px;
|
845
|
+
}
|
846
|
+
|
847
|
+
ul.asset-list li strong{
|
848
|
+
display:block;
|
849
|
+
position:absolute;
|
850
|
+
right:40px;
|
851
|
+
top:6px;
|
852
|
+
}
|
853
|
+
|
854
|
+
ul.asset-list li h4 {
|
855
|
+
margin-top: 10px;
|
856
|
+
}
|
857
|
+
|
858
|
+
ul.asset-list li, ul.asset-list li:hover {
|
859
|
+
background-color: #f2f2e9;
|
860
|
+
}
|
861
|
+
|
862
|
+
ul.asset-list li, ul.asset-list li a {
|
863
|
+
text-decoration: none;
|
864
|
+
}
|
865
|
+
|
866
|
+
li a.action {
|
867
|
+
position: absolute;
|
868
|
+
top: 4px;
|
869
|
+
right: 0;
|
870
|
+
width: 16px;
|
871
|
+
height: 16px;
|
872
|
+
}
|
873
|
+
|
874
|
+
li a.insert, li a.link {
|
875
|
+
right: 20px;
|
876
|
+
}
|
877
|
+
|
878
|
+
#asset-info {
|
879
|
+
padding: 10px;
|
880
|
+
position: relative;
|
881
|
+
border-top:1px solid #CCCCCC;
|
882
|
+
}
|
883
|
+
|
884
|
+
#asset-info a {
|
885
|
+
position: absolute;
|
886
|
+
top: 7px;
|
887
|
+
right: 10px;
|
888
|
+
}
|
889
|
+
|
890
|
+
|
891
|
+
/* so:assets */
|
892
|
+
|
893
|
+
/* so:autocomplete*/
|
894
|
+
|
895
|
+
div.auto_complete {
|
896
|
+
position:absolute;
|
897
|
+
width:250px;
|
898
|
+
background-color:white;
|
899
|
+
border:1px solid #888;
|
900
|
+
margin:0px;
|
901
|
+
padding:0px;
|
902
|
+
z-index: 999;
|
903
|
+
}
|
904
|
+
div.auto_complete ul {
|
905
|
+
list-style-type:none;
|
906
|
+
margin:0px;
|
907
|
+
padding:0px;
|
908
|
+
}
|
909
|
+
div.auto_complete ul li.selected { background-color: #ffb;}
|
910
|
+
div.auto_complete ul li {
|
911
|
+
list-style-type:none;
|
912
|
+
display:block;
|
913
|
+
margin:0;
|
914
|
+
padding:2px;
|
915
|
+
cursor:pointer;
|
916
|
+
}
|
917
|
+
|
918
|
+
/* eo:autocomplete */
|
919
|
+
|
920
|
+
/* so:password strength */
|
921
|
+
form p {
|
922
|
+
clear: both;
|
923
|
+
}
|
924
|
+
|
925
|
+
#password-meter,
|
926
|
+
#password {
|
927
|
+
float: left;
|
928
|
+
}
|
929
|
+
|
930
|
+
#password-meter {
|
931
|
+
margin-left:5px;
|
932
|
+
margin-top: -24px;
|
933
|
+
}
|
934
|
+
|
935
|
+
#psContainer {
|
936
|
+
height:18px;
|
937
|
+
width:100px;
|
938
|
+
border-color:#AAAAAA #DDDDDD #DDDDDD #AAAAAA;
|
939
|
+
border-style:solid;
|
940
|
+
border-width:1px;
|
941
|
+
margin-top: 5px;
|
942
|
+
background-color:#DDDDDD;
|
943
|
+
}
|
944
|
+
|
945
|
+
#psStrength {
|
946
|
+
background-color: #B2BD3E;
|
947
|
+
height:18px;
|
948
|
+
width:0px;
|
949
|
+
}
|
950
|
+
/* eo:password strength */
|
951
|
+
|
952
|
+
/* BIR */
|
953
|
+
a.editor_cancel,
|
954
|
+
a.edit,
|
955
|
+
a.delete,
|
956
|
+
a.remove,
|
957
|
+
a.left,
|
958
|
+
a.right,
|
959
|
+
a.link,
|
960
|
+
a.insert,
|
961
|
+
a.feature,
|
962
|
+
dl#asset-browser dd li a.action,
|
963
|
+
input.editor_ok_button,
|
964
|
+
a.image-size {
|
965
|
+
display: block;
|
966
|
+
letter-spacing : -1em;
|
967
|
+
text-indent: -1000em;
|
968
|
+
overflow: hidden;
|
969
|
+
}
|
970
|
+
|
971
|
+
#page_preview {
|
972
|
+
width: 100%;
|
973
|
+
height: 600px;
|
974
|
+
}
|
975
|
+
|
976
|
+
#video_list ul {
|
977
|
+
list-style: none;
|
978
|
+
padding: 5px;
|
979
|
+
max-height: 300px;
|
980
|
+
overflow: scroll;
|
981
|
+
}
|
982
|
+
|
983
|
+
#video_list ul li * {
|
984
|
+
vertical-align: middle;
|
985
|
+
}
|
986
|
+
|
987
|
+
/* so:clearfix */
|
988
|
+
|
989
|
+
ul#topnav:after {
|
990
|
+
content: ".";
|
991
|
+
display: block;
|
992
|
+
height: 0;
|
993
|
+
clear: both;
|
994
|
+
visibility: hidden;
|
995
|
+
}
|
996
|
+
/* eo:clearfix */
|