Did anyone succeed in changing the theme of gadgets?
I tried to modify the file css files 'dijit / themes' and 'dojo / themes'
but without success ...
Theme of gadgets
Re: Theme of gadgets
The themes for Gadget are located in: [YourSpiderBasicPath]\Libraries\javascript\dojo\themes\
The themes for Windows are located in: [YourSpiderBasicPath]\Libraries\javascript\themes\
I think, the best way is to copy an existing theme and name it to your needs.
After that you can set the themes in the compiler-options:
Greetings ... Peter
The themes for Windows are located in: [YourSpiderBasicPath]\Libraries\javascript\themes\
I think, the best way is to copy an existing theme and name it to your needs.
After that you can set the themes in the compiler-options:
Greetings ... Peter
-
- Posts: 74
- Joined: Thu May 26, 2016 11:09 am
Re: Theme of gadgets
This is what I did, but it does not work
for example:
I made a copy of
C: \ SpiderBasic \ Libraries \ javascript \ dojo \ themes \ claro
I rename the copy
C: \ SpiderBasic \ Libraries \ javascript \ dojo \ themes \ claro2
(I also rename the css file with the name of its folder
C: \ SpiderBasic \ Libraries \ javascript \ dojo \ themes \ claro2 \ claro2.css)
But when I select the theme 'claro2' in the compiler options (theme for the gadget)
My theme is altered
(No error in the browser debugger)
I think there must be a reference to the new theme elsewhere
It works with you?
for example:
I made a copy of
C: \ SpiderBasic \ Libraries \ javascript \ dojo \ themes \ claro
I rename the copy
C: \ SpiderBasic \ Libraries \ javascript \ dojo \ themes \ claro2
(I also rename the css file with the name of its folder
C: \ SpiderBasic \ Libraries \ javascript \ dojo \ themes \ claro2 \ claro2.css)
But when I select the theme 'claro2' in the compiler options (theme for the gadget)
My theme is altered
(No error in the browser debugger)
I think there must be a reference to the new theme elsewhere
It works with you?
Re: Theme of gadgets
yes.pf shadoko wrote:It works with you?
1. i made a copy of the claro-folder and named it claro2
2. in the claro2-folder i renamed claro.css to claro2.css
3. in SpiderBasic i choose the claro2-theme for Gadgets
4. in claro2.css i changed (for example) the color from 'inherit' to 'red':
Greetings ... Peter
-
- Posts: 74
- Joined: Thu May 26, 2016 11:09 am
Re: Theme of gadgets
Yes, it's like for me
Nothing in common with the claro theme
Fred, if you go through here ...
help !
Nothing in common with the claro theme
Fred, if you go through here ...
help !
Re: Theme of gadgets
ah, now i see, what you mean
additionally you must replace all 'claro' with 'claro2' inside the css.
Greetings ... Peter
additionally you must replace all 'claro' with 'claro2' inside the css.
Greetings ... Peter
-
- Posts: 74
- Joined: Thu May 26, 2016 11:09 am
Re: Theme of gadgets
OK,
I had not taken the time to look at the file
Once again thank you
I had not taken the time to look at the file
Once again thank you