drg_cms 0.6.1.0 → 0.6.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +25 -10
- data/app/assets/fonts/ibm-plex-sans-300.woff2 +0 -0
- data/app/assets/fonts/ibm-plex-sans-400.woff2 +0 -0
- data/app/assets/fonts/ibm-plex-sans-500.woff2 +0 -0
- data/app/assets/fonts/ibm-plex-sans-600.woff2 +0 -0
- data/app/assets/fonts/ibm-plex-sans-700.woff2 +0 -0
- data/app/assets/fonts/ibm-plex-sans-italic.woff2 +0 -0
- data/app/assets/javascripts/drg_cms/drg_cms.js +178 -55
- data/app/assets/stylesheets/drg_cms/drg_cms.css +218 -94
- data/app/assets/stylesheets/drg_cms/select-multiple.css +1 -1
- data/app/controllers/cmsedit_controller.rb +29 -24
- data/app/controllers/dc_application_controller.rb +78 -166
- data/app/controllers/dc_common_controller.rb +56 -47
- data/app/controls/dc_help_control.rb +12 -0
- data/app/controls/dc_report.rb +7 -9
- data/app/controls/design_element_settings_control.rb +1 -1
- data/app/forms/all_options.yml +25 -6
- data/app/forms/dc_big_table.yml +0 -2
- data/app/forms/dc_big_table_value.yml +0 -2
- data/app/forms/dc_design.yml +1 -2
- data/app/forms/dc_folder_permission.yml +0 -2
- data/app/forms/dc_help_1.yml +2 -1
- data/app/forms/dc_json_ld.yml +0 -3
- data/app/forms/dc_menu.yml +6 -12
- data/app/forms/dc_menu_item.yml +1 -3
- data/app/forms/dc_page.yml +5 -2
- data/app/forms/dc_policy.yml +2 -5
- data/app/forms/dc_poll.yml +10 -16
- data/app/forms/dc_seo.yml +1 -2
- data/app/forms/dc_simple_menu.yml +1 -2
- data/app/forms/dc_site.yml +5 -7
- data/app/helpers/cms_common_helper.rb +2 -3
- data/app/helpers/cms_edit_helper.rb +41 -31
- data/app/helpers/cms_helper.rb +6 -6
- data/app/helpers/cms_index_helper.rb +79 -34
- data/app/helpers/dc_application_helper.rb +99 -85
- data/app/models/concerns/dc_page_concern.rb +3 -2
- data/app/models/concerns/dc_piece_concern.rb +1 -1
- data/app/models/concerns/dc_site_concern.rb +10 -4
- data/app/models/concerns/dc_user_concern.rb +3 -3
- data/app/models/dc_big_table.rb +2 -2
- data/app/models/dc_filter.rb +28 -22
- data/app/models/dc_site.rb +0 -1
- data/app/models/dc_temp.rb +7 -0
- 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 +4 -2
- 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 +16 -18
- data/app/models/drgcms_form_fields/text_autocomplete.rb +39 -23
- 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 +2 -1
- data/app/views/cmsedit/index.html.erb +1 -1
- data/app/views/cmsedit/new.html.erb +3 -2
- data/app/views/dc_common/_help.html.erb +12 -3
- data/app/views/layouts/cms.html.erb +3 -5
- data/config/locales/drgcms_en.yml +5 -2
- data/config/locales/drgcms_sl.yml +5 -2
- data/config/locales/models_en.yml +2 -0
- data/config/locales/models_sl.yml +5 -3
- data/drg_cms.gemspec +16 -16
- data/lib/drg_cms/version.rb +1 -1
- data/lib/drg_cms.rb +46 -12
- metadata +35 -29
@@ -23,7 +23,43 @@
|
|
23
23
|
#++
|
24
24
|
*/
|
25
25
|
|
26
|
-
@
|
26
|
+
@font-face {
|
27
|
+
font-family: DrgSans;
|
28
|
+
font-style: normal;
|
29
|
+
font-weight: 300;
|
30
|
+
src: url('ibm-plex-sans-300.woff2') format('woff2')
|
31
|
+
}
|
32
|
+
@font-face {
|
33
|
+
font-family: DrgSans;
|
34
|
+
font-style: normal;
|
35
|
+
font-weight: 400;
|
36
|
+
src: url('ibm-plex-sans-400.woff2') format('woff2')
|
37
|
+
}
|
38
|
+
@font-face {
|
39
|
+
font-family: DrgSans;
|
40
|
+
font-style: normal;
|
41
|
+
font-weight: 500;
|
42
|
+
src: url('ibm-plex-sans-500.woff2') format('woff2')
|
43
|
+
}
|
44
|
+
@font-face {
|
45
|
+
font-family: DrgSans;
|
46
|
+
font-style: normal;
|
47
|
+
font-weight: 600;
|
48
|
+
src: url('ibm-plex-sans-600.woff2') format('woff2')
|
49
|
+
}
|
50
|
+
@font-face {
|
51
|
+
font-family: DrgSans;
|
52
|
+
font-style: normal;
|
53
|
+
font-weight: 700;
|
54
|
+
src: url('ibm-plex-sans-700.woff2') format('woff2')
|
55
|
+
}
|
56
|
+
|
57
|
+
@font-face {
|
58
|
+
font-family: DrgSans;
|
59
|
+
font-style: italic;
|
60
|
+
font-weight: 400;
|
61
|
+
src: url('ibm-plex-sans-italic.woff2') format('woff2')
|
62
|
+
}
|
27
63
|
|
28
64
|
/* Web reset. Countributed by
|
29
65
|
/* http://meyerweb.com/eric/tools/css/reset/
|
@@ -78,8 +114,8 @@ table {
|
|
78
114
|
/* END */
|
79
115
|
|
80
116
|
body {
|
81
|
-
font-family:
|
82
|
-
font-size:
|
117
|
+
font-family: DrgSans,arial,sans-serif;
|
118
|
+
font-size: 15px;
|
83
119
|
margin: 0;
|
84
120
|
vertical-align: middle;
|
85
121
|
color: #000;
|
@@ -87,7 +123,7 @@ font-weight: 400;
|
|
87
123
|
}
|
88
124
|
|
89
125
|
button {
|
90
|
-
font-family:
|
126
|
+
font-family: DrgSans,arial,sans-serif;
|
91
127
|
}
|
92
128
|
|
93
129
|
|
@@ -97,7 +133,7 @@ padding: 6px 4px;
|
|
97
133
|
margin-left: 1px;
|
98
134
|
border: 1px dashed #888;;
|
99
135
|
border-radius: 2px;
|
100
|
-
font:
|
136
|
+
font: 15px DrgSans,arial,sans-serif;
|
101
137
|
max-width: 100%;
|
102
138
|
vertical-align: middle;
|
103
139
|
}
|
@@ -175,12 +211,6 @@ img { vertical-align:bottom; }
|
|
175
211
|
padding: 7px;
|
176
212
|
}
|
177
213
|
|
178
|
-
.dc-link a:hover, .dc-animate a:hover, .dc-result a:hover {
|
179
|
-
background: #f8f8f8;
|
180
|
-
transition: 0.3s;
|
181
|
-
color: #000;
|
182
|
-
}
|
183
|
-
|
184
214
|
a.dc-animate:hover { color: #000; background: transparent;}
|
185
215
|
|
186
216
|
.dc-link a img { border: none; }
|
@@ -188,7 +218,7 @@ a.dc-animate:hover { color: #000; background: transparent;}
|
|
188
218
|
.dc-image-preview img { max-height: 2rem; padding-left: 0.5rem;}
|
189
219
|
.dc-image-preview img:hover { cursor: zoom-in;}
|
190
220
|
|
191
|
-
.text-with-select { width:
|
221
|
+
.text-with-select { width: 20px; }
|
192
222
|
|
193
223
|
.no-borders {
|
194
224
|
padding: 0;
|
@@ -206,12 +236,11 @@ width: 99.9%;
|
|
206
236
|
padding: 0;
|
207
237
|
border-spacing: 0;
|
208
238
|
border-radius: 1px;
|
209
|
-
/*background-color: #f9f9f9;*/
|
210
239
|
}
|
211
240
|
|
212
241
|
.dc-result i {
|
213
242
|
padding: 2px;
|
214
|
-
font-size:
|
243
|
+
font-size: 15px;
|
215
244
|
vertical-align: initial;
|
216
245
|
}
|
217
246
|
|
@@ -228,7 +257,6 @@ padding: 0;
|
|
228
257
|
|
229
258
|
.dc-result-header {
|
230
259
|
display: flex;
|
231
|
-
/* background: linear-gradient(to bottom, #eee 0%, #e2e2e2 100%); */
|
232
260
|
}
|
233
261
|
.dc-result-data {
|
234
262
|
display: flex;
|
@@ -253,12 +281,6 @@ padding: 0;
|
|
253
281
|
|
254
282
|
.dc-result-header .spacer, .dc-result-data .spacer {
|
255
283
|
width: 2px;
|
256
|
-
/*
|
257
|
-
font-size: 1.5em;
|
258
|
-
margin: 0 0;
|
259
|
-
padding: 4px 0;
|
260
|
-
resize: both;
|
261
|
-
/* border-left: 1px solid #ccc;*/
|
262
284
|
}
|
263
285
|
|
264
286
|
.dc-result-header a:link, .dc-result-header a:visited {
|
@@ -276,6 +298,10 @@ padding: 0;
|
|
276
298
|
align-items: center;
|
277
299
|
}
|
278
300
|
|
301
|
+
.dc-result-data .td:last-child {
|
302
|
+
flex-grow: 1;
|
303
|
+
}
|
304
|
+
|
279
305
|
.dc-result-data .actions, .dc-result-header .actions {
|
280
306
|
padding-right: 4px;
|
281
307
|
display: flex;
|
@@ -283,11 +309,14 @@ padding: 0;
|
|
283
309
|
justify-content: center;
|
284
310
|
white-space: nowrap;
|
285
311
|
}
|
286
|
-
|
287
312
|
.dc-result-header .actions {
|
288
313
|
background-color: #666;
|
289
314
|
}
|
290
315
|
|
316
|
+
.dc-result-data.dc-even.dc-checked, .dc-result-data.dc-odd.dc-checked {
|
317
|
+
background-color: #dbebff;
|
318
|
+
background-color: rgba(76,154,255, 0.6);
|
319
|
+
}
|
291
320
|
|
292
321
|
.dc-result-data .dc-link, .dc-result-data .dc-link-ajax {
|
293
322
|
background: none;
|
@@ -318,6 +347,17 @@ padding: 0;
|
|
318
347
|
background-color: transparent;
|
319
348
|
}
|
320
349
|
|
350
|
+
.dc-check {
|
351
|
+
padding-right: 4px;
|
352
|
+
}
|
353
|
+
|
354
|
+
.dc-result-header .dc-check-all {
|
355
|
+
font-size: 1.2em;
|
356
|
+
margin-left: -1rem;
|
357
|
+
background-color: white;
|
358
|
+
padding: 6px 3px;
|
359
|
+
}
|
360
|
+
|
321
361
|
.dc-menu {
|
322
362
|
padding: 4px 0;
|
323
363
|
display: inline-table;
|
@@ -328,16 +368,15 @@ display: inline-table;
|
|
328
368
|
margin-right: 3px;
|
329
369
|
}
|
330
370
|
|
331
|
-
|
332
371
|
#data-fields {margin: 5px;}
|
333
372
|
|
334
373
|
.dc-link {
|
335
|
-
font-weight: 600;
|
336
|
-
color: #666;
|
337
|
-
text-align: center;
|
338
|
-
border-radius: 3px;
|
339
|
-
background: transparent linear-gradient(to bottom, #fff 0%, #e2e2e2 100%);
|
340
|
-
border: 1px solid #
|
374
|
+
font-weight: 600;
|
375
|
+
color: #666;
|
376
|
+
text-align: center;
|
377
|
+
border-radius: 3px;
|
378
|
+
background: transparent linear-gradient(to bottom, #fff 0%, #e2e2e2 100%);
|
379
|
+
border: 1px solid #eee;
|
341
380
|
}
|
342
381
|
|
343
382
|
.dc-link:hover {
|
@@ -362,13 +401,17 @@ border: 1px solid #ddd;
|
|
362
401
|
font-weight: 600;
|
363
402
|
padding: 7px;
|
364
403
|
vertical-align: bottom;
|
365
|
-
border: 1px solid #
|
404
|
+
border: 1px solid #eee;
|
366
405
|
border-radius: 3px;
|
367
406
|
color: #777;
|
368
407
|
text-shadow: 1px 1px #fff;
|
369
408
|
background: #ddd !important;
|
370
409
|
}
|
371
410
|
|
411
|
+
.dc-action-menu li.dc-link.plus-link {
|
412
|
+
padding: 7px 0;
|
413
|
+
}
|
414
|
+
|
372
415
|
.dc-link-ajax {
|
373
416
|
text-align: left;
|
374
417
|
font-weight: 600;
|
@@ -376,31 +419,30 @@ border: 1px solid #ddd;
|
|
376
419
|
border-radius: 3px;
|
377
420
|
color: #666;
|
378
421
|
background: transparent linear-gradient(to bottom, #fff 0%, #e2e2e2 100%) repeat scroll 0% 0%;
|
379
|
-
border: 1px solid #
|
422
|
+
border: 1px solid #eee;
|
380
423
|
}
|
381
424
|
|
382
425
|
.dc-link-ajax.with-link {padding: 7px}
|
383
|
-
|
426
|
+
.cmsform .dc-link-ajax.with-link {padding: 0}
|
384
427
|
|
385
428
|
.dc-link-ajax i, .dc-link-no i {
|
386
429
|
padding: 1px 3px 0 0;
|
387
430
|
}
|
388
431
|
|
389
432
|
.dc-link-ajax:hover, .dc-action-submit:hover {
|
390
|
-
cursor: pointer;
|
391
|
-
|
392
|
-
|
433
|
+
cursor: pointer;
|
434
|
+
color: #000;
|
435
|
+
background: #eee;
|
393
436
|
border: 1px solid rgba(76,154,255, 1);
|
394
437
|
box-shadow: inset 0 0 0 1px rgba(76,154,255, 1);
|
395
|
-
transition: 0.3s;
|
396
|
-
color: #000;
|
438
|
+
transition: 0.3s;
|
397
439
|
}
|
398
440
|
|
399
441
|
.dc-link-ajax:hover a {
|
400
|
-
color: #000;
|
401
|
-
background: transparent;
|
402
|
-
cursor: pointer;
|
403
|
-
transition: 0.3s;
|
442
|
+
color: #000;
|
443
|
+
background: transparent;
|
444
|
+
cursor: pointer;
|
445
|
+
transition: 0.3s;
|
404
446
|
}
|
405
447
|
|
406
448
|
.dc-link-img {
|
@@ -474,16 +516,12 @@ border: solid 1px #ccc;;
|
|
474
516
|
}
|
475
517
|
.dc-link-submit {
|
476
518
|
text-align: left;
|
477
|
-
padding: 1px 8px 0.5px;
|
478
|
-
/* Exo padding: 0 8px; */
|
479
|
-
|
480
519
|
border-radius: 3px;
|
481
520
|
background-color: #eee;
|
482
521
|
background: transparent linear-gradient(to bottom, #fff 0%, #e2e2e2 100%) repeat scroll 0% 0%;
|
483
|
-
border: 1px solid #
|
522
|
+
border: 1px solid #eee;
|
484
523
|
display: flex;
|
485
524
|
align-items: center;
|
486
|
-
|
487
525
|
}
|
488
526
|
|
489
527
|
.dc-link-submit .fa {
|
@@ -509,11 +547,11 @@ border: solid 1px #ccc;;
|
|
509
547
|
border: none;
|
510
548
|
color: #666;
|
511
549
|
font-weight: 600;
|
512
|
-
padding:
|
550
|
+
padding: 2px 8px 1px;
|
513
551
|
border-radius: 0;
|
514
552
|
background: transparent;
|
515
553
|
line-height: 30px;
|
516
|
-
font-size:
|
554
|
+
font-size: 15px;
|
517
555
|
}
|
518
556
|
|
519
557
|
.dc-submit:hover {
|
@@ -618,7 +656,7 @@ color: #aaa;
|
|
618
656
|
|
619
657
|
.dc-form-info {
|
620
658
|
padding: 8px;
|
621
|
-
background-image: linear-gradient(to bottom, #dff0d8
|
659
|
+
background-image: linear-gradient(to bottom, #dff0d8 0, #c8e5bc 100%);
|
622
660
|
background-repeat: repeat-x;
|
623
661
|
color: darkgreen;
|
624
662
|
border: 1px solid #b2dba1;
|
@@ -628,19 +666,17 @@ color: #aaa;
|
|
628
666
|
|
629
667
|
.dc-form-warning {
|
630
668
|
padding: 8px;
|
631
|
-
background-image: linear-gradient(to bottom,
|
669
|
+
background-image: linear-gradient(to bottom, rgba(213, 143, 218, 0.1) 0, rgba(213, 143, 218, 0.5) 100%);
|
632
670
|
background-repeat: repeat-x;
|
633
|
-
color:
|
634
|
-
border: 1px solid
|
671
|
+
color: rgba(102, 51, 153, 1);
|
672
|
+
border: 1px solid rgba(102, 51, 153, 0.3);
|
635
673
|
border-radius: 2px;
|
636
674
|
margin: 2px 0;
|
637
675
|
}
|
638
676
|
|
639
677
|
.dc-form-error {
|
640
678
|
padding: 8px;
|
641
|
-
background-image: linear-gradient(to bottom, #f2dede
|
642
|
-
background-repeat: repeat-x;
|
643
|
-
background-color: #f2dede;
|
679
|
+
background-image: linear-gradient(to bottom, #f2dede 0, #e7c3c3 100%);
|
644
680
|
color: #a94442;
|
645
681
|
border: 1px solid #dca7a7;
|
646
682
|
border-radius: 2px;
|
@@ -702,7 +738,7 @@ color: #aaa;
|
|
702
738
|
|
703
739
|
.dc-readonly {
|
704
740
|
display: inline-block;
|
705
|
-
font-size:
|
741
|
+
font-size: 15px;
|
706
742
|
font-weight: normal;
|
707
743
|
color: #222;
|
708
744
|
padding: 6px 4px;
|
@@ -724,7 +760,6 @@ color: #aaa;
|
|
724
760
|
}
|
725
761
|
.dc-form-ul {
|
726
762
|
padding: 2px 0;
|
727
|
-
margin-top: 6px;
|
728
763
|
margin-bottom: -3px;
|
729
764
|
}
|
730
765
|
|
@@ -737,7 +772,7 @@ margin-bottom: -3px;
|
|
737
772
|
|
738
773
|
.dc-spinner {
|
739
774
|
float:left;
|
740
|
-
padding:
|
775
|
+
padding: 0.8em 2px 0;
|
741
776
|
display: none;
|
742
777
|
}
|
743
778
|
|
@@ -749,15 +784,13 @@ margin-bottom: -3px;
|
|
749
784
|
text-decoration: none;
|
750
785
|
text-align: center;
|
751
786
|
font-weight: 600;
|
752
|
-
line-height: 1.
|
753
|
-
|
754
|
-
padding:4px 15px;
|
755
|
-
background: #e8e8e8;
|
787
|
+
line-height: 1.2em;
|
788
|
+
padding: 0.4em 1em;
|
756
789
|
background: #666;
|
757
|
-
margin
|
790
|
+
margin: 0 1px 0 0;
|
758
791
|
border-left: 1px solid #ddd;
|
759
792
|
border-right: 1px solid #ddd;
|
760
|
-
border-radius: 4px 4px 0
|
793
|
+
border-radius: 4px 4px 0 0;
|
761
794
|
}
|
762
795
|
|
763
796
|
.dc-form-li:hover, .dc-form-li-selected {
|
@@ -795,6 +828,9 @@ border-top: 1px solid #ddd;
|
|
795
828
|
display: flex;
|
796
829
|
}
|
797
830
|
.dc-head .dc-column {
|
831
|
+
white-space: nowrap;
|
832
|
+
overflow: hidden;
|
833
|
+
margin-right: 2px;
|
798
834
|
}
|
799
835
|
.dc-head .text {
|
800
836
|
font-weight: normal;
|
@@ -809,7 +845,7 @@ display: flex;
|
|
809
845
|
color: #fff;
|
810
846
|
background-color: #000;
|
811
847
|
font-weight: bold;
|
812
|
-
font-size:
|
848
|
+
font-size: 15px;
|
813
849
|
box-shadow: 2px 2px 6px #666;
|
814
850
|
border-radius: 3px;
|
815
851
|
}
|
@@ -831,6 +867,8 @@ display: flex;
|
|
831
867
|
color: lightcoral;
|
832
868
|
}
|
833
869
|
|
870
|
+
#menu-hamburger { display: none;}
|
871
|
+
|
834
872
|
.dc-handle:before {
|
835
873
|
font-family: 'FontAwesome';
|
836
874
|
content: '\f0dc\20';
|
@@ -841,7 +879,7 @@ display: flex;
|
|
841
879
|
}
|
842
880
|
|
843
881
|
#cmsedit-div {
|
844
|
-
font-family:
|
882
|
+
font-family: DrgSans,Arial, sans-serif;
|
845
883
|
font-size: 13px;
|
846
884
|
line-height: 13px;
|
847
885
|
}
|
@@ -891,20 +929,17 @@ font-size: 1.2em;
|
|
891
929
|
}
|
892
930
|
|
893
931
|
.cmsedit-container #menu {
|
894
|
-
|
932
|
+
display: inline-block;
|
933
|
+
min-width: 20%;
|
895
934
|
height: 100%;
|
935
|
+
font-size: 15px;
|
936
|
+
font-weight: 600;
|
937
|
+
color: #222;
|
896
938
|
background-color: #fcfcfc;
|
897
|
-
border: 1px solid #eee;
|
898
|
-
border-radius: 1px;
|
899
|
-
}
|
900
|
-
|
901
|
-
.cmsedit-container #menu {
|
902
|
-
display: inline-block;
|
903
939
|
padding: 4px 0;
|
904
940
|
margin: 4px;
|
905
|
-
|
906
|
-
|
907
|
-
font-weight: 600;
|
941
|
+
border: 1px solid #eee;
|
942
|
+
border-radius: 1px;
|
908
943
|
}
|
909
944
|
|
910
945
|
.cmsedit-container .fa {
|
@@ -1213,10 +1248,33 @@ background-color: transparent;
|
|
1213
1248
|
color: #ccc;
|
1214
1249
|
}
|
1215
1250
|
|
1251
|
+
.dc-action-menu .dc-link:empty {
|
1252
|
+
display: none;
|
1253
|
+
}
|
1254
|
+
|
1255
|
+
.dc-action-menu li.spacer {
|
1256
|
+
border-right: 2px solid #888;
|
1257
|
+
border-radius: 0;
|
1258
|
+
padding: 7px 0;
|
1259
|
+
margin-right: 5px;
|
1260
|
+
}
|
1261
|
+
|
1262
|
+
/***** POPUP ******/
|
1263
|
+
|
1216
1264
|
#popup {
|
1217
1265
|
min-width: 50%;
|
1218
1266
|
}
|
1219
1267
|
|
1268
|
+
#popup .dc-help .help-top {
|
1269
|
+
position: absolute;
|
1270
|
+
bottom: 1rem;
|
1271
|
+
right: 1rem;
|
1272
|
+
padding: 2px 4px;
|
1273
|
+
border: 1px dotted #ccc;
|
1274
|
+
border-radius: 4px;
|
1275
|
+
background: rgba(76,154,255,0.2);
|
1276
|
+
}
|
1277
|
+
|
1220
1278
|
#popup .dc-help {
|
1221
1279
|
background: #fff;
|
1222
1280
|
padding: 8px;
|
@@ -1228,8 +1286,10 @@ background-color: transparent;
|
|
1228
1286
|
#popup .dc-help h1 {
|
1229
1287
|
background: darkred;
|
1230
1288
|
color: #fff;
|
1231
|
-
font-weight:
|
1232
|
-
padding: 4px
|
1289
|
+
font-weight: 600;
|
1290
|
+
padding: 4px;
|
1291
|
+
font-size: 1.2em;
|
1292
|
+
border-radius: 2px;
|
1233
1293
|
}
|
1234
1294
|
|
1235
1295
|
#popup .dc-help h2 {
|
@@ -1246,21 +1306,12 @@ background-color: transparent;
|
|
1246
1306
|
padding: 4px
|
1247
1307
|
}
|
1248
1308
|
|
1249
|
-
/*
|
1250
|
-
#popup .dc-help .help-tab {
|
1251
|
-
display: table;
|
1252
|
-
padding-top: 4px;
|
1253
|
-
border-bottom: 3px solid #000;
|
1254
|
-
margin: 8px 0;
|
1255
|
-
font-weight: 600;
|
1256
|
-
}
|
1257
|
-
*/
|
1258
1309
|
#popup .dc-help .help-tab {
|
1259
1310
|
display: table;
|
1260
1311
|
margin: 8px 0 0;
|
1261
1312
|
padding: 3px 12px;
|
1262
1313
|
color: #fff;
|
1263
|
-
background: #
|
1314
|
+
background: #555;
|
1264
1315
|
border-radius: 5px 5px 0 0;
|
1265
1316
|
font-weight: 600;
|
1266
1317
|
}
|
@@ -1268,10 +1319,15 @@ background-color: transparent;
|
|
1268
1319
|
#popup .dc-help .help-tab-help {
|
1269
1320
|
font-weight: 600;
|
1270
1321
|
color: #fff;
|
1271
|
-
background: #
|
1322
|
+
background: #777;
|
1272
1323
|
padding: 3px 12px;
|
1273
1324
|
}
|
1274
1325
|
|
1326
|
+
#popup .dc-help .help-fields {
|
1327
|
+
margin-top: 1rem;
|
1328
|
+
border-top: 1px solid #222;
|
1329
|
+
}
|
1330
|
+
|
1275
1331
|
#popup .dc-help .help-field {
|
1276
1332
|
display: flex;
|
1277
1333
|
background-color: #eee;
|
@@ -1291,11 +1347,14 @@ background-color: transparent;
|
|
1291
1347
|
}
|
1292
1348
|
|
1293
1349
|
#popup .dc-help .help-body {
|
1294
|
-
margin-top: 8px;
|
1295
1350
|
border-top: 1px solid #222;
|
1296
1351
|
padding-top: 8px;
|
1297
1352
|
}
|
1298
1353
|
|
1354
|
+
#popup .dc-help .help-buttons {
|
1355
|
+
padding: 4px 0;
|
1356
|
+
}
|
1357
|
+
|
1299
1358
|
#popup .dc-help .dc-link {
|
1300
1359
|
display: inline-flex;
|
1301
1360
|
}
|
@@ -1412,10 +1471,21 @@ color: #669;
|
|
1412
1471
|
}
|
1413
1472
|
|
1414
1473
|
/****** MOBILE DEVICE *****/
|
1415
|
-
@media only screen and (max-width: 600px) {
|
1474
|
+
@media only screen and (max-device-width: 600px) {
|
1475
|
+
#body-cms {font-size: 11px;}
|
1476
|
+
#site-top div:nth-of-type(2) {padding-top: 0 !important;}
|
1477
|
+
|
1478
|
+
.dc-form {
|
1479
|
+
border: none;
|
1480
|
+
border-top: 2px solid #888;
|
1481
|
+
border-bottom: 2px solid #888;
|
1482
|
+
margin-top: 4px;
|
1483
|
+
}
|
1484
|
+
|
1416
1485
|
.dc-form .row-div {
|
1417
1486
|
display: block;
|
1418
1487
|
}
|
1488
|
+
.dc-form-li {margin-top: 3px;}
|
1419
1489
|
|
1420
1490
|
.dc-form-label {
|
1421
1491
|
text-align: left;
|
@@ -1423,16 +1493,70 @@ color: #669;
|
|
1423
1493
|
padding-bottom: 2px;
|
1424
1494
|
white-space: nowrap;
|
1425
1495
|
}
|
1496
|
+
.dc-form-label label {
|
1497
|
+
font-size: 15px;
|
1498
|
+
}
|
1499
|
+
|
1500
|
+
.app-menu li {margin-bottom: 4px;}
|
1501
|
+
|
1502
|
+
.dc-menu { padding: 0;}
|
1503
|
+
|
1504
|
+
.dc-submit {
|
1505
|
+
line-height: 20px;
|
1506
|
+
font-size: 11px;
|
1507
|
+
}
|
1508
|
+
.dc-link div, .dc-link-no {
|
1509
|
+
padding: 4px 8px;
|
1510
|
+
}
|
1511
|
+
|
1512
|
+
.dc-animate a:link, .dc-animate a:active, .dc-animate a:visited,
|
1513
|
+
.dc-result a:link, .dc-result a:active, .dc-result a:visited {
|
1514
|
+
padding: 4px 7px;
|
1515
|
+
}
|
1516
|
+
.dc-action-menu li {padding: 4px 6px;}
|
1517
|
+
.dc-action-menu li.dc-link.plus-link {padding: 4px 0;}
|
1518
|
+
.dc-title .dc-paginate {float: left;}
|
1519
|
+
|
1520
|
+
#result {width: 200%;}
|
1521
|
+
|
1522
|
+
.dc-separator {
|
1523
|
+
margin: 8px 0 0;
|
1524
|
+
border-top: 2px solid #888;
|
1525
|
+
}
|
1426
1526
|
|
1427
|
-
.dc-
|
1428
|
-
.dc-menu li {margin-top: 2px;}
|
1527
|
+
.dc-menu li {margin-bottom: 4px;}
|
1429
1528
|
|
1430
1529
|
.dc-width-10, .dc-width-14, .dc-width-21, .dc-width-85, .dc-width-100 {width: 100%;}
|
1530
|
+
|
1531
|
+
.dc-width-100 {
|
1532
|
+
overflow: auto;
|
1533
|
+
}
|
1534
|
+
|
1535
|
+
textarea, input, select {
|
1536
|
+
max-width: 90%;
|
1537
|
+
}
|
1538
|
+
|
1539
|
+
#menu-hamburger {
|
1540
|
+
display: block;
|
1541
|
+
padding: 4px;
|
1542
|
+
font-size: 2em;
|
1543
|
+
}
|
1544
|
+
|
1545
|
+
.cmsedit-container {display: block;}
|
1546
|
+
.cmsedit-container #menu {display: none;}
|
1547
|
+
.cmsedit-container #menu.visible {
|
1548
|
+
display: initial;
|
1549
|
+
width: 200%;
|
1550
|
+
font-weight: 500;
|
1551
|
+
border: none;
|
1552
|
+
margin: 0;
|
1553
|
+
}
|
1554
|
+
.cmsedit-iframe {padding-left: 2px;}
|
1431
1555
|
}
|
1432
1556
|
|
1433
1557
|
/******* Firefox only ********/
|
1434
1558
|
@-moz-document url-prefix() {
|
1435
1559
|
.dc-submit {
|
1436
|
-
padding: 0 2px 1px;
|
1560
|
+
/* padding: 0 2px 1px; */
|
1437
1561
|
}
|
1438
1562
|
}
|
@@ -28,7 +28,7 @@
|
|
28
28
|
-ms-transition: border linear 0.2s, box-shadow linear 0.2s;
|
29
29
|
-o-transition: border linear 0.2s, box-shadow linear 0.2s;
|
30
30
|
transition: border linear 0.2s, box-shadow linear 0.2s;
|
31
|
-
border: 1px
|
31
|
+
border: 1px dashed #888;
|
32
32
|
-webkit-border-radius: 1px;
|
33
33
|
-moz-border-radius: 1px;
|
34
34
|
border-radius: 1px;
|