Add CSS for type=password, type=number

This commit is contained in:
J.M 2013-08-17 17:49:45 +02:00
parent 65a4889a0f
commit e9b58e6ddb
2 changed files with 11 additions and 18 deletions

View File

@ -1279,10 +1279,14 @@ li.no_bullets {
float: <?php echo $left; ?>;
}
.operations_half_width input[type=text],
.operations_half_width input[type=password],
.operations_half_width input[type=number],
.operations_half_width select {
width: 95%;
}
.operations_half_width input[type=text].halfWidth,
.operations_half_width input[type=password].halfWidth,
.operations_half_width input[type=number].halfWidth,
.operations_half_width select.halfWidth {
width: 40%;
}

View File

@ -167,24 +167,9 @@ form {
display: inline;
}
input[type=text] {
border-radius: 2px;
-moz-border-radius: 2px;
-webkit-border-radius: 2px;
box-shadow: 0 1px 2px #ddd;
-moz-box-shadow: 0 1px 2px #ddd;
-webkit-box-shadow: 0 1px 2px #ddd;
background: white;
border: 1px solid #aaa;
color: #555;
padding: 4px;
margin: 6px;
}
input[type=password] {
input[type=text],
input[type=password],
input[type=number] {
border-radius: 2px;
-moz-border-radius: 2px;
-webkit-border-radius: 2px;
@ -1654,10 +1639,14 @@ li.no_bullets {
float: <?php echo $left; ?>;
}
.operations_half_width input[type=text],
.operations_half_width input[type=password],
.operations_half_width input[type=number],
.operations_half_width select {
width: 95%;
}
.operations_half_width input[type=text].halfWidth,
.operations_half_width input[type=password].halfWidth,
.operations_half_width input[type=number].halfWidth,
.operations_half_width select.halfWidth {
width: 40%;
}