Skip to content

Commit

Permalink
helpr:before for input control bug
Browse files Browse the repository at this point in the history
  • Loading branch information
olton committed Dec 5, 2012
1 parent dd006e4 commit 613f079
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 35 deletions.
14 changes: 7 additions & 7 deletions less/forms.less
Original file line number Diff line number Diff line change
Expand Up @@ -339,15 +339,15 @@
display: block;
border: 1px #fff solid;

/*

&:before {
//content: "";
font-size: 12pt;
position: absolute;
#font > .normal;
display: inline-block;
}
*/


&:hover {
background: #d9d9d9;// @textbox_pass_inactive_icon 50% no-repeat;
Expand All @@ -356,11 +356,11 @@
&:active {
background-color: #000;

/*

&:before {
color: #fff;
}
*/

}
}
}
Expand All @@ -375,16 +375,16 @@
}
&.text {
.helper {
/*

&:before {
font-family: iconFont;
font-size: 12px;
//content: "\2715";
//content: "\e089";
content: "\e089";
left: 7px;
top: 3px;
}
*/

}
}
}
Expand Down
49 changes: 21 additions & 28 deletions public/css/modern.css
Original file line number Diff line number Diff line change
Expand Up @@ -5158,16 +5158,17 @@ table.bordered tbody tr:last-child td {
margin-left: -28px;
display: block;
border: 1px #fff solid;
/*
&:before {
//content: "";
font-size: 12pt;
position: absolute;
#font > .normal;
display: inline-block;
}
*/

}
.input-control.text .helper:before,
.input-control.password .helper:before {
font-size: 12pt;
position: absolute;
font-family: 'Segoe UI Semilight', 'Open Sans', Verdana, Arial, Helvetica, sans-serif;
font-weight: 300;
font-size: 11pt;
letter-spacing: 0.02em;
line-height: 20px;
display: inline-block;
}
.input-control.text .helper:hover,
.input-control.password .helper:hover {
Expand All @@ -5176,31 +5177,23 @@ table.bordered tbody tr:last-child td {
.input-control.text .helper:active,
.input-control.password .helper:active {
background-color: #000;
/*
&:before {
color: #fff;
}
*/

}
.input-control.text .helper:active:before,
.input-control.password .helper:active:before {
color: #fff;
}
.input-control.password .helper {
background: #ffffff url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABcAAAAXCAYAAADgKtSgAAAAGXRFWHRTb2Z0d2FyZ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rEejbAAAAAElFTkSuQmCC) 50% no-repeat;
}
.input-control.text .helper {
/*
&:before {
font-family: iconFont;
font-size: 12px;
//content: "\2715";
//content: "\e089";
left: 7px;
top: 3px;
}
*/

.input-control.text .helper:before {
font-family: iconFont;
font-size: 12px;
content: "\e089";
left: 7px;
top: 3px;
}
label {
font-family: 'Segoe UI Semilight', 'Open Sans', Verdana, Arial, Helvetica, sans-serif;
Expand Down

0 comments on commit 613f079

Please sign in to comment.