:focus should not use shorthand border property, since it only need to change the border-color

Closes GH-367.
This commit is contained in:
ltackett 2011-04-29 14:57:06 -07:00 committed by Chris Eppstein
parent efb484778d
commit d7115caad6
5 changed files with 5 additions and 10 deletions

View File

@ -25,6 +25,7 @@ The Documentation for the [latest preview release](http://beta.compass-style.org
* Fix absolute path detection on windows.
* Fix the mime type returned for inline svg images.
* Allow multiple transitions in the CSS3 `transition` mixin.
* The Blueprint `:focus` styles no longer clobbers cascade-based overrides unnecessarily.
0.11.3 (06/11/2011)
-------------------

View File

@ -59,7 +59,7 @@
background-color:#fff;
border: 1px solid $unfocused-border-color;
&:focus {
border: 1px solid $focus-border-color;
border-color: $focus-border-color;
}
}
select { background-color:#fff; border-width:1px; border-style:solid; }

View File

@ -759,7 +759,7 @@ textarea {
border: 1px solid #bbbbbb; }
input.text:focus, input.title:focus, input[type=email]:focus, input[type=text]:focus, input[type=password]:focus,
textarea:focus {
border: 1px solid #666666; }
border-color: #666666; }
select {
background-color: #fff;

View File

@ -30,7 +30,7 @@ form.bp textarea {
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 textarea:focus {
border: 1px solid #666666; }
border-color: #666666; }
form.bp select {
background-color: #fff;
border-width: 1px;

View File

@ -3,13 +3,7 @@ html {
padding: 0;
border: 0; }
.bp-reset-element, body, h1, h2, h3, h4, h5, h6, article, aside, dialog, figure, footer, header, hgroup, nav, section, blockquote, q, th, td, caption, table,
div, span, object, iframe, p,
pre, a, abbr, acronym, address,
code, del, dfn, em, img,
dl, dt, dd, ol, ul, li, fieldset,
form, label, legend,
caption, tbody, tfoot, thead, tr {
.bp-reset-element, body, h1, h2, h3, h4, h5, h6, article, aside, dialog, figure, footer, header, hgroup, nav, section, blockquote, q, th, td, caption, table, div, span, object, iframe, p, pre, a, abbr, acronym, address, code, del, dfn, em, img, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, caption, tbody, tfoot, thead, tr {
margin: 0;
padding: 0;
border: 0;