This is an automated email from the ASF dual-hosted git repository.
mtien pushed a commit to branch support/nifi-1.x
in repository https://gitbox.apache.org/repos/asf/nifi.git
The following commit(s) were added to refs/heads/support/nifi-1.x by this push:
new bcc3468a39 NIFI-10904 Changed the font color for drop down menus to
avoid the app… (#7502)
bcc3468a39 is described below
commit bcc3468a39c66814f1ba2ca7a1f3e1e6e4c75698
Author: Freedom9339 <[email protected]>
AuthorDate: Thu Aug 31 16:41:08 2023 +0000
NIFI-10904 Changed the font color for drop down menus to avoid the app…
(#7502)
* NIFI-10904 Changed the font color for dropdown menus to avoid the
appearance of menu items being disabled
* NIFI-10904 Changed the CSS tag used to set the color of the dropdown menu
text
* NIFI-10904 Used a new css class to set the color of dropdown options
* nifi-10904 Changed the css class for create/reference drop down menu
items.
Merged #7502 into main.
---
.../nifi-web-ui/src/main/webapp/js/jquery/combo/jquery.combo.css | 4 ++++
.../src/main/webapp/js/jquery/propertytable/jquery.propertytable.js | 4 ++--
2 files changed, 6 insertions(+), 2 deletions(-)
diff --git
a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/jquery/combo/jquery.combo.css
b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/jquery/combo/jquery.combo.css
index 31c1d39714..1846ca9c05 100644
---
a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/jquery/combo/jquery.combo.css
+++
b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/jquery/combo/jquery.combo.css
@@ -92,6 +92,10 @@ div.selected-disabled-option {
width: calc(100% - 15px);
}
+.combo-option-special {
+ font-style: italic;
+}
+
.combo-glass-pane {
position: absolute;
background: #E3E8EB;
diff --git
a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/jquery/propertytable/jquery.propertytable.js
b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/jquery/propertytable/jquery.propertytable.js
index f954e17aa8..013cbeb2eb 100644
---
a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/jquery/propertytable/jquery.propertytable.js
+++
b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/jquery/propertytable/jquery.propertytable.js
@@ -468,7 +468,7 @@
var PARAMETER_REFERENCE_OPTION = {
text: 'Reference parameter...',
value: undefined,
- optionClass: 'unset'
+ optionClass: 'combo-option-special'
};
var LOADING_PARAMETERS_OPTION = {
text: 'Loading parameters...',
@@ -479,7 +479,7 @@
var CREATE_CONTROLLER_SERVICE_OPTION = {
text: 'Create new service...',
value: 'createControllerService',
- optionClass: 'unset'
+ optionClass: 'combo-option-special'
};
var scope = this;