Dashboard 2.0 dynamic entries in ui-text

I'm just getting started with Dashboard 2.0 and have run in to a hurdle. I use the switch node fairly often in Dashboard 1.0 to dynamically change the color of the ui-text node as values change. I'm trying to apply a template node to the new ui-text node. The css in the template is below. All of the formatting works in Dashboard 1.0. In Dashboard 2.0 only the background-color is being picked up. Are .label and . value no longer accepted?

<style>

.num1 {

background-color: #66ccff;

}

.num1 > .label {

color: green !important;

font-size: 24px !important;

font-weight: 800 !important;

}

.num1 > .value {

color: blue !important;

font-size: 24px !important;

font-weight: 800 !important;

}

</style>

Discussed lately here Really basic problem trying to set CSS for a text box in Dashboard 2

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.