Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#16410 closed defect (invalid)

dijit.form.select backgroundcolor cannot be set

Reported by: gerhard presser Owned by: Douglas Hays
Priority: undecided Milestone: tbd
Component: Dijit - Form Version: 1.7.4rc1
Keywords: Cc:
Blocked By: Blocking:

Description

when using the tundra-theme, I'm not able to set the background-color

<select data-dojo-type="dijit.form.Select" style="background-color:red">...</select>

occurs in 1.7.4 and 1.8.1

Change History (2)

comment:1 Changed 6 years ago by Douglas Hays

Resolution: invalid
Status: newclosed

The theme defines it's own colors that override the style on the widget's DOM node.
You can specify:

.tundra .dijitSelect * {
        background-color: red;
}

comment:2 Changed 6 years ago by gerhard presser

Yeah, but specifying a element style should overrule the theme styles

Note: See TracTickets for help on using tickets.