<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: Service Portal fields color change in Developer forum</title>
    <link>https://www.servicenow.com/community/developer-forum/service-portal-fields-color-change/m-p/2045960#M702886</link>
    <description>&lt;P&gt;What you're looking for is the CSS selector :focus&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.w3schools.com/cssref/sel_focus.asp"&gt;https://www.w3schools.com/cssref/sel_focus.asp&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;so I would add input:focus and textarea:focus selectors to your portal theme and set whatever properties you are looking for (you may need the !important tag).&amp;nbsp; The blue you see is set as the outline property:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://developer.mozilla.org/en-US/docs/Web/CSS/outline"&gt;https://developer.mozilla.org/en-US/docs/Web/CSS/outline&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 21 May 2021 13:42:47 GMT</pubDate>
    <dc:creator>Justin77</dc:creator>
    <dc:date>2021-05-21T13:42:47Z</dc:date>
    <item>
      <title>Service Portal fields color change</title>
      <link>https://www.servicenow.com/community/developer-forum/service-portal-fields-color-change/m-p/2045958#M702884</link>
      <description>&lt;P&gt;Hello Guys,&lt;/P&gt;
&lt;P&gt;Can anyone help me to solve this please&lt;/P&gt;
&lt;P&gt;In Portal when we are clicking on fields, it shows the "Blue" border and how to change it to other color we want.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="find_real_file.png"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/67207i431CB580E165E8F7/image-size/large?v=v2&amp;amp;px=999" role="button" title="find_real_file.png" alt="find_real_file.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="find_real_file.png"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/67208iD8D35B81360F87EF/image-size/large?v=v2&amp;amp;px=999" role="button" title="find_real_file.png" alt="find_real_file.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I am not getting how to fix that. &lt;STRONG&gt;Please help me this is bit urjent.&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks and Regards,&lt;/P&gt;
&lt;P&gt;Bhavana&lt;/P&gt;</description>
      <pubDate>Fri, 21 May 2021 12:49:15 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/service-portal-fields-color-change/m-p/2045958#M702884</guid>
      <dc:creator>Bhavana20</dc:creator>
      <dc:date>2021-05-21T12:49:15Z</dc:date>
    </item>
    <item>
      <title>Re: Service Portal fields color change</title>
      <link>https://www.servicenow.com/community/developer-forum/service-portal-fields-color-change/m-p/2045959#M702885</link>
      <description>&lt;P&gt;Hello &lt;SN-MENTION class="sn-mention" table="live_profile" sysid="01d09221db981fc09c9ffb651f9619c2"&gt;@Harshvardhan&lt;/SN-MENTION&gt;&amp;nbsp;, &lt;SN-MENTION class="sn-mention" table="live_profile" sysid="f5e28b66dbf6d014a08a1ea6689619d1"&gt;@Oleg&lt;/SN-MENTION&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you Please help me, i am not getting which attribute to modify.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks and Regards,&lt;/P&gt;
&lt;P&gt;Bhavana&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 21 May 2021 13:34:12 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/service-portal-fields-color-change/m-p/2045959#M702885</guid>
      <dc:creator>Bhavana20</dc:creator>
      <dc:date>2021-05-21T13:34:12Z</dc:date>
    </item>
    <item>
      <title>Re: Service Portal fields color change</title>
      <link>https://www.servicenow.com/community/developer-forum/service-portal-fields-color-change/m-p/2045960#M702886</link>
      <description>&lt;P&gt;What you're looking for is the CSS selector :focus&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.w3schools.com/cssref/sel_focus.asp"&gt;https://www.w3schools.com/cssref/sel_focus.asp&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;so I would add input:focus and textarea:focus selectors to your portal theme and set whatever properties you are looking for (you may need the !important tag).&amp;nbsp; The blue you see is set as the outline property:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://developer.mozilla.org/en-US/docs/Web/CSS/outline"&gt;https://developer.mozilla.org/en-US/docs/Web/CSS/outline&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 21 May 2021 13:42:47 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/service-portal-fields-color-change/m-p/2045960#M702886</guid>
      <dc:creator>Justin77</dc:creator>
      <dc:date>2021-05-21T13:42:47Z</dc:date>
    </item>
    <item>
      <title>Re: Service Portal fields color change</title>
      <link>https://www.servicenow.com/community/developer-forum/service-portal-fields-color-change/m-p/2045961#M702887</link>
      <description>&lt;P&gt;Thank you for your response, Our client do nott want that but just when we click on field it highlights in the blue color and i want to change it to Green color.&lt;/P&gt;
&lt;P&gt;I am not getting how to do that.&lt;/P&gt;
&lt;P&gt;Please help!!&lt;/P&gt;</description>
      <pubDate>Fri, 21 May 2021 16:47:29 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/service-portal-fields-color-change/m-p/2045961#M702887</guid>
      <dc:creator>Bhavana20</dc:creator>
      <dc:date>2021-05-21T16:47:29Z</dc:date>
    </item>
    <item>
      <title>Re: Service Portal fields color change</title>
      <link>https://www.servicenow.com/community/developer-forum/service-portal-fields-color-change/m-p/2045962#M702888</link>
      <description>&lt;P&gt;See&amp;nbsp;&lt;A href="https://docs.servicenow.com/bundle/quebec-servicenow-platform/page/build/service-portal/concept/portal-css.html"&gt;https://docs.servicenow.com/bundle/quebec-servicenow-platform/page/build/service-portal/concept/portal-css.html&lt;/A&gt;&amp;nbsp;I recommend using this in the Theme CSS.&lt;/P&gt;
&lt;P&gt;Create two CSS selectors, input:focus and textbox:focus&lt;/P&gt;
&lt;P&gt;Then set the property "outline" for whatever color you're looking for.&amp;nbsp; Here's another example:&amp;nbsp;&lt;A href="https://www.w3schools.com/cssref/pr_outline.asp"&gt;https://www.w3schools.com/cssref/pr_outline.asp&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 21 May 2021 16:53:25 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/service-portal-fields-color-change/m-p/2045962#M702888</guid>
      <dc:creator>Justin77</dc:creator>
      <dc:date>2021-05-21T16:53:25Z</dc:date>
    </item>
    <item>
      <title>Re: Service Portal fields color change</title>
      <link>https://www.servicenow.com/community/developer-forum/service-portal-fields-color-change/m-p/2045963#M702889</link>
      <description>&lt;P&gt;Thank you for your response,&lt;/P&gt;
&lt;P&gt;I have tried adding this below in my theme ( clone of stock) and it works for the input fields&lt;/P&gt;
&lt;P&gt;.form-control:focus {&lt;BR /&gt;outline:none;&lt;BR /&gt; border-color: #00B9B0;&lt;BR /&gt; -webkit-box-shadow: none;&lt;BR /&gt; box-shadow: none;&lt;BR /&gt;}&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="find_real_file.png"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/67204i177AE15A8405BD4F/image-size/large?v=v2&amp;amp;px=999" role="button" title="find_real_file.png" alt="find_real_file.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="find_real_file.png"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/67201iBB678AFF7100E478/image-size/large?v=v2&amp;amp;px=999" role="button" title="find_real_file.png" alt="find_real_file.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;input:focus, textbox:focus {&lt;/P&gt;
&lt;P&gt;}------&amp;gt; did not work for dropdown field and description field&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is there anything i am missing, Please help!!&lt;/P&gt;</description>
      <pubDate>Sun, 23 May 2021 12:02:40 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/service-portal-fields-color-change/m-p/2045963#M702889</guid>
      <dc:creator>Bhavana20</dc:creator>
      <dc:date>2021-05-23T12:02:40Z</dc:date>
    </item>
    <item>
      <title>Re: Service Portal fields color change</title>
      <link>https://www.servicenow.com/community/developer-forum/service-portal-fields-color-change/m-p/2045964#M702890</link>
      <description>&lt;P&gt;Hi Bhavana&lt;/P&gt;
&lt;P&gt;Please Refer Below Thread&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.servicenow.com/community?id=community_question&amp;amp;sys_id=906b4b21db9cdbc01dcaf3231f961945"&gt;Change Clour&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Please Mark Correct and Helpful&lt;/P&gt;
&lt;P&gt;Thanks and Regards&lt;/P&gt;
&lt;P&gt;Gaurav Shirsat&lt;/P&gt;</description>
      <pubDate>Sun, 23 May 2021 12:10:28 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/service-portal-fields-color-change/m-p/2045964#M702890</guid>
      <dc:creator>Gaurav Shirsat</dc:creator>
      <dc:date>2021-05-23T12:10:28Z</dc:date>
    </item>
    <item>
      <title>Re: Service Portal fields color change</title>
      <link>https://www.servicenow.com/community/developer-forum/service-portal-fields-color-change/m-p/2045965#M702891</link>
      <description>&lt;P&gt;Hello Gaurav,&lt;/P&gt;
&lt;P&gt;I want to change the background color of the field in the portal for all the dropdown list field.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks and Regards,&lt;/P&gt;
&lt;P&gt;Bhavana&lt;/P&gt;</description>
      <pubDate>Sun, 23 May 2021 13:35:47 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/service-portal-fields-color-change/m-p/2045965#M702891</guid>
      <dc:creator>Bhavana20</dc:creator>
      <dc:date>2021-05-23T13:35:47Z</dc:date>
    </item>
    <item>
      <title>Re: Service Portal fields color change</title>
      <link>https://www.servicenow.com/community/developer-forum/service-portal-fields-color-change/m-p/2045966#M702892</link>
      <description>&lt;P&gt;Try below CSS&lt;/P&gt;
&lt;PRE class="language-css"&gt;&lt;CODE&gt;form-control:focus {
border-color: #00FF00;     //change color here
outline: 0;
-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(102, 175, 233, .6);           //change color here
box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(102, 175, 233, .6);                      //change color here
}&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sun, 23 May 2021 13:57:52 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/service-portal-fields-color-change/m-p/2045966#M702892</guid>
      <dc:creator>Prasad Dhumal</dc:creator>
      <dc:date>2021-05-23T13:57:52Z</dc:date>
    </item>
    <item>
      <title>Re: Service Portal fields color change</title>
      <link>https://www.servicenow.com/community/developer-forum/service-portal-fields-color-change/m-p/2045967#M702893</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;Thank you for your response, This doesnot work for me and the below css only works for the fields but not the dropdown fields as shown in the above screen shot.&lt;/P&gt;
&lt;P&gt;.form-control:focus {&lt;BR /&gt;outline:none;&lt;BR /&gt; border-color: #00B9B0;&lt;BR /&gt; -webkit-box-shadow: none;&lt;BR /&gt; box-shadow: none;&lt;BR /&gt;}&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please help!!&lt;/P&gt;</description>
      <pubDate>Sun, 23 May 2021 14:18:28 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/service-portal-fields-color-change/m-p/2045967#M702893</guid>
      <dc:creator>Bhavana20</dc:creator>
      <dc:date>2021-05-23T14:18:28Z</dc:date>
    </item>
    <item>
      <title>Re: Service Portal fields color change</title>
      <link>https://www.servicenow.com/community/developer-forum/service-portal-fields-color-change/m-p/2045968#M702894</link>
      <description>&lt;P&gt;You should set&amp;nbsp;&lt;STRONG&gt;outline&lt;/STRONG&gt;,&amp;nbsp;&lt;STRONG&gt;border&lt;/STRONG&gt; and&amp;nbsp;&lt;STRONG&gt;box-shadow&lt;/STRONG&gt; (one can additionally set &lt;STRONG&gt;-webkit-box-shadow&lt;/STRONG&gt;) properties on&amp;nbsp;some CSS selector(s), which uses&amp;nbsp;&lt;STRONG&gt;:focus&lt;/STRONG&gt;. The exact selectors depends on CSS applied on your current page. I suppose that the required CSS rule&amp;nbsp;could be the following:&lt;/P&gt;
&lt;PRE class="language-css"&gt;&lt;CODE&gt;button:focus,
.btn:focus,
.form-control:focus,
a:focus,
input:focus,
select:focus,
.selectize-input.focus,
[role="button"]:focus,
[role="slider"]:focus,
[tabindex]:focus {
	outline: none;
	border: 1px solid #1f8476;
	-webkit-box-shadow: 0px 0px 5px #1f8476;
	box-shadow: 0px 0px 5px #1f8476;
}&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;where you should change&amp;nbsp;#1f8476 to some other color.&lt;/P&gt;
&lt;P&gt;To examine a specific case, which you have, you can use Developer Tools of&amp;nbsp;your web browser. You need select element (input or select), which CSS&amp;nbsp;rules you want to examine, open context menu and choose "&lt;STRONG&gt;Inspect&lt;/STRONG&gt;".&amp;nbsp;After that you can click on "&lt;STRONG&gt;:hov&lt;/STRONG&gt;" to simulate pseudo-classes like &lt;STRONG&gt;:focus&lt;/STRONG&gt; or :hover and check&amp;nbsp;"&lt;STRONG&gt;:focus&lt;/STRONG&gt;" for example.&amp;nbsp;If you selected correct&amp;nbsp;page element, then you will see&amp;nbsp;focus effect and you can examine existing the CSS rule of the page, which set&amp;nbsp;&lt;STRONG&gt;outline&lt;/STRONG&gt;, &lt;STRONG&gt;box-shadow&lt;/STRONG&gt;, &lt;STRONG&gt;border&lt;/STRONG&gt; or&amp;nbsp;other CSS properties. The same CSS selector (or other with higher specificity) you should use in your custom CSS rule:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="find_real_file.png"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/67209iAF81DACA77BB7ED4/image-size/large?v=v2&amp;amp;px=999" role="button" title="find_real_file.png" alt="find_real_file.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;The example on the picture uses&amp;nbsp;&lt;STRONG&gt;[tabindex]:focus&lt;/STRONG&gt; selector, for example.&lt;/P&gt;</description>
      <pubDate>Sun, 23 May 2021 16:03:18 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/service-portal-fields-color-change/m-p/2045968#M702894</guid>
      <dc:creator>Oleg</dc:creator>
      <dc:date>2021-05-23T16:03:18Z</dc:date>
    </item>
    <item>
      <title>Re: Service Portal fields color change</title>
      <link>https://www.servicenow.com/community/developer-forum/service-portal-fields-color-change/m-p/2045969#M702895</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I tried to apply the below css in the theme and i works but i dont want the box-shadow property and tried to make it none but it doesnot work&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1) .select2-results .select2-highlighted: {&amp;nbsp; &amp;nbsp;------------&amp;gt; for the dropdown choices background color&lt;BR /&gt;background : #00B9B0 !important;&lt;/P&gt;
&lt;P&gt;}&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2) .form-control:focus{ -----------&amp;gt; other input fields&lt;BR /&gt;outline:none;&lt;BR /&gt;border-color: #00B9B0;&lt;BR /&gt;-webkit-box-shadow: none; ---------&amp;gt; here it works no issues&lt;BR /&gt;box-shadow: none;&lt;BR /&gt;}&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;3) .select2-container.select2-container-active{&amp;nbsp; &amp;nbsp;--------&amp;gt;This is for dropdown fields&amp;nbsp;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;outline:none;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;border-color: #00B9B0 !important;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;-webkit-box-shadow: 0 0 5px #00b9b0;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;-------&amp;gt;i tried to keep it none but it wont work;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;box-shadow: 0 0 5px #00b9b0;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;---------&amp;gt; i tried to keep it none but it wont work;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;}&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please help me to remove the highlighted text above in 3) to not have box-shadow and webkit-box-shadow property, just the border-color to have the green like shown in 2)&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 24 May 2021 12:03:10 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/service-portal-fields-color-change/m-p/2045969#M702895</guid>
      <dc:creator>Bhavana20</dc:creator>
      <dc:date>2021-05-24T12:03:10Z</dc:date>
    </item>
    <item>
      <title>Re: Service Portal fields color change</title>
      <link>https://www.servicenow.com/community/developer-forum/service-portal-fields-color-change/m-p/2045970#M702896</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;
&lt;P&gt;The&amp;nbsp;CSS rules, which you tried to set looks very strange. I suppose that your problem is not &lt;STRONG&gt;which&lt;/STRONG&gt; CSS rules you set, but &lt;STRONG&gt;where&lt;/STRONG&gt; you set the rules.&lt;/P&gt;
&lt;P&gt;Select2 results will be placed dynamically directly inside &amp;lt;body&amp;gt; of the page. It means that you can change default CSS&amp;nbsp;rules only if you place/modify the rules on the Service Portal Thema. If you use for example,&amp;nbsp;La Jolla Theme, then you will find the following CSS rules in&amp;nbsp;&lt;STRONG&gt;sp-theme-stock-high-contrast.css&lt;/STRONG&gt;:&lt;/P&gt;
&lt;PRE class="language-css"&gt;&lt;CODE&gt;.select2-results {
  .select2-highlighted {
    background: $brand-primary !important;
  }
}

.select2-container-active .select2-choice,
.select2-container-active .select2-choices {
  border-color: $input-border-focus !important;
}&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;you will find more select2 CSS rules in&amp;nbsp;&lt;STRONG&gt;sp-theme-la-jolla.css&lt;/STRONG&gt; additionally.&amp;nbsp;You can modify the CSS rules directly in the files of create your own Style Sheet und CSS Include and place it after default CSS includes used by your Theme.&amp;nbsp;If your Service Portal&amp;nbsp;Thema uses CSS variable &lt;STRONG&gt;$input-border-focus&lt;/STRONG&gt;, then you can modify the value first of all.&lt;/P&gt;
&lt;P&gt;It the above advices will not solve your problem then you should post more details about the Theme, which you use and the page of Service Portal, where you try to&amp;nbsp;apply custom CSS rules. It I would be able to reproduce your problem I would be able help you.&lt;/P&gt;</description>
      <pubDate>Mon, 24 May 2021 19:12:23 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/service-portal-fields-color-change/m-p/2045970#M702896</guid>
      <dc:creator>Oleg</dc:creator>
      <dc:date>2021-05-24T19:12:23Z</dc:date>
    </item>
    <item>
      <title>Re: Service Portal fields color change</title>
      <link>https://www.servicenow.com/community/developer-forum/service-portal-fields-color-change/m-p/2045971#M702897</link>
      <description>&lt;P&gt;Thank you for your response,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am not using the La jolla theme, i am using the stock theme.&lt;/P&gt;
&lt;P&gt;and added the css rule in the theme of my portal.&lt;/P&gt;
&lt;P&gt;.form-control:focus{&lt;BR /&gt;outline:none;&lt;BR /&gt;border-color: #00B9B0;&lt;BR /&gt;-webkit-box-shadow: 0 0 5px #00b9b0;&lt;BR /&gt;box-shadow: 0 0 5px #00b9b0;&lt;BR /&gt;}&lt;/P&gt;
&lt;P&gt;.select2-container.select2-container-active{&lt;BR /&gt;outline:none;&lt;BR /&gt;border-color: #00B9B0 !important;&lt;BR /&gt;-webkit-box-shadow: 0 0 5px #00b9b0;&lt;BR /&gt;box-shadow: 0 0 5px #00b9b0;&lt;BR /&gt;}&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;when i tried to keep the "-webkit-box-shadow: none;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; box-shadow: none; " it takes the default parent css rule.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;when i click on the&amp;nbsp; field it should not add the box-shadow, that means it should be none,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please select the stock theme.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 25 May 2021 08:36:23 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/service-portal-fields-color-change/m-p/2045971#M702897</guid>
      <dc:creator>Bhavana20</dc:creator>
      <dc:date>2021-05-25T08:36:23Z</dc:date>
    </item>
    <item>
      <title>Re: Service Portal fields color change</title>
      <link>https://www.servicenow.com/community/developer-forum/service-portal-fields-color-change/m-p/2045972#M702898</link>
      <description>&lt;P&gt;I changed Theme to "Stock" and added the following CSS rules directly in CSS variables:&lt;/P&gt;
&lt;PRE class="language-css"&gt;&lt;CODE&gt;.form-control:focus,
.sp-page-root .form-control:focus {
    border-color: #00B9B0;
    outline: none;
    -webkit-box-shadow: 0 0 5px #00b9b0;
    box-shadow: 0 0 5px #00b9b0;
}
.select2-container.select2-container-active {
    outline: 5px auto #00B9B0;
    border-color: #00B9B0;
    box-shadow: 0 0 5px #00B9B0;
    outline-offset: -2px;
}
.select2-container-active .select2-choice {
    border-color: #00B9B0;
}
.select2-results .select2-highlighted {
    background: #00B9B0;
    color: #fff;
}&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="find_real_file.png"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/67202iA2BA3802D3B6BCC8/image-size/large?v=v2&amp;amp;px=999" role="button" title="find_real_file.png" alt="find_real_file.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;As the result the colors have been changed like expected:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="find_real_file.png"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/67203i6ABC9814544C9D23/image-size/large?v=v2&amp;amp;px=999" role="button" title="find_real_file.png" alt="find_real_file.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I think that one should add more CSS rules to change colors for all different controls, but the above example shows that the approach works. Isn't so?&lt;/P&gt;</description>
      <pubDate>Tue, 25 May 2021 09:55:29 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/service-portal-fields-color-change/m-p/2045972#M702898</guid>
      <dc:creator>Oleg</dc:creator>
      <dc:date>2021-05-25T09:55:29Z</dc:date>
    </item>
    <item>
      <title>Re: Service Portal fields color change</title>
      <link>https://www.servicenow.com/community/developer-forum/service-portal-fields-color-change/m-p/2045973#M702899</link>
      <description>&lt;P&gt;Thank you so much, it works i just made box-shadow : none&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;.form-control:focus,&lt;BR /&gt;.sp-page-root .form-control:focus {&lt;BR /&gt; border-color: #00B9B0;&lt;BR /&gt; outline: none;&lt;BR /&gt; -webkit-box-shadow: none;&amp;nbsp; ---------&amp;gt; made none&amp;nbsp;&lt;BR /&gt; box-shadow: none;&lt;BR /&gt;}&lt;BR /&gt;.select2-container.select2-container-active {&lt;BR /&gt; outline: 5px auto #00B9B0;&lt;BR /&gt; border-color: #00B9B0;&lt;BR /&gt; box-shadow: none;&lt;BR /&gt; outline-offset: -2px;&lt;BR /&gt;}&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks a lot!!&lt;/P&gt;</description>
      <pubDate>Tue, 25 May 2021 10:21:00 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/service-portal-fields-color-change/m-p/2045973#M702899</guid>
      <dc:creator>Bhavana20</dc:creator>
      <dc:date>2021-05-25T10:21:00Z</dc:date>
    </item>
    <item>
      <title>Re: Service Portal fields color change</title>
      <link>https://www.servicenow.com/community/developer-forum/service-portal-fields-color-change/m-p/2045974#M702900</link>
      <description>&lt;P&gt;hello,&lt;/P&gt;
&lt;P&gt;when viewing the fields from the IE, it shows like this&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="find_real_file.png"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/67206i7ADC19E1D27C6601/image-size/large?v=v2&amp;amp;px=999" role="button" title="find_real_file.png" alt="find_real_file.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;samething when viewed from the Chrome&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="find_real_file.png"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/67205iCA8C87C8508B0B70/image-size/large?v=v2&amp;amp;px=999" role="button" title="find_real_file.png" alt="find_real_file.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please help me why this is happening like this.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you!!&lt;/P&gt;</description>
      <pubDate>Tue, 01 Jun 2021 13:55:39 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/service-portal-fields-color-change/m-p/2045974#M702900</guid>
      <dc:creator>Bhavana20</dc:creator>
      <dc:date>2021-06-01T13:55:39Z</dc:date>
    </item>
    <item>
      <title>Re: Service Portal fields color change</title>
      <link>https://www.servicenow.com/community/developer-forum/service-portal-fields-color-change/m-p/2045975#M702901</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;
&lt;P&gt;I can't reproduce the problem: my test will be displayed in IE in the same way like in Chrome.&lt;/P&gt;
&lt;P&gt;What I can recommend you to try is&amp;nbsp;modifying of CSS rules to increase specificity (see &lt;A href="https://developer.mozilla.org/en-US/docs/Web/CSS/Specificity"&gt;here&lt;/A&gt;). For example, you can try to use&lt;/P&gt;
&lt;PRE class="language-css"&gt;&lt;CODE&gt;div.select2-container.select2-container-active {
    outline: 5px auto #00B9B0;
    border-color: #00B9B0;
    box-shadow: 0 0 5px #00B9B0;
    outline-offset: -2px;
}
div.select2-container-active .select2-choice {
    border-color: #00B9B0;
}
ul.select2-results .select2-highlighted {
    background: #00B9B0;
    color: #fff;
}&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;instead of previously posted&lt;/P&gt;
&lt;PRE class="language-css"&gt;&lt;CODE&gt;.select2-container.select2-container-active {
    outline: 5px auto #00B9B0;
    border-color: #00B9B0;
    box-shadow: 0 0 5px #00B9B0;
    outline-offset: -2px;
}
.select2-container-active .select2-choice {
    border-color: #00B9B0;
}
.select2-results .select2-highlighted {
    background: #00B9B0;
    color: #fff;
}&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;I hope it helps. If it will not help you should use Developer Tools of IE to examine which CSS rules overwrites the CSS rules, which set your colors.&lt;/P&gt;</description>
      <pubDate>Tue, 01 Jun 2021 14:42:19 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/service-portal-fields-color-change/m-p/2045975#M702901</guid>
      <dc:creator>Oleg</dc:creator>
      <dc:date>2021-06-01T14:42:19Z</dc:date>
    </item>
  </channel>
</rss>

