Here is revised css content:
.Label,
.Label.rounded
{
color: #F8F4E9 /*Cream*/
}
.Label.rounded input,
.Label.rounded textarea
{
border-radius: 5px;
background-color: #F8F4E9; /*ctlBG, Cream*/
color: #2F3B2E; /*ctlContent, dkGreen*/
}
.Label.rounded input:focus,
.Label.rounded textarea:focus
{
border-radius: 5px;
background-color: #EAF9E9; /*ctlBG, ltGreen*/
color: #2F3B2E; /*ctlContent, dkGreen*/
}
In html, the following example:
<label class="rounded">
First Name:
<input type="text" name="fname" placeholder="Enter first name">
</label>
...is rendered as expected, with following exceptions/questions:
-- The leading text, "First Name:", is still being rendered in black, for edit and TextArea controls. One option might be to simply not use any leading text, since the placeholder fills that function.
-- When it has focus, the control turns to square corners (border-radius=0). Is this standard behavior that cannot be modified?
-- Can the (default color = blue) focus-box color be modified?
-- In the case of the TextArea input, if I eliminate the leading text, is there a counterpart to 'PlaceHolder'? Tried to specify 'PlaceHolder' in my TextArea, and it was not rendered