This site is currently read-only as we are migrating to Oracle Forums for an improved community experience. You will not be able to initiate activity until January 30th, when you will be able to use this site as normal.

    Forum Stats

  • 3,889,901 Users
  • 2,269,775 Discussions
  • 7,916,823 Comments

Discussions

How to change font color of disabled input text with css ?

User_1KTFV
User_1KTFV Member Posts: 2 Red Ribbon

We want to change font color of disabled input text in Oracle ADF. We are using the following css style :

af|inputText:disabled::content{

   font-family: Verdana, Arial, Helvetica, sans-serif;

   font-weight: bold; 

   color: Black;  

      }


this is being applied in the Firefox browser , however it is not working in edge and chrome. Please help.

Answers

  • Timo Hahn
    Timo Hahn Senior Principal Consultant Cologne, GermanyMember, Moderator Posts: 39,055 Red Diamond

    User, tell us your exact jdev version, please!


    What version of Firefox and Chrome have you tried?

    Have you used the browsers dev tools to look at the css created for the page?

    Do you see any difference between Firefox and Chrome?


    Timo

  • User_1KTFV
    User_1KTFV Member Posts: 2 Red Ribbon

    Hello Timo

    Jdev Version : Studio Edition Version 12.1.3.0.0

    Chrome Version : Version 105.0.5195.127

    FireFox Version : 41.0

    CSS created for Chrome : .af_inputText.p_AFDisabled .af_inputText_content { background-color: #EBEAD5; cursor: default; font-family: Verdana, Arial, Helvetica, sans-serif; font-weight: bold; color: Black; -webkit-text-fill-color: #7E807A;}

    CSS created for Firefox : .af_inputText.p_AFDisabled .af_inputText_content {  background-color: #EBEAD5;

      cursor: default;  font-family: Verdana,Arial,Helvetica,sans-serif;  font-weight: bold;  color: #000;}