drg_cms 0.6.1.6 → 0.6.1.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (47) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +203 -24
  3. data/app/assets/javascripts/drg_cms/drg_cms.js +183 -95
  4. data/app/assets/stylesheets/drg_cms/drg_cms.css +542 -509
  5. data/app/assets/stylesheets/drg_cms_application.css +1 -1
  6. data/app/assets/stylesheets/drg_cms_cms.css +1 -4
  7. data/app/controllers/cmsedit_controller.rb +25 -103
  8. data/app/controllers/dc_common_controller.rb +6 -5
  9. data/app/controls/browse_models_control.rb +15 -26
  10. data/app/controls/cmsedit_control.rb +125 -0
  11. data/app/controls/dc_help_control.rb +1 -1
  12. data/app/controls/dc_page_control.rb +0 -1
  13. data/app/controls/dc_poll_result_control.rb +1 -1
  14. data/app/controls/dc_report.rb +1 -1
  15. data/app/forms/all_options.yml +1 -1
  16. data/app/forms/cms_menu.yml +24 -24
  17. data/app/forms/dc_browse_fields.yml +13 -9
  18. data/app/forms/dc_poll_result_export.yml +1 -1
  19. data/app/helpers/cms_common_helper.rb +7 -5
  20. data/app/helpers/cms_edit_helper.rb +52 -45
  21. data/app/helpers/cms_helper.rb +76 -40
  22. data/app/helpers/cms_index_helper.rb +180 -139
  23. data/app/helpers/dc_application_helper.rb +37 -43
  24. data/app/models/concerns/dc_page_concern.rb +1 -1
  25. data/app/models/dc_filter.rb +30 -22
  26. data/app/models/dc_json_ld.rb +1 -1
  27. data/app/models/dc_part.rb +19 -9
  28. data/app/models/drgcms_form_fields/drgcms_field.rb +10 -4
  29. data/app/models/drgcms_form_fields/link_to.rb +1 -1
  30. data/app/models/drgcms_form_fields/multitext_autocomplete.rb +5 -5
  31. data/app/models/drgcms_form_fields/readonly.rb +3 -0
  32. data/app/models/drgcms_form_fields/select.rb +8 -7
  33. data/app/models/drgcms_form_fields/text_autocomplete.rb +2 -2
  34. data/app/renderers/dc_part_renderer.rb +1 -1
  35. data/app/renderers/dc_poll_renderer.rb +1 -1
  36. data/app/views/cmsedit/_edit_stuff.html.erb +12 -12
  37. data/app/views/cmsedit/login.html.erb +1 -1
  38. data/app/views/dc_common/paste_clipboard.html.erb +1 -1
  39. data/config/locales/drgcms_en.yml +2 -1
  40. data/config/locales/drgcms_sl.yml +2 -1
  41. data/config/locales/kaminari.yml +1 -1
  42. data/drg_cms.gemspec +1 -1
  43. data/lib/drg_cms/version.rb +1 -1
  44. data/lib/drg_cms.rb +4 -4
  45. metadata +4 -5
  46. data/app/views/cmsedit/__remove_edit_stuff.js.erb +0 -6
  47. data/app/views/cmsedit/__show.html.erb +0 -21
@@ -93,9 +93,6 @@ footer, header, hgroup, menu, nav, section {
93
93
  display: block;
94
94
  }
95
95
 
96
- body {
97
- /* line-height: 1; */
98
- }
99
96
  ol, ul {
100
97
  list-style: none;
101
98
  }
@@ -104,7 +101,6 @@ blockquote, q {
104
101
  }
105
102
  blockquote:before, blockquote:after,
106
103
  q:before, q:after {
107
- content: '';
108
104
  content: none;
109
105
  }
110
106
  table {
@@ -126,33 +122,37 @@ button {
126
122
  font-family: DrgSans,arial,sans-serif;
127
123
  }
128
124
 
129
-
130
125
  textarea, input, select {
131
- color: #000;
132
- padding: 6px 4px;
133
- margin-left: 1px;
134
- border: 1px dashed #888;;
135
- border-radius: 2px;
136
- font: 15px DrgSans,arial,sans-serif;
137
- max-width: 100%;
138
- vertical-align: middle;
126
+ color: #000;
127
+ padding: 8px 4px;
128
+ margin-left: 1px;
129
+ border: 1px dashed #888;;
130
+ border-radius: 3px;
131
+ font: 16px DrgSans,arial,sans-serif;
132
+ max-width: 100%;
133
+ vertical-align: middle;
134
+ }
135
+
136
+ .dc-action-menu textarea, .dc-action-menu input, .dc-action-menu select {
137
+ padding: 6px 4px;
138
+ max-width: 200px;
139
139
  }
140
140
 
141
141
  textarea:focus, input:focus, select:focus {
142
- border: 1px solid rgba(76,154,255, 1);
143
- outline: 1px solid rgba(76,154,255, 1);
144
- border-radius: 1px;
142
+ border: 1px solid rgba(44, 142, 255, 1);
143
+ outline: 1px solid rgba(44, 142, 255, 1);
144
+ border-radius: 3px;
145
145
  }
146
146
 
147
147
  input[type=submit]:focus {
148
148
  outline: none;
149
149
  border: none;
150
- background-color: rgba(76,154,255, 1);
150
+ background-color: rgba(44, 142, 255, 1);
151
151
  color: #fff;
152
152
  }
153
153
 
154
154
  textarea[readonly], input[readonly], select[readonly] {
155
- background-color: #eee !important;
155
+ background-color: #f4f4f4 !important;
156
156
  border: 1px solid #ddd !important;
157
157
  }
158
158
 
@@ -164,11 +164,6 @@ select {
164
164
  background-color: #fff;
165
165
  }
166
166
 
167
- select option {
168
- /* not working
169
- outline: none;*/
170
- }
171
-
172
167
  hr {
173
168
  background-color: #ccc;
174
169
  border: none;
@@ -180,7 +175,6 @@ height: 2px;
180
175
  padding: 0;
181
176
  }
182
177
 
183
-
184
178
  .normal {
185
179
  text-align: left;
186
180
  }
@@ -201,18 +195,18 @@ th a:hover { color: #000;}
201
195
 
202
196
  img { vertical-align:bottom; }
203
197
 
204
- .dc-link a:link, .dc-link a:active, .dc-link a:visited,
205
- .dc-animate a:link, .dc-animate a:active, .dc-animate a:visited,
206
- .dc-result a:link, .dc-result a:active, .dc-result a:visited {
198
+ .hover {
199
+ cursor: pointer;
200
+ }
201
+
202
+ .dc-link a:link, .dc-link a:active, .dc-link a:visited,
203
+ .dc-result a:link, .dc-result a:active, .dc-result a:visited {
207
204
  color: #666;
208
- font-weight: 600;
205
+ font-weight: 500;
209
206
  text-decoration: none;
210
207
  background: transparent;
211
- padding: 7px;
212
208
  }
213
209
 
214
- a.dc-animate:hover { color: #000; background: transparent;}
215
-
216
210
  .dc-link a img { border: none; }
217
211
 
218
212
  .dc-image-preview img { max-height: 2rem; padding-left: 0.5rem;}
@@ -225,6 +219,9 @@ a.dc-animate:hover { color: #000; background: transparent;}
225
219
  border-spacing: 0;
226
220
  }
227
221
 
222
+ .dc-left {float: left;}
223
+ .dc-right {float: right;}
224
+
228
225
  .td-spacer {
229
226
  width: 90%;
230
227
  font-size: 1px;
@@ -238,12 +235,6 @@ border-spacing: 0;
238
235
  border-radius: 1px;
239
236
  }
240
237
 
241
- .dc-result i {
242
- padding: 2px;
243
- font-size: 15px;
244
- vertical-align: initial;
245
- }
246
-
247
238
  .dc-result .dc-link-no {
248
239
  padding: 0;
249
240
  border: none;
@@ -251,20 +242,19 @@ vertical-align: initial;
251
242
  background: transparent !important;
252
243
  }
253
244
 
254
- .dc-result .actions .dc-animate {
255
- padding: 0;
256
- }
257
-
258
245
  .dc-result-header {
259
246
  display: flex;
247
+ padding: 6px 0;
248
+ border-bottom: 2px solid #bbb;
260
249
  }
250
+
261
251
  .dc-result-data {
262
252
  display: flex;
253
+ padding: 4px 0;
263
254
  }
264
255
 
265
- .dc-result-data .actions i {
266
- padding: 2px 1px;
267
- font-size: 1rem;
256
+ .dc-result-data:hover {
257
+ background-color: #e7e7e7;
268
258
  }
269
259
 
270
260
  .dc-result-header .th {
@@ -272,9 +262,10 @@ padding: 0;
272
262
  white-space: nowrap;
273
263
  overflow: hidden;
274
264
  font-weight: 600;
275
- color: #fff;
276
- background-color: #666;
265
+ color: #666;
266
+ line-height: 18px;
277
267
  }
268
+
278
269
  .dc-result-header .th:last-child {
279
270
  flex-grow: 1;
280
271
  }
@@ -284,13 +275,14 @@ padding: 0;
284
275
  }
285
276
 
286
277
  .dc-result-header a:link, .dc-result-header a:visited {
287
- padding-left: 0;
288
- color: #fff;
289
- font-weight: 500;
278
+ }
279
+
280
+ .dc-result-header a:hover {
281
+ color: #000;
290
282
  }
291
283
 
292
284
  .dc-result-data .td {
293
- padding: 5px 3px;
285
+ padding: 4px 3px;
294
286
  white-space: nowrap;
295
287
  overflow: hidden;
296
288
  text-overflow: ellipsis;
@@ -302,45 +294,109 @@ padding: 0;
302
294
  flex-grow: 1;
303
295
  }
304
296
 
305
- .dc-result-data .actions, .dc-result-header .actions {
306
- padding-right: 4px;
307
- display: flex;
297
+ .dc-result-actions i, .dc-result-actions .dc-link i, .dc-result-actions .dc-link-ajax i {
298
+ color: #666;
299
+ font-size: 22px;
300
+ cursor: pointer;
301
+ }
302
+
303
+ .dc-result-actions i:hover, .dc-result-actions .dc-link:hover i, .dc-result-actions .dc-link-ajax:hover i {
304
+ color: rgba(44, 142, 255, 1);
305
+ }
306
+
307
+ .dc-result-data .dc-result-actions, .dc-result-header .dc-result-actions {
308
+ padding: 0 4px;
309
+ display: inline-flex;
308
310
  align-items: center;
309
- justify-content: center;
311
+ justify-content: left;
310
312
  white-space: nowrap;
311
313
  }
312
- .dc-result-header .actions {
313
- background-color: #666;
314
+
315
+
316
+ .dc-result-submenu ul {
317
+ display: none;
318
+ background-color: #fff;
319
+ filter: drop-shadow(1px 1px 6px #ddd);
320
+ position: fixed;
321
+ margin: -6px 0 0 16px;
322
+ }
323
+
324
+ .dc-result-submenu ul .dc-link-ajax {
325
+ text-align: left;
326
+ }
327
+
328
+ .dc-result-submenu ul li a:link, .dc-result-submenu .dc-link a:link,
329
+ .dc-result-submenu .dc-link.dc-window-open{
330
+ font-size: 15px;
331
+ line-height: 18px;
332
+ font-weight: 500;
333
+ padding: 5px 10px;
334
+ color: #666;
335
+ display: inline-block;
336
+ width: 100%;
337
+ text-align: left;
338
+ }
339
+
340
+ .dc-result-submenu ul li:hover {
341
+ background-color: rgba(44, 142, 255, 1);
342
+ }
343
+
344
+ .dc-result-actions .dc-result-submenu ul li i {
345
+ color: rgba(44, 142, 255, 1);
346
+ padding-right: 2px;
347
+ }
348
+
349
+ .dc-result-submenu ul li:hover :not(.dc-link-no) i, .dc-result-submenu ul li:hover a {
350
+ color: #fff;
351
+ transition: 0.3s;
352
+ }
353
+
354
+ .dc-result-submenu .dc-link-no {
355
+ padding: 4px 10px;
356
+ color: #bbb;
357
+ filter: none;
358
+ }
359
+
360
+ .dc-link-no i {
361
+ color: #bbb;
362
+ }
363
+
364
+
365
+ .dc-result-header .dc-check-all {
366
+ font-size: 18px;
367
+ padding: 6px 0;
314
368
  }
315
369
 
316
370
  .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);
371
+ background-color: rgba(44,142,255,0.1);
319
372
  }
320
373
 
321
374
  .dc-result-data .dc-link, .dc-result-data .dc-link-ajax {
322
- background: none;
323
- border: 1px solid transparent;
375
+ background-color: transparent;
376
+ border: 0;
324
377
  }
325
378
 
326
- .dc-result-data .dc-link:hover, .dc-result-data .dc-link-ajax:hover {
327
- box-shadow: none;
328
- border: 1px solid transparent;
329
- }
330
- .dc-result-data .dc-link a:hover, .dc-result-data .dc-link-ajax a:hover {
331
- color: rgba(76,154,255, 1);
379
+ .dc-result-data .dc-link, .dc-result-data .dc-link a, .dc-result-data .dc-link-ajax {
380
+ padding: 0;
381
+ color: #666;
382
+ font-weight: 500;
383
+ background-color: transparent;
384
+ filter: none;
385
+ border: 0;
332
386
  }
333
387
 
334
- .dc-result-data:hover {
335
- background-color: #eee;
336
- box-shadow: inset 0 0 0 1px rgba(76,154,255, 1);
388
+ .dc-result-data .dc-link:hover, .dc-result-data .dc-link-ajax:hover {
389
+ background-color: transparent;
390
+ color: rgba(44, 142, 255, 1);
391
+ color: #fff;
392
+ border: 0;
337
393
  }
338
394
 
339
395
  .dc-result-data.footer {
340
396
  border-top: 2px solid #222;
341
397
  color: #000;
342
398
  font-weight: bold;
343
- background-color: #ddd;
399
+ background-color: #eee;
344
400
  }
345
401
 
346
402
  .dc-result-data a:hover {
@@ -351,118 +407,110 @@ padding: 0;
351
407
  padding-right: 4px;
352
408
  }
353
409
 
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
410
 
411
+
412
+ /* */
361
413
  .dc-menu {
362
- padding: 4px 0;
414
+ padding: 8px 0;
363
415
  display: inline-table;
364
416
  }
365
417
 
366
418
  .dc-menu li {
367
419
  display: inline-flex;
368
420
  margin-right: 3px;
421
+ vertical-align: middle;
369
422
  }
370
423
 
371
424
  #data-fields {margin: 5px;}
372
425
 
373
- .dc-link {
374
- font-weight: 600;
426
+ .dc-link, .dc-link-ajax, .dc-submit {
427
+ font-size: 15px;
375
428
  color: #666;
429
+ font-weight: 500;
376
430
  text-align: center;
377
- border-radius: 3px;
378
- background: transparent linear-gradient(to bottom, #fff 0%, #e2e2e2 100%);
379
- border: 1px solid #eee;
431
+ border-radius: 4px;
432
+ background: #fff;
433
+ padding: 5px 12px 4px;
434
+ text-decoration: none;
435
+ line-height: 26px;
436
+ filter: drop-shadow(1px 1px 4px #eee);
437
+ border: 1px solid #e7e7e7;
380
438
  }
381
439
 
382
- .dc-link:hover {
383
- border: 1px solid rgba(76,154,255, 1);
384
- box-shadow: inset 0 0 0 1px rgba(76,154,255, 1);
385
- transition: 0.3s;
386
- color: #000;
440
+ .dc-link:hover, .dc-link-ajax:hover, .dc-submit:hover {
441
+ color: #fff;
442
+ background: rgba(44, 142, 255, 1);
443
+ border: 1px solid rgba(44, 142, 255, 1);
444
+ transition: 0.3s;
387
445
  cursor: pointer;
446
+ filter: none;
388
447
  }
389
448
 
390
- .dc-link:hover a {
391
- color: #000;
392
- transition: 0.3s;
449
+ .dc-link:hover > i, .dc-link-ajax:hover > i, .dc-submit:hover > i {
450
+ color: #fff;
393
451
  }
394
452
 
395
- .dc-link div {
396
- padding: 7px 8px;
453
+ .dc-link i,
454
+ .dc-link-ajax i,
455
+ .dc-submit i {
456
+ line-height: 22px;
457
+ color: rgba(44, 142, 255, 1);
458
+ padding-right: 2px;
397
459
  }
398
460
 
399
461
  .dc-link-no {
400
462
  text-align: left;
401
- font-weight: 600;
402
- padding: 7px;
403
- vertical-align: bottom;
404
- border: 1px solid #eee;
405
- border-radius: 3px;
406
- color: #777;
407
- text-shadow: 1px 1px #fff;
408
- background: #ddd !important;
409
- }
410
-
411
- .dc-action-menu li.dc-link.plus-link {
412
- padding: 7px 0;
463
+ font-weight: 500;
464
+ padding: 5px 12px 4px;
465
+ vertical-align: middle;
466
+ border: 1px solid #e8e8e8;
467
+ border-radius: 4px;
468
+ color: #888;
469
+ background: #f7f7f7;
470
+ line-height: 26px;
471
+ /*text-transform: uppercase;*/
413
472
  }
414
473
 
415
- .dc-link-ajax {
474
+ .dc-link-ajax.in-menu {
475
+ border-radius: 0;
476
+ padding: 4px 12px;
477
+ text-transform: none;
478
+ border: 0;
416
479
  text-align: left;
417
- font-weight: 600;
418
- padding: 8px 8px 6px;
419
- border-radius: 3px;
420
- color: #666;
421
- background: transparent linear-gradient(to bottom, #fff 0%, #e2e2e2 100%) repeat scroll 0% 0%;
422
- border: 1px solid #eee;
423
480
  }
424
481
 
425
- .dc-link-ajax.with-link {padding: 7px}
426
- .cmsform .dc-link-ajax.with-link {padding: 0}
427
-
428
- .dc-link-ajax i, .dc-link-no i {
429
- padding: 1px 3px 0 0;
430
- }
431
-
432
- .dc-link-ajax:hover, .dc-action-submit:hover {
433
- cursor: pointer;
434
- color: #000;
435
- background: #eee;
436
- border: 1px solid rgba(76,154,255, 1);
437
- box-shadow: inset 0 0 0 1px rgba(76,154,255, 1);
438
- transition: 0.3s;
439
- }
440
-
441
- .dc-link-ajax:hover a {
442
- color: #000;
443
- background: transparent;
444
- cursor: pointer;
445
- transition: 0.3s;
482
+ .dc-link-ajax.in-menu:hover {
483
+ /* background-color: #fff;*/
446
484
  }
447
485
 
448
486
  .dc-link-img {
487
+ color: #888;
449
488
  padding: 3px;
450
489
  text-align: center;
451
490
  margin: 0;
452
491
  }
453
492
 
493
+ .dc-link-img.dc-link-ajax {
494
+ padding: 0;
495
+ border: 0;
496
+ }
497
+
454
498
  .dc-link-img:hover {
455
499
  cursor: pointer;
456
- background-color: #ddd;
500
+ color: #000;
501
+ background-color: #fff;
457
502
  }
458
503
 
459
- .dc-link-icon {
460
- padding: 3px;
461
- border-radius: 3px;
462
- background: transparent linear-gradient(to bottom, #fff 0%, #e2e2e2 100%) repeat scroll 0% 0%;
463
- border: solid 1px #ccc;;
504
+ .dc-link-icon i {
505
+ padding: 3px;
506
+ border-radius: 3px;
507
+ color: rgba(44, 142, 255, 1);
464
508
  }
465
509
 
510
+ .dc-link-icon i:hover {
511
+ color: #222;
512
+ cursor: pointer;
513
+ }
466
514
 
467
515
  .dc-link-selected {
468
516
  text-align: center;
@@ -473,21 +521,24 @@ border: solid 1px #ccc;;
473
521
  }
474
522
 
475
523
  .dc-link-border {
476
- border:1px solid #eee;
524
+ border: 1px solid #eee;
477
525
  }
478
526
 
479
527
  .dc-inline-link {
480
528
  cursor: pointer;
481
- color: #222;
482
- padding: 5px 4px 4px;
483
- background: #fff;
484
- border: 2px solid #222;
485
- border-radius: 3px;
486
529
  }
487
530
 
488
- .dc-inline-link:hover {
489
- color: rgba(76,154,255, 1);
490
- border: 2px solid rgba(76,154,255, 1);
531
+ .dc-inline-link i {
532
+ display: inline;
533
+ color: rgba(44, 142, 255, 1);
534
+ padding: 8px;
535
+ background-color: #ddd;
536
+ border-radius: 26px;
537
+ }
538
+
539
+ .dc-inline-link i:hover {
540
+ color: #fff;
541
+ background-color: #444;
491
542
  }
492
543
 
493
544
  .skip-next {
@@ -505,148 +556,82 @@ border: solid 1px #ccc;;
505
556
  .skip-next a:link, .skip-next a:active, .skip-next a:visited { color: #333; text-decoration: none; background: transparent;}
506
557
  .skip-next a:hover { text-decoration: none; color: #c43; }
507
558
 
508
- .dc-window-open {
509
- padding: 8px 7px 6px;
510
- }
511
- .dc-window-open i {
512
- padding-right: 4px;
513
- }
514
- .dc-window-open:hover {
515
- cursor: pointer;
516
- }
517
- .dc-link-submit {
518
- text-align: left;
519
- border-radius: 3px;
520
- background-color: #eee;
521
- background: transparent linear-gradient(to bottom, #fff 0%, #e2e2e2 100%) repeat scroll 0% 0%;
522
- border: 1px solid #eee;
523
- display: flex;
524
- align-items: center;
525
- }
526
559
 
527
- .dc-link-submit .fa {
528
- color: #666;
529
- }
530
- .dc-link-submit:hover .fa {
531
- color: #000;
532
- transition: 0.3s;
533
- }
534
- .dc-link-submit:hover {
535
- color: #000;
536
- border: 1px solid rgba(76,154,255, 1);
537
- box-shadow: inset 0 0 0 1px rgba(76,154,255, 1);
538
- transition: 0.3s;
560
+ /******* TITLE *******/
561
+ .dc-title {
562
+ font-weight: 600;
563
+ font-size: 1.2em;
564
+ color: #222;
565
+ padding: 12px 4px 0;
566
+ border-spacing: 0;
567
+ margin: 0;
539
568
  }
540
- .dc-link-submit:hover .dc-submit {
541
- color: #000;
542
- transition: 0.3s;
569
+
570
+ .dc-title .dc-paginate {
571
+ float:right;
572
+ padding-top: 4px;
573
+ font-size: 0.9em;
543
574
  }
544
575
 
545
- .dc-submit {
546
- text-decoration: none;
576
+ .dc-title .dc-help-icon {
577
+ float:right;
578
+ padding: 4px 0 0 4px;
579
+ font-size: 1.1em;
580
+ height: 1em;
547
581
  border: none;
548
- color: #666;
549
- font-weight: 600;
550
- padding: 2px 8px 1px;
551
- border-radius: 0;
552
- background: transparent;
553
- line-height: 30px;
554
- font-size: 15px;
582
+ background: none;
583
+ filter: none;
555
584
  }
556
585
 
557
- .dc-submit:hover {
558
- cursor: pointer;
559
- text-decoration: none;
560
- color: #fff;
586
+ .dc-title .dc-help-icon i {
587
+ color: #888;
561
588
  }
562
589
 
563
- /* Pagination */
590
+ .dc-title .dc-help-icon i:hover {
591
+ color: rgba(44, 142, 255, 1);
592
+ }
593
+
594
+ /***** Pagination *****/
564
595
 
565
596
  .dc-paginate .pagination {
566
597
  display: flex;
567
598
  }
568
599
  .dc-paginate .pagination span {
569
- border: solid 1px #ccc;
570
- margin-left: 1px;
571
- background: transparent linear-gradient(to bottom, #fff 0%, #e2e2e2 100%) repeat scroll 0% 0%;
572
- border-radius: 1px;
573
- }
574
- .dc-paginate .pagination span.page.gap {
575
- padding: 1px 4px 4px 4px;
576
- color: #aaa;
600
+ background: #eee;
601
+ margin-left: 3px;
602
+ border-radius: 2px;
577
603
  }
578
604
 
579
- .dc-paginate .pagination span.next a, .dc-paginate .pagination span.last a,
580
- .dc-paginate .pagination span.prev a, .dc-paginate .pagination span.first a {
581
- padding: 3px 6px 4px 7px;
582
- }
583
- .dc-paginate .pagination span a {
605
+ .dc-paginate .pagination span a, .dc-paginate .pagination .gap {
584
606
  display: block;
585
607
  color: #666;
586
- padding: 4px 6px 3px 7px;
608
+ padding: 4px 7px 5px 8px;
587
609
  text-decoration: none;
588
610
  }
589
611
 
590
612
  .dc-paginate .pagination span.page.current {
591
- padding: 4px 6px 3px 7px;
613
+ padding: 4px 7px 5px 8px;
614
+ color: #fff;
615
+ background-color: #666;
592
616
  }
593
617
 
594
618
  .dc-paginate .pagination span:hover > a {
595
- color: #000;
596
- }
597
-
598
- .dc-paginate .pagination span:hover {
599
- border: 1px solid rgba(76,154,255, 1);
600
- outline: 1px solid rgba(76,154,255, 1);
601
- }
602
-
603
- .dc-paginate .pagination .current {
604
- background: #666;
605
619
  color: #fff;
606
- border: 1px solid #666;
620
+ background-color: rgba(44, 142, 255, 1);
607
621
  }
608
622
 
609
- .dc-paginate .pagination .current:hover {
610
- outline: none;
611
- }
612
-
613
- .dc-title {
614
- font-weight: 600;
615
- font-size: 1.4em;
616
- color: #338;
617
- padding: 5px 1px;
618
- border-spacing: 0;
619
- margin: 0;
620
- background-color: #fff;
621
- }
622
-
623
- .dc-title .dc-paginate {
624
- float:right;
625
- padding-top: 4px;
626
- font-size: 0.8em;
627
- }
628
-
629
- .dc-title .dc-help {
630
- float:right;
631
- padding: 4px 0 0 4px;
632
- font-size: 1.1em;
633
- height: 1em;
634
- border: none;
635
- background: none;
636
- }
623
+ /***** FORM *****/
637
624
 
638
625
  .dc-form-frame {
639
- width: 99.9%;
640
- margin: 0;
641
- background-color: #fff;
626
+ margin: 0px;
627
+ padding: 4px;
628
+ /*background-color: #f7f7f7;*/
642
629
  }
643
630
 
644
631
  .dc-form {
645
632
  width: 99.8%;
646
- padding: 4px 0 0;
647
- border: 1px solid #eee;
648
- border-radius: 2px;
649
- /*background-color: #fcfcfc; */
633
+ padding: 8px 0;
634
+ background-color: #fff;
650
635
  }
651
636
 
652
637
  .dc-form .row-div {
@@ -724,7 +709,7 @@ color: #aaa;
724
709
 
725
710
  .dc-form-field {
726
711
  text-align: left;
727
- padding: 3px 2px;
712
+ padding: 4px 2px;
728
713
  z-index: 10;
729
714
  }
730
715
 
@@ -741,15 +726,15 @@ color: #aaa;
741
726
  font-size: 15px;
742
727
  font-weight: normal;
743
728
  color: #222;
744
- padding: 6px 4px;
745
- border: solid 1px #ddd;;
746
- background-color: #eee;
747
- border-radius: 2px;
729
+ padding: 8px 4px;
730
+ border: dotted 1px #ddd;;
731
+ background-color: #f4f4f4;
732
+ border-radius: 3px;
748
733
  }
749
734
 
750
735
  .tree-select.dc-readonly {
751
736
  display: block;
752
- background-color: #eee;
737
+ background-color: #f4f4f4;
753
738
  }
754
739
 
755
740
  .dc-color-odd {
@@ -758,10 +743,7 @@ color: #aaa;
758
743
  .dc-color-even {
759
744
  background-color: #fcfcfc;
760
745
  }
761
- .dc-form-ul {
762
- padding: 2px 0;
763
- margin-bottom: -3px;
764
- }
746
+
765
747
 
766
748
  .dc-width-0 {width: 0;}
767
749
  .dc-width-10 {width: 10%;}
@@ -772,46 +754,45 @@ margin-bottom: -3px;
772
754
 
773
755
  .dc-spinner {
774
756
  float:left;
775
- padding: 0.8em 2px 0;
757
+ padding: 8px 4px 0 0;
758
+ color:#666;
776
759
  display: none;
777
760
  }
778
761
 
779
762
  .dc-form-li {
780
- display:inline-block;
763
+ display:inline-block;
781
764
  white-space: nowrap;
782
765
  list-style: none;
783
- color: #fff;
766
+ color: #666;
784
767
  text-decoration: none;
785
768
  text-align: center;
786
- font-weight: 600;
769
+ font-weight: 500;
787
770
  line-height: 1.2em;
788
- padding: 0.4em 1em;
789
- background: #666;
790
- margin: 0 1px 0 0;
791
- border-left: 1px solid #ddd;
792
- border-right: 1px solid #ddd;
793
- border-radius: 4px 4px 0 0;
771
+ padding: 10px 1rem;
772
+ margin-top: 4px;
773
+ font-size: 16px;
774
+ border-bottom: 3px solid rgba(98, 0, 238, 0.4);;
775
+ /*text-transform: uppercase;*/
794
776
  }
795
777
 
796
778
  .dc-form-li:hover, .dc-form-li-selected {
797
779
  cursor: pointer;
798
- color: #222;
799
- background: #fff;
800
- border-top: 3px solid rgba(76,154,255, 1);
801
- border-left: 1px solid #eee;
802
- border-right: 1px solid #eee;
780
+ color: rgba(98, 0, 238, 1);
781
+ background-color: rgba(98, 0, 238, 0.1);
782
+ border-bottom: 3px solid rgba(98, 0, 238, 1);
803
783
  }
804
784
 
805
785
  .dc-odd {
806
- background-color: #f8f8f8;
786
+ background-color: #f7f7f7;
807
787
  }
808
788
  .dc-even {
809
789
  background-color: #fff;
810
790
  }
811
791
 
812
792
  .dc-separator {
813
- margin: 5px 0;
814
- border-top: 1px solid #ddd;
793
+ margin: 8px 0;
794
+ border-top: 1px solid #f2f2f2;
795
+ border-bottom: 3px solid #f7f7f7;
815
796
  }
816
797
 
817
798
  /** Form head **/
@@ -820,9 +801,8 @@ border-top: 1px solid #ddd;
820
801
  font-size: 1.2em;
821
802
  line-height: 1.6em;
822
803
  font-weight: bold;
823
- background-color: #e5f2ff;
824
- background-color: rgba(76,154,255, 0.2);
825
- border: 1px dotted #ccc;
804
+ background-color: #E0EEFF;
805
+
826
806
  }
827
807
  .dc-head .dc-row {
828
808
  display: flex;
@@ -857,21 +837,25 @@ display: flex;
857
837
  }
858
838
 
859
839
  .cms-toggle.mode-1:before {
860
- font-family: 'FontAwesome';
861
- content: '\f06e\20';
862
- color: lightskyblue;
840
+ font-family: MI;
841
+ content: '\e417';
842
+ color: rgba(44, 142, 255, 1);
843
+ vertical-align: text-bottom;
844
+ padding-right: 2px;
863
845
  }
864
846
  .cms-toggle.mode-2:before {
865
- font-family: 'FontAwesome';
866
- content: '\f040\20';
847
+ font-family: MI;
848
+ content: '\e3c9';
867
849
  color: lightcoral;
850
+ vertical-align: text-bottom;
851
+ padding-right: 2px;
868
852
  }
869
853
 
870
854
  #menu-hamburger { display: none;}
871
855
 
872
856
  .dc-handle:before {
873
- font-family: 'FontAwesome';
874
- content: '\f0dc\20';
857
+ font-family: MI;
858
+ content: '\e315';
875
859
  color: #000;
876
860
  cursor: pointer;
877
861
  padding-top: 2px;
@@ -894,33 +878,39 @@ background: transparent;
894
878
 
895
879
  #cmsedit-div #record_select {
896
880
  border: 1px solid #aaa;
897
- border-radius: 2px;
881
+ border-radius: 3px;
898
882
  font-size: 1.2em;
899
883
  }
900
884
 
901
885
  /******* TOP MENU *********/
902
886
  .cmsedit-top {
903
887
  width: 100%;
904
- background-color: #fff;
905
- border: 4px solid #fff;
888
+ background-color: #fff;
889
+ border-top: 4px solid #fff;
906
890
  }
907
891
 
908
- .cmsedit-top #menu {
909
- padding: 4px 4px 8px 4rem;
892
+ .cmsedit-top #cms-top-menu {
893
+ padding: 8px 4px 0 4rem;
910
894
  color: #666;
911
895
  background-color: #fff;
912
- border-bottom: 3px solid #666;
896
+ border-bottom: 1px solid #eee;
913
897
  }
914
- .cmsedit-top #menu a {
915
- margin-right: 5px;
898
+
899
+ .cmsedit-top #cms-top-menu i {
900
+ margin-right: 6px;
901
+ font-size: 22px;
916
902
  }
917
903
 
918
- .cmsedit-top #menu select#record_select {
919
- padding: 0;
920
- max-width: 300px;
921
- height: 26px;
904
+ .cmsedit-top #cms-top-menu a:hover {
905
+ color: rgba(44, 142, 255, 1);
906
+ }
907
+
908
+ .cmsedit-top #cms-top-menu span {
909
+ font-size: 22px;
910
+ vertical-align: top;
911
+ padding: 0 4px;
922
912
  }
923
- .cmsedit-top #menu .fa {width: 20px;}
913
+
924
914
 
925
915
  .cmsedit-container {
926
916
  display: flex;
@@ -928,61 +918,67 @@ font-size: 1.2em;
928
918
  background-color: #fff;
929
919
  }
930
920
 
931
- .cmsedit-container #menu {
921
+ .cmsedit-container #cms-menu {
932
922
  display: inline-block;
933
- min-width: 20%;
934
- height: 100%;
923
+ width: 25%;
924
+ max-width: 300px;
935
925
  font-size: 15px;
936
- font-weight: 600;
926
+ font-weight: 500;
937
927
  color: #222;
938
928
  background-color: #fcfcfc;
939
- padding: 4px 0;
940
- margin: 4px;
941
- border: 1px solid #eee;
942
- border-radius: 1px;
929
+ border-right: 1px solid #eee;
943
930
  }
944
931
 
945
- .cmsedit-container .fa {
946
- width: 26px;
932
+ .cmsedit-container #cms-menu div {
933
+ line-height: 20px;
934
+ position: relative;
935
+ padding: 2px 0;
947
936
  }
948
937
 
949
- .cmsedit-container #menu a {
950
- font-weight: normal;
951
- color: #666;
938
+ .cmsedit-container #cms-menu div:after {
939
+ font-family: 'MI';
940
+ content: '\e5cf';
941
+ right: 4px;
942
+ position: absolute;
943
+ color: #444;
944
+ font-size: 22px;
952
945
  }
953
946
 
954
- .cmsedit-container #menu ul {
955
- margin: 0 5px;
956
- line-height: 1.5rem;
947
+ .cmsedit-container #cms-menu div.expanded:after {
948
+ content: '\e5ce';
957
949
  }
958
950
 
959
- .cmsedit-container #menu ul ul {
960
- margin: 0 0 0 0.5rem;
951
+ .cmsedit-container #cms-menu i {
952
+ font-size: 22px;
953
+ padding-right: 4px;
961
954
  }
962
955
 
963
- .cmsedit-container #menu li {
964
- list-style-type: none;
965
- padding: 2px;
966
- width: 100%;
967
-
956
+ .cmsedit-container #cms-menu a {
957
+ font-weight: normal;
958
+ color: #222;
959
+ line-height: 18px;
968
960
  }
969
961
 
970
- .cmsedit-container #menu a:hover {
971
- font-weight: normal;
972
- color: #000;
962
+ .cmsedit-container #cms-menu ul {
963
+ margin: 0 5px;
964
+ line-height: 1.5rem;
973
965
  }
974
966
 
975
- .cmsedit-container #menu .cmsedit-top-level-menu:hover {
976
- cursor: pointer;
967
+ .cmsedit-container #cms-menu li {
968
+ list-style-type: none;
969
+ padding: 5px;
970
+ width: 100%;
977
971
  }
978
972
 
979
- .cmsedit-container #menu li li:hover {
980
- background-color: #eee;
981
- padding: 2px 1px 2px 3px;
973
+ .cmsedit-container #cms-menu a:hover,
974
+ .cmsedit-container #cms-menu div:hover {
975
+ color: rgba(44, 142, 255, 1);
976
+ cursor: pointer;
982
977
  }
983
978
 
984
- .cmsedit-container #menu ul li ul {
985
- display: none;
979
+
980
+ .cmsedit-container #cms-menu ul li ul {
981
+ display: none;
986
982
  }
987
983
 
988
984
  .default-table {
@@ -1002,31 +998,37 @@ display: none;
1002
998
  }
1003
999
  /****** jquery ui-autocomplete widget ***************/
1004
1000
  .ui-autocomplete-input {
1005
- padding: 6px 6px 6px 12px;
1006
- border-radius: 2px;
1001
+ padding: 8px 4px 8px 12px;
1002
+ border-radius: 3px;
1007
1003
  }
1004
+
1008
1005
  .dc-text-autocomplete {
1009
1006
  position: relative;
1010
1007
  }
1011
1008
 
1009
+ .dc-text-autocomplete i {
1010
+ color: #666;
1011
+ }
1012
+
1013
+ .dc-text-autocomplete i:hover {
1014
+ color: rgba(44, 142, 255, 1);;
1015
+ }
1016
+
1012
1017
  .dc-text-autocomplete input {
1013
1018
  border: 1px dashed #555;
1014
1019
  }
1015
1020
 
1016
-
1017
1021
  .dc-text-autocomplete input+span:before {
1018
- font-family: 'FontAwesome';
1019
- content: '\f002';
1022
+ font-family: 'MI';
1023
+ content: '\e8b6';
1020
1024
  top: -4px;
1021
1025
  left: 4px;
1022
1026
  position: absolute;
1023
1027
  color: #666;
1024
1028
  font-weight: bold;
1025
- font-size: 10px;
1029
+ font-size: 11px;
1026
1030
  }
1027
1031
 
1028
- .filter_field .dc-text-autocomplete input+span:before {top: -16px;}
1029
-
1030
1032
  .ui-autocomplete.ui-menu{
1031
1033
  font-size: 1.1em;
1032
1034
  }
@@ -1045,7 +1047,7 @@ color: #000;
1045
1047
 
1046
1048
  .ui-autocomplete-border {
1047
1049
  display: inline-block;
1048
- border-radius: 2px;
1050
+ border-radius: 3px;
1049
1051
  border: dashed 1px #555;;
1050
1052
  padding: 8px;
1051
1053
  background-color: #fff;
@@ -1056,13 +1058,13 @@ color: #000;
1056
1058
  }
1057
1059
 
1058
1060
 
1059
- .dc-red { color: #d99;}
1060
- .dc-red:hover { color: #e66;}
1061
+ .dc-red { color: #f76;}
1062
+ .dc-red:hover { color: #c43;}
1061
1063
  .dc-green { color: #9c9;}
1062
1064
  .dc-green:hover { color: #6a6;}
1063
1065
 
1064
1066
  .aui-corner-all {
1065
- background-color: lightyellow;
1067
+ background-color: lightyellow;
1066
1068
  }
1067
1069
 
1068
1070
  #dc-login {
@@ -1070,66 +1072,70 @@ background-color: lightyellow;
1070
1072
  top: 50%;
1071
1073
  left: 50%;
1072
1074
  transform: translate(-50%, -50%);
1073
- font-size: 1.2em;
1074
- padding: 0 5em 1em 1em;
1075
- border: 1px solid #669;
1076
- box-shadow: 0 0 5px #666;
1075
+ font-size: 1em;
1076
+ padding: 1em 5em 1em 1em;
1077
+ border: 1px solid #eee;
1078
+ border-radius: 4px;
1079
+ background-color: #fafafa;
1077
1080
  }
1081
+
1078
1082
  #dc-login h2 {
1079
1083
  font-weight: bold;
1080
1084
  font-size: 1.4em;
1085
+ margin-bottom: 8px;
1081
1086
  }
1082
1087
  #dc-login .label {
1083
- padding: 5px 0;
1088
+ padding: 12px 0 6px;
1089
+ font-weight: 400;
1090
+ }
1091
+
1092
+ #dc-login .dc-submit {
1093
+ padding: 6px 14px;
1094
+ margin-top: 4px;
1084
1095
  }
1085
1096
 
1086
1097
  .div-hidden {
1087
- display: none;
1098
+ display: none;
1088
1099
  }
1089
1100
 
1090
1101
  .drgcms_popmenu_class {
1091
- padding:4px;
1092
- position:absolute;
1093
- background-color: #eee;
1094
- border: solid 1px #ccc;;
1095
- border-radius: 4px;
1096
- z-index: 100;
1097
- list-style-type: none;
1102
+ position:absolute;
1103
+ background-color: #fff;
1104
+ border-radius: 2px;
1105
+ z-index: 100;
1106
+ list-style-type: none;
1107
+ filter: drop-shadow(1px 1px 4px #eee);
1108
+ }
1109
+
1110
+ .drgcms_popmenu_class i {
1111
+ vertical-align: sub;
1112
+ color: rgba(44, 142, 255, 1);
1098
1113
  }
1099
1114
 
1100
1115
  .drgcms_popmenu_item {
1101
- padding: 6px;
1102
- border: 1px solid #eee;
1116
+ padding: 4px;
1103
1117
  }
1118
+
1104
1119
  .drgcms_popmenu_item:hover {
1105
- background-color: white;
1106
- border: 1px solid rgba(76,154,255, 1);
1107
- box-shadow: inset 0 0 0 1px rgba(76,154,255, 1);
1108
- border-radius: 2px;
1120
+ background-color: rgba(44, 142, 255, 1);
1121
+ color: white;
1109
1122
  }
1110
-
1111
- .drgcms_sort {
1112
- width: 22px;
1113
- border: 0;
1114
- background: none;
1115
- height: 16px;
1116
- padding: 0;
1123
+ .drgcms_popmenu_item:hover i {
1124
+ color: white;
1117
1125
  }
1118
-
1119
1126
  .iframe_embedded {
1120
- padding: 4px;
1121
- background-image: none;
1122
- border-radius: 2px;
1123
- border: 2px solid #666;
1124
- background-color: #fff;
1127
+ padding: 4px;
1128
+ /*background-color: #f7f7f7;*/
1129
+ border-radius: 2px;
1130
+ border: 2px solid #666;
1125
1131
  }
1126
1132
 
1127
1133
  #iframe_edit, #iframe_cms {
1128
- height: 1px;
1129
- width: 100%;
1130
- border: 0;
1131
- margin-bottom: 0;
1132
- overflow-x:hidden;
1134
+ height: 1px;
1135
+ width: 100%;
1136
+ border: 0;
1137
+ margin-bottom: 0;
1138
+ overflow-x:hidden;
1133
1139
  }
1134
1140
 
1135
1141
  .clear-both { clear: both;}
@@ -1137,100 +1143,94 @@ overflow-x:hidden;
1137
1143
  /******************* action-menu *********************/
1138
1144
 
1139
1145
  #dc-action-menu {
1140
- padding: 2px 0 6px 0;
1141
- font-weight: bold;
1142
- color: #666;
1143
- display: inline-flex;
1144
- }
1145
-
1146
- #dc-action-menu ul {
1147
- list-style:none;
1148
- padding: 0;
1149
- /*margin: 8px 2px 4px 2px; */
1150
- line-height: 2.2rem;
1151
- }
1152
-
1153
- .dc-action-menu {
1154
- display: inline-table;
1146
+ font-weight: bold;
1147
+ color: #888;
1148
+ display: block;
1149
+ margin: 12px 0 6px;
1155
1150
  }
1156
1151
 
1157
- .dc-action-menu li {
1158
- display:inline;
1159
- position:relative;
1160
- white-space: nowrap;
1161
- list-style:none;
1162
- padding: 7px;
1163
- margin-right: 4px;
1164
- border-radius: 3px;
1165
- z-index: 1;
1166
-
1167
- background: transparent linear-gradient(to bottom, #fff 0%, #e2e2e2 100%) repeat scroll 0% 0%;
1168
- /*border: 1px solid #ddd; */
1152
+ .dc-action-menu ul li {
1153
+ display: inline-flex;
1154
+ position: relative;
1155
+ white-space: nowrap;
1156
+ margin-right: 3px;
1157
+ vertical-align: middle;
1169
1158
  }
1170
1159
 
1171
- .dc-action-menu ul {
1172
- margin: -3px 0 0 2px;
1160
+ .dc-action-menu ul ul {
1161
+ margin: 3px 0 0 4px;
1173
1162
  position: absolute;
1174
- left: -9999px;
1175
- border-radius: 1px;
1176
1163
  line-height: 1.2em !important;
1164
+ filter: drop-shadow(6px 7px 6px #ddd);
1165
+ display: none;
1177
1166
  }
1178
1167
 
1179
- .dc-action-menu ul li {
1180
- display: block;
1181
- float: none;
1182
- padding: 6px 10px;
1183
- margin-right: 0;
1184
- white-space: nowrap;
1185
- background: #fff;
1186
- border: 0;
1187
- color: #888;
1168
+ .dc-action-menu ul ul li {
1169
+ display: block;
1170
+ white-space: nowrap;
1171
+ font-weight: 500;
1172
+ background: #fff;
1173
+ color: #666;
1174
+ padding: 6px 10px;
1175
+ float: none;
1176
+ margin-right: 0;
1177
+ filter: drop-shadow(1px 1px 4px #eee);
1188
1178
  }
1189
1179
 
1190
- .dc-action-menu ul a {
1191
- white-space:nowrap;
1192
- padding: 7px;
1180
+ .dc-action-menu ul ul a {
1181
+ padding: 7px;
1182
+ cursor: pointer;
1193
1183
  }
1194
1184
 
1195
- .dc-action-menu li:hover ul {
1196
- left:-3px;
1197
- background-color: #fff;
1198
- border: 1px solid #ccc;
1185
+ .dc-action-menu ul li:hover ul {
1186
+ display: block;
1199
1187
  z-index: 1000000;
1200
1188
  }
1201
1189
 
1202
- .dc-action-menu ul ul {
1190
+ .dc-action-menu .dc-left li:hover ul {
1191
+ left: -4px;
1192
+ margin-top: 4px;
1203
1193
  }
1204
1194
 
1205
- .dc-action-menu li:hover ul li a {
1206
- /*color: #eee;*/
1195
+ .dc-action-menu ul li:hover ul li a:hover {
1196
+ color: #222;
1207
1197
  }
1208
1198
 
1209
- .dc-action-menu li:hover ul li a:hover {
1210
- color: #222;
1211
- }
1212
- .dc-action-menu li:hover ul li:hover {
1213
- border: 0;
1214
- background: #eee;
1215
- }
1199
+ /****** menu filter ****/
1216
1200
 
1217
1201
  .menu-filter {
1218
- min-width: 200px;
1219
- max-width: 400px;
1202
+ min-width: 200px;
1203
+ position: initial;
1204
+ filter: drop-shadow(1px 1px 6px #ddd);
1205
+ right: 0;
1206
+ margin-top: 0 !important;
1207
+ }
1208
+
1209
+ .menu-filter li.dc-link {
1210
+ padding: 4px 10px;
1211
+ text-align: left;
1212
+ border: 0;
1213
+ border-radius: 0;
1220
1214
  }
1221
1215
 
1222
- .menu-filter li {
1223
- color: #888 !important;
1216
+ .menu-filter li a {
1217
+ color: #666;
1218
+ text-decoration: none;
1224
1219
  }
1225
1220
  .menu-filter li:hover {
1226
- color: #000 !important;
1227
- background-color: transparent;
1221
+ cursor: pointer;
1222
+ color: rgba(44, 142, 255, 1);
1223
+ color: #fff;
1228
1224
  }
1229
1225
 
1230
- .menu-filter hr {margin: 0;}
1226
+ .menu-filter hr {
1227
+ margin: 0;
1228
+ background-color: #666;
1229
+ height: 1px;
1230
+ }
1231
1231
 
1232
+ /**** dc-action-menu ****/
1232
1233
  .dc-action-menu .no-background {
1233
- background: #fff;
1234
1234
  border: none;
1235
1235
  padding: 0;
1236
1236
  white-space: nowrap;
@@ -1239,13 +1239,9 @@ background-color: transparent;
1239
1239
  padding-left: 4px;
1240
1240
  }
1241
1241
 
1242
- .dc-action-menu .filter_field i {
1243
- padding-right: 8px;
1244
- }
1245
-
1246
1242
  .dc-action-menu .filter_field i:hover {
1247
1243
  cursor: pointer;
1248
- color: #ccc;
1244
+ color: rgba(44, 142, 255, 1);
1249
1245
  }
1250
1246
 
1251
1247
  .dc-action-menu .dc-link:empty {
@@ -1259,10 +1255,41 @@ background-color: transparent;
1259
1255
  margin-right: 5px;
1260
1256
  }
1261
1257
 
1258
+ .dc-filter .mi-search_off {
1259
+ color: #c43;
1260
+ }
1261
+ .dc-filter i:hover {
1262
+ color: rgba(44, 142, 255, 1);
1263
+ }
1264
+
1265
+ .dc-sort {
1266
+ padding-top: 2px;
1267
+ }
1268
+
1269
+ .dc-sort:hover > select {
1270
+ color: rgba(44, 142, 255, 1);
1271
+ }
1272
+
1273
+ .dc-sort-select {
1274
+ width: 18px;
1275
+ background: none;
1276
+ height: 20px;
1277
+ border: 0;
1278
+ color: #222;
1279
+ }
1280
+
1281
+ .dc-result-header span:hover {
1282
+ cursor: pointer;
1283
+ color: #000;
1284
+ }
1285
+
1262
1286
  /***** POPUP ******/
1263
1287
 
1264
1288
  #popup {
1265
1289
  min-width: 50%;
1290
+ background-color: #fff;
1291
+ padding: 4px;
1292
+ filter: drop-shadow(0 1rem 2rem #222);
1266
1293
  }
1267
1294
 
1268
1295
  #popup .dc-help .help-top {
@@ -1284,10 +1311,9 @@ background-color: transparent;
1284
1311
  }
1285
1312
 
1286
1313
  #popup .dc-help h1 {
1287
- background: darkred;
1288
- color: #fff;
1314
+ color: rgba(44, 142, 255, 1);
1289
1315
  font-weight: 600;
1290
- padding: 4px;
1316
+ padding: 4px 0;
1291
1317
  font-size: 1.2em;
1292
1318
  border-radius: 2px;
1293
1319
  }
@@ -1308,34 +1334,33 @@ background-color: transparent;
1308
1334
 
1309
1335
  #popup .dc-help .help-tab {
1310
1336
  display: table;
1311
- margin: 8px 0 0;
1312
- padding: 3px 12px;
1313
- color: #fff;
1314
- background: #555;
1315
- border-radius: 5px 5px 0 0;
1316
- font-weight: 600;
1337
+ font-weight: 500;
1338
+ color: rgba(98, 0, 238, 1);
1339
+ background-color: rgba(98, 0, 238, 0.1);
1340
+ padding: 8px 12px;
1341
+ margin-top: 1rem
1317
1342
  }
1318
1343
 
1319
1344
  #popup .dc-help .help-tab-help {
1320
1345
  font-weight: 600;
1321
1346
  color: #fff;
1322
- background: #777;
1347
+ background: rgba(98, 0, 238, 0.6);
1323
1348
  padding: 3px 12px;
1324
1349
  }
1325
1350
 
1326
1351
  #popup .dc-help .help-fields {
1327
1352
  margin-top: 1rem;
1328
- border-top: 1px solid #222;
1353
+ border-top: 1px solid #888;
1329
1354
  }
1330
1355
 
1331
1356
  #popup .dc-help .help-field {
1332
1357
  display: flex;
1333
1358
  background-color: #eee;
1334
- padding: 3px;
1359
+ padding: 5px;
1335
1360
  }
1336
1361
 
1337
1362
  #popup .dc-help .help-field:nth-child(odd) {
1338
- background-color: #f8f8f8;
1363
+ background-color: #f7f7f7;
1339
1364
  }
1340
1365
 
1341
1366
  #popup .dc-help .help-label {
@@ -1347,12 +1372,29 @@ background-color: transparent;
1347
1372
  }
1348
1373
 
1349
1374
  #popup .dc-help .help-body {
1350
- border-top: 1px solid #222;
1375
+ border-top: 1px solid #888;
1351
1376
  padding-top: 8px;
1352
1377
  }
1353
1378
 
1354
1379
  #popup .dc-help .help-buttons {
1355
- padding: 4px 0;
1380
+ padding: 8px 0;
1381
+ }
1382
+
1383
+ #popup .dc-help .help-buttons button {
1384
+ font-weight: 500;
1385
+ color: #666;
1386
+ padding: 4px 10px 6px;
1387
+ border: 1px solid #e7e7e7;
1388
+ background-color: #fff;
1389
+ border-radius: 4px;
1390
+ filter: drop-shadow(1px 1px 4px #eee);
1391
+ }
1392
+
1393
+ #popup .dc-help .help-buttons button:hover {
1394
+ background-color: rgba(44, 142, 255, 1);
1395
+ border: 1px solid rgba(44, 142, 255, 1);
1396
+ transition: 0.3s;
1397
+ color: #fff;
1356
1398
  }
1357
1399
 
1358
1400
  #popup .dc-help .dc-link {
@@ -1367,7 +1409,6 @@ background-color: transparent;
1367
1409
  .filter-popup div {
1368
1410
  padding: 5px 10px;
1369
1411
  text-align: center;
1370
- text-transform: uppercase;
1371
1412
  background-color: #222;
1372
1413
  color: #fff;
1373
1414
  }
@@ -1390,18 +1431,18 @@ font-size: 11px;
1390
1431
  }
1391
1432
 
1392
1433
  #dc-document-info:hover {
1393
- color: rgba(76,154,255, 1);
1434
+ color: rgba(44, 142, 255, 1);
1394
1435
  cursor: pointer;
1395
1436
  }
1396
1437
 
1397
1438
  #dc-document-info-popup {
1398
1439
  text-align: left;
1399
- padding:4px;
1440
+ padding: 6px;
1400
1441
  font-size: 0.9em;
1401
1442
  position:absolute;
1402
- background-color: #f8f8f8;
1403
- border: solid 1px #ccc;;
1404
- border-radius: 2px;
1443
+ background-color: #fff;
1444
+ border: solid 1px #ccc;
1445
+ border-radius: 4px;
1405
1446
  z-index: 100;
1406
1447
  }
1407
1448
 
@@ -1416,26 +1457,27 @@ z-index: 100;
1416
1457
 
1417
1458
  /************************** filter popup *************************/
1418
1459
  #drgcms_filter {
1419
- z-index:100;
1420
- background: #fff;
1421
- display: none;
1422
- padding: 10px;
1460
+ z-index:100;
1461
+ background: #fff;
1462
+ display: none;
1463
+ padding: 10px;
1464
+ filter: drop-shadow(0 1rem 2rem #222);
1423
1465
  }
1424
1466
 
1425
1467
  #drgcms_filter h1 {
1426
- font-size: 1.8em;
1427
- padding-top: 5px;
1428
- border-bottom: 2px solid #669;
1429
- color: #669;
1468
+ font-size: 1.8em;
1469
+ font-width: 600;
1470
+ color: rgba(44, 142, 255, 1);
1430
1471
  }
1431
1472
 
1432
1473
  #drgcms_filter .dc-menu {
1433
1474
  display: inline-flex;
1434
1475
  padding-bottom: 2px;
1435
1476
  }
1477
+
1436
1478
  #drgcms_filter .dc-menu div {
1437
- margin-right: 3px;
1438
- padding: 9px 6px 7px 6px;
1479
+ margin: 0 3px 0 2px;
1480
+ padding: 7px 6px 6px;
1439
1481
  }
1440
1482
 
1441
1483
  .tree-select {
@@ -1450,11 +1492,12 @@ color: #669;
1450
1492
  /** Radio button input field **/
1451
1493
 
1452
1494
  .dc-radio {
1453
- padding: 6px 0 12px 0;
1454
1495
  display: inline-table;
1496
+ background-color: #fff;
1497
+ padding: 7px 0 9px;
1455
1498
  border: 1px dashed #666;
1499
+ border-radius: 3px;
1456
1500
  margin-left: 1px;
1457
- background-color: #fff;
1458
1501
  }
1459
1502
  .dc-radio div {
1460
1503
  font-size: 1.1em;
@@ -1474,6 +1517,8 @@ color: #669;
1474
1517
  @media only screen and (max-device-width: 600px) {
1475
1518
  #body-cms {font-size: 11px;}
1476
1519
  #site-top div:nth-of-type(2) {padding-top: 0 !important;}
1520
+ .dc-title { font-size: 1.5em;}
1521
+
1477
1522
 
1478
1523
  .dc-form {
1479
1524
  border: none;
@@ -1497,26 +1542,16 @@ color: #669;
1497
1542
  font-size: 15px;
1498
1543
  }
1499
1544
 
1500
- .app-menu li {margin-bottom: 4px;}
1501
-
1502
1545
  .dc-menu { padding: 0;}
1546
+ .dc-menu li, .dc-action-menu ul li { margin: 2px 3px 2px; }
1503
1547
 
1504
1548
  .dc-submit {
1505
1549
  line-height: 20px;
1506
- font-size: 11px;
1507
- }
1550
+ }
1508
1551
  .dc-link div, .dc-link-no {
1509
1552
  padding: 4px 8px;
1510
1553
  }
1511
1554
 
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
1555
  #result {width: 200%;}
1521
1556
 
1522
1557
  .dc-separator {
@@ -1524,8 +1559,6 @@ color: #669;
1524
1559
  border-top: 2px solid #888;
1525
1560
  }
1526
1561
 
1527
- .dc-menu li {margin-bottom: 4px;}
1528
-
1529
1562
  .dc-width-10, .dc-width-14, .dc-width-21, .dc-width-85, .dc-width-100 {width: 100%;}
1530
1563
 
1531
1564
  .dc-width-100 {
@@ -1543,8 +1576,8 @@ color: #669;
1543
1576
  }
1544
1577
 
1545
1578
  .cmsedit-container {display: block;}
1546
- .cmsedit-container #menu {display: none;}
1547
- .cmsedit-container #menu.visible {
1579
+ .cmsedit-container #cms-menu {display: none;}
1580
+ .cmsedit-container #cms-menu.visible {
1548
1581
  display: initial;
1549
1582
  width: 200%;
1550
1583
  font-weight: 500;
@@ -1556,7 +1589,7 @@ color: #669;
1556
1589
 
1557
1590
  /******* Firefox only ********/
1558
1591
  @-moz-document url-prefix() {
1559
- .dc-submit {
1560
- /* padding: 0 2px 1px; */
1592
+ .dc-link, .dc-link-ajax, .dc-submit {
1593
+ /* padding: 4px 14px 8px 14px;*/
1561
1594
  }
1562
1595
  }