drg_cms 0.6.0.8 → 0.6.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +25 -10
- data/app/assets/javascripts/drg_cms/drg_cms.js +208 -81
- data/app/assets/stylesheets/drg_cms/drg_cms.css +298 -93
- data/app/assets/stylesheets/drg_cms/select-multiple.css +1 -1
- data/app/controllers/cmsedit_controller.rb +174 -167
- data/app/controllers/dc_application_controller.rb +230 -196
- data/app/controllers/dc_common_controller.rb +88 -50
- data/app/controls/dc_help_control.rb +138 -0
- data/app/controls/dc_report.rb +12 -16
- data/app/forms/all_options.yml +14 -5
- data/app/forms/cms_menu.yml +7 -1
- data/app/forms/dc_big_table.yml +0 -2
- data/app/forms/dc_big_table_value.yml +0 -2
- data/app/forms/dc_category.yml +2 -1
- data/app/forms/dc_design.yml +2 -2
- data/app/forms/dc_folder_permission.yml +0 -2
- data/app/forms/dc_help_1.yml +110 -0
- data/app/forms/dc_journal.yml +3 -1
- data/app/forms/dc_json_ld.yml +0 -3
- data/app/forms/dc_link.yml +1 -1
- data/app/forms/dc_menu.yml +8 -12
- data/app/forms/dc_menu_item.yml +2 -3
- data/app/forms/dc_page.yml +7 -2
- data/app/forms/dc_part.yml +1 -0
- data/app/forms/dc_piece.yml +1 -0
- data/app/forms/dc_policy.yml +2 -5
- data/app/forms/dc_poll.yml +13 -16
- data/app/forms/dc_seo.yml +1 -2
- data/app/forms/dc_simple_menu.yml +3 -2
- data/app/forms/dc_site.yml +5 -8
- data/app/forms/dc_user.yml +27 -11
- data/app/forms/dc_user_role.yml +3 -0
- data/app/helpers/cms_common_helper.rb +68 -4
- data/app/helpers/cms_edit_helper.rb +73 -55
- data/app/helpers/cms_helper.rb +70 -32
- data/app/helpers/cms_index_helper.rb +155 -102
- data/app/helpers/dc_application_helper.rb +132 -109
- data/app/models/concerns/dc_page_concern.rb +14 -4
- data/app/models/concerns/dc_piece_concern.rb +1 -1
- data/app/models/concerns/dc_policy_rule_concern.rb +20 -8
- data/app/models/concerns/dc_site_concern.rb +56 -44
- data/app/models/concerns/dc_user_concern.rb +58 -19
- data/app/models/dc_big_table.rb +2 -2
- data/app/models/dc_design.rb +29 -19
- data/app/models/dc_filter.rb +28 -22
- data/app/models/dc_key_value_store.rb +1 -0
- data/app/models/dc_permission.rb +19 -9
- data/app/models/dc_policy.rb +25 -14
- data/app/models/dc_policy_role.rb +22 -11
- data/app/models/dc_temp.rb +8 -1
- data/app/models/dc_user_role.rb +2 -2
- data/app/models/drgcms_form_fields/comment.rb +11 -2
- data/app/models/drgcms_form_fields/date_picker.rb +2 -0
- data/app/models/drgcms_form_fields/drgcms_field.rb +2 -1
- data/app/models/drgcms_form_fields/embedded.rb +9 -10
- data/app/models/drgcms_form_fields/file_field.rb +1 -1
- data/app/models/drgcms_form_fields/file_select.rb +2 -2
- data/app/models/drgcms_form_fields/hash_field.rb +11 -7
- data/app/models/drgcms_form_fields/link_to.rb +2 -2
- data/app/models/drgcms_form_fields/method.rb +5 -4
- data/app/models/drgcms_form_fields/multitext_autocomplete.rb +1 -1
- data/app/models/drgcms_form_fields/number_field.rb +4 -3
- data/app/models/drgcms_form_fields/readonly.rb +13 -17
- data/app/models/drgcms_form_fields/select.rb +24 -25
- data/app/models/drgcms_form_fields/text_autocomplete.rb +22 -14
- data/app/renderers/dc_page_renderer.rb +7 -6
- data/app/renderers/dc_poll_renderer.rb +16 -20
- data/app/views/cmsedit/_edit_stuff.html.erb +5 -2
- data/app/views/cmsedit/_form.html.erb +3 -2
- data/app/views/cmsedit/_result.html.erb +21 -18
- data/app/views/cmsedit/edit.html.erb +4 -1
- data/app/views/cmsedit/index.html.erb +3 -2
- data/app/views/cmsedit/new.html.erb +5 -2
- data/app/views/dc_common/_help.html.erb +17 -0
- data/app/views/layouts/models.html.erb +2 -1
- data/config/locales/drgcms_en.yml +17 -2
- data/config/locales/drgcms_sl.yml +20 -2
- data/config/locales/models_en.yml +7 -5
- data/config/locales/models_sl.yml +12 -9
- data/drg_cms.gemspec +16 -16
- data/lib/drg_cms/version.rb +1 -1
- data/lib/drg_cms.rb +94 -2
- metadata +32 -30
- data/app/models/__dc_dummy.rb +0 -102
@@ -95,7 +95,7 @@ textarea, input, select {
|
|
95
95
|
color: #000;
|
96
96
|
padding: 6px 4px;
|
97
97
|
margin-left: 1px;
|
98
|
-
border:
|
98
|
+
border: 1px dashed #888;;
|
99
99
|
border-radius: 2px;
|
100
100
|
font: 14px Exo,arial,sans-serif;
|
101
101
|
max-width: 100%;
|
@@ -117,6 +117,7 @@ input[type=submit]:focus {
|
|
117
117
|
|
118
118
|
textarea[readonly], input[readonly], select[readonly] {
|
119
119
|
background-color: #eee !important;
|
120
|
+
border: 1px solid #ddd !important;
|
120
121
|
}
|
121
122
|
|
122
123
|
input.file {
|
@@ -167,17 +168,11 @@ img { vertical-align:bottom; }
|
|
167
168
|
.dc-link a:link, .dc-link a:active, .dc-link a:visited,
|
168
169
|
.dc-animate a:link, .dc-animate a:active, .dc-animate a:visited,
|
169
170
|
.dc-result a:link, .dc-result a:active, .dc-result a:visited {
|
170
|
-
color: #666;
|
171
|
-
font-weight: 600;
|
172
|
-
text-decoration: none;
|
173
|
-
background: transparent;
|
174
|
-
padding: 7px;
|
175
|
-
}
|
176
|
-
|
177
|
-
.dc-link a:hover, .dc-animate a:hover, .dc-result a:hover {
|
178
|
-
background: #f8f8f8;
|
179
|
-
transition: 0.3s;
|
180
|
-
color: #000;
|
171
|
+
color: #666;
|
172
|
+
font-weight: 600;
|
173
|
+
text-decoration: none;
|
174
|
+
background: transparent;
|
175
|
+
padding: 7px;
|
181
176
|
}
|
182
177
|
|
183
178
|
a.dc-animate:hover { color: #000; background: transparent;}
|
@@ -187,7 +182,7 @@ a.dc-animate:hover { color: #000; background: transparent;}
|
|
187
182
|
.dc-image-preview img { max-height: 2rem; padding-left: 0.5rem;}
|
188
183
|
.dc-image-preview img:hover { cursor: zoom-in;}
|
189
184
|
|
190
|
-
.text-with-select { width:
|
185
|
+
.text-with-select { width: 20px; }
|
191
186
|
|
192
187
|
.no-borders {
|
193
188
|
padding: 0;
|
@@ -205,7 +200,6 @@ width: 99.9%;
|
|
205
200
|
padding: 0;
|
206
201
|
border-spacing: 0;
|
207
202
|
border-radius: 1px;
|
208
|
-
background-color: #f9f9f9;
|
209
203
|
}
|
210
204
|
|
211
205
|
.dc-result i {
|
@@ -227,7 +221,6 @@ padding: 0;
|
|
227
221
|
|
228
222
|
.dc-result-header {
|
229
223
|
display: flex;
|
230
|
-
background: linear-gradient(to bottom, #eee 0%, #e2e2e2 100%);
|
231
224
|
}
|
232
225
|
.dc-result-data {
|
233
226
|
display: flex;
|
@@ -239,29 +232,29 @@ padding: 0;
|
|
239
232
|
}
|
240
233
|
|
241
234
|
.dc-result-header .th {
|
242
|
-
padding:
|
235
|
+
padding: 4px 3px;
|
243
236
|
white-space: nowrap;
|
244
237
|
overflow: hidden;
|
245
238
|
font-weight: 600;
|
246
|
-
color: #
|
239
|
+
color: #fff;
|
240
|
+
background-color: #666;
|
241
|
+
}
|
242
|
+
.dc-result-header .th:last-child {
|
243
|
+
flex-grow: 1;
|
247
244
|
}
|
248
245
|
|
249
246
|
.dc-result-header .spacer, .dc-result-data .spacer {
|
250
247
|
width: 2px;
|
251
|
-
/*
|
252
|
-
font-size: 1.5em;
|
253
|
-
margin: 0 0;
|
254
|
-
padding: 4px 0;
|
255
|
-
resize: both;
|
256
|
-
/* border-left: 1px solid #ccc;*/
|
257
248
|
}
|
258
249
|
|
259
|
-
.dc-result-header a:link {
|
250
|
+
.dc-result-header a:link, .dc-result-header a:visited {
|
260
251
|
padding-left: 0;
|
252
|
+
color: #fff;
|
253
|
+
font-weight: 500;
|
261
254
|
}
|
262
255
|
|
263
256
|
.dc-result-data .td {
|
264
|
-
padding: 5px
|
257
|
+
padding: 5px 3px;
|
265
258
|
white-space: nowrap;
|
266
259
|
overflow: hidden;
|
267
260
|
text-overflow: ellipsis;
|
@@ -269,6 +262,10 @@ padding: 0;
|
|
269
262
|
align-items: center;
|
270
263
|
}
|
271
264
|
|
265
|
+
.dc-result-data .td:last-child {
|
266
|
+
flex-grow: 1;
|
267
|
+
}
|
268
|
+
|
272
269
|
.dc-result-data .actions, .dc-result-header .actions {
|
273
270
|
padding-right: 4px;
|
274
271
|
display: flex;
|
@@ -276,6 +273,14 @@ padding: 0;
|
|
276
273
|
justify-content: center;
|
277
274
|
white-space: nowrap;
|
278
275
|
}
|
276
|
+
.dc-result-header .actions {
|
277
|
+
background-color: #666;
|
278
|
+
}
|
279
|
+
|
280
|
+
.dc-result-data.dc-even.dc-checked, .dc-result-data.dc-odd.dc-checked {
|
281
|
+
background-color: #dbebff;
|
282
|
+
background-color: rgba(76,154,255, 0.6);
|
283
|
+
}
|
279
284
|
|
280
285
|
.dc-result-data .dc-link, .dc-result-data .dc-link-ajax {
|
281
286
|
background: none;
|
@@ -306,6 +311,17 @@ padding: 0;
|
|
306
311
|
background-color: transparent;
|
307
312
|
}
|
308
313
|
|
314
|
+
.dc-check {
|
315
|
+
padding-right: 4px;
|
316
|
+
}
|
317
|
+
|
318
|
+
.dc-result-header .dc-check-all {
|
319
|
+
font-size: 1.2em;
|
320
|
+
margin-left: -1rem;
|
321
|
+
background-color: white;
|
322
|
+
padding: 6px 3px;
|
323
|
+
}
|
324
|
+
|
309
325
|
.dc-menu {
|
310
326
|
padding: 4px 0;
|
311
327
|
display: inline-table;
|
@@ -316,16 +332,15 @@ display: inline-table;
|
|
316
332
|
margin-right: 3px;
|
317
333
|
}
|
318
334
|
|
319
|
-
|
320
335
|
#data-fields {margin: 5px;}
|
321
336
|
|
322
337
|
.dc-link {
|
323
|
-
font-weight: 600;
|
324
|
-
color: #666;
|
325
|
-
text-align: center;
|
326
|
-
border-radius:
|
327
|
-
background: transparent linear-gradient(to bottom, #fff 0%, #e2e2e2 100%);
|
328
|
-
border: 1px solid #
|
338
|
+
font-weight: 600;
|
339
|
+
color: #666;
|
340
|
+
text-align: center;
|
341
|
+
border-radius: 3px;
|
342
|
+
background: transparent linear-gradient(to bottom, #fff 0%, #e2e2e2 100%);
|
343
|
+
border: 1px solid #eee;
|
329
344
|
}
|
330
345
|
|
331
346
|
.dc-link:hover {
|
@@ -350,44 +365,48 @@ border: 1px solid #ddd;
|
|
350
365
|
font-weight: 600;
|
351
366
|
padding: 7px;
|
352
367
|
vertical-align: bottom;
|
353
|
-
border: 1px solid #
|
354
|
-
border-radius:
|
355
|
-
color: #
|
356
|
-
|
368
|
+
border: 1px solid #eee;
|
369
|
+
border-radius: 3px;
|
370
|
+
color: #777;
|
371
|
+
text-shadow: 1px 1px #fff;
|
372
|
+
background: #ddd !important;
|
373
|
+
}
|
374
|
+
|
375
|
+
.dc-action-menu li.dc-link.plus-link {
|
376
|
+
padding: 7px 0;
|
357
377
|
}
|
358
378
|
|
359
379
|
.dc-link-ajax {
|
360
380
|
text-align: left;
|
361
381
|
font-weight: 600;
|
362
382
|
padding: 8px 8px 6px;
|
363
|
-
border-radius:
|
383
|
+
border-radius: 3px;
|
364
384
|
color: #666;
|
365
385
|
background: transparent linear-gradient(to bottom, #fff 0%, #e2e2e2 100%) repeat scroll 0% 0%;
|
366
|
-
border: 1px solid #
|
386
|
+
border: 1px solid #eee;
|
367
387
|
}
|
368
388
|
|
369
389
|
.dc-link-ajax.with-link {padding: 7px}
|
370
|
-
|
390
|
+
.cmsform .dc-link-ajax.with-link {padding: 0}
|
371
391
|
|
372
392
|
.dc-link-ajax i, .dc-link-no i {
|
373
393
|
padding: 1px 3px 0 0;
|
374
394
|
}
|
375
395
|
|
376
396
|
.dc-link-ajax:hover, .dc-action-submit:hover {
|
377
|
-
cursor: pointer;
|
378
|
-
|
379
|
-
|
397
|
+
cursor: pointer;
|
398
|
+
color: #000;
|
399
|
+
background: #eee;
|
380
400
|
border: 1px solid rgba(76,154,255, 1);
|
381
401
|
box-shadow: inset 0 0 0 1px rgba(76,154,255, 1);
|
382
|
-
transition: 0.3s;
|
383
|
-
color: #000;
|
402
|
+
transition: 0.3s;
|
384
403
|
}
|
385
404
|
|
386
405
|
.dc-link-ajax:hover a {
|
387
|
-
color: #000;
|
388
|
-
background: transparent;
|
389
|
-
cursor: pointer;
|
390
|
-
transition: 0.3s;
|
406
|
+
color: #000;
|
407
|
+
background: transparent;
|
408
|
+
cursor: pointer;
|
409
|
+
transition: 0.3s;
|
391
410
|
}
|
392
411
|
|
393
412
|
.dc-link-img {
|
@@ -403,7 +422,7 @@ transition: 0.3s;
|
|
403
422
|
|
404
423
|
.dc-link-icon {
|
405
424
|
padding: 3px;
|
406
|
-
border-radius:
|
425
|
+
border-radius: 3px;
|
407
426
|
background: transparent linear-gradient(to bottom, #fff 0%, #e2e2e2 100%) repeat scroll 0% 0%;
|
408
427
|
border: solid 1px #ccc;;
|
409
428
|
}
|
@@ -427,7 +446,7 @@ border: solid 1px #ccc;;
|
|
427
446
|
padding: 5px 4px 4px;
|
428
447
|
background: #fff;
|
429
448
|
border: 2px solid #222;
|
430
|
-
border-radius:
|
449
|
+
border-radius: 3px;
|
431
450
|
}
|
432
451
|
|
433
452
|
.dc-inline-link:hover {
|
@@ -439,7 +458,7 @@ border: solid 1px #ccc;;
|
|
439
458
|
text-align: center;
|
440
459
|
border:1px solid #888;
|
441
460
|
padding:1px 4px 1px 4px;
|
442
|
-
border-radius:
|
461
|
+
border-radius: 3px;
|
443
462
|
box-shadow: 2px 2px 5px #aaa;
|
444
463
|
width: 13px;
|
445
464
|
margin-left: 350px;
|
@@ -461,16 +480,12 @@ border: solid 1px #ccc;;
|
|
461
480
|
}
|
462
481
|
.dc-link-submit {
|
463
482
|
text-align: left;
|
464
|
-
|
465
|
-
/* Exo padding: 0 8px; */
|
466
|
-
|
467
|
-
border-radius: 2px;
|
483
|
+
border-radius: 3px;
|
468
484
|
background-color: #eee;
|
469
485
|
background: transparent linear-gradient(to bottom, #fff 0%, #e2e2e2 100%) repeat scroll 0% 0%;
|
470
|
-
border: 1px solid #
|
486
|
+
border: 1px solid #eee;
|
471
487
|
display: flex;
|
472
488
|
align-items: center;
|
473
|
-
|
474
489
|
}
|
475
490
|
|
476
491
|
.dc-link-submit .fa {
|
@@ -496,7 +511,7 @@ border: solid 1px #ccc;;
|
|
496
511
|
border: none;
|
497
512
|
color: #666;
|
498
513
|
font-weight: 600;
|
499
|
-
padding:
|
514
|
+
padding: 2px 8px 1px;
|
500
515
|
border-radius: 0;
|
501
516
|
background: transparent;
|
502
517
|
line-height: 30px;
|
@@ -531,7 +546,7 @@ color: #aaa;
|
|
531
546
|
}
|
532
547
|
.dc-paginate .pagination span a {
|
533
548
|
display: block;
|
534
|
-
color: #
|
549
|
+
color: #666;
|
535
550
|
padding: 4px 6px 3px 7px;
|
536
551
|
text-decoration: none;
|
537
552
|
}
|
@@ -550,13 +565,12 @@ color: #aaa;
|
|
550
565
|
}
|
551
566
|
|
552
567
|
.dc-paginate .pagination .current {
|
553
|
-
background: #
|
568
|
+
background: #666;
|
554
569
|
color: #fff;
|
555
|
-
border: 1px solid #
|
570
|
+
border: 1px solid #666;
|
556
571
|
}
|
557
572
|
|
558
573
|
.dc-paginate .pagination .current:hover {
|
559
|
-
border: solid 1px #888;
|
560
574
|
outline: none;
|
561
575
|
}
|
562
576
|
|
@@ -576,6 +590,15 @@ color: #aaa;
|
|
576
590
|
font-size: 0.8em;
|
577
591
|
}
|
578
592
|
|
593
|
+
.dc-title .dc-help {
|
594
|
+
float:right;
|
595
|
+
padding: 4px 0 0 4px;
|
596
|
+
font-size: 1.1em;
|
597
|
+
height: 1em;
|
598
|
+
border: none;
|
599
|
+
background: none;
|
600
|
+
}
|
601
|
+
|
579
602
|
.dc-form-frame {
|
580
603
|
width: 99.9%;
|
581
604
|
margin: 0;
|
@@ -587,7 +610,7 @@ color: #aaa;
|
|
587
610
|
padding: 4px 0 0;
|
588
611
|
border: 1px solid #eee;
|
589
612
|
border-radius: 2px;
|
590
|
-
background-color: #fcfcfc;
|
613
|
+
/*background-color: #fcfcfc; */
|
591
614
|
}
|
592
615
|
|
593
616
|
.dc-form .row-div {
|
@@ -597,7 +620,7 @@ color: #aaa;
|
|
597
620
|
|
598
621
|
.dc-form-info {
|
599
622
|
padding: 8px;
|
600
|
-
background-image: linear-gradient(to bottom, #dff0d8
|
623
|
+
background-image: linear-gradient(to bottom, #dff0d8 0, #c8e5bc 100%);
|
601
624
|
background-repeat: repeat-x;
|
602
625
|
color: darkgreen;
|
603
626
|
border: 1px solid #b2dba1;
|
@@ -607,19 +630,17 @@ color: #aaa;
|
|
607
630
|
|
608
631
|
.dc-form-warning {
|
609
632
|
padding: 8px;
|
610
|
-
background-image: linear-gradient(to bottom,
|
633
|
+
background-image: linear-gradient(to bottom, rgba(213, 143, 218, 0.1) 0, rgba(213, 143, 218, 0.5) 100%);
|
611
634
|
background-repeat: repeat-x;
|
612
|
-
color:
|
613
|
-
border: 1px solid
|
635
|
+
color: rgba(102, 51, 153, 1);
|
636
|
+
border: 1px solid rgba(102, 51, 153, 0.3);
|
614
637
|
border-radius: 2px;
|
615
638
|
margin: 2px 0;
|
616
639
|
}
|
617
640
|
|
618
641
|
.dc-form-error {
|
619
642
|
padding: 8px;
|
620
|
-
background-image: linear-gradient(to bottom, #f2dede
|
621
|
-
background-repeat: repeat-x;
|
622
|
-
background-color: #f2dede;
|
643
|
+
background-image: linear-gradient(to bottom, #f2dede 0, #e7c3c3 100%);
|
623
644
|
color: #a94442;
|
624
645
|
border: 1px solid #dca7a7;
|
625
646
|
border-radius: 2px;
|
@@ -655,6 +676,9 @@ color: #aaa;
|
|
655
676
|
padding: 3px 5px;
|
656
677
|
}
|
657
678
|
|
679
|
+
.dc-form-label.dc-color-odd, .dc-form-label.dc-color-even {background-color: transparent;}
|
680
|
+
.dc-form-field.dc-color-odd, .dc-form-field.dc-color-even {background-color: transparent;}
|
681
|
+
|
658
682
|
.dc-align-left {
|
659
683
|
text-align: left;
|
660
684
|
}
|
@@ -682,7 +706,7 @@ color: #aaa;
|
|
682
706
|
font-weight: normal;
|
683
707
|
color: #222;
|
684
708
|
padding: 6px 4px;
|
685
|
-
border: solid 1px #
|
709
|
+
border: solid 1px #ddd;;
|
686
710
|
background-color: #eee;
|
687
711
|
border-radius: 2px;
|
688
712
|
}
|
@@ -700,7 +724,6 @@ color: #aaa;
|
|
700
724
|
}
|
701
725
|
.dc-form-ul {
|
702
726
|
padding: 2px 0;
|
703
|
-
margin-top: 6px;
|
704
727
|
margin-bottom: -3px;
|
705
728
|
}
|
706
729
|
|
@@ -720,16 +743,15 @@ margin-bottom: -3px;
|
|
720
743
|
.dc-form-li {
|
721
744
|
display:inline-block;
|
722
745
|
white-space: nowrap;
|
723
|
-
list-style:none;
|
724
|
-
color: #
|
746
|
+
list-style: none;
|
747
|
+
color: #fff;
|
725
748
|
text-decoration: none;
|
726
749
|
text-align: center;
|
727
750
|
font-weight: 600;
|
728
|
-
line-height: 1.
|
729
|
-
|
730
|
-
|
731
|
-
|
732
|
-
margin-right: 2px;
|
751
|
+
line-height: 1.2em;
|
752
|
+
padding: 0.4em 1em;
|
753
|
+
background: #666;
|
754
|
+
margin: 0 1px 0 0;
|
733
755
|
border-left: 1px solid #ddd;
|
734
756
|
border-right: 1px solid #ddd;
|
735
757
|
border-radius: 4px 4px 0 0;
|
@@ -770,6 +792,9 @@ border-top: 1px solid #ddd;
|
|
770
792
|
display: flex;
|
771
793
|
}
|
772
794
|
.dc-head .dc-column {
|
795
|
+
white-space: nowrap;
|
796
|
+
overflow: hidden;
|
797
|
+
margin-right: 2px;
|
773
798
|
}
|
774
799
|
.dc-head .text {
|
775
800
|
font-weight: normal;
|
@@ -806,6 +831,17 @@ display: flex;
|
|
806
831
|
color: lightcoral;
|
807
832
|
}
|
808
833
|
|
834
|
+
#menu-hamburger { display: none;}
|
835
|
+
|
836
|
+
.dc-handle:before {
|
837
|
+
font-family: 'FontAwesome';
|
838
|
+
content: '\f0dc\20';
|
839
|
+
color: #000;
|
840
|
+
cursor: pointer;
|
841
|
+
padding-top: 2px;
|
842
|
+
font-size: 1.1em;
|
843
|
+
}
|
844
|
+
|
809
845
|
#cmsedit-div {
|
810
846
|
font-family: Exo,Arial, sans-serif;
|
811
847
|
font-size: 13px;
|
@@ -940,6 +976,11 @@ display: none;
|
|
940
976
|
position: relative;
|
941
977
|
}
|
942
978
|
|
979
|
+
.dc-text-autocomplete input {
|
980
|
+
border: 1px dashed #555;
|
981
|
+
}
|
982
|
+
|
983
|
+
|
943
984
|
.dc-text-autocomplete input+span:before {
|
944
985
|
font-family: 'FontAwesome';
|
945
986
|
content: '\f002';
|
@@ -972,11 +1013,16 @@ color: #000;
|
|
972
1013
|
.ui-autocomplete-border {
|
973
1014
|
display: inline-block;
|
974
1015
|
border-radius: 2px;
|
975
|
-
border:
|
1016
|
+
border: dashed 1px #555;;
|
976
1017
|
padding: 8px;
|
977
1018
|
background-color: #fff;
|
978
1019
|
}
|
979
1020
|
|
1021
|
+
.ui-autocomplete-border .dc-text-autocomplete {
|
1022
|
+
margin-left: 4px;
|
1023
|
+
}
|
1024
|
+
|
1025
|
+
|
980
1026
|
.dc-red { color: #d99;}
|
981
1027
|
.dc-red:hover { color: #e66;}
|
982
1028
|
.dc-green { color: #9c9;}
|
@@ -1041,7 +1087,7 @@ padding: 0;
|
|
1041
1087
|
padding: 4px;
|
1042
1088
|
background-image: none;
|
1043
1089
|
border-radius: 2px;
|
1044
|
-
border:
|
1090
|
+
border: 2px solid #666;
|
1045
1091
|
background-color: #fff;
|
1046
1092
|
}
|
1047
1093
|
|
@@ -1082,11 +1128,11 @@ white-space: nowrap;
|
|
1082
1128
|
list-style:none;
|
1083
1129
|
padding: 7px;
|
1084
1130
|
margin-right: 4px;
|
1085
|
-
border-radius:
|
1131
|
+
border-radius: 3px;
|
1086
1132
|
z-index: 1;
|
1087
1133
|
|
1088
1134
|
background: transparent linear-gradient(to bottom, #fff 0%, #e2e2e2 100%) repeat scroll 0% 0%;
|
1089
|
-
border: 1px solid #ddd;
|
1135
|
+
/*border: 1px solid #ddd; */
|
1090
1136
|
}
|
1091
1137
|
|
1092
1138
|
.dc-action-menu ul {
|
@@ -1133,7 +1179,6 @@ color: #222;
|
|
1133
1179
|
.dc-action-menu li:hover ul li:hover {
|
1134
1180
|
border: 0;
|
1135
1181
|
background: #eee;
|
1136
|
-
border-radius: 2px;
|
1137
1182
|
}
|
1138
1183
|
|
1139
1184
|
.menu-filter {
|
@@ -1169,6 +1214,118 @@ background-color: transparent;
|
|
1169
1214
|
cursor: pointer;
|
1170
1215
|
color: #ccc;
|
1171
1216
|
}
|
1217
|
+
|
1218
|
+
.dc-action-menu .dc-link:empty {
|
1219
|
+
display: none;
|
1220
|
+
}
|
1221
|
+
|
1222
|
+
.dc-action-menu li.spacer {
|
1223
|
+
border-right: 2px solid #888;
|
1224
|
+
border-radius: 0;
|
1225
|
+
padding: 7px 0;
|
1226
|
+
margin-right: 5px;
|
1227
|
+
}
|
1228
|
+
|
1229
|
+
/***** POPUP ******/
|
1230
|
+
|
1231
|
+
#popup {
|
1232
|
+
min-width: 50%;
|
1233
|
+
}
|
1234
|
+
|
1235
|
+
#popup .dc-help .help-top {
|
1236
|
+
position: absolute;
|
1237
|
+
bottom: 1rem;
|
1238
|
+
right: 1rem;
|
1239
|
+
padding: 2px 4px;
|
1240
|
+
border: 1px dotted #ccc;
|
1241
|
+
border-radius: 4px;
|
1242
|
+
background: rgba(76,154,255,0.2);
|
1243
|
+
}
|
1244
|
+
|
1245
|
+
#popup .dc-help {
|
1246
|
+
background: #fff;
|
1247
|
+
padding: 8px;
|
1248
|
+
max-height: 700px;
|
1249
|
+
overflow-y: auto;
|
1250
|
+
max-width: 800px;
|
1251
|
+
}
|
1252
|
+
|
1253
|
+
#popup .dc-help h1 {
|
1254
|
+
background: darkred;
|
1255
|
+
color: #fff;
|
1256
|
+
font-weight: 600;
|
1257
|
+
padding: 4px;
|
1258
|
+
font-size: 1.2em;
|
1259
|
+
border-radius: 2px;
|
1260
|
+
}
|
1261
|
+
|
1262
|
+
#popup .dc-help h2 {
|
1263
|
+
font-size: 1.4em;
|
1264
|
+
font-weight: 600;
|
1265
|
+
}
|
1266
|
+
|
1267
|
+
#popup .dc-help h3 {
|
1268
|
+
font-size: 1.2em;
|
1269
|
+
font-weight: 600;
|
1270
|
+
}
|
1271
|
+
|
1272
|
+
#popup .dc-help .help-body {
|
1273
|
+
padding: 4px
|
1274
|
+
}
|
1275
|
+
|
1276
|
+
#popup .dc-help .help-tab {
|
1277
|
+
display: table;
|
1278
|
+
margin: 8px 0 0;
|
1279
|
+
padding: 3px 12px;
|
1280
|
+
color: #fff;
|
1281
|
+
background: #555;
|
1282
|
+
border-radius: 5px 5px 0 0;
|
1283
|
+
font-weight: 600;
|
1284
|
+
}
|
1285
|
+
|
1286
|
+
#popup .dc-help .help-tab-help {
|
1287
|
+
font-weight: 600;
|
1288
|
+
color: #fff;
|
1289
|
+
background: #777;
|
1290
|
+
padding: 3px 12px;
|
1291
|
+
}
|
1292
|
+
|
1293
|
+
#popup .dc-help .help-fields {
|
1294
|
+
margin-top: 1rem;
|
1295
|
+
border-top: 1px solid #222;
|
1296
|
+
}
|
1297
|
+
|
1298
|
+
#popup .dc-help .help-field {
|
1299
|
+
display: flex;
|
1300
|
+
background-color: #eee;
|
1301
|
+
padding: 3px;
|
1302
|
+
}
|
1303
|
+
|
1304
|
+
#popup .dc-help .help-field:nth-child(odd) {
|
1305
|
+
background-color: #f8f8f8;
|
1306
|
+
}
|
1307
|
+
|
1308
|
+
#popup .dc-help .help-label {
|
1309
|
+
width: 25%;
|
1310
|
+
}
|
1311
|
+
|
1312
|
+
#popup .dc-help .help-text {
|
1313
|
+
max-width: 75%;
|
1314
|
+
}
|
1315
|
+
|
1316
|
+
#popup .dc-help .help-body {
|
1317
|
+
border-top: 1px solid #222;
|
1318
|
+
padding-top: 8px;
|
1319
|
+
}
|
1320
|
+
|
1321
|
+
#popup .dc-help .help-buttons {
|
1322
|
+
padding: 4px 0;
|
1323
|
+
}
|
1324
|
+
|
1325
|
+
#popup .dc-help .dc-link {
|
1326
|
+
display: inline-flex;
|
1327
|
+
}
|
1328
|
+
|
1172
1329
|
.filter-popup {
|
1173
1330
|
background-color: #fff;
|
1174
1331
|
box-shadow: 2px 2px 5px #666;
|
@@ -1207,6 +1364,7 @@ cursor: pointer;
|
|
1207
1364
|
#dc-document-info-popup {
|
1208
1365
|
text-align: left;
|
1209
1366
|
padding:4px;
|
1367
|
+
font-size: 0.9em;
|
1210
1368
|
position:absolute;
|
1211
1369
|
background-color: #f8f8f8;
|
1212
1370
|
border: solid 1px #ccc;;
|
@@ -1220,7 +1378,7 @@ z-index: 100;
|
|
1220
1378
|
width: 80px;
|
1221
1379
|
padding: 1px;
|
1222
1380
|
}
|
1223
|
-
#dc-document-info-popup div span:last-child {font-weight:
|
1381
|
+
#dc-document-info-popup div span:last-child {font-weight: 600;}
|
1224
1382
|
|
1225
1383
|
|
1226
1384
|
/************************** filter popup *************************/
|
@@ -1252,16 +1410,18 @@ color: #669;
|
|
1252
1410
|
max-width: 50%;
|
1253
1411
|
background-color: #fff;
|
1254
1412
|
padding: 10px;
|
1255
|
-
border:
|
1413
|
+
border: dashed 1px #666;
|
1414
|
+
margin-left: 1px;
|
1256
1415
|
}
|
1257
1416
|
|
1258
1417
|
/** Radio button input field **/
|
1259
1418
|
|
1260
1419
|
.dc-radio {
|
1261
|
-
|
1262
|
-
/* border: solid 1px #ccc;;*/
|
1263
|
-
padding: 5px 0 7px 0;
|
1420
|
+
padding: 6px 0 12px 0;
|
1264
1421
|
display: inline-table;
|
1422
|
+
border: 1px dashed #666;
|
1423
|
+
margin-left: 1px;
|
1424
|
+
background-color: #fff;
|
1265
1425
|
}
|
1266
1426
|
.dc-radio div {
|
1267
1427
|
font-size: 1.1em;
|
@@ -1278,10 +1438,21 @@ color: #669;
|
|
1278
1438
|
}
|
1279
1439
|
|
1280
1440
|
/****** MOBILE DEVICE *****/
|
1281
|
-
@media only screen and (max-width: 600px) {
|
1441
|
+
@media only screen and (max-device-width: 600px) {
|
1442
|
+
body, .body {font-size: 11px !important;}
|
1443
|
+
#site-top div:nth-of-type(2) {padding-top: 0 !important;}
|
1444
|
+
|
1445
|
+
.dc-form {
|
1446
|
+
border: none;
|
1447
|
+
border-top: 2px solid #888;
|
1448
|
+
border-bottom: 2px solid #888;
|
1449
|
+
margin-top: 4px;
|
1450
|
+
}
|
1451
|
+
|
1282
1452
|
.dc-form .row-div {
|
1283
1453
|
display: block;
|
1284
1454
|
}
|
1455
|
+
.dc-form-li {margin-top: 3px;}
|
1285
1456
|
|
1286
1457
|
.dc-form-label {
|
1287
1458
|
text-align: left;
|
@@ -1289,16 +1460,50 @@ color: #669;
|
|
1289
1460
|
padding-bottom: 2px;
|
1290
1461
|
white-space: nowrap;
|
1291
1462
|
}
|
1463
|
+
.dc-form-label label {
|
1464
|
+
font-size: 14px;
|
1465
|
+
}
|
1466
|
+
|
1467
|
+
.app-menu li {margin-bottom: 4px;}
|
1468
|
+
|
1469
|
+
.dc-submit {
|
1470
|
+
padding: 1px 0 0;
|
1471
|
+
line-height: 26px;
|
1472
|
+
font-size: 11px;
|
1473
|
+
}
|
1474
|
+
#result {width: 200%;}
|
1475
|
+
|
1476
|
+
.dc-separator {
|
1477
|
+
margin: 8px 0 0;
|
1478
|
+
border-top: 2px solid #888;
|
1479
|
+
}
|
1292
1480
|
|
1293
|
-
.dc-
|
1294
|
-
.dc-menu li {margin-top: 2px;}
|
1481
|
+
.dc-menu li {margin-bottom: 4px;}
|
1295
1482
|
|
1296
1483
|
.dc-width-10, .dc-width-14, .dc-width-21, .dc-width-85, .dc-width-100 {width: 100%;}
|
1484
|
+
|
1485
|
+
.dc-width-100 {
|
1486
|
+
overflow: auto;
|
1487
|
+
}
|
1488
|
+
|
1489
|
+
textarea, input, select {
|
1490
|
+
max-width: 90%;
|
1491
|
+
}
|
1492
|
+
|
1493
|
+
#menu-hamburger {
|
1494
|
+
display: block;
|
1495
|
+
padding: 4px;
|
1496
|
+
font-size: 2em;
|
1497
|
+
}
|
1498
|
+
|
1499
|
+
.cmsedit-container #menu {display: none;}
|
1500
|
+
.cmsedit-container #menu.visible {display: initial; width: 150%;}
|
1501
|
+
.cmsedit-iframe {padding-left: 2px;}
|
1297
1502
|
}
|
1298
1503
|
|
1299
1504
|
/******* Firefox only ********/
|
1300
1505
|
@-moz-document url-prefix() {
|
1301
1506
|
.dc-submit {
|
1302
|
-
padding: 0 2px 1px;
|
1507
|
+
/* padding: 0 2px 1px; */
|
1303
1508
|
}
|
1304
1509
|
}
|