From ad74a4304e11e3a523ea25ab3d9d6c6ac412ee17 Mon Sep 17 00:00:00 2001 From: Matt Gilman Date: Thu, 15 Jan 2015 07:59:02 -0500 Subject: [PATCH] NIFI-255: - Removing reset.css from the aggregated/minified css files. This allows is to be referenced from elsewhere. - Copying the tooltip style into the NiFi combo since that should be usable without importing the remainder of the styles in the canvas. --- .../framework/web/nifi-web-ui/pom.xml | 11 ++--------- .../src/main/webapp/WEB-INF/pages/bulletin-board.jsp | 1 + .../src/main/webapp/WEB-INF/pages/canvas.jsp | 1 + .../src/main/webapp/WEB-INF/pages/cluster.jsp | 1 + .../src/main/webapp/WEB-INF/pages/counters.jsp | 1 + .../src/main/webapp/WEB-INF/pages/history.jsp | 1 + .../src/main/webapp/WEB-INF/pages/provenance.jsp | 1 + .../src/main/webapp/WEB-INF/pages/summary.jsp | 1 + .../src/main/webapp/WEB-INF/pages/templates.jsp | 1 + .../src/main/webapp/WEB-INF/pages/users.jsp | 1 + .../src/main/webapp/js/jquery/combo/jquery.combo.css | 6 ++++++ .../src/main/webapp/js/jquery/combo/jquery.combo.js | 2 +- 12 files changed, 18 insertions(+), 10 deletions(-) diff --git a/nar-bundles/framework-bundle/framework/web/nifi-web-ui/pom.xml b/nar-bundles/framework-bundle/framework/web/nifi-web-ui/pom.xml index 69e306d5e7..3eee5a047f 100644 --- a/nar-bundles/framework-bundle/framework/web/nifi-web-ui/pom.xml +++ b/nar-bundles/framework-bundle/framework/web/nifi-web-ui/pom.xml @@ -408,7 +408,6 @@ true ${project.build.directory}/${project.build.finalName}/css/nf-canvas-all.css - ${staging.dir}/css/reset.css ${staging.dir}/css/processor-configuration.css ${staging.dir}/css/processor-details.css ${staging.dir}/css/process-group-configuration.css @@ -438,7 +437,6 @@ true ${project.build.directory}/${project.build.finalName}/css/nf-history-all.css - ${staging.dir}/css/reset.css ${staging.dir}/css/main.css ${staging.dir}/css/banner.css ${staging.dir}/css/dialog.css @@ -449,7 +447,6 @@ true ${project.build.directory}/${project.build.finalName}/css/nf-provenance-all.css - ${staging.dir}/css/reset.css ${staging.dir}/css/main.css ${staging.dir}/css/banner.css ${staging.dir}/css/dialog.css @@ -460,7 +457,6 @@ true ${project.build.directory}/${project.build.finalName}/css/nf-summary-all.css - ${staging.dir}/css/reset.css ${staging.dir}/css/main.css ${staging.dir}/css/banner.css ${staging.dir}/css/dialog.css @@ -474,7 +470,6 @@ true ${project.build.directory}/${project.build.finalName}/css/nf-counters-all.css - ${staging.dir}/css/reset.css ${staging.dir}/css/main.css ${staging.dir}/css/banner.css ${staging.dir}/css/dialog.css @@ -485,7 +480,6 @@ true ${project.build.directory}/${project.build.finalName}/css/nf-cluster-all.css - ${staging.dir}/css/reset.css ${staging.dir}/css/main.css ${staging.dir}/css/banner.css ${staging.dir}/css/dialog.css @@ -496,7 +490,6 @@ true ${project.build.directory}/${project.build.finalName}/css/nf-templates-all.css - ${staging.dir}/css/reset.css ${staging.dir}/css/main.css ${staging.dir}/css/banner.css ${staging.dir}/css/dialog.css @@ -507,7 +500,6 @@ true ${project.build.directory}/${project.build.finalName}/css/nf-users-all.css - ${staging.dir}/css/reset.css ${staging.dir}/css/main.css ${staging.dir}/css/banner.css ${staging.dir}/css/dialog.css @@ -518,7 +510,6 @@ true ${project.build.directory}/${project.build.finalName}/css/nf-bulletin-board-all.css - ${staging.dir}/css/reset.css ${staging.dir}/css/main.css ${staging.dir}/css/banner.css ${staging.dir}/css/dialog.css @@ -540,6 +531,8 @@ 2.5 + css/reset.css, + css/reset.css.gz, css/message-page.css, css/message-page.css.gz, css/message-pane.css, diff --git a/nar-bundles/framework-bundle/framework/web/nifi-web-ui/src/main/webapp/WEB-INF/pages/bulletin-board.jsp b/nar-bundles/framework-bundle/framework/web/nifi-web-ui/src/main/webapp/WEB-INF/pages/bulletin-board.jsp index 62569effd9..6df0e51ae0 100644 --- a/nar-bundles/framework-bundle/framework/web/nifi-web-ui/src/main/webapp/WEB-INF/pages/bulletin-board.jsp +++ b/nar-bundles/framework-bundle/framework/web/nifi-web-ui/src/main/webapp/WEB-INF/pages/bulletin-board.jsp @@ -21,6 +21,7 @@ NiFi Bulletin Board + ${nf.bulletin.board.style.tags} diff --git a/nar-bundles/framework-bundle/framework/web/nifi-web-ui/src/main/webapp/WEB-INF/pages/canvas.jsp b/nar-bundles/framework-bundle/framework/web/nifi-web-ui/src/main/webapp/WEB-INF/pages/canvas.jsp index a2679134db..ba6547576c 100644 --- a/nar-bundles/framework-bundle/framework/web/nifi-web-ui/src/main/webapp/WEB-INF/pages/canvas.jsp +++ b/nar-bundles/framework-bundle/framework/web/nifi-web-ui/src/main/webapp/WEB-INF/pages/canvas.jsp @@ -21,6 +21,7 @@ NiFi + ${nf.canvas.style.tags} diff --git a/nar-bundles/framework-bundle/framework/web/nifi-web-ui/src/main/webapp/WEB-INF/pages/cluster.jsp b/nar-bundles/framework-bundle/framework/web/nifi-web-ui/src/main/webapp/WEB-INF/pages/cluster.jsp index 867ea3fac2..55ffabe3a4 100644 --- a/nar-bundles/framework-bundle/framework/web/nifi-web-ui/src/main/webapp/WEB-INF/pages/cluster.jsp +++ b/nar-bundles/framework-bundle/framework/web/nifi-web-ui/src/main/webapp/WEB-INF/pages/cluster.jsp @@ -21,6 +21,7 @@ NiFi Cluster + ${nf.cluster.style.tags} diff --git a/nar-bundles/framework-bundle/framework/web/nifi-web-ui/src/main/webapp/WEB-INF/pages/counters.jsp b/nar-bundles/framework-bundle/framework/web/nifi-web-ui/src/main/webapp/WEB-INF/pages/counters.jsp index 2d3576dd2f..7362cf2272 100644 --- a/nar-bundles/framework-bundle/framework/web/nifi-web-ui/src/main/webapp/WEB-INF/pages/counters.jsp +++ b/nar-bundles/framework-bundle/framework/web/nifi-web-ui/src/main/webapp/WEB-INF/pages/counters.jsp @@ -21,6 +21,7 @@ NiFi Counters + ${nf.counters.style.tags} diff --git a/nar-bundles/framework-bundle/framework/web/nifi-web-ui/src/main/webapp/WEB-INF/pages/history.jsp b/nar-bundles/framework-bundle/framework/web/nifi-web-ui/src/main/webapp/WEB-INF/pages/history.jsp index db064ff24e..935512a3f7 100644 --- a/nar-bundles/framework-bundle/framework/web/nifi-web-ui/src/main/webapp/WEB-INF/pages/history.jsp +++ b/nar-bundles/framework-bundle/framework/web/nifi-web-ui/src/main/webapp/WEB-INF/pages/history.jsp @@ -21,6 +21,7 @@ NiFi History + ${nf.history.style.tags} diff --git a/nar-bundles/framework-bundle/framework/web/nifi-web-ui/src/main/webapp/WEB-INF/pages/provenance.jsp b/nar-bundles/framework-bundle/framework/web/nifi-web-ui/src/main/webapp/WEB-INF/pages/provenance.jsp index 59e8512453..e02a7cd3c7 100644 --- a/nar-bundles/framework-bundle/framework/web/nifi-web-ui/src/main/webapp/WEB-INF/pages/provenance.jsp +++ b/nar-bundles/framework-bundle/framework/web/nifi-web-ui/src/main/webapp/WEB-INF/pages/provenance.jsp @@ -21,6 +21,7 @@ NiFi Data Provenance + ${nf.provenance.style.tags} diff --git a/nar-bundles/framework-bundle/framework/web/nifi-web-ui/src/main/webapp/WEB-INF/pages/summary.jsp b/nar-bundles/framework-bundle/framework/web/nifi-web-ui/src/main/webapp/WEB-INF/pages/summary.jsp index be163bef65..fdfc806783 100644 --- a/nar-bundles/framework-bundle/framework/web/nifi-web-ui/src/main/webapp/WEB-INF/pages/summary.jsp +++ b/nar-bundles/framework-bundle/framework/web/nifi-web-ui/src/main/webapp/WEB-INF/pages/summary.jsp @@ -21,6 +21,7 @@ NiFi Summary + ${nf.summary.style.tags} diff --git a/nar-bundles/framework-bundle/framework/web/nifi-web-ui/src/main/webapp/WEB-INF/pages/templates.jsp b/nar-bundles/framework-bundle/framework/web/nifi-web-ui/src/main/webapp/WEB-INF/pages/templates.jsp index da479d6a09..126c3885a3 100644 --- a/nar-bundles/framework-bundle/framework/web/nifi-web-ui/src/main/webapp/WEB-INF/pages/templates.jsp +++ b/nar-bundles/framework-bundle/framework/web/nifi-web-ui/src/main/webapp/WEB-INF/pages/templates.jsp @@ -21,6 +21,7 @@ NiFi Templates + ${nf.templates.style.tags} diff --git a/nar-bundles/framework-bundle/framework/web/nifi-web-ui/src/main/webapp/WEB-INF/pages/users.jsp b/nar-bundles/framework-bundle/framework/web/nifi-web-ui/src/main/webapp/WEB-INF/pages/users.jsp index ff2bbf1522..a5f422c21d 100644 --- a/nar-bundles/framework-bundle/framework/web/nifi-web-ui/src/main/webapp/WEB-INF/pages/users.jsp +++ b/nar-bundles/framework-bundle/framework/web/nifi-web-ui/src/main/webapp/WEB-INF/pages/users.jsp @@ -21,6 +21,7 @@ NiFi Users + ${nf.users.style.tags} diff --git a/nar-bundles/framework-bundle/framework/web/nifi-web-ui/src/main/webapp/js/jquery/combo/jquery.combo.css b/nar-bundles/framework-bundle/framework/web/nifi-web-ui/src/main/webapp/js/jquery/combo/jquery.combo.css index 6d19496374..0432340acd 100644 --- a/nar-bundles/framework-bundle/framework/web/nifi-web-ui/src/main/webapp/js/jquery/combo/jquery.combo.css +++ b/nar-bundles/framework-bundle/framework/web/nifi-web-ui/src/main/webapp/js/jquery/combo/jquery.combo.css @@ -80,3 +80,9 @@ div.selected-disabled-option { bottom: 0px; z-index: 1999; } + +div.combo-nifi-tooltip { + border: 1px solid #454545; + background-color: #FFFFA3; + color: #454545; +} diff --git a/nar-bundles/framework-bundle/framework/web/nifi-web-ui/src/main/webapp/js/jquery/combo/jquery.combo.js b/nar-bundles/framework-bundle/framework/web/nifi-web-ui/src/main/webapp/js/jquery/combo/jquery.combo.js index fdcae440ba..1da075c93e 100644 --- a/nar-bundles/framework-bundle/framework/web/nifi-web-ui/src/main/webapp/js/jquery/combo/jquery.combo.js +++ b/nar-bundles/framework-bundle/framework/web/nifi-web-ui/src/main/webapp/js/jquery/combo/jquery.combo.js @@ -203,7 +203,7 @@ $('').appendTo(optionElement).qtip({ content: option.description, style: { - classes: 'nifi-tooltip' + classes: 'combo-nifi-tooltip' }, show: { solo: true,