Opened 10 years ago

Closed 10 years ago

#9052 closed enhancement (worksforme)

Unable to create themes of different size whithout modifying dijit.css

Reported by: dany Owned by:
Priority: high Milestone: tbd
Component: Dijit Version: 1.2.3
Keywords: theme independant dijit css Cc:
Blocked By: Blocking:

Description

As far as I know, it is impossible to create a theme of different size in dojo. I have discovered this limitation when I started to change tundra theme and create a medium and a large tundra theme in the aim of using dijit widgets on a kiosk at differents screens resolutions. In this case, buttons are 2 or 4 larger than the tundra default theme. It's not possible to switch from tundra to tundra_large (as it's possible to switch from tundra to nihilo) without modifying dijit.css file(which is not theme independant) This limitation is a real problem when dev/webmaster want to modify a theme in dojo. It would be great if it would be possible to create theme in dojo without this limitation. Feel free to ask me more precisions. Brgs Ed

Change History (2)

comment:1 Changed 10 years ago by bill

It's possible, but I can't say why it wasn't working for you since I can't see your code. If you attach a test case I can take a look.

I assume your new theme had a different name than "tundra" and in the <body>'s class attribute you put the name of the new theme? Are you trying to do something fancy like having the tundra_large rules work on top of the tundra rules?

comment:2 Changed 10 years ago by bill

Resolution: worksforme
Status: newclosed

Closing due to lack of test case. Reopen if you can attach a test case.

Note: See TracTickets for help on using tickets.