]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
Removing -webkit prefixe for border-radius 6030/head
authorGenevieve Cornhill Bulger <gencornhill@gmail.com>
Thu, 13 Nov 2014 17:24:56 +0000 (10:24 -0700)
committerGenevieve Cornhill Bulger <gencornhill@gmail.com>
Thu, 13 Nov 2014 17:24:56 +0000 (10:24 -0700)
The prefix is only needed for Safari 4, which is such a fraction of
usage.
See: http://css-tricks.com/do-we-need-box-shadow-prefixes/
http://caniuse.com/#feat=border-radius

scss/foundation/components/_buttons.scss
scss/foundation/components/_forms.scss

index c3d2def097ebcf2344c30e197807fb647e78ac29..d5e8477b7f4940d2817d5cb70ac4ae0c05d6cf8f 100644 (file)
@@ -80,7 +80,7 @@ $button-disabled-cursor: $cursor-default-value !default;
     text-decoration: none;
     text-align: $button-font-align;
     -webkit-appearance: none;
-    -webkit-border-radius:0;
+    border-radius:0;
   }
   @if $display { display: $display; }
 }
index a10a6e04a26f73133b8f7f23737aa521c2c018e4..bc2b9cb6c19bb45bd7b495acbea5575c8a346334 100644 (file)
@@ -324,7 +324,7 @@ $select-hover-bg-color: scale-color($select-bg-color, $lightness: -3%) !default;
 // We use this mixin to style select elements
 @mixin form-select  {
   -webkit-appearance: none !important;
-  -webkit-border-radius: 0px;
+  border-radius: 0px;
   background-color: $select-bg-color;
 
   // Hide the dropdown arrow shown in newer IE versions
@@ -414,7 +414,7 @@ $select-hover-bg-color: scale-color($select-bg-color, $lightness: -3%) !default;
     /* We use this to get basic styling on all basic form elements */
     #{text-inputs(all, 'input')} {
       -webkit-appearance: none;
-      -webkit-border-radius: 0px;
+      border-radius: 0px;
       @include form-element;
       @if $input-include-glowing-effect == false {
           @include single-transition(all, 0.15s, linear);
@@ -455,7 +455,7 @@ $select-hover-bg-color: scale-color($select-bg-color, $lightness: -3%) !default;
 
     input[type="submit"] {
       -webkit-appearance: none;
-      -webkit-border-radius: 0px;
+      border-radius: 0px;
     }
 
     /* Respect enforced amount of rows for textarea */