Color of entystate fields

Color of entystate fields

by Rini Braat -
Number of replies: 5

Hi,

I would like to change the backgroundcolors of the boxes which are shown when I view the field entrystate in a form. I tried to change them in ..\mod\dataform\field\entrystate\styles.css, but that does not work.

Can you assist me?

regards

Average of ratings: -
In reply to Rini Braat

Re: Color of entystate fields

by Rini Braat -

Hi,

To make it work, I've put 

.entrystate.currentstate{

    background-color: #DDFFAA;

}

and 

.entrystates-wrapper a span.entrystate{

    background-color: #FFDDAA;

}

in the css overwrite of the theme with !important at the right of the color code. This works, but shouldn't there be another way?

Regards.

In reply to Rini Braat

Re: Color of entystate fields

by Itamar Tzadok -

That's the best way to apply this css to all the Dataform activities on the site. If you want to change only in one Dataform activity you can put this css in the CSS tab of the activity. smile

In reply to Itamar Tzadok

Re: Color of entystate fields

by Rini Braat -

Hi Itamar,

Just to be curious, where does the css of just one acidity reside?

Anyway, thank you  for answering.

In reply to Rini Braat

Re: Color of entystate fields

by Itamar Tzadok -

Under Manage > CSS. The illustration below is pre 2.6 and the list of tabs is slightly different but the CSS tab is there. hth smile


In reply to Itamar Tzadok

Re: Color of entystate fields

by Rini Braat -

Found it!

It was always there, always overlooked it.

thanks!