campbellhay-bureau 4.1.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +4 -0
- data/campbellhay-bureau.gemspec +14 -0
- data/gempush +8 -0
- data/lib/_static/_test.txt +1 -0
- data/lib/_static/css/main.css +586 -0
- data/lib/_static/css/plugin.asmselect.css +63 -0
- data/lib/_static/css/ui-darkness/images/ui-bg_flat_30_cccccc_40x100.png +0 -0
- data/lib/_static/css/ui-darkness/images/ui-bg_flat_50_5c5c5c_40x100.png +0 -0
- data/lib/_static/css/ui-darkness/images/ui-bg_glass_20_555555_1x400.png +0 -0
- data/lib/_static/css/ui-darkness/images/ui-bg_glass_40_0078a3_1x400.png +0 -0
- data/lib/_static/css/ui-darkness/images/ui-bg_glass_40_ffc73d_1x400.png +0 -0
- data/lib/_static/css/ui-darkness/images/ui-bg_gloss-wave_25_333333_500x100.png +0 -0
- data/lib/_static/css/ui-darkness/images/ui-bg_highlight-soft_80_eeeeee_1x100.png +0 -0
- data/lib/_static/css/ui-darkness/images/ui-bg_inset-soft_25_000000_1x100.png +0 -0
- data/lib/_static/css/ui-darkness/images/ui-bg_inset-soft_30_f58400_1x100.png +0 -0
- data/lib/_static/css/ui-darkness/images/ui-icons_222222_256x240.png +0 -0
- data/lib/_static/css/ui-darkness/images/ui-icons_4b8e0b_256x240.png +0 -0
- data/lib/_static/css/ui-darkness/images/ui-icons_a83300_256x240.png +0 -0
- data/lib/_static/css/ui-darkness/images/ui-icons_cccccc_256x240.png +0 -0
- data/lib/_static/css/ui-darkness/images/ui-icons_ffffff_256x240.png +0 -0
- data/lib/_static/css/ui-darkness/jquery-ui-1.9.1.custom.css +378 -0
- data/lib/_static/css/ui-darkness/jquery-ui-1.9.1.custom.min.css +5 -0
- data/lib/_static/img/backend_small_icons.png +0 -0
- data/lib/_static/img/btn.png +0 -0
- data/lib/_static/img/btn_old.png +0 -0
- data/lib/_static/img/file.png +0 -0
- data/lib/_static/img/handle.png +0 -0
- data/lib/_static/img/help/clone-button.png +0 -0
- data/lib/_static/img/help/create-button.png +0 -0
- data/lib/_static/img/help/delete-button.png +0 -0
- data/lib/_static/img/help/delete-warning.png +0 -0
- data/lib/_static/img/help/document.png +0 -0
- data/lib/_static/img/help/edit-button.png +0 -0
- data/lib/_static/img/help/form.png +0 -0
- data/lib/_static/img/help/image-dimensions.png +0 -0
- data/lib/_static/img/help/list.png +0 -0
- data/lib/_static/img/help/logout.png +0 -0
- data/lib/_static/img/help/move-button.png +0 -0
- data/lib/_static/img/help/overview.png +0 -0
- data/lib/_static/img/help/preview-button.png +0 -0
- data/lib/_static/img/help/relationships.png +0 -0
- data/lib/_static/img/help/reload-button.png +0 -0
- data/lib/_static/img/help/save-or-cancel.png +0 -0
- data/lib/_static/img/help/search.png +0 -0
- data/lib/_static/img/help/sub-section.png +0 -0
- data/lib/_static/img/help/x-list.png +0 -0
- data/lib/_static/img/placeholder.nutshell.jpg +0 -0
- data/lib/_static/img/placeholder.stash_thumb.gif +0 -0
- data/lib/_static/img/small-loader.gif +0 -0
- data/lib/_static/img/underwood_btn.png +0 -0
- data/lib/_static/js/addon.timepicker.js +20 -0
- data/lib/_static/js/jquery-ui-1.9.1.custom.js +8364 -0
- data/lib/_static/js/jquery-ui-1.9.1.custom.min.js +6 -0
- data/lib/_static/js/main.js +347 -0
- data/lib/_static/js/plugin.asmselect.js +407 -0
- data/lib/_static/js/plugin.form.js +23 -0
- data/lib/_static/js/plugin.mapolygon.js +3 -0
- data/lib/_static/js/plugin.quickmask.js +68 -0
- data/lib/_static/js/plugin.quicksearch.js +1 -0
- data/lib/_static/js/plugin.speechify.js +4 -0
- data/lib/_static/js/plugin.underwood.js +4 -0
- data/lib/_templates/_test.txt +1 -0
- data/lib/_templates/head.html +23 -0
- data/lib/_templates/help.html +104 -0
- data/lib/_templates/layout.html +13 -0
- data/lib/bureau/adapter.rb +114 -0
- data/lib/bureau.rb +122 -0
- data/lib/mongo_bureau.rb +214 -0
- data/lib/sequel_bureau_adapter.rb +188 -0
- data/test/spec_bureau.rb +123 -0
- data/test/spec_bureau_adapter.rb +71 -0
- metadata +126 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 4f992d2488a34a34b13d65e935948615277a2f52ca865b8bf921ee3a64e42eda
|
4
|
+
data.tar.gz: 3fcf376ee734043bcf68ec5af712147cf3ceaf8d6e183a37b7cb3cb10a1aa3df
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: d8b6625a6159097e4fecb1ea56dd44d3b4ab249442aa12867c44a0b56d9378dd86b753876cb7904db02d5c8329c6b1ad157c074e4e3bb3bc5cac02a2bff39768
|
7
|
+
data.tar.gz: ca920b2987fab3158b0422bc25349a7f6b110358c8bfdea2dde305e64de0f3cc1c85db2942b80bd33750d44a9167947c2afe67756163613f9a26e6dfe9aa3df8
|
data/.gitignore
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
Gem::Specification.new do |s|
|
2
|
+
s.name = 'campbellhay-bureau'
|
3
|
+
s.version = "4.1.7"
|
4
|
+
s.platform = Gem::Platform::RUBY
|
5
|
+
s.summary = "The CampbellHay Admin System"
|
6
|
+
s.description = "The CampbellHay Admin System"
|
7
|
+
s.files = `git ls-files`.split("\n").sort
|
8
|
+
s.require_path = './lib'
|
9
|
+
s.author = "Mickael Riga"
|
10
|
+
s.email = "mig@campbellhay.com"
|
11
|
+
s.homepage = "http://www.campbellhay.com"
|
12
|
+
s.add_dependency('rack-golem')
|
13
|
+
end
|
14
|
+
|
data/gempush
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
works
|
@@ -0,0 +1,586 @@
|
|
1
|
+
/* ========== */
|
2
|
+
/* = Layout = */
|
3
|
+
/* ========== */
|
4
|
+
img {
|
5
|
+
border: 0; }
|
6
|
+
|
7
|
+
body, html {
|
8
|
+
font-family: helvetica, verdana, sans-serif;
|
9
|
+
font-size: 11px;
|
10
|
+
line-height: 14px;
|
11
|
+
color: #666;
|
12
|
+
background-color: #dedee0;
|
13
|
+
padding: 0;
|
14
|
+
margin: 0;
|
15
|
+
height: 100%;
|
16
|
+
overflow: hidden; }
|
17
|
+
|
18
|
+
a {
|
19
|
+
text-decoration: none;
|
20
|
+
color: black; }
|
21
|
+
|
22
|
+
a:hover {
|
23
|
+
text-decoration: underline; }
|
24
|
+
|
25
|
+
#sidebar, #slides, #slides-wrapper {
|
26
|
+
height: 100%; }
|
27
|
+
|
28
|
+
#sidebar {
|
29
|
+
-moz-box-shadow: 0px 0px 10px #666666;
|
30
|
+
-webkit-box-shadow: 0px 0px 10px #666666;
|
31
|
+
box-shadow: 0px 0px 10px #666666;
|
32
|
+
z-index: 10;
|
33
|
+
width: 200px;
|
34
|
+
position: absolute;
|
35
|
+
left: 0px;
|
36
|
+
top: 0px;
|
37
|
+
background-color: #f1f1f1;
|
38
|
+
color: #303030;
|
39
|
+
overflow-y: auto; }
|
40
|
+
|
41
|
+
#greetings {
|
42
|
+
margin: 10px; }
|
43
|
+
|
44
|
+
#sidebar .logout {
|
45
|
+
margin: 10px;
|
46
|
+
display: block;
|
47
|
+
border-bottom: 1px solid gray;
|
48
|
+
color: gray; }
|
49
|
+
|
50
|
+
#slides {
|
51
|
+
position: absolute;
|
52
|
+
/* color: white; */
|
53
|
+
margin-left: 200px;
|
54
|
+
position: relative; }
|
55
|
+
|
56
|
+
.slide {
|
57
|
+
width: 100%;
|
58
|
+
height: 100%;
|
59
|
+
overflow: auto;
|
60
|
+
background-color: #dedee0;
|
61
|
+
float: left;
|
62
|
+
white-space: normal; }
|
63
|
+
|
64
|
+
.slide-inner {
|
65
|
+
padding: 10px; }
|
66
|
+
|
67
|
+
#menu {
|
68
|
+
margin: 20px 0px 100px 0px; }
|
69
|
+
#menu #menu-list {
|
70
|
+
list-style: none;
|
71
|
+
padding: 0px; }
|
72
|
+
#menu #menu-list .menu-group-list {
|
73
|
+
list-style: none;
|
74
|
+
padding: 0px; }
|
75
|
+
#menu #menu-list a {
|
76
|
+
display: block;
|
77
|
+
padding: 7px 10px;
|
78
|
+
font-size: 17px;
|
79
|
+
font-family: times, serif; }
|
80
|
+
#menu #menu-list a:hover {
|
81
|
+
background-color: #dedee0;
|
82
|
+
text-decoration: none; }
|
83
|
+
#menu #menu-list .selected-menu-section a {
|
84
|
+
background-color: #dedee0; }
|
85
|
+
#menu #menu-list li:last-child {
|
86
|
+
border-bottom: 1px solid gray; }
|
87
|
+
|
88
|
+
.top-pop-stack {
|
89
|
+
display: block;
|
90
|
+
height: 34px;
|
91
|
+
position: relative;
|
92
|
+
font-family: times, serif;
|
93
|
+
font-weight: normal;
|
94
|
+
font-size: 17px;
|
95
|
+
line-height: 34px;
|
96
|
+
color: #b3b3b3;
|
97
|
+
border-top: 1px solid #b3b3b3;
|
98
|
+
border-bottom: 1px solid #b3b3b3;
|
99
|
+
margin-top: 0px;
|
100
|
+
overflow: hidden; }
|
101
|
+
.top-pop-stack:hover {
|
102
|
+
background-color: #f1f1f1;
|
103
|
+
text-decoration: none; }
|
104
|
+
.top-pop-stack > span {
|
105
|
+
display: block;
|
106
|
+
position: absolute;
|
107
|
+
top: 0px;
|
108
|
+
right: 0px; }
|
109
|
+
.top-pop-stack .btn-back {
|
110
|
+
float: right;
|
111
|
+
margin-left: 10px;
|
112
|
+
position: relative;
|
113
|
+
top: 5px; }
|
114
|
+
|
115
|
+
.slide-title, .backend-form h2 {
|
116
|
+
height: 34px;
|
117
|
+
position: relative;
|
118
|
+
font-family: times, serif;
|
119
|
+
font-weight: normal;
|
120
|
+
font-size: 17px;
|
121
|
+
line-height: 34px;
|
122
|
+
color: #303030;
|
123
|
+
border-bottom: 1px solid #b3b3b3;
|
124
|
+
margin-top: 0px;
|
125
|
+
margin-bottom: 20px; }
|
126
|
+
|
127
|
+
.submenu-list {
|
128
|
+
list-style: none;
|
129
|
+
padding: 0px;
|
130
|
+
overflow: hidden; }
|
131
|
+
.submenu-list li {
|
132
|
+
float: left;
|
133
|
+
margin: 0px 10px 10px 0px;
|
134
|
+
-moz-box-shadow: 0px 0px 10px #666666;
|
135
|
+
-webkit-box-shadow: 0px 0px 10px #666666;
|
136
|
+
box-shadow: 0px 0px 10px #666666;
|
137
|
+
height: 24px;
|
138
|
+
width: 184px; }
|
139
|
+
.submenu-list li a {
|
140
|
+
display: block;
|
141
|
+
background-color: #303030;
|
142
|
+
color: white;
|
143
|
+
line-height: 24px;
|
144
|
+
padding-left: 5px; }
|
145
|
+
.submenu-list li a:hover {
|
146
|
+
background-color: gray;
|
147
|
+
text-decoration: none; }
|
148
|
+
|
149
|
+
#copyright {
|
150
|
+
margin: 10px;
|
151
|
+
border-bottom: 1px solid gray;
|
152
|
+
color: gray; }
|
153
|
+
|
154
|
+
noscript div {
|
155
|
+
text-align: center;
|
156
|
+
background-color: yellow;
|
157
|
+
color: black;
|
158
|
+
padding: 20px; }
|
159
|
+
|
160
|
+
/* =========== */
|
161
|
+
/* = Buttons = */
|
162
|
+
/* =========== */
|
163
|
+
.btn {
|
164
|
+
width: 24px;
|
165
|
+
height: 24px;
|
166
|
+
cursor: pointer;
|
167
|
+
display: block;
|
168
|
+
background: url("../img/btn.png");
|
169
|
+
background-repeat: no-repeat;
|
170
|
+
float: left; }
|
171
|
+
|
172
|
+
.btn-up {
|
173
|
+
background-position: 0px 0px; }
|
174
|
+
.btn-up:hover {
|
175
|
+
background-position: 0px -24px; }
|
176
|
+
|
177
|
+
.btn-left {
|
178
|
+
background-position: -24px 0px; }
|
179
|
+
.btn-left:hover {
|
180
|
+
background-position: -24px -24px; }
|
181
|
+
|
182
|
+
.btn-right {
|
183
|
+
background-position: -48px 0px; }
|
184
|
+
.btn-right:hover {
|
185
|
+
background-position: -48px -24px; }
|
186
|
+
|
187
|
+
.btn-down {
|
188
|
+
background-position: -72px 0px; }
|
189
|
+
.btn-down:hover {
|
190
|
+
background-position: -72px -24px; }
|
191
|
+
|
192
|
+
.btn-delete {
|
193
|
+
background-position: -96px 0px; }
|
194
|
+
.btn-delete:hover {
|
195
|
+
background-position: -96px -24px; }
|
196
|
+
|
197
|
+
.btn-plus {
|
198
|
+
background-position: -120px 0px; }
|
199
|
+
.btn-plus:hover {
|
200
|
+
background-position: -120px -24px; }
|
201
|
+
|
202
|
+
.btn-edit {
|
203
|
+
background-position: -144px 0px; }
|
204
|
+
.btn-edit:hover {
|
205
|
+
background-position: -144px -24px; }
|
206
|
+
|
207
|
+
.btn-preview {
|
208
|
+
background-position: -168px 0px; }
|
209
|
+
.btn-preview:hover {
|
210
|
+
background-position: -168px -24px; }
|
211
|
+
|
212
|
+
.btn-search {
|
213
|
+
background-position: -192px 0px; }
|
214
|
+
.btn-search:hover {
|
215
|
+
background-position: -192px -24px; }
|
216
|
+
|
217
|
+
.btn-reload {
|
218
|
+
background-position: -216px 0px; }
|
219
|
+
.btn-reload:hover {
|
220
|
+
background-position: -216px -24px; }
|
221
|
+
|
222
|
+
.btn-clone {
|
223
|
+
background-position: -240px 0px; }
|
224
|
+
.btn-clone:hover {
|
225
|
+
background-position: -240px -24px; }
|
226
|
+
|
227
|
+
/*.btn-plus { background-position: left bottom; }
|
228
|
+
.btn-plus:hover { background-position: left top; }
|
229
|
+
.btn-back { background-position: -264px -24px; }
|
230
|
+
.btn-back:hover { background-position: -264px 0px; }
|
231
|
+
.btn-reload { background-position: -360px -24px; }
|
232
|
+
.btn-reload:hover { background-position: -360px 0px; }
|
233
|
+
.sortable-handle { background-position: -216px -24px; cursor: move; }
|
234
|
+
.sortable-handle:hover { background-position: -216px 0px; }
|
235
|
+
.btn-delete { background-position: -72px -24px; }
|
236
|
+
.btn-delete:hover { background-position: -72px 0px; }
|
237
|
+
.btn-preview { background-position: -408px -24px; }
|
238
|
+
.btn-preview:hover { background-position: -408px 0px; }
|
239
|
+
.btn-edit { background-position: -48px -24px; }
|
240
|
+
.btn-edit:hover { background-position: -48px 0px; }
|
241
|
+
.btn-clone { background-position: -552px -24px; }
|
242
|
+
.btn-clone:hover { background-position: -552px 0px; }
|
243
|
+
|
244
|
+
.btn-delete-attachment
|
245
|
+
{
|
246
|
+
width: 12px;
|
247
|
+
height: 12px;
|
248
|
+
cursor: pointer;
|
249
|
+
display: block;
|
250
|
+
background: url('../img/backend_small_icons.png');
|
251
|
+
background-position: top left;
|
252
|
+
}
|
253
|
+
*/
|
254
|
+
.sortable-handle {
|
255
|
+
background: url("../img/handle.png");
|
256
|
+
background-position: left top;
|
257
|
+
cursor: move; }
|
258
|
+
|
259
|
+
/* ============ */
|
260
|
+
/* = Sortable = */
|
261
|
+
/* ============ */
|
262
|
+
.nut-tree {
|
263
|
+
list-style-type: none;
|
264
|
+
margin: 0px;
|
265
|
+
padding: 0px;
|
266
|
+
overflow: hidden;
|
267
|
+
min-height: 200px; }
|
268
|
+
|
269
|
+
.sortable-grid li {
|
270
|
+
float: left; }
|
271
|
+
|
272
|
+
/* ===================== */
|
273
|
+
/* = Nut Tree commands = */
|
274
|
+
/* ===================== */
|
275
|
+
.nut-tree-toolbar {
|
276
|
+
position: absolute;
|
277
|
+
top: 0px;
|
278
|
+
right: 0px;
|
279
|
+
overflow: hidden; }
|
280
|
+
.nut-tree-toolbar .search {
|
281
|
+
float: right;
|
282
|
+
margin-left: 10px;
|
283
|
+
color: #b3b3b3; }
|
284
|
+
.nut-tree-toolbar .btn {
|
285
|
+
position: relative;
|
286
|
+
top: 5px; }
|
287
|
+
|
288
|
+
/* ============= */
|
289
|
+
/* = Nutshells = */
|
290
|
+
/* ============= */
|
291
|
+
.nutshell {
|
292
|
+
margin: 0px 10px 10px 0px;
|
293
|
+
-moz-box-shadow: 0px 0px 10px #666666;
|
294
|
+
-webkit-box-shadow: 0px 0px 10px #666666;
|
295
|
+
box-shadow: 0px 0px 10px #666666;
|
296
|
+
width: 184px; }
|
297
|
+
|
298
|
+
.nutshell-header {
|
299
|
+
height: 24px;
|
300
|
+
background-color: #303030;
|
301
|
+
color: white;
|
302
|
+
position: relative; }
|
303
|
+
.nutshell-header .nutshell-title {
|
304
|
+
line-height: 24px;
|
305
|
+
position: absolute;
|
306
|
+
top: 0px;
|
307
|
+
left: 5px;
|
308
|
+
right: 24px;
|
309
|
+
bottom: 0px;
|
310
|
+
overflow: hidden;
|
311
|
+
white-space: nowrap;
|
312
|
+
text-overflow: ellipsis; }
|
313
|
+
.nutshell-header .sortable-handle {
|
314
|
+
float: right; }
|
315
|
+
|
316
|
+
.in-nutshell {
|
317
|
+
background-color: gray;
|
318
|
+
overflow: hidden; }
|
319
|
+
.in-nutshell img {
|
320
|
+
display: block; }
|
321
|
+
.in-nutshell .quick-update {
|
322
|
+
padding: 5px; }
|
323
|
+
.in-nutshell .quick-update form {
|
324
|
+
overflow: hidden; }
|
325
|
+
.in-nutshell .quick-update select {
|
326
|
+
width: 90px; }
|
327
|
+
.in-nutshell .quick-update > form > .column-title {
|
328
|
+
position: relative;
|
329
|
+
top: 5px; }
|
330
|
+
.in-nutshell .quick-update > form > *:last-child {
|
331
|
+
float: right; }
|
332
|
+
|
333
|
+
.nutshell-toolbar {
|
334
|
+
background-color: #b3b3b3;
|
335
|
+
color: #303030;
|
336
|
+
line-height: 28px;
|
337
|
+
padding-left: 5px;
|
338
|
+
overflow: hidden; }
|
339
|
+
.nutshell-toolbar form {
|
340
|
+
display: none; }
|
341
|
+
.nutshell-toolbar .btn {
|
342
|
+
margin: 2px;
|
343
|
+
float: right; }
|
344
|
+
|
345
|
+
.nutshell-child {
|
346
|
+
display: block;
|
347
|
+
padding: 5px;
|
348
|
+
background-color: #b3b3b3; }
|
349
|
+
.nutshell-child:hover {
|
350
|
+
text-decoration: none;
|
351
|
+
background-color: #f1f1f1; }
|
352
|
+
|
353
|
+
.column-title {
|
354
|
+
color: black; }
|
355
|
+
|
356
|
+
.deletable-image {
|
357
|
+
position: relative; }
|
358
|
+
|
359
|
+
.btn-delete-attachment {
|
360
|
+
position: absolute;
|
361
|
+
top: 2px;
|
362
|
+
left: 2px; }
|
363
|
+
|
364
|
+
/* ========= */
|
365
|
+
/* = Forms = */
|
366
|
+
/* ========= */
|
367
|
+
input[type=text], input[type=password] {
|
368
|
+
width: 394px;
|
369
|
+
margin: 0px;
|
370
|
+
padding: 3px;
|
371
|
+
border: 0px; }
|
372
|
+
|
373
|
+
input[type=text].price-main, input[type=text].price-cents {
|
374
|
+
width: auto; }
|
375
|
+
input[type=text].price-main { text-align: right; }
|
376
|
+
|
377
|
+
textarea {
|
378
|
+
width: 390px;
|
379
|
+
height: 200px;
|
380
|
+
margin: 0px;
|
381
|
+
padding: 5px;
|
382
|
+
border: 0px; }
|
383
|
+
|
384
|
+
.asmListItem {
|
385
|
+
background-color: #999;
|
386
|
+
width: 394px;
|
387
|
+
margin: 0px;
|
388
|
+
padding: 2px; }
|
389
|
+
|
390
|
+
.crushyform-required, .crushyfield-error-list {
|
391
|
+
color: black; }
|
392
|
+
|
393
|
+
.crushyfield-error input,
|
394
|
+
.crushyfield-error textarea,
|
395
|
+
.crushyfield-error iframe.underwood_iframe {
|
396
|
+
background-color: tomato; }
|
397
|
+
|
398
|
+
.many-to-many-picker {
|
399
|
+
position: relative;
|
400
|
+
top: -20px;
|
401
|
+
border-bottom: 1px solid #b3b3b3;
|
402
|
+
background-color: #f1f1f1;
|
403
|
+
padding-bottom: 5px; }
|
404
|
+
.many-to-many-picker .many-to-many-search {
|
405
|
+
margin: 5px;
|
406
|
+
color: #b3b3b3; }
|
407
|
+
.many-to-many-picker .many-to-many-search .minisearch {
|
408
|
+
margin: 5px; }
|
409
|
+
.many-to-many-picker .minilist-wrapper {
|
410
|
+
height: 85px;
|
411
|
+
overflow: auto;
|
412
|
+
position: relative; }
|
413
|
+
.many-to-many-picker .minilist-wrapper .minilist {
|
414
|
+
list-style: none;
|
415
|
+
padding: 0px;
|
416
|
+
margin: 0px;
|
417
|
+
overflow: hidden; }
|
418
|
+
.many-to-many-picker .minilist-wrapper .minilist li {
|
419
|
+
float: left;
|
420
|
+
margin-right: 10px;
|
421
|
+
cursor: move; }
|
422
|
+
.many-to-many-picker .minilist-wrapper .minilist li img {
|
423
|
+
width: 87px;
|
424
|
+
display: block; }
|
425
|
+
.many-to-many-picker .minilist-wrapper .minilist li div {
|
426
|
+
color: #303030;
|
427
|
+
width: 81px;
|
428
|
+
height: 14px;
|
429
|
+
padding: 3px;
|
430
|
+
text-align: center;
|
431
|
+
overflow: hidden;
|
432
|
+
white-space: nowrap;
|
433
|
+
text-overflow: ellipsis; }
|
434
|
+
.many-to-many-picker .minilist-wrapper .minilist li:hover, .many-to-many-picker .minilist-wrapper .minilist li.selected {
|
435
|
+
background-color: #00d6b5; }
|
436
|
+
|
437
|
+
.minilist-dragged img {
|
438
|
+
width: 87px;
|
439
|
+
display: block; }
|
440
|
+
.minilist-dragged div {
|
441
|
+
color: #303030;
|
442
|
+
background-color: #f1f1f1;
|
443
|
+
width: 81px;
|
444
|
+
height: 14px;
|
445
|
+
padding: 3px;
|
446
|
+
text-align: center;
|
447
|
+
overflow: hidden;
|
448
|
+
white-space: nowrap;
|
449
|
+
text-overflow: ellipsis; }
|
450
|
+
|
451
|
+
.mapolygon-me {
|
452
|
+
margin-bottom: 10px; max-width: 100%; }
|
453
|
+
|
454
|
+
.scene-selector-toolbar {
|
455
|
+
display: none;
|
456
|
+
margin-bottom: 20px; }
|
457
|
+
|
458
|
+
/* ================= */
|
459
|
+
/* = Form booleans = */
|
460
|
+
/* ================= */
|
461
|
+
|
462
|
+
.on-off {
|
463
|
+
width: 40px;
|
464
|
+
height: 20px;
|
465
|
+
display: inline-block;
|
466
|
+
position: relative;
|
467
|
+
z-index: auto;
|
468
|
+
}
|
469
|
+
|
470
|
+
.on-off input {
|
471
|
+
display: none;
|
472
|
+
}
|
473
|
+
|
474
|
+
.on-off label {
|
475
|
+
position: absolute;
|
476
|
+
left: 0px; top: 0px;
|
477
|
+
text-indent: -100000px;
|
478
|
+
width: 0px; height: 0px;
|
479
|
+
padding: 10px;
|
480
|
+
border-radius: 10px;
|
481
|
+
-webkit-touch-callout: none;
|
482
|
+
-webkit-user-select: none;
|
483
|
+
-khtml-user-select: none;
|
484
|
+
-moz-user-select: none;
|
485
|
+
-ms-user-select: none;
|
486
|
+
user-select: none;
|
487
|
+
-webkit-transition: .1s;
|
488
|
+
-moz-transition: .1s;
|
489
|
+
-o-transition: .1s;
|
490
|
+
-ms-transition: .1s;
|
491
|
+
transition: .1s;
|
492
|
+
}
|
493
|
+
|
494
|
+
.on-off input[value=true]:checked + label {
|
495
|
+
background: lightgreen;
|
496
|
+
width: 20px;
|
497
|
+
z-index: 1;
|
498
|
+
}
|
499
|
+
|
500
|
+
.on-off input[value=true] + label {
|
501
|
+
background: #333;
|
502
|
+
z-index: 3;
|
503
|
+
}
|
504
|
+
|
505
|
+
.on-off input[value=false]:checked + label {
|
506
|
+
background: #f77;
|
507
|
+
left: 0px;
|
508
|
+
width: 20px;
|
509
|
+
z-index: 1;
|
510
|
+
}
|
511
|
+
|
512
|
+
.on-off input[value=false] + label {
|
513
|
+
background: #333;
|
514
|
+
left: 20px;
|
515
|
+
z-index: 3;
|
516
|
+
}
|
517
|
+
|
518
|
+
/* ============= */
|
519
|
+
/* = Underwood = */
|
520
|
+
/* ============= */
|
521
|
+
iframe.underwood_iframe {
|
522
|
+
width: 400px;
|
523
|
+
height: 300px;
|
524
|
+
margin: 0px;
|
525
|
+
padding: 0px;
|
526
|
+
border: 0px;
|
527
|
+
background-color: white; }
|
528
|
+
|
529
|
+
.underwood_btn {
|
530
|
+
margin-right: 5px;
|
531
|
+
margin-bottom: 5px;
|
532
|
+
display: inline-block;
|
533
|
+
text-indent: -1000px;
|
534
|
+
width: 30px;
|
535
|
+
height: 30px;
|
536
|
+
background: url("../img/underwood_btn.png");
|
537
|
+
background-repeat: no-repeat; }
|
538
|
+
|
539
|
+
.underwood_btn_title {
|
540
|
+
background-position: 0px 0px; }
|
541
|
+
|
542
|
+
.underwood_btn_bold {
|
543
|
+
background-position: -31px 0px; }
|
544
|
+
|
545
|
+
.underwood_btn_italic {
|
546
|
+
background-position: -62px 0px; }
|
547
|
+
|
548
|
+
.underwood_btn_link {
|
549
|
+
background-position: -93px 0px; }
|
550
|
+
|
551
|
+
.underwood_btn_unlink {
|
552
|
+
background-position: -124px 0px; }
|
553
|
+
|
554
|
+
.underwood_btn_image {
|
555
|
+
background-position: -155px 0px; }
|
556
|
+
|
557
|
+
.underwood_btn_mailto {
|
558
|
+
background-position: -186px 0px; }
|
559
|
+
|
560
|
+
.underwood_btn_source {
|
561
|
+
background-position: -217px 0px; }
|
562
|
+
|
563
|
+
.underwood_btn_paragraph {
|
564
|
+
background-position: -248px 0px; }
|
565
|
+
|
566
|
+
.underwood_btn_back {
|
567
|
+
width: 22px;
|
568
|
+
height: 22px;
|
569
|
+
background: url("../img/btn.png");
|
570
|
+
background-position: -336px 0px; }
|
571
|
+
|
572
|
+
/* css for timepicker */
|
573
|
+
.ui-timepicker-div .ui-widget-header {
|
574
|
+
margin-bottom: 8px; }
|
575
|
+
|
576
|
+
.ui-timepicker-div dl {
|
577
|
+
text-align: left; }
|
578
|
+
|
579
|
+
.ui-timepicker-div dl dt {
|
580
|
+
height: 25px; }
|
581
|
+
|
582
|
+
.ui-timepicker-div dl dd {
|
583
|
+
margin: -25px 0 10px 65px; }
|
584
|
+
|
585
|
+
.ui-timepicker-div td {
|
586
|
+
font-size: 90%; }
|
@@ -0,0 +1,63 @@
|
|
1
|
+
.asmContainer {
|
2
|
+
/* container that surrounds entire asmSelect widget */
|
3
|
+
}
|
4
|
+
|
5
|
+
.asmSelect {
|
6
|
+
/* the newly created regular 'select' */
|
7
|
+
display: inline;
|
8
|
+
}
|
9
|
+
|
10
|
+
.asmOptionDisabled {
|
11
|
+
/* disabled options in new select */
|
12
|
+
color: #999;
|
13
|
+
}
|
14
|
+
|
15
|
+
.asmHighlight {
|
16
|
+
/* the highlight span */
|
17
|
+
padding: 0;
|
18
|
+
margin: 0 0 0 1em;
|
19
|
+
}
|
20
|
+
|
21
|
+
.asmList {
|
22
|
+
/* html list that contains selected items */
|
23
|
+
margin: 0.25em 0 1em 0;
|
24
|
+
position: relative;
|
25
|
+
display: block;
|
26
|
+
padding-left: 0;
|
27
|
+
list-style: none;
|
28
|
+
}
|
29
|
+
|
30
|
+
.asmListItem {
|
31
|
+
/* li item from the html list above */
|
32
|
+
position: relative;
|
33
|
+
margin-left: 0;
|
34
|
+
padding-left: 0;
|
35
|
+
list-style: none;
|
36
|
+
background: #ddd;
|
37
|
+
border: 1px solid #bbb;
|
38
|
+
width: 100%;
|
39
|
+
margin: 0 0 -1px 0;
|
40
|
+
line-height: 1em;
|
41
|
+
}
|
42
|
+
|
43
|
+
.asmListItem:hover {
|
44
|
+
background-color: #e5e5e5;
|
45
|
+
}
|
46
|
+
|
47
|
+
.asmListItemLabel {
|
48
|
+
/* this is a span that surrounds the text in the item, except for the remove link */
|
49
|
+
padding: 5px;
|
50
|
+
display: block;
|
51
|
+
}
|
52
|
+
|
53
|
+
.asmListSortable .asmListItemLabel {
|
54
|
+
cursor: move;
|
55
|
+
}
|
56
|
+
|
57
|
+
.asmListItemRemove {
|
58
|
+
/* the remove link in each list item */
|
59
|
+
position: absolute;
|
60
|
+
right: 0;
|
61
|
+
top: 0;
|
62
|
+
padding: 5px;
|
63
|
+
}
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|