[NIFI-1459] add css translate3d to properties table editors in order to move the element along the z-axis of the 3D space and allow the scrollbars to properly be poistioned. This closes #1070

This commit is contained in:
Scott Aslan 2016-10-19 11:57:29 -04:00 committed by Matt Gilman
parent 3914141c45
commit a8e1c775fd
2 changed files with 13 additions and 5 deletions

View File

@ -77,7 +77,8 @@
'background-color': 'rgb(255, 255, 255)',
'overflow': 'hidden',
'padding': '10px 20px',
'cursor': 'move'
'cursor': 'move',
'transform': 'translate3d(0px, 0px, 0px)'
}).appendTo(container);
// create the input field
@ -301,7 +302,8 @@
'border-radius': '2px',
'box-shadow': 'rgba(0, 0, 0, 0.247059) 0px 2px 5px',
'background-color': 'rgb(255, 255, 255)',
'cursor': 'move'
'cursor': 'move',
'transform': 'translate3d(0px, 0px, 0px)'
}).draggable({
cancel: 'input, textarea, pre, .nf-checkbox, .button, .' + editorClass,
containment: 'parent'
@ -506,7 +508,8 @@
'border-radius': '2px',
'box-shadow': 'rgba(0, 0, 0, 0.247059) 0px 2px 5px',
'background-color': 'rgb(255, 255, 255)',
'cursor': 'move'
'cursor': 'move',
'transform': 'translate3d(0px, 0px, 0px)'
}).draggable({
cancel: '.button, .combo',
containment: 'parent'
@ -723,6 +726,7 @@
'box-shadow': 'rgba(0, 0, 0, 0.247059) 0px 2px 5px',
'background-color': 'rgb(255, 255, 255)',
'cursor': 'move',
'transform': 'translate3d(0px, 0px, 0px)',
'top': offset.top - 24,
'left': offset.left - 20
}).appendTo('body');
@ -805,6 +809,7 @@
'box-shadow': 'rgba(0, 0, 0, 0.247059) 0px 2px 5px',
'background-color': 'rgb(255, 255, 255)',
'cursor': 'move',
'transform': 'translate3d(0px, 0px, 0px)',
'top': offset.top - 22,
'left': offset.left - 43
}).draggable({
@ -835,6 +840,7 @@
'box-shadow': 'rgba(0, 0, 0, 0.247059) 0px 2px 5px',
'background-color': 'rgb(255, 255, 255)',
'cursor': 'move',
'transform': 'translate3d(0px, 0px, 0px)',
'top': offset.top - 26,
'left': offset.left - 20
});

View File

@ -1727,7 +1727,8 @@ var ua = {
'overflow': 'hidden',
'border-radius': '2px',
'box-shadow': 'rgba(0, 0, 0, 0.247059) 0px 2px 5px',
'cursor': 'move'
'cursor': 'move',
'transform': 'translate3d(0px, 0px, 0px)'
}).draggable({
containment: 'parent'
}).appendTo(container);
@ -1865,7 +1866,8 @@ var ua = {
'overflow': 'hidden',
'border-radius': '2px',
'box-shadow': 'rgba(0, 0, 0, 0.247059) 0px 2px 5px',
'cursor': 'move'
'cursor': 'move',
'transform': 'translate3d(0px, 0px, 0px)'
}).draggable({
cancel: 'input, textarea, pre, .button, div.' + editorClass,
containment: 'parent'