Select to view content in your preferred language

How I can overwrite the dojo claro css

1035
1
10-31-2016 05:20 PM
ParkSeungHyun
Deactivated User

I am developing a map open api.

By the way dojo`s 'claro' theme overwrites the other system`s css.

so.. I had to change the code as follows:

<before>

require([ "dojo/domReady!" ], function() {
dojo.addClass(document.body, "claro");
});

<after>

dojo.addClass(my widget.domNode, "claro");

I added the style of each widget domNode.

but .. dijit popup and combobox css  not changed. 

Is it possible they must be used to add style to the body?

How can I use dojo 'claro' css not cover the other systems?

0 Kudos
1 Reply
RobertScheitlin__GISP
MVP Emeritus

Park,

  Normally you see developer just use claro in the body and then write css rules to overwrite the claro rules that they want to change in their custom css file.