Where to find css_includes.css

jkc
Giga Expert

I have located a color I would like to change. It origins from this css:

x.service-now.com/styles/css_includes.css

Where can I find this css?

4 REPLIES 4

Kalaiarasan Pus
Giga Sage

Dont think that is accessible to us .. It must be in the WAR files of service now


Vladimir Kobeti
Giga Guru

Hi,



you are not able to change the styles within css_includes.cssx unless ServiceNow allows to change it via variables set in Themes (sys_ui_theme).



However, you can find the corresponding css class and create a style sheet that you will attach to a UI page. If you want to change it on the form, you have to make sure that this style sheet is either loaded to the form via some UI Macro (+ Formatter) or that you do it via client side JavaScript.



Hope this helps,


Vladimir


I also have a need to edit (add) a property in this css_includes.cssx file, i have an unnecessary scroll bar on an IFrame:



I need to add:


overflow: hidden;


On the class non_standard_lists




So you are suggesting i create a style sheet and define a class named non_standard_list ... i assume that will replace the default non_standard_list class in the css_include.cssx file?


Hi Juan,


simply create a new style sheet, where you put:


.non_standard_lists {


    overflow: hidden;


}


and attach this to the UI page or form you want to apply it.


It is a standard CSS execution flow run by the browser, you can find more details here CSS Specificity: Things You Should Know - Smashing Magazine



If it does not work for you, try please following:


.non_standard_lists {


    overflow: hidden !important;


}



Hope this helps!