Port of blueprint commit 8ae74e6b2216d1804d515cd9914d1b752b09c3e3

Author: Christian Montoya <sirokai@gmail.com>
Date:   Wed Sep 29 16:51:40 2010 -0400

    Fixed select bug in Safari
This commit is contained in:
Chris Eppstein 2010-11-12 11:19:06 -08:00
parent e35ebb8046
commit 864780969d
3 changed files with 18 additions and 5 deletions

View File

@ -55,10 +55,12 @@
fieldset { fieldset {
border: 1px solid $fieldset-border-color; } border: 1px solid $fieldset-border-color; }
input.text, input.title, input[type=email], input[type=text], input[type=password], input.text, input.title, input[type=email], input[type=text], input[type=password],
textarea, select { textarea {
background-color:#fff;
border: 1px solid $unfocused-border-color; border: 1px solid $unfocused-border-color;
&:focus { &:focus {
border: 1px solid $focus-border-color; border: 1px solid $focus-border-color;
} }
} }
select { background-color:#fff; border-width:1px; border-style:solid; }
} }

View File

@ -740,12 +740,18 @@ fieldset {
border: 1px solid #cccccc; } border: 1px solid #cccccc; }
input.text, input.title, input[type=email], input[type=text], input[type=password], input.text, input.title, input[type=email], input[type=text], input[type=password],
textarea, select { textarea {
background-color: #fff;
border: 1px solid #bbbbbb; } border: 1px solid #bbbbbb; }
input.text:focus, input.title:focus, input[type=email]:focus, input[type=text]:focus, input[type=password]:focus, input.text:focus, input.title:focus, input[type=email]:focus, input[type=text]:focus, input[type=password]:focus,
textarea:focus, select:focus { textarea:focus {
border: 1px solid #666666; } border: 1px solid #666666; }
select {
background-color: #fff;
border-width: 1px;
border-style: solid; }
input.text, input.title, input[type=email], input[type=text], input[type=password] { input.text, input.title, input[type=email], input[type=text], input[type=password] {
width: 300px; } width: 300px; }

View File

@ -25,11 +25,16 @@ form.bp select {
form.bp fieldset { form.bp fieldset {
border: 1px solid #cccccc; } border: 1px solid #cccccc; }
form.bp input.text, form.bp input.title, form.bp input[type=email], form.bp input[type=text], form.bp input[type=password], form.bp input.text, form.bp input.title, form.bp input[type=email], form.bp input[type=text], form.bp input[type=password],
form.bp textarea, form.bp select { form.bp textarea {
background-color: #fff;
border: 1px solid #bbbbbb; } border: 1px solid #bbbbbb; }
form.bp input.text:focus, form.bp input.title:focus, form.bp input[type=email]:focus, form.bp input[type=text]:focus, form.bp input[type=password]:focus, form.bp input.text:focus, form.bp input.title:focus, form.bp input[type=email]:focus, form.bp input[type=text]:focus, form.bp input[type=password]:focus,
form.bp textarea:focus, form.bp select:focus { form.bp textarea:focus {
border: 1px solid #666666; } border: 1px solid #666666; }
form.bp select {
background-color: #fff;
border-width: 1px;
border-style: solid; }
form.bp input.text, form.bp input.title, form.bp input[type=email], form.bp input[type=text], form.bp input[type=password] { form.bp input.text, form.bp input.title, form.bp input[type=email], form.bp input[type=text], form.bp input[type=password] {
width: 300px; } width: 300px; }
form.bp textarea { form.bp textarea {