wontomedia 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/COPYING +661 -0
- data/COPYING.DOCUMENTATION +450 -0
- data/LICENSE +661 -0
- data/README.markdown +56 -0
- data/Rakefile +185 -0
- data/VERSION.yml +4 -0
- data/app/controllers/admin_controller.rb +144 -0
- data/app/controllers/application_controller.rb +29 -0
- data/app/controllers/connections_controller.rb +150 -0
- data/app/controllers/items_controller.rb +365 -0
- data/app/helpers/connections_helper.rb +67 -0
- data/app/helpers/format_helper.rb +154 -0
- data/app/helpers/items_helper.rb +105 -0
- data/app/models/category_item.rb +23 -0
- data/app/models/connection.rb +210 -0
- data/app/models/individual_item.rb +23 -0
- data/app/models/item.rb +86 -0
- data/app/models/property_item.rb +23 -0
- data/app/models/qualified_item.rb +23 -0
- data/app/views/admin/index.html.erb +74 -0
- data/app/views/connections/_index_outbound_links.html.erb +48 -0
- data/app/views/connections/_spo_select_controls.html.erb +151 -0
- data/app/views/connections/edit.html.erb +70 -0
- data/app/views/connections/index.html.erb +84 -0
- data/app/views/connections/new.html.erb +61 -0
- data/app/views/connections/show.html.erb +110 -0
- data/app/views/items/_active_content.html.erb +26 -0
- data/app/views/items/_content_examples.html.erb +55 -0
- data/app/views/items/_core_tasks.html.erb +23 -0
- data/app/views/items/_form_fields.html.erb +69 -0
- data/app/views/items/_list_outbound_links.html.erb +58 -0
- data/app/views/items/_screen_select.html.erb +24 -0
- data/app/views/items/_show_outbound_links.html.erb +70 -0
- data/app/views/items/_topic_list.html.erb +26 -0
- data/app/views/items/_type_select.html.erb +47 -0
- data/app/views/items/edit.html.erb +63 -0
- data/app/views/items/index.html.erb +74 -0
- data/app/views/items/new.html.erb +124 -0
- data/app/views/items/newpop.html.erb +58 -0
- data/app/views/items/show.html.erb +209 -0
- data/app/views/layouts/_amazon_ads.html.erb +55 -0
- data/app/views/layouts/_glossary_help_box.html.erb +43 -0
- data/app/views/layouts/_google_ads.html.erb +40 -0
- data/app/views/layouts/_language_select.html.erb +24 -0
- data/app/views/layouts/_login_controls.html.erb +24 -0
- data/app/views/layouts/_master_help.html.erb +24 -0
- data/app/views/layouts/_navigation_menu.html.erb +39 -0
- data/app/views/layouts/_search_box.html.erb +27 -0
- data/app/views/layouts/_status_msgs.html.erb +25 -0
- data/app/views/layouts/application.html.erb +67 -0
- data/app/views/layouts/base.html.erb +93 -0
- data/app/views/layouts/home.html.erb +67 -0
- data/app/views/layouts/popup.html.erb +23 -0
- data/assets/wontomedia-sample.rb +47 -0
- data/config/asset_packages.yml +44 -0
- data/config/boot.rb +110 -0
- data/config/cucumber.yml +65 -0
- data/config/database-mysql-development.yml +47 -0
- data/config/database-mysql.yml +26 -0
- data/config/environment.rb +94 -0
- data/config/environments/cucumber.rb +29 -0
- data/config/environments/development.rb +26 -0
- data/config/environments/production.rb +33 -0
- data/config/environments/test.rb +31 -0
- data/config/initializers/inflections.rb +19 -0
- data/config/initializers/mime_types.rb +14 -0
- data/config/initializers/new_rails_defaults.rb +26 -0
- data/config/locales/en.yml +14 -0
- data/config/routes.rb +37 -0
- data/db/fixtures/connections.yml +96 -0
- data/db/fixtures/items.yml +277 -0
- data/db/migrate/20090312212805_create_items.rb +31 -0
- data/db/migrate/20090406221320_create_connections.rb +32 -0
- data/db/migrate/20090411014503_add_type_for_item_subclasses.rb +29 -0
- data/db/migrate/20090415142152_rename_item_type.rb +31 -0
- data/db/migrate/20090518022918_rename_object_and_self.rb +33 -0
- data/db/migrate/20090529171442_add_flags_to_items.rb +27 -0
- data/db/migrate/20090529171508_add_flags_to_connections.rb +27 -0
- data/db/migrate/20090605213800_flags_columns_not_null.rb +29 -0
- data/db/migrate/20090605215028_flags_columns_default_zero.rb +29 -0
- data/db/schema.rb +30 -0
- data/default-custom/app/views/items/_home_extern_list.html.erb +32 -0
- data/default-custom/app/views/items/_home_introductory_text.html.erb +70 -0
- data/default-custom/app/views/items/home.html.erb +77 -0
- data/default-custom/public/images/logo.png +0 -0
- data/default-custom/public/images/logo.svg +74 -0
- data/default-custom/public/stylesheets/wm.css +301 -0
- data/doc/README.markdown +44 -0
- data/doc/README_FOR_APP +82 -0
- data/doc/customization.markdown +93 -0
- data/doc/scripts/rake-customize.markdown +83 -0
- data/lib/helpers/connection_helper.rb +41 -0
- data/lib/helpers/item_helper.rb +141 -0
- data/lib/helpers/tripple_navigation.rb +158 -0
- data/lib/tasks/cucumber.rake +83 -0
- data/lib/tasks/customize.rake +70 -0
- data/lib/tasks/db.rake +65 -0
- data/lib/tasks/javascript_testing_tasks.rake +176 -0
- data/public/404.html +50 -0
- data/public/422.html +50 -0
- data/public/500.html +53 -0
- data/public/dispatch.cgi +20 -0
- data/public/dispatch.fcgi +34 -0
- data/public/dispatch.rb +20 -0
- data/public/favicon.ico +0 -0
- data/public/images/blank_error_icon.png +0 -0
- data/public/images/blank_status_icon.png +0 -0
- data/public/images/error_error_icon.png +0 -0
- data/public/images/error_status_icon.png +0 -0
- data/public/images/good_status_icon.png +0 -0
- data/public/images/help_icon.png +0 -0
- data/public/images/twitter_icon.png +0 -0
- data/public/images/warn_error_icon.png +0 -0
- data/public/images/working_status_icon.gif +0 -0
- data/public/javascripts/application.js +56 -0
- data/public/javascripts/controls.js +963 -0
- data/public/javascripts/dragdrop.js +973 -0
- data/public/javascripts/effects.js +1128 -0
- data/public/javascripts/event.simulate.js +64 -0
- data/public/javascripts/fancybox.js +43 -0
- data/public/javascripts/forConnectionsForms.js +218 -0
- data/public/javascripts/forItemsForms.js +511 -0
- data/public/javascripts/itemCreatePopup.js +115 -0
- data/public/javascripts/itemTitleToName.js +119 -0
- data/public/javascripts/jquery.js +4376 -0
- data/public/javascripts/modalbox.js +502 -0
- data/public/javascripts/prototype.js +4320 -0
- data/public/javascripts/reconcileJQueryAndPrototype.js +19 -0
- data/public/robots.txt +7 -0
- data/public/stylesheets/blank.gif +0 -0
- data/public/stylesheets/fancy_close.png +0 -0
- data/public/stylesheets/fancy_loading.png +0 -0
- data/public/stylesheets/fancy_nav_left.png +0 -0
- data/public/stylesheets/fancy_nav_right.png +0 -0
- data/public/stylesheets/fancy_shadow_e.png +0 -0
- data/public/stylesheets/fancy_shadow_n.png +0 -0
- data/public/stylesheets/fancy_shadow_ne.png +0 -0
- data/public/stylesheets/fancy_shadow_nw.png +0 -0
- data/public/stylesheets/fancy_shadow_s.png +0 -0
- data/public/stylesheets/fancy_shadow_se.png +0 -0
- data/public/stylesheets/fancy_shadow_sw.png +0 -0
- data/public/stylesheets/fancy_shadow_w.png +0 -0
- data/public/stylesheets/fancy_title_left.png +0 -0
- data/public/stylesheets/fancy_title_main.png +0 -0
- data/public/stylesheets/fancy_title_over.png +0 -0
- data/public/stylesheets/fancy_title_right.png +0 -0
- data/public/stylesheets/fancybox.css +333 -0
- data/public/stylesheets/modalbox.css +110 -0
- data/public/stylesheets/scaffold.css +36 -0
- data/public/stylesheets/spinner.gif +0 -0
- data/script/about +4 -0
- data/script/console +3 -0
- data/script/cucumber +10 -0
- data/script/dbconsole +3 -0
- data/script/destroy +3 -0
- data/script/generate +3 -0
- data/script/performance/benchmarker +3 -0
- data/script/performance/profiler +3 -0
- data/script/performance/request +3 -0
- data/script/plugin +3 -0
- data/script/process/inspector +3 -0
- data/script/process/reaper +3 -0
- data/script/process/spawner +3 -0
- data/script/runner +3 -0
- data/script/server +3 -0
- data/vendor/plugins/asset_packager/CHANGELOG +122 -0
- data/vendor/plugins/asset_packager/README +178 -0
- data/vendor/plugins/asset_packager/Rakefile +22 -0
- data/vendor/plugins/asset_packager/about.yml +8 -0
- data/vendor/plugins/asset_packager/init.rb +2 -0
- data/vendor/plugins/asset_packager/install.rb +1 -0
- data/vendor/plugins/asset_packager/lib/jsmin.rb +205 -0
- data/vendor/plugins/asset_packager/lib/synthesis/asset_package.rb +212 -0
- data/vendor/plugins/asset_packager/lib/synthesis/asset_package_helper.rb +39 -0
- data/vendor/plugins/asset_packager/tasks/asset_packager_tasks.rake +23 -0
- data/vendor/plugins/asset_packager/test/asset_package_helper_development_test.rb +100 -0
- data/vendor/plugins/asset_packager/test/asset_package_helper_production_test.rb +140 -0
- data/vendor/plugins/asset_packager/test/asset_packager_test.rb +92 -0
- data/vendor/plugins/asset_packager/test/asset_packages.yml +20 -0
- data/vendor/plugins/asset_packager/test/assets/javascripts/application.js +2 -0
- data/vendor/plugins/asset_packager/test/assets/javascripts/bar.js +4 -0
- data/vendor/plugins/asset_packager/test/assets/javascripts/controls.js +815 -0
- data/vendor/plugins/asset_packager/test/assets/javascripts/dragdrop.js +913 -0
- data/vendor/plugins/asset_packager/test/assets/javascripts/effects.js +958 -0
- data/vendor/plugins/asset_packager/test/assets/javascripts/foo.js +4 -0
- data/vendor/plugins/asset_packager/test/assets/javascripts/prototype.js +2006 -0
- data/vendor/plugins/asset_packager/test/assets/stylesheets/bar.css +16 -0
- data/vendor/plugins/asset_packager/test/assets/stylesheets/foo.css +16 -0
- data/vendor/plugins/asset_packager/test/assets/stylesheets/header.css +16 -0
- data/vendor/plugins/asset_packager/test/assets/stylesheets/screen.css +16 -0
- data/vendor/plugins/asset_packager/test/assets/stylesheets/subdir/bar.css +16 -0
- data/vendor/plugins/asset_packager/test/assets/stylesheets/subdir/foo.css +16 -0
- metadata +265 -0
@@ -0,0 +1,19 @@
|
|
1
|
+
// WontoMedia - a wontology web application
|
2
|
+
// Copyright (C) 2010 - Glen E. Ivey
|
3
|
+
// www.wontology.com
|
4
|
+
//
|
5
|
+
// This program is free software: you can redistribute it and/or modify
|
6
|
+
// it under the terms of the GNU Affero General Public License version
|
7
|
+
// 3 as published by the Free Software Foundation.
|
8
|
+
//
|
9
|
+
// This program is distributed in the hope that it will be useful,
|
10
|
+
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
11
|
+
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
12
|
+
// GNU Affero General Public License for more details.
|
13
|
+
//
|
14
|
+
// You should have received a copy of the GNU Affero General Public License
|
15
|
+
// along with this program in the file COPYING and/or LICENSE. If not,
|
16
|
+
// see <http://www.gnu.org/licenses/>.
|
17
|
+
|
18
|
+
|
19
|
+
jQuery.noConflict(); // free-up '$' for 'prototype' (in :defaults)
|
data/public/robots.txt
ADDED
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -0,0 +1,333 @@
|
|
1
|
+
/*
|
2
|
+
* FancyBox - jQuery Plugin
|
3
|
+
* Simple and fancy lightbox alternative
|
4
|
+
*
|
5
|
+
* Copyright (c) 20010 Janis Skarnelis
|
6
|
+
* Examples and documentation at: http://fancybox.net
|
7
|
+
*
|
8
|
+
* Version: 1.3.0 (02/02/2010)
|
9
|
+
* Requires: jQuery v1.3+
|
10
|
+
*
|
11
|
+
* Dual licensed under the MIT and GPL licenses:
|
12
|
+
* http://www.opensource.org/licenses/mit-license.php
|
13
|
+
* http://www.gnu.org/licenses/gpl.html
|
14
|
+
*/
|
15
|
+
|
16
|
+
#fancybox-loading {
|
17
|
+
position: fixed;
|
18
|
+
top: 50%;
|
19
|
+
left: 50%;
|
20
|
+
height: 40px;
|
21
|
+
width: 40px;
|
22
|
+
margin-top: -20px;
|
23
|
+
margin-left: -20px;
|
24
|
+
cursor: pointer;
|
25
|
+
overflow: hidden;
|
26
|
+
background: transparent;
|
27
|
+
z-index: 1104;
|
28
|
+
display: none;
|
29
|
+
}
|
30
|
+
|
31
|
+
* html #fancybox-loading { /* IE6 */
|
32
|
+
position: absolute;
|
33
|
+
margin-top: 0;
|
34
|
+
}
|
35
|
+
|
36
|
+
#fancybox-loading div {
|
37
|
+
position: absolute;
|
38
|
+
top: 0;
|
39
|
+
left: 0;
|
40
|
+
width: 40px;
|
41
|
+
height: 480px;
|
42
|
+
background: transparent url('fancy_loading.png') no-repeat;
|
43
|
+
}
|
44
|
+
|
45
|
+
#fancybox-overlay {
|
46
|
+
position: fixed;
|
47
|
+
top: 0;
|
48
|
+
left: 0;
|
49
|
+
bottom: 0;
|
50
|
+
right: 0;
|
51
|
+
background: #000;
|
52
|
+
z-index: 1100;
|
53
|
+
display: none;
|
54
|
+
}
|
55
|
+
|
56
|
+
* html #fancybox-overlay { /* IE6 */
|
57
|
+
position: absolute;
|
58
|
+
width: 100%;
|
59
|
+
}
|
60
|
+
|
61
|
+
#fancybox-tmp {
|
62
|
+
padding: 0;
|
63
|
+
margin: 0;
|
64
|
+
border: 0;
|
65
|
+
overflow: auto;
|
66
|
+
display: none;
|
67
|
+
}
|
68
|
+
|
69
|
+
#fancybox-wrap {
|
70
|
+
position: absolute;
|
71
|
+
top: 0;
|
72
|
+
left: 0;
|
73
|
+
margin: 0;
|
74
|
+
padding: 20px;
|
75
|
+
z-index: 1101;
|
76
|
+
display: none;
|
77
|
+
}
|
78
|
+
|
79
|
+
#fancybox-outer {
|
80
|
+
position: relative;
|
81
|
+
width: 100%;
|
82
|
+
height: 100%;
|
83
|
+
background: #FFF;
|
84
|
+
}
|
85
|
+
|
86
|
+
#fancybox-inner {
|
87
|
+
position: absolute;
|
88
|
+
top: 0;
|
89
|
+
left: 0;
|
90
|
+
width: 1px;
|
91
|
+
height: 1px;
|
92
|
+
padding: 0;
|
93
|
+
margin: 0;
|
94
|
+
outline: none;
|
95
|
+
overflow: hidden;
|
96
|
+
}
|
97
|
+
|
98
|
+
#fancybox-hide-sel-frame {
|
99
|
+
position: absolute;
|
100
|
+
top: 0;
|
101
|
+
left: 0;
|
102
|
+
width: 100%;
|
103
|
+
height: 100%;
|
104
|
+
background: transparent;
|
105
|
+
}
|
106
|
+
|
107
|
+
#fancybox-close {
|
108
|
+
position: absolute;
|
109
|
+
top: -15px;
|
110
|
+
right: -15px;
|
111
|
+
width: 32px;
|
112
|
+
height: 32px;
|
113
|
+
background: url('fancy_close.png') top left no-repeat;
|
114
|
+
cursor: pointer;
|
115
|
+
z-index: 1103;
|
116
|
+
display: none;
|
117
|
+
}
|
118
|
+
|
119
|
+
#fancybox_error {
|
120
|
+
color: #444;
|
121
|
+
font: normal 12px/20px Arial;
|
122
|
+
}
|
123
|
+
|
124
|
+
#fancybox-content {
|
125
|
+
height: auto;
|
126
|
+
width: auto;
|
127
|
+
padding: 0;
|
128
|
+
margin: 0;
|
129
|
+
}
|
130
|
+
|
131
|
+
#fancybox-img {
|
132
|
+
width: 100%;
|
133
|
+
height: 100%;
|
134
|
+
padding: 0;
|
135
|
+
margin: 0;
|
136
|
+
border: none;
|
137
|
+
outline: none;
|
138
|
+
line-height: 0;
|
139
|
+
vertical-align: top;
|
140
|
+
-ms-interpolation-mode: bicubic;
|
141
|
+
}
|
142
|
+
|
143
|
+
#fancybox-frame {
|
144
|
+
position: relative;
|
145
|
+
width: 100%;
|
146
|
+
height: 100%;
|
147
|
+
border: none;
|
148
|
+
display: block;
|
149
|
+
}
|
150
|
+
|
151
|
+
#fancybox-title {
|
152
|
+
position: absolute;
|
153
|
+
bottom: 0;
|
154
|
+
left: 0;
|
155
|
+
font-family: Arial;
|
156
|
+
font-size: 12px;
|
157
|
+
z-index: 1102;
|
158
|
+
}
|
159
|
+
|
160
|
+
.fancybox-title-inside {
|
161
|
+
padding: 10px 0;
|
162
|
+
text-align: center;
|
163
|
+
color: #333;
|
164
|
+
}
|
165
|
+
|
166
|
+
.fancybox-title-outside {
|
167
|
+
padding-top: 5px;
|
168
|
+
color: #FFF;
|
169
|
+
text-align: center;
|
170
|
+
font-weight: bold;
|
171
|
+
}
|
172
|
+
|
173
|
+
.fancybox-title-over {
|
174
|
+
color: #FFF;
|
175
|
+
text-align: left;
|
176
|
+
}
|
177
|
+
|
178
|
+
#fancybox-title-over {
|
179
|
+
padding: 10px;
|
180
|
+
background: url('fancy_title_over.png');
|
181
|
+
display: block;
|
182
|
+
}
|
183
|
+
|
184
|
+
#fancybox-title-wrap {
|
185
|
+
display: inline-block;
|
186
|
+
}
|
187
|
+
|
188
|
+
#fancybox-title-wrap span {
|
189
|
+
height: 32px;
|
190
|
+
float: left;
|
191
|
+
}
|
192
|
+
|
193
|
+
#fancybox-title-left {
|
194
|
+
padding-left: 15px;
|
195
|
+
background: transparent url('fancy_title_left.png') repeat-x;
|
196
|
+
}
|
197
|
+
|
198
|
+
#fancybox-title-main {
|
199
|
+
font-weight: bold;
|
200
|
+
line-height: 29px;
|
201
|
+
background: transparent url('fancy_title_main.png') repeat-x;
|
202
|
+
color: #FFF;
|
203
|
+
}
|
204
|
+
|
205
|
+
#fancybox-title-right {
|
206
|
+
padding-left: 15px;
|
207
|
+
background: transparent url('fancy_title_right.png') repeat-x;
|
208
|
+
}
|
209
|
+
|
210
|
+
#fancybox-left, #fancybox-right {
|
211
|
+
position: absolute;
|
212
|
+
bottom: 0px;
|
213
|
+
height: 100%;
|
214
|
+
width: 35%;
|
215
|
+
cursor: pointer;
|
216
|
+
outline: none;
|
217
|
+
background-image: url('blank.gif');
|
218
|
+
z-index: 1102;
|
219
|
+
display: none;
|
220
|
+
}
|
221
|
+
|
222
|
+
#fancybox-left {
|
223
|
+
left: 0px;
|
224
|
+
}
|
225
|
+
|
226
|
+
#fancybox-right {
|
227
|
+
right: 0px;
|
228
|
+
}
|
229
|
+
|
230
|
+
#fancybox-left-ico, #fancybox-right-ico {
|
231
|
+
position: absolute;
|
232
|
+
top: 50%;
|
233
|
+
left: -9999px;
|
234
|
+
width: 30px;
|
235
|
+
height: 30px;
|
236
|
+
margin-top: -15px;
|
237
|
+
cursor: pointer;
|
238
|
+
z-index: 1102;
|
239
|
+
display: block;
|
240
|
+
}
|
241
|
+
|
242
|
+
#fancybox-left-ico {
|
243
|
+
background: transparent url('fancy_nav_left.png') no-repeat;
|
244
|
+
}
|
245
|
+
|
246
|
+
#fancybox-right-ico {
|
247
|
+
background: transparent url('fancy_nav_right.png') no-repeat;
|
248
|
+
}
|
249
|
+
|
250
|
+
#fancybox-left:hover, #fancybox-right:hover {
|
251
|
+
visibility: visible; /* IE6 */
|
252
|
+
}
|
253
|
+
|
254
|
+
#fancybox-left:hover span {
|
255
|
+
left: 20px;
|
256
|
+
}
|
257
|
+
|
258
|
+
#fancybox-right:hover span {
|
259
|
+
left: auto;
|
260
|
+
right: 20px;
|
261
|
+
}
|
262
|
+
|
263
|
+
div.fancy-bg {
|
264
|
+
position: absolute;
|
265
|
+
padding: 0;
|
266
|
+
margin: 0;
|
267
|
+
border: 0;
|
268
|
+
z-index: 1001;
|
269
|
+
}
|
270
|
+
|
271
|
+
div#fancy-bg-n {
|
272
|
+
top: -20px;
|
273
|
+
left: 0;
|
274
|
+
width: 100%;
|
275
|
+
height: 20px;
|
276
|
+
background: transparent url('fancy_shadow_n.png') repeat-x;
|
277
|
+
}
|
278
|
+
|
279
|
+
div#fancy-bg-ne {
|
280
|
+
top: -20px;
|
281
|
+
right: -20px;
|
282
|
+
width: 20px;
|
283
|
+
height: 20px;
|
284
|
+
background: transparent url('fancy_shadow_ne.png') no-repeat;
|
285
|
+
}
|
286
|
+
|
287
|
+
div#fancy-bg-e {
|
288
|
+
top: 0;
|
289
|
+
right: -20px;
|
290
|
+
height: 100%;
|
291
|
+
width: 20px;
|
292
|
+
background: transparent url('fancy_shadow_e.png') repeat-y;
|
293
|
+
}
|
294
|
+
|
295
|
+
div#fancy-bg-se {
|
296
|
+
bottom: -20px;
|
297
|
+
right: -20px;
|
298
|
+
width: 20px;
|
299
|
+
height: 20px;
|
300
|
+
background: transparent url('fancy_shadow_se.png') no-repeat;
|
301
|
+
}
|
302
|
+
|
303
|
+
div#fancy-bg-s {
|
304
|
+
bottom: -20px;
|
305
|
+
left: 0;
|
306
|
+
width: 100%;
|
307
|
+
height: 20px;
|
308
|
+
background: transparent url('fancy_shadow_s.png') repeat-x;
|
309
|
+
}
|
310
|
+
|
311
|
+
div#fancy-bg-sw {
|
312
|
+
bottom: -20px;
|
313
|
+
left: -20px;
|
314
|
+
width: 20px;
|
315
|
+
height: 20px;
|
316
|
+
background: transparent url('fancy_shadow_sw.png') no-repeat;
|
317
|
+
}
|
318
|
+
|
319
|
+
div#fancy-bg-w {
|
320
|
+
top: 0;
|
321
|
+
left: -20px;
|
322
|
+
height: 100%;
|
323
|
+
width: 20px;
|
324
|
+
background: transparent url('fancy_shadow_w.png') repeat-y;
|
325
|
+
}
|
326
|
+
|
327
|
+
div#fancy-bg-nw {
|
328
|
+
top: -20px;
|
329
|
+
left: -20px;
|
330
|
+
width: 20px;
|
331
|
+
height: 20px;
|
332
|
+
background: transparent url('fancy_shadow_nw.png') no-repeat;
|
333
|
+
}
|
@@ -0,0 +1,110 @@
|
|
1
|
+
#MB_overlay {
|
2
|
+
position: absolute;
|
3
|
+
margin: auto;
|
4
|
+
top: 0; left: 0;
|
5
|
+
width: 100%; height: 100%;
|
6
|
+
z-index: 9999;
|
7
|
+
border: 0;
|
8
|
+
background-color: #000!important;
|
9
|
+
}
|
10
|
+
|
11
|
+
#MB_overlay[id] { position: fixed; }
|
12
|
+
|
13
|
+
#MB_window {
|
14
|
+
position: absolute;
|
15
|
+
top: 0;
|
16
|
+
border: 0 solid;
|
17
|
+
text-align: left;
|
18
|
+
z-index: 10000;
|
19
|
+
}
|
20
|
+
|
21
|
+
#MB_window[id] { position: fixed!important; }
|
22
|
+
|
23
|
+
#MB_frame {
|
24
|
+
position: relative;
|
25
|
+
background-color: white;
|
26
|
+
height: 100%;
|
27
|
+
}
|
28
|
+
|
29
|
+
#MB_header {
|
30
|
+
margin: 0;
|
31
|
+
padding: 0;
|
32
|
+
}
|
33
|
+
|
34
|
+
#MB_content {
|
35
|
+
position: relative;
|
36
|
+
padding: 6px .75em;
|
37
|
+
overflow: auto;
|
38
|
+
}
|
39
|
+
|
40
|
+
#MB_caption {
|
41
|
+
font: bold 100% "Lucida Grande", Arial, sans-serif;
|
42
|
+
text-shadow: #FFF 0 1px 0;
|
43
|
+
padding: .5em 2em .5em .75em;
|
44
|
+
margin: 0;
|
45
|
+
text-align: left;
|
46
|
+
}
|
47
|
+
|
48
|
+
#MB_close {
|
49
|
+
display: block;
|
50
|
+
position: absolute;
|
51
|
+
right: 5px; top: 4px;
|
52
|
+
padding: 2px 3px;
|
53
|
+
font-weight: bold;
|
54
|
+
text-decoration: none;
|
55
|
+
font-size: 13px;
|
56
|
+
}
|
57
|
+
|
58
|
+
#MB_close:hover {
|
59
|
+
background: transparent;
|
60
|
+
}
|
61
|
+
|
62
|
+
#MB_loading {
|
63
|
+
padding: 1.5em;
|
64
|
+
text-indent: -10000px;
|
65
|
+
background: transparent url(spinner.gif) 50% 0 no-repeat;
|
66
|
+
}
|
67
|
+
|
68
|
+
/* Color scheme */
|
69
|
+
#MB_window {
|
70
|
+
background-color: white;
|
71
|
+
color: black;
|
72
|
+
|
73
|
+
-webkit-box-shadow: 0 0 64px #000;
|
74
|
+
-moz-box-shadow: #000 0 0 64px;
|
75
|
+
box-shadow: 0 0 64px #000;
|
76
|
+
}
|
77
|
+
|
78
|
+
#MB_frame {
|
79
|
+
padding-bottom: 4px;
|
80
|
+
|
81
|
+
-webkit-border-bottom-left-radius: 4px;
|
82
|
+
-webkit-border-bottom-right-radius: 4px;
|
83
|
+
|
84
|
+
-moz-border-radius-bottomleft: 4px;
|
85
|
+
-moz-border-radius-bottomright: 4px;
|
86
|
+
|
87
|
+
border-bottom-left-radius: 4px;
|
88
|
+
border-bottom-right-radius: 4px;
|
89
|
+
}
|
90
|
+
|
91
|
+
#MB_content { border-top: 1px solid #F9F9F9; }
|
92
|
+
|
93
|
+
#MB_header {
|
94
|
+
background-color: #c0c0ff;
|
95
|
+
border-bottom: 1px solid white;
|
96
|
+
}
|
97
|
+
|
98
|
+
#MB_caption { color: #000 }
|
99
|
+
|
100
|
+
#MB_close { color: #777 }
|
101
|
+
|
102
|
+
#MB_close:hover { color: #000 }
|
103
|
+
|
104
|
+
|
105
|
+
/* Alert message */
|
106
|
+
.MB_alert {
|
107
|
+
margin: 10px 0;
|
108
|
+
text-align: center;
|
109
|
+
}
|
110
|
+
|