Browse Source

Properly override normalize.css' `box-sizing` for all browsers.

Fix #481.
pull/482/head
XhmikosR 11 years ago
parent
commit
415867d239
  1. 2
      dist/css/ratchet.css
  2. 2
      dist/css/ratchet.min.css
  3. 2
      docs/dist/css/ratchet.css
  4. 2
      docs/dist/css/ratchet.min.css
  5. 5
      sass/forms.scss

2
dist/css/ratchet.css vendored

@ -856,6 +856,8 @@ input[type="color"] {
} }
input[type="search"] { input[type="search"] {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box; box-sizing: border-box;
padding: 0 10px; padding: 0 10px;
font-size: 16px; font-size: 16px;

2
dist/css/ratchet.min.css vendored

File diff suppressed because one or more lines are too long

2
docs/dist/css/ratchet.css vendored

@ -856,6 +856,8 @@ input[type="color"] {
} }
input[type="search"] { input[type="search"] {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box; box-sizing: border-box;
padding: 0 10px; padding: 0 10px;
font-size: 16px; font-size: 16px;

2
docs/dist/css/ratchet.min.css vendored

File diff suppressed because one or more lines are too long

5
sass/forms.scss

@ -45,7 +45,10 @@ input[type="search"] {
padding: 0 10px; padding: 0 10px;
font-size: 16px; font-size: 16px;
border-radius: 20px; border-radius: 20px;
box-sizing: border-box; // Override content-box in normalize // Override content-box in normalize
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
} }
input[type="search"]:focus { input[type="search"]:focus {
text-align: left; text-align: left;

Loading…
Cancel
Save