I have designed a custom CSS style for my login page but the issue is that .cssbox, input[type=text]:focus
CSS is impacting all text boxes across different pages.
I only intend to use this style for the login page.
Currently, I have one global stylesheet applied to all pages:
.cssbox
{
border: solid 1px #C3D9E0;
background-color: #eeeeff;
background-image: url(/images/console-bg.jpg);
background-repeat: no-repeat;
background-position: center;
/*width: 460px;*/
margin-left: 30%;
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
-khtml-border-radius: 4px;
/*border-radius: 4px;*/
}
.cssbox, input[type=text]:focus, input[type=password]:focus,
textarea:focus, select:focus
{
border-color: #66afe9;
outline: 0;
-moz-box-shadow: 0 0 3px 0 #95B8E7;
-webkit-box-shadow: 0 0 3px 0 #95B8E7;
box-shadow: 0 0 3px 0 #95B8E7;
}
<table class="cssbox" cellpadding="5" cellspacing="0"
border="0" width="398px" style="height: 287px;margin:0 auto;">
<tr style="height: 22px">
<td>
<asp:TextBox ID="txtEmail"
runat="server" type="text" placeholder="Username"
CssClass="cssbox-input-text"></asp:TextBox>
</td>
</tr>
</table>