This is an automated email from the ASF dual-hosted git repository.
mtien pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/nifi.git
The following commit(s) were added to refs/heads/main by this push:
new 2b330d9fee NIFI-10904 Changed the font color for drop down menus to
avoid the app… (#7502)
2b330d9fee is described below
commit 2b330d9feea82764721e6190f7320d49c73986b0
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 4361d229f8..a1902e2168 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;