diff --git a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/css/header.css b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/css/header.css
index caf4003fe8..681673a098 100644
--- a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/css/header.css
+++ b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/css/header.css
@@ -34,12 +34,13 @@ md-toolbar.md-small .md-toolbar-tools {
}
#header .icon {
- font-size:30px;
+ font-size:32px;
color: #004849;
+ padding-left:12px
}
#header .fa {
- font-size:30px;
+ font-size:32px;
color: #004849;
}
@@ -63,32 +64,28 @@ md-toolbar.md-small .md-toolbar-tools {
#nifi-logo {
height: 37px;
- margin: 0 20px 0 15px;
+ margin:0 20px 3px 15px;
}
#global-menu-button {
- background-color:#AABBC3; /*tint base-color 40%*/
- border:1px solid #AABBC3; /*tint base-color 40%*/
- border-top-left-radius:2px;
- border-top-right-radius:2px;
- margin:0 10px;
+ background-color: #AABBC1; /*tint base-color 40%*/
+ border: 0;
cursor: pointer;
- height: 40px;
- width: 40px;
+ height: 56px;
+ width: 63px;
}
#global-menu-button:hover {
- background-color:#C7D2D7; /*tint base-color 60%*/
- box-shadow:0 1px 1px rgba(0,0,0,0.15);
+ background-color: #e3e8eb; /*tint base-color 60%*/
+ box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
}
#global-menu-content {
font-size: 13px;
- padding: 0px 0;
- background-color:rgba(249,250,251,0.97); /*tint base-color 96%*/
- border:1px solid #004849; /*link-color*/
- border-radius:2px;
- box-shadow:0 2px 3px rgba(0,0,0,0.35);
+ padding: 3px 0;
+ background-color: rgba(249, 250, 251, 0.97); /*tint base-color 96%*/
+ border: 1px solid #004849; /*link-color*/
+ box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
width: 215px;
max-height: inherit;
}
@@ -141,21 +138,27 @@ md-toolbar.md-small .md-toolbar-tools {
#header .component-button {
- background-color:#AABBC3; /*tint base-color 40%*/
- border-radius:2px;
+ background: none;
+ height: 56px;
+ position: relative;
+ width: 56px;
border: none;
- height: 40px;
- width: 40px;
}
#header .component-button:hover {
- background-color:#C7D2D7; /*tint base-color 60%*/
- box-shadow:0 1px 1px rgba(0,0,0,0.15);
+ background-color: #e3e8eb;
+ box-shadow: 0 3px 6px rgba(0,0,0,0.3);
cursor:grab;
cursor:-moz-grab;
cursor:-webkit-grab;
}
+#header .component-button:active {
+ cursor: grabbing;
+ cursor: -webkit-grabbing;
+ cursor: -moz-grabbing;
+}
+
#header .component-button:disabled {
background-color:#AABBC3; /*tint base-color 40%*/
cursor:not-allowed;
@@ -166,6 +169,15 @@ md-toolbar.md-small .md-toolbar-tools {
color:#669192;
}
+.component-button-grip {
+ background: repeating-linear-gradient(90deg,rgba(170,187,195,1),rgba(170,187,195,1) 4px,rgba(170,187,195,0) 4px,rgba(170,187,195,0) 6px);
+ bottom: 2px;
+ height: 4px;
+ left: 2px;
+ position: absolute;
+ width: 52px;
+}
+
/* styles for the status link */
#anonymous-user-alert {
diff --git a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/images/nifi-logo.svg b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/images/nifi-logo.svg
index b01f95aac9..034335200b 100644
--- a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/images/nifi-logo.svg
+++ b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/images/nifi-logo.svg
@@ -14,4 +14,4 @@
See the License for the specific language governing permissions and
limitations under the License.
-->
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/controllers/nf-ng-canvas-toolbox-controller.js b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/controllers/nf-ng-canvas-toolbox-controller.js
index 568e1bea13..17e2882ab7 100644
--- a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/controllers/nf-ng-canvas-toolbox-controller.js
+++ b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/controllers/nf-ng-canvas-toolbox-controller.js
@@ -94,12 +94,21 @@ nf.ng.Canvas.ToolboxCtrl = function (processorComponent,
* NOTE: The `component` must implement a dropHandler.
*/
draggableComponentConfig: function(component) {
+
+ //add hover effect
+ component.getElement().hover(function () {
+ component.getElement().removeClass(component.icon).addClass(component.hoverIcon);
+ }, function () {
+ component.getElement().removeClass(component.hoverIcon).addClass(component.icon);
+ })
+
return {
zIndex: 1011,
revert: true,
revertDuration: 0,
cancel: false,
containment: 'body',
+ cursor: '-webkit-grabbing',
start: function (e, ui) {
// hide the context menu if necessary
nf.ContextMenu.hide();
diff --git a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/header/components/nf-ng-funnel-component.js b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/header/components/nf-ng-funnel-component.js
index 99e8a9d11b..854f974fc9 100644
--- a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/header/components/nf-ng-funnel-component.js
+++ b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/header/components/nf-ng-funnel-component.js
@@ -21,6 +21,9 @@ nf.ng.FunnelComponent = function (serviceProvider) {
'use strict';
function FunnelComponent() {
+ this.icon = 'icon icon-funnel';
+
+ this.hoverIcon = 'icon icon-funnel-add';
}
FunnelComponent.prototype = {
constructor: FunnelComponent,
diff --git a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/header/components/nf-ng-group-component.js b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/header/components/nf-ng-group-component.js
index bc3dae3466..99ced1792e 100644
--- a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/header/components/nf-ng-group-component.js
+++ b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/header/components/nf-ng-group-component.js
@@ -69,6 +69,10 @@ nf.ng.GroupComponent = function (serviceProvider) {
function GroupComponent() {
+ this.icon = 'icon icon-group';
+
+ this.hoverIcon = 'icon icon-group-add';
+
/**
* The group component's modal.
*/
diff --git a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/header/components/nf-ng-input-port-component.js b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/header/components/nf-ng-input-port-component.js
index 1adc5cbf73..57292361c0 100644
--- a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/header/components/nf-ng-input-port-component.js
+++ b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/header/components/nf-ng-input-port-component.js
@@ -69,6 +69,10 @@ nf.ng.InputPortComponent = function (serviceProvider) {
function InputPortComponent() {
+ this.icon = 'icon icon-port-in';
+
+ this.hoverIcon = 'icon icon-port-in-add';
+
/**
* The input port component's modal.
*/
diff --git a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/header/components/nf-ng-label-component.js b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/header/components/nf-ng-label-component.js
index aab216b1ed..5558a40108 100644
--- a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/header/components/nf-ng-label-component.js
+++ b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/header/components/nf-ng-label-component.js
@@ -21,6 +21,9 @@ nf.ng.LabelComponent = function (serviceProvider) {
'use strict';
function LabelComponent() {
+ this.icon = 'icon icon-label';
+
+ this.hoverIcon = 'icon icon-label-add';
}
LabelComponent.prototype = {
constructor: LabelComponent,
diff --git a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/header/components/nf-ng-output-port-component.js b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/header/components/nf-ng-output-port-component.js
index f7f4fead4b..e77aeaa92e 100644
--- a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/header/components/nf-ng-output-port-component.js
+++ b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/header/components/nf-ng-output-port-component.js
@@ -69,6 +69,10 @@ nf.ng.OutputPortComponent = function (serviceProvider) {
function OutputPortComponent() {
+ this.icon = 'icon icon-port-out';
+
+ this.hoverIcon = 'icon icon-port-out-add';
+
/**
* The output port component's modal.
*/
diff --git a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/header/components/nf-ng-processor-component.js b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/header/components/nf-ng-processor-component.js
index 78d5b62504..a32bef9932 100644
--- a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/header/components/nf-ng-processor-component.js
+++ b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/header/components/nf-ng-processor-component.js
@@ -244,6 +244,10 @@ nf.ng.ProcessorComponent = function (serviceProvider) {
function ProcessorComponent() {
+ this.icon = 'icon icon-processor';
+
+ this.hoverIcon = 'icon icon-processor-add';
+
/**
* The processor component's modal.
*/
diff --git a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/header/components/nf-ng-remote-process-group-component.js b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/header/components/nf-ng-remote-process-group-component.js
index 6de3e1f4ef..15964fa19a 100644
--- a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/header/components/nf-ng-remote-process-group-component.js
+++ b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/header/components/nf-ng-remote-process-group-component.js
@@ -97,6 +97,10 @@ nf.ng.RemoteProcessGroupComponent = function (serviceProvider) {
function RemoteProcessGroupComponent() {
+ this.icon = 'icon icon-group-remote';
+
+ this.hoverIcon = 'icon icon-group-remote-add';
+
/**
* The remote group component's modal.
*/
diff --git a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/header/components/nf-ng-template-component.js b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/header/components/nf-ng-template-component.js
index fad33247f9..947d316008 100644
--- a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/header/components/nf-ng-template-component.js
+++ b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/header/components/nf-ng-template-component.js
@@ -56,6 +56,10 @@ nf.ng.TemplateComponent = function (serviceProvider) {
function TemplateComponent() {
+ this.icon = 'icon icon-template';
+
+ this.hoverIcon = 'icon icon-template-add';
+
/**
* The template component's modal.
*/
diff --git a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-controller-services.js b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-controller-services.js
index cba56afa45..d9c78864a0 100644
--- a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-controller-services.js
+++ b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-controller-services.js
@@ -496,7 +496,7 @@ nf.ControllerServices = (function () {
return '';
}
- var markup = '
';
+ var markup = '
';
// always include a button to view the usage
markup += '
';
diff --git a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-queue-listing.js b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-queue-listing.js
index d6fa1ed2ad..8486bdbeeb 100644
--- a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-queue-listing.js
+++ b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-queue-listing.js
@@ -518,7 +518,7 @@ nf.QueueListing = (function () {
// define a custom formatter for showing more processor details
var moreDetailsFormatter = function (row, cell, value, columnDef, dataContext) {
- return '
';
+ return '
';
};
// function for formatting data sizes
diff --git a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/summary/nf-summary-table.js b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/summary/nf-summary-table.js
index 7a3d260430..623ae8a441 100644
--- a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/summary/nf-summary-table.js
+++ b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/summary/nf-summary-table.js
@@ -622,7 +622,7 @@ nf.SummaryTable = (function () {
// define a custom formatter for showing more processor details
var moreConnectionDetails = function (row, cell, value, columnDef, dataContext) {
- return '
';
+ return '
';
};
// define the input, read, written, and output columns (reused between both tables)