Skip to content

Commit

Permalink
remove text field style
Browse files Browse the repository at this point in the history
  • Loading branch information
farthinker committed Jan 20, 2015
1 parent df017cc commit 26210f9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 63 deletions.
33 changes: 3 additions & 30 deletions styles/select.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,36 +3,9 @@
width: 155px;
}
.simple-select .select-result {
width: 140px;
height: 14px;
padding: 5px 8px;
line-height: 14px;
font-size: 12px;
outline: 0;
border: 1px solid #ccc;
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
}
.simple-select .select-result:focus {
border: 1px solid #64a8e2;
-webkit-box-shadow: 0 0 6px rgba(121, 176, 237, 0.6);
-moz-box-shadow: 0 0 6px rgba(121, 176, 237, 0.6);
box-shadow: 0 0 6px rgba(121, 176, 237, 0.6);
}
.simple-select .select-result.error {
border: 1px solid #c21;
-webkit-box-shadow: inset 0 0 10px rgba(204, 34, 17, 0.3);
-moz-box-shadow: inset 0 0 10px rgba(204, 34, 17, 0.3);
box-shadow: inset 0 0 10px rgba(204, 34, 17, 0.3);
}
.simple-select .select-result.error:focus {
-webkit-box-shadow: 0 0 6px rgba(204, 34, 17, 0.6);
-moz-box-shadow: 0 0 6px rgba(204, 34, 17, 0.6);
box-shadow: 0 0 6px rgba(204, 34, 17, 0.6);
}
.simple-select .select-result.placeholder {
color: #999999 !important;
width: 100%;
height: 24px;
box-sizing: border-box;
}
.simple-select .link-clear, .simple-select .link-expand {
display: block;
Expand Down
36 changes: 3 additions & 33 deletions styles/select.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,39 +3,9 @@
width: 155px;

.select-result {
width: 140px;
height: 14px;
padding: 5px 8px;
line-height: 14px;
font-size: 12px;
outline: 0;
border: 1px solid #ccc;
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;

&:focus {
border: 1px solid #64a8e2;
-webkit-box-shadow: 0 0 6px rgba(121,176,237,0.6);
-moz-box-shadow: 0 0 6px rgba(121,176,237,0.6);
box-shadow: 0 0 6px rgba(121,176,237,0.6);
}

&.error {
border: 1px solid #c21;
-webkit-box-shadow: inset 0 0 10px rgba(204,34,17,0.3);
-moz-box-shadow: inset 0 0 10px rgba(204,34,17,0.3);
box-shadow: inset 0 0 10px rgba(204,34,17,0.3);
&:focus {
-webkit-box-shadow: 0 0 6px rgba(204,34,17,0.6);
-moz-box-shadow: 0 0 6px rgba(204,34,17,0.6);
box-shadow: 0 0 6px rgba(204,34,17,0.6);
}
}

&.placeholder {
color: #999999 !important;
}
width: 100%;
height: 24px;
box-sizing: border-box;
}

.link-clear, .link-expand {
Expand Down

0 comments on commit 26210f9

Please sign in to comment.