reset input :focus styles to nothing

This commit is contained in:
Adam Bradley
2013-10-21 10:01:51 -05:00
parent 9486da44d1
commit 57cfcf432e
4 changed files with 28 additions and 3 deletions

View File

@@ -198,6 +198,7 @@ legend {
* 1. Correct font family not being inherited in all browsers.
* 2. Correct font size not being inherited in all browsers.
* 3. Address margins set differently in Firefox 4+, Safari 5, and Chrome.
* 4. Remove any default :focus styles
*/
button,
input,
@@ -208,7 +209,13 @@ textarea {
font-size: 100%;
/* 2 */
font-family: inherit;
/* 1 */ }
/* 1 */
outline-offset: 0;
/* 4 */
outline-style: none;
/* 4 */
outline-width: 0;
/* 4 */ }
/**
* Address Firefox 4+ setting `line-height` on `input` using `!important` in

View File

@@ -91,6 +91,7 @@
* 1. Correct font family not being inherited in all browsers.
* 2. Correct font size not being inherited in all browsers.
* 3. Address margins set differently in Firefox 4+, Safari 5, and Chrome.
* 4. Remove any default :focus styles
*/
/**
* Address Firefox 4+ setting `line-height` on `input` using `!important` in
@@ -1026,7 +1027,13 @@
font-size: 100%;
/* 2 */
font-family: inherit;
/* 1 */ }
/* 1 */
outline-offset: 0;
/* 4 */
outline-style: none;
/* 4 */
outline-width: 0;
/* 4 */ }
.ionic button,
.ionic input {
line-height: normal; }

9
dist/css/ionic.css vendored
View File

@@ -1277,6 +1277,7 @@ legend {
* 1. Correct font family not being inherited in all browsers.
* 2. Correct font size not being inherited in all browsers.
* 3. Address margins set differently in Firefox 4+, Safari 5, and Chrome.
* 4. Remove any default :focus styles
*/
button,
input,
@@ -1287,7 +1288,13 @@ textarea {
font-size: 100%;
/* 2 */
font-family: inherit;
/* 1 */ }
/* 1 */
outline-offset: 0;
/* 4 */
outline-style: none;
/* 4 */
outline-width: 0;
/* 4 */ }
/**
* Address Firefox 4+ setting `line-height` on `input` using `!important` in

View File

@@ -233,6 +233,7 @@ legend {
* 1. Correct font family not being inherited in all browsers.
* 2. Correct font size not being inherited in all browsers.
* 3. Address margins set differently in Firefox 4+, Safari 5, and Chrome.
* 4. Remove any default :focus styles
*/
button,
@@ -242,6 +243,9 @@ textarea {
margin: 0; /* 3 */
font-size: 100%; /* 2 */
font-family: inherit; /* 1 */
outline-offset: 0; /* 4 */
outline-style: none; /* 4 */
outline-width: 0; /* 4 */
}
/**