drg_cms 0.4.58 → 0.4.61
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 +1 -1
- data/app/assets/javascripts/drg_cms/drg_cms.js +29 -20
- data/app/assets/stylesheets/drg_cms/drg_cms.css +77 -86
- data/app/assets/stylesheets/drg_cms_application.css +1 -0
- data/app/assets/stylesheets/drg_cms_cms.css +1 -0
- data/app/controllers/cmsedit_controller.rb +71 -27
- data/app/forms/dc_design.yml +1 -1
- data/app/helpers/cmsedit_helper.rb +171 -60
- data/app/helpers/dc_application_helper.rb +2 -2
- data/app/helpers/dc_poll_renderer.rb +2 -2
- data/app/models/dc_piece.rb +1 -1
- data/app/models/dc_policy_rule.rb +1 -1
- data/app/models/drgcms_form_field.rb +5 -4
- data/app/models/drgcms_form_fields.rb +1027 -0
- data/app/views/cmsedit/_edit_stuff.html.erb +9 -9
- data/app/views/cmsedit/_result.html.erb +4 -1
- data/config/initializers/kaminari_patch.rb +1 -1
- data/config/locales/drgcms_en.yml +2 -1
- data/config/locales/drgcms_sl.yml +1 -0
- data/drg_cms.gemspec +1 -0
- data/lib/drg_cms.rb +48 -1
- data/lib/drg_cms/version.rb +1 -1
- metadata +18 -4
- data/app/forms/__drgcms_cms.yml +0 -28
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: dfa3b5330e24fcd8592073f29df197ff39e42370
|
|
4
|
+
data.tar.gz: ede668ee2e25017ffdf57383945e80439a3db73c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 776ae4624332a4d86e5368120d8ea14a480eec5dbed77437138cc122c464e4ca0a30d1b2c6c00934c002d11f265ea6cf041f25044c105ee63a57d5abacdb62b4
|
|
7
|
+
data.tar.gz: 47f49d630d9846eba09ade84b3d28ecbe2a3ed83bf0f3785163e41b1ce9586e4b8e07fec8c422b2eeca030a1723a311f0374e28465395eefddde1c87a43cef49
|
data/README.md
CHANGED
|
@@ -188,14 +188,14 @@ $(document).ready( function() {
|
|
|
188
188
|
/*******************************************************************
|
|
189
189
|
* Popup or close CMS edit menu on icon click
|
|
190
190
|
*******************************************************************/
|
|
191
|
-
$('.drgcms_popmenu').
|
|
191
|
+
$('.drgcms_popmenu').on('click',function(e) {
|
|
192
192
|
$(e.target).parents('dl:first').find('ul').toggleClass('div-hidden');
|
|
193
193
|
});
|
|
194
194
|
|
|
195
195
|
/*******************************************************************
|
|
196
196
|
* Popup CMS edit menu option clicked
|
|
197
197
|
*******************************************************************/
|
|
198
|
-
$('.drgcms_popmenu_item').
|
|
198
|
+
$('.drgcms_popmenu_item').on('click',function(e) {
|
|
199
199
|
url = e.target.getAttribute("data-url");
|
|
200
200
|
$('#iframe_cms').attr('src', url);
|
|
201
201
|
// $('#iframe_cms').width(1000).height(1000);
|
|
@@ -217,7 +217,7 @@ $(document).ready( function() {
|
|
|
217
217
|
/*******************************************************************
|
|
218
218
|
* Tab clicked on form. Hide old and show selected div.
|
|
219
219
|
*******************************************************************/
|
|
220
|
-
$('.dc-form-li').
|
|
220
|
+
$('.dc-form-li').on('click', function(e) {
|
|
221
221
|
/* find li with dc-form-li-selected class and remove it. This will deselect tab */
|
|
222
222
|
var old_id = null;
|
|
223
223
|
$(e.target).parents('ul').find('li').each( function() {
|
|
@@ -269,7 +269,7 @@ $(document).ready( function() {
|
|
|
269
269
|
/*******************************************************************
|
|
270
270
|
* Process Ajax call on cmsedit form actions
|
|
271
271
|
*******************************************************************/
|
|
272
|
-
$('.dc-link-ajax').
|
|
272
|
+
$('.dc-link-ajax').on('click', function(e) {
|
|
273
273
|
var target = e.target;
|
|
274
274
|
// if (e.target.src !== undefined) {
|
|
275
275
|
// target = e.target.parent(); // picture
|
|
@@ -334,7 +334,7 @@ $(document).ready( function() {
|
|
|
334
334
|
/*******************************************************************
|
|
335
335
|
* App menu option clicked
|
|
336
336
|
*******************************************************************/
|
|
337
|
-
$('.app-menu-item a').
|
|
337
|
+
$('.app-menu-item a').on('click', function(e) {
|
|
338
338
|
/* parent of a is li */
|
|
339
339
|
$(e.target).parents('li').each( function() {
|
|
340
340
|
/* for all li's in ul, deselect */
|
|
@@ -351,11 +351,11 @@ $(document).ready( function() {
|
|
|
351
351
|
/*******************************************************************
|
|
352
352
|
* Display spinner on link with spinner, submit link
|
|
353
353
|
*******************************************************************/
|
|
354
|
-
$('.dc-link-spinner').
|
|
354
|
+
$('.dc-link-spinner').on('click', function(e) {
|
|
355
355
|
$('#dc-spinner').toggleClass('div-hidden');
|
|
356
356
|
});
|
|
357
357
|
|
|
358
|
-
$('.dc-link-submit').
|
|
358
|
+
$('.dc-link-submit').on('click', function(e) {
|
|
359
359
|
$('#dc-spinner').toggleClass('div-hidden');
|
|
360
360
|
});
|
|
361
361
|
|
|
@@ -364,7 +364,7 @@ $(document).ready( function() {
|
|
|
364
364
|
* into required table. This is helper scenario, when user is selecting
|
|
365
365
|
* data from with text_autocomplete and data doesn't exist in belongs_to table.
|
|
366
366
|
*******************************************************************/
|
|
367
|
-
$('.in-edit-add').
|
|
367
|
+
$('.in-edit-add').on('click', function(e) {
|
|
368
368
|
url = '/cmsedit/new?table=' + this.getAttribute("data-table");
|
|
369
369
|
/* I know. It doesn't work as expected. But it will do for now. */
|
|
370
370
|
w = window.open(url, '', 'chrome=yes,width=800,height=600,resizable,scrollbars=yes,status=1,centerscreen=yes,modal=yes');
|
|
@@ -375,7 +375,7 @@ $(document).ready( function() {
|
|
|
375
375
|
* When filter_field (field name) is selected on filter subform this routine finds
|
|
376
376
|
* and displays apropriate span with input field.
|
|
377
377
|
**********************************************************************/
|
|
378
|
-
$('#_filter_field').
|
|
378
|
+
$('#_filter_field').on('change', function() {
|
|
379
379
|
if (this.value.length > 0) {
|
|
380
380
|
name = 'filter_' + this.value;
|
|
381
381
|
$(this).parents('form').find('span').each( function() {
|
|
@@ -384,7 +384,7 @@ element = $(this).find(':first').attr('id');
|
|
|
384
384
|
sometimes it is the second element
|
|
385
385
|
if (element == nil) { element = $(this).find(':first').next().attr('id');}
|
|
386
386
|
*/
|
|
387
|
-
if ($(this).attr('id')
|
|
387
|
+
if ($(this).attr('id') == name) {
|
|
388
388
|
if ( $(this).hasClass('div-hidden') ) { $(this).toggleClass('div-hidden'); }
|
|
389
389
|
} else {
|
|
390
390
|
if ( !$(this).hasClass('div-hidden') ) { $(this).toggleClass('div-hidden'); }
|
|
@@ -402,9 +402,9 @@ element = $(this).find(':first').attr('id');
|
|
|
402
402
|
* to the form. We can now attach any kind of data to submit button and data
|
|
403
403
|
* will be passed as data[] parameters to controller.
|
|
404
404
|
*******************************************************************/
|
|
405
|
-
$('.dc-submit').
|
|
405
|
+
$('.dc-submit').on('click', function() {
|
|
406
406
|
$.each(this.attributes, function() {
|
|
407
|
-
if (this.name.substring(0,5)
|
|
407
|
+
if (this.name.substring(0,5) == 'data-') {
|
|
408
408
|
$('<input>').attr({
|
|
409
409
|
type: 'hidden',
|
|
410
410
|
name: 'data[' + this.name.substring(5) + ']',
|
|
@@ -418,7 +418,8 @@ element = $(this).find(':first').attr('id');
|
|
|
418
418
|
/*******************************************************************
|
|
419
419
|
* Popup or hide document information
|
|
420
420
|
*******************************************************************/
|
|
421
|
-
$('#dc-document-info').
|
|
421
|
+
$('#dc-document-info').on('click',function(e) {
|
|
422
|
+
// $('.fa').on('click',function(e) {
|
|
422
423
|
popup = $(e.target).next();
|
|
423
424
|
popup.toggleClass('div-hidden');
|
|
424
425
|
if (!popup.hasClass('div-hidden')) {
|
|
@@ -432,7 +433,7 @@ element = $(this).find(':first').attr('id');
|
|
|
432
433
|
/*******************************************************************
|
|
433
434
|
* Just hide document information on click.
|
|
434
435
|
*******************************************************************/
|
|
435
|
-
$('#dc-document-info-popup').
|
|
436
|
+
$('#dc-document-info-popup').on('click',function(e) {
|
|
436
437
|
// click on container (id)
|
|
437
438
|
if (e.target.id == 'dc-document-info-popup') {
|
|
438
439
|
$(e.target).toggleClass('div-hidden');
|
|
@@ -443,11 +444,11 @@ element = $(this).find(':first').attr('id');
|
|
|
443
444
|
});
|
|
444
445
|
|
|
445
446
|
/*******************************************************************
|
|
446
|
-
* Force reload of parent page if this div appears
|
|
447
|
+
* Experimental. Force reload of parent page if this div appears.
|
|
447
448
|
*******************************************************************/
|
|
448
449
|
$('#div-reload-parent').load( function() {
|
|
449
450
|
// alert('div-reload-parent 1');
|
|
450
|
-
parent.location.href=parent.location.href
|
|
451
|
+
parent.location.href = parent.location.href;
|
|
451
452
|
});
|
|
452
453
|
|
|
453
454
|
/*******************************************************************
|
|
@@ -455,15 +456,23 @@ element = $(this).find(':first').attr('id');
|
|
|
455
456
|
*******************************************************************/
|
|
456
457
|
$('#div-reload').load( function() {
|
|
457
458
|
// alert('div-reload 1');
|
|
458
|
-
location.href=location.href
|
|
459
|
+
location.href = location.href;
|
|
459
460
|
});
|
|
460
461
|
|
|
461
|
-
$('#div-reload-parent').
|
|
462
|
+
$('#div-reload-parent').on('DOMNodeInserted DOMNodeRemoved', function() {
|
|
462
463
|
alert('div-reload-parent 2');
|
|
463
464
|
});
|
|
464
|
-
$('#div-reload').
|
|
465
|
+
$('#div-reload').on('DOMNodeInserted DOMNodeRemoved', function() {
|
|
465
466
|
alert('div-reload 2');
|
|
466
|
-
});
|
|
467
|
+
});
|
|
468
|
+
|
|
469
|
+
/*******************************************************************
|
|
470
|
+
* Fire show document when doubleclicked on result row
|
|
471
|
+
*******************************************************************/
|
|
472
|
+
$('.dc-result tr').on('dblclick', function(e) {
|
|
473
|
+
e.preventDefault();
|
|
474
|
+
location.href = this.getAttribute("data");
|
|
475
|
+
});
|
|
467
476
|
|
|
468
477
|
});
|
|
469
478
|
|
|
@@ -32,16 +32,15 @@ vertical-align: middle;
|
|
|
32
32
|
|
|
33
33
|
textarea, input, select {
|
|
34
34
|
color: #222;
|
|
35
|
-
padding:
|
|
36
|
-
border: solid 1px #
|
|
35
|
+
padding: 3px;
|
|
36
|
+
border: solid 1px #aaa;
|
|
37
37
|
border-radius: 2px;
|
|
38
|
+
/*background: linear-gradient(#ffd 4%, #fff 100%); */
|
|
38
39
|
/*
|
|
39
|
-
background: linear-gradient(#ffd 4%, #fff 100%);
|
|
40
40
|
box-shadow: rgba(0,0,0, 0.1) 0px 0px 4px;
|
|
41
41
|
*/
|
|
42
42
|
}
|
|
43
43
|
|
|
44
|
-
input { padding: 6px;}
|
|
45
44
|
/*
|
|
46
45
|
select#record_select {
|
|
47
46
|
padding: 1px;
|
|
@@ -111,27 +110,33 @@ width: 24px;
|
|
|
111
110
|
padding: 0px;
|
|
112
111
|
border-spacing: 0px;
|
|
113
112
|
border-radius: 1px;
|
|
114
|
-
/*
|
|
115
|
-
border-right: 0px;
|
|
116
|
-
border-left: 1px solid #fff;
|
|
117
|
-
border-top: 1px solid #fff;
|
|
118
|
-
border-bottom:1px solid #ccc;
|
|
119
|
-
*/
|
|
120
113
|
background-color: #f8f8f8;
|
|
121
114
|
}
|
|
122
115
|
|
|
123
|
-
.dc-result
|
|
116
|
+
.dc-result tr:hover { background-color: #ddd; }
|
|
117
|
+
|
|
118
|
+
.dc-result td {
|
|
119
|
+
padding: 2px 0px;
|
|
120
|
+
line-height: 1.5em;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
.dc-result i {
|
|
124
|
+
padding: 2px;
|
|
125
|
+
}
|
|
126
|
+
|
|
124
127
|
.dc-menu {
|
|
125
|
-
|
|
126
|
-
|
|
128
|
+
border-spacing: 4px;
|
|
129
|
+
padding: 0px;
|
|
127
130
|
}
|
|
128
131
|
|
|
132
|
+
#data-fields {margin: 5px;}
|
|
133
|
+
|
|
129
134
|
.dc-link {
|
|
130
|
-
|
|
131
|
-
|
|
135
|
+
padding: 4px 8px;
|
|
136
|
+
text-align: center;
|
|
132
137
|
/* border: 1px solid #eee;*/
|
|
133
|
-
|
|
134
|
-
|
|
138
|
+
border-radius: 5px;
|
|
139
|
+
background-color: #eee;
|
|
135
140
|
/* background: linear-gradient(#eee 5%, #fff 100%); */
|
|
136
141
|
}
|
|
137
142
|
|
|
@@ -148,26 +153,29 @@ width: 24px;
|
|
|
148
153
|
text-align: left;
|
|
149
154
|
font-weight: bold;
|
|
150
155
|
/* border:1px solid #eee; */
|
|
151
|
-
padding:
|
|
156
|
+
padding: 5px 8px;
|
|
152
157
|
border-radius: 5px;
|
|
153
158
|
color: #888;
|
|
154
159
|
background-color: #eee;
|
|
155
|
-
/*
|
|
160
|
+
/*
|
|
161
|
+
background: linear-gradient(#eee 5%, #fff 100%); */
|
|
156
162
|
}
|
|
157
163
|
|
|
158
164
|
.dc-link-ajax:hover {
|
|
159
165
|
/* background: linear-gradient(#fff 5%, #eee 100%); */
|
|
160
|
-
color: fff;
|
|
161
166
|
cursor: pointer;
|
|
167
|
+
color: #fff;
|
|
168
|
+
background-color: #888;
|
|
162
169
|
}
|
|
163
170
|
|
|
164
171
|
.dc-link-img {
|
|
165
172
|
padding: 3px;
|
|
166
173
|
text-align: center;
|
|
167
|
-
/* border:1px solid #eee;*/
|
|
168
174
|
margin: 0px;
|
|
169
|
-
/*
|
|
170
|
-
|
|
175
|
+
/*
|
|
176
|
+
border:1px solid #eee;
|
|
177
|
+
border-radius: 2px;
|
|
178
|
+
background: linear-gradient(#eee 5%, #fff 100%); */
|
|
171
179
|
}
|
|
172
180
|
|
|
173
181
|
.dc-link-img:hover {
|
|
@@ -203,16 +211,16 @@ width: 24px;
|
|
|
203
211
|
.skip-next a:hover { text-decoration: none; color: #c43; }
|
|
204
212
|
|
|
205
213
|
.dc-animate-button {
|
|
206
|
-
|
|
207
|
-
|
|
214
|
+
box-shadow: inset 0 0 10px #fff;
|
|
215
|
+
background-color: #888;
|
|
208
216
|
}
|
|
209
217
|
|
|
210
218
|
.dc-link-submit {
|
|
211
219
|
text-align: left;
|
|
212
|
-
padding:
|
|
220
|
+
padding: 5px 6px;
|
|
213
221
|
/* border:1px solid #eee;
|
|
214
222
|
padding: 0px;*/
|
|
215
|
-
margin:
|
|
223
|
+
margin-right: 4px;
|
|
216
224
|
|
|
217
225
|
border-radius: 5px;
|
|
218
226
|
background-color: #eee;
|
|
@@ -232,10 +240,11 @@ width: 24px;
|
|
|
232
240
|
border: 0px;
|
|
233
241
|
color: #888;
|
|
234
242
|
font-weight: bold;
|
|
243
|
+
font-size: 12px;
|
|
235
244
|
box-shadow: none;
|
|
236
245
|
background: none;
|
|
237
246
|
/* background-color: none; */
|
|
238
|
-
padding: 0px
|
|
247
|
+
padding: 0px 2px;
|
|
239
248
|
border-radius: 0px;
|
|
240
249
|
}
|
|
241
250
|
|
|
@@ -293,6 +302,7 @@ width: 24px;
|
|
|
293
302
|
color: darkgreen;
|
|
294
303
|
border: 1px solid #b2dba1;
|
|
295
304
|
border-radius: 2px;
|
|
305
|
+
margin: 4px;
|
|
296
306
|
}
|
|
297
307
|
|
|
298
308
|
.dc-form-warning {
|
|
@@ -302,6 +312,7 @@ width: 24px;
|
|
|
302
312
|
color: #c84;
|
|
303
313
|
border: 1px solid #f5e79e;
|
|
304
314
|
border-radius: 2px;
|
|
315
|
+
margin: 4px;
|
|
305
316
|
}
|
|
306
317
|
|
|
307
318
|
.dc-form-error {
|
|
@@ -312,62 +323,28 @@ width: 24px;
|
|
|
312
323
|
color: #a94442;
|
|
313
324
|
border: 1px solid #dca7a7;
|
|
314
325
|
border-radius: 2px;
|
|
326
|
+
margin: 4px;
|
|
315
327
|
}
|
|
316
328
|
|
|
317
329
|
.field_with_errors {
|
|
318
330
|
border: #a94442 2px solid;
|
|
319
331
|
}
|
|
320
332
|
|
|
321
|
-
/** VRZI VEN OB PRILIKI *******************
|
|
322
|
-
.dc-form-label-odd {
|
|
323
|
-
color: #555;
|
|
324
|
-
text-align: right;
|
|
325
|
-
background-color: #f4f4f4;
|
|
326
|
-
vertical-align: middle;
|
|
327
|
-
font-weight: bold;
|
|
328
|
-
padding: 8px 2px;
|
|
329
|
-
width: 150px;
|
|
330
|
-
border-bottom: 1px solid #eee;
|
|
331
|
-
}
|
|
332
|
-
.dc-form-label-even {
|
|
333
|
-
color: #555;
|
|
334
|
-
text-align: right;
|
|
335
|
-
background-color: #f4f4f4;
|
|
336
|
-
vertical-align: middle;
|
|
337
|
-
font-weight: bold;
|
|
338
|
-
padding: 8px 2px;
|
|
339
|
-
width: 150px;
|
|
340
|
-
border-bottom: 1px solid #eee;
|
|
341
|
-
}
|
|
342
|
-
|
|
343
|
-
.dc-form-field-odd {
|
|
344
|
-
text-align: left;
|
|
345
|
-
padding: 8px 2px;
|
|
346
|
-
background-color: #f4f4f4;
|
|
347
|
-
border-bottom: 1px solid #eee;
|
|
348
|
-
}
|
|
349
|
-
|
|
350
|
-
.dc-form-field-even {
|
|
351
|
-
text-align: left;
|
|
352
|
-
padding: 8px 2px;
|
|
353
|
-
background-color: #f4f4f4;
|
|
354
|
-
border-bottom: 1px solid #eee;
|
|
355
|
-
}
|
|
356
|
-
************** *******************/
|
|
357
|
-
|
|
358
333
|
.dc-form-label {
|
|
359
334
|
color: #555;
|
|
360
335
|
text-align: right;
|
|
361
|
-
background-color: #f4f4f4;
|
|
362
336
|
vertical-align: middle;
|
|
363
337
|
font-weight: bold;
|
|
364
|
-
padding:
|
|
338
|
+
padding: 10px 2px;
|
|
365
339
|
width: 150px;
|
|
340
|
+
/*
|
|
341
|
+
background-color: #f4f4f4;
|
|
366
342
|
border-bottom: 1px solid #eee;
|
|
343
|
+
*/
|
|
367
344
|
}
|
|
368
345
|
|
|
369
346
|
.dc-form-label label {
|
|
370
|
-
padding
|
|
347
|
+
padding: 0px 0px 2px 1px;
|
|
371
348
|
}
|
|
372
349
|
|
|
373
350
|
.dc-align-left {
|
|
@@ -379,26 +356,32 @@ width: 24px;
|
|
|
379
356
|
|
|
380
357
|
.dc-form-field {
|
|
381
358
|
text-align: left;
|
|
382
|
-
padding:
|
|
359
|
+
padding: 2px 2px;
|
|
360
|
+
/*
|
|
383
361
|
background-color: #f4f4f4;
|
|
384
362
|
border-bottom: 1px solid #eee;
|
|
363
|
+
*/
|
|
385
364
|
}
|
|
365
|
+
.dc-readonly { font-weight: normal }
|
|
366
|
+
|
|
386
367
|
.dc-readonly {
|
|
387
368
|
margin-left: 2px;
|
|
388
369
|
margin-top: 2px;
|
|
389
|
-
padding:
|
|
390
|
-
|
|
391
|
-
border
|
|
392
|
-
border-bottom: 0px;
|
|
370
|
+
padding: 2px;
|
|
371
|
+
/*
|
|
372
|
+
border: solid 1px #e8e8e8;
|
|
393
373
|
border-radius: 2px;
|
|
394
|
-
background: linear-gradient(#eee 1%, #fff 90%);
|
|
374
|
+
background: linear-gradient(#eee 1%, #fff 90%);
|
|
375
|
+
background-color: #eee; */
|
|
395
376
|
}
|
|
396
377
|
|
|
397
378
|
.dc-color-odd {
|
|
398
|
-
background-color: #f4f4f4;
|
|
379
|
+
/* background-color: #f4f4f4;
|
|
380
|
+
border-bottom: solid 1px #eee; */
|
|
399
381
|
}
|
|
400
382
|
.dc-color-even {
|
|
401
|
-
background-color: #f4f4f4;
|
|
383
|
+
background-color: #f4f4f4;
|
|
384
|
+
/* border-bottom: solid 1px #eee; */
|
|
402
385
|
}
|
|
403
386
|
|
|
404
387
|
.dc-form-ul {
|
|
@@ -431,7 +414,7 @@ width: 24px;
|
|
|
431
414
|
padding:3px 15px;
|
|
432
415
|
border-radius: 4px 4px 0px 0px;
|
|
433
416
|
background: #eee;
|
|
434
|
-
margin-right:
|
|
417
|
+
margin-right: 2px;
|
|
435
418
|
/* background: linear-gradient(#eee 2%, #fff 100%); */
|
|
436
419
|
}
|
|
437
420
|
|
|
@@ -463,7 +446,7 @@ width: 24px;
|
|
|
463
446
|
|
|
464
447
|
.cmsedit-table {
|
|
465
448
|
width: 100%;
|
|
466
|
-
background-color: #
|
|
449
|
+
background-color: #fff;
|
|
467
450
|
border-spacing: 0px;
|
|
468
451
|
border-collapse: collapse;
|
|
469
452
|
}
|
|
@@ -474,6 +457,9 @@ width: 24px;
|
|
|
474
457
|
border-bottom: 3px solid #666;
|
|
475
458
|
margin-bottom: 10px;
|
|
476
459
|
}
|
|
460
|
+
.cmsedit-menu a {
|
|
461
|
+
margin-right: 5px;
|
|
462
|
+
}
|
|
477
463
|
|
|
478
464
|
.cmsedit-menu select#record_select {
|
|
479
465
|
padding: 0px;
|
|
@@ -497,17 +483,22 @@ height: 26px;
|
|
|
497
483
|
font-style: italic;
|
|
498
484
|
padding: 4px;
|
|
499
485
|
border-radius: 2px;
|
|
500
|
-
|
|
486
|
+
border: solid 1px #396;
|
|
487
|
+
/* background: linear-gradient(#8d8 0%, #ffe 15%, #fff 80%); */
|
|
501
488
|
}
|
|
502
489
|
|
|
503
490
|
.ui-autocomplete-table {
|
|
504
491
|
padding: 3px;
|
|
505
|
-
border: solid 1px #
|
|
492
|
+
border: solid 1px #888;
|
|
506
493
|
border-radius: 2px;
|
|
494
|
+
background: #fff;
|
|
495
|
+
/*
|
|
507
496
|
box-shadow: rgba(0,0,0, 0.1) 0px 0px 4px;
|
|
508
|
-
background: linear-gradient(#8d8 40%, #fff 90%);
|
|
497
|
+
background: linear-gradient(#8d8 40%, #fff 90%); */
|
|
509
498
|
color: #222;
|
|
510
499
|
}
|
|
500
|
+
.dc-red { color: red;}
|
|
501
|
+
.dc-green { color: #396;}
|
|
511
502
|
|
|
512
503
|
.aui-corner-all {
|
|
513
504
|
background-color: lightyellow;
|
|
@@ -570,6 +561,7 @@ background-color: #eee;
|
|
|
570
561
|
|
|
571
562
|
.iframe_embedded {
|
|
572
563
|
border: 1px solid #6cf;
|
|
564
|
+
background-image: none;
|
|
573
565
|
border-radius: 1px;
|
|
574
566
|
box-shadow: 1px 1px 1px #6cf;
|
|
575
567
|
}
|
|
@@ -606,13 +598,13 @@ list-style:none;
|
|
|
606
598
|
display:inline;
|
|
607
599
|
position:relative;
|
|
608
600
|
list-style:none;
|
|
609
|
-
padding:
|
|
610
|
-
margin-right:
|
|
601
|
+
padding: 5px 8px;
|
|
602
|
+
margin-right: 4px;
|
|
611
603
|
max-width: 200px;
|
|
612
604
|
background: #eee;
|
|
613
605
|
border-radius:5px;
|
|
614
|
-
|
|
615
|
-
background: linear-gradient(#eee 5%, #fff 100%); */
|
|
606
|
+
z-index: 1;
|
|
607
|
+
/*background: linear-gradient(#eee 5%, #fff 100%); */
|
|
616
608
|
}
|
|
617
609
|
|
|
618
610
|
.dc-action-menu li:hover {
|
|
@@ -636,7 +628,6 @@ box-shadow: 2px 2px 2px -1px #aaa;
|
|
|
636
628
|
.dc-action-menu ul li {
|
|
637
629
|
display:block;
|
|
638
630
|
float:none;
|
|
639
|
-
border-top: 1px solid #fff;
|
|
640
631
|
padding: 4px 10px;
|
|
641
632
|
border-radius: 0px;
|
|
642
633
|
background: none;
|