:focus should not use shorthand border property, since it only need to change the border-color
Closes GH-367.
This commit is contained in:
parent
efb484778d
commit
d7115caad6
@ -25,6 +25,7 @@ The Documentation for the [latest preview release](http://beta.compass-style.org
|
|||||||
* Fix absolute path detection on windows.
|
* Fix absolute path detection on windows.
|
||||||
* Fix the mime type returned for inline svg images.
|
* Fix the mime type returned for inline svg images.
|
||||||
* Allow multiple transitions in the CSS3 `transition` mixin.
|
* 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)
|
0.11.3 (06/11/2011)
|
||||||
-------------------
|
-------------------
|
||||||
|
@ -59,7 +59,7 @@
|
|||||||
background-color:#fff;
|
background-color:#fff;
|
||||||
border: 1px solid $unfocused-border-color;
|
border: 1px solid $unfocused-border-color;
|
||||||
&:focus {
|
&:focus {
|
||||||
border: 1px solid $focus-border-color;
|
border-color: $focus-border-color;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
select { background-color:#fff; border-width:1px; border-style:solid; }
|
select { background-color:#fff; border-width:1px; border-style:solid; }
|
||||||
|
@ -759,7 +759,7 @@ textarea {
|
|||||||
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 {
|
textarea:focus {
|
||||||
border: 1px solid #666666; }
|
border-color: #666666; }
|
||||||
|
|
||||||
select {
|
select {
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
|
@ -30,7 +30,7 @@ form.bp textarea {
|
|||||||
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 textarea:focus {
|
||||||
border: 1px solid #666666; }
|
border-color: #666666; }
|
||||||
form.bp select {
|
form.bp select {
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
border-width: 1px;
|
border-width: 1px;
|
||||||
|
@ -3,13 +3,7 @@ html {
|
|||||||
padding: 0;
|
padding: 0;
|
||||||
border: 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,
|
.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 {
|
||||||
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;
|
margin: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
border: 0;
|
border: 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user