From 7c63e1185bec499b994da281ef54918b9131929e Mon Sep 17 00:00:00 2001 From: leho Date: Sun, 27 Nov 2016 23:49:37 +0200 Subject: [PATCH] Remove manual vendor prefixes --- src/buttons/css/buttons-core.css | 5 ----- src/buttons/css/buttons.css | 4 ---- src/forms/css/forms.css | 4 ---- src/grids/css/grids-core.css | 20 ++++---------------- src/menus/css/menus-core.css | 2 -- 5 files changed, 4 insertions(+), 31 deletions(-) diff --git a/src/buttons/css/buttons-core.css b/src/buttons/css/buttons-core.css index f007c91..3b81183 100644 --- a/src/buttons/css/buttons-core.css +++ b/src/buttons/css/buttons-core.css @@ -8,12 +8,7 @@ text-align: center; cursor: pointer; -webkit-user-drag: none; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; user-select: none; - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; box-sizing: border-box; } diff --git a/src/buttons/css/buttons.css b/src/buttons/css/buttons.css index a308862..046980a 100644 --- a/src/buttons/css/buttons.css +++ b/src/buttons/css/buttons.css @@ -19,10 +19,6 @@ /* csslint ignore:start */ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#1a000000',GradientType=0); /* csslint ignore:end */ - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(transparent), color-stop(40%, rgba(0,0,0, 0.05)), to(rgba(0,0,0, 0.10))); - background-image: -webkit-linear-gradient(transparent, rgba(0,0,0, 0.05) 40%, rgba(0,0,0, 0.10)); - background-image: -moz-linear-gradient(top, rgba(0,0,0, 0.05) 0%, rgba(0,0,0, 0.10)); - background-image: -o-linear-gradient(transparent, rgba(0,0,0, 0.05) 40%, rgba(0,0,0, 0.10)); background-image: linear-gradient(transparent, rgba(0,0,0, 0.05) 40%, rgba(0,0,0, 0.10)); } .pure-button:focus { diff --git a/src/forms/css/forms.css b/src/forms/css/forms.css index 370d350..336bdeb 100644 --- a/src/forms/css/forms.css +++ b/src/forms/css/forms.css @@ -28,8 +28,6 @@ so we can ignore the csslint warning. box-shadow: inset 0 1px 3px #ddd; border-radius: 4px; vertical-align: middle; - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; box-sizing: border-box; } @@ -43,8 +41,6 @@ since IE8 won't execute CSS that contains a CSS3 selector. border: 1px solid #ccc; box-shadow: inset 0 1px 3px #ddd; border-radius: 4px; - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; box-sizing: border-box; } diff --git a/src/grids/css/grids-core.css b/src/grids/css/grids-core.css index 9718566..25075bf 100644 --- a/src/grids/css/grids-core.css +++ b/src/grids/css/grids-core.css @@ -24,24 +24,12 @@ */ font-family: FreeSans, Arimo, "Droid Sans", Helvetica, Arial, sans-serif; - /* - Use flexbox when possible to avoid `letter-spacing` side-effects. + /* Use flexbox when possible to avoid `letter-spacing` side-effects. */ + display: flex; + flex-flow: row wrap; - NOTE: Firefox (as of 25) does not currently support flex-wrap, so the - `-moz-` prefix version is omitted. - */ - - display: -webkit-flex; - -webkit-flex-flow: row wrap; - - /* IE10 uses display: flexbox */ - display: -ms-flexbox; - -ms-flex-flow: row wrap; - /* Prevents distributing space between rows */ - -ms-align-content: flex-start; - -webkit-align-content: flex-start; - align-content: flex-start; + align-content: flex-start; } /* IE10 display: -ms-flexbox (and display: flex in IE 11) does not work inside a table; fall back to block and rely on font hack */ diff --git a/src/menus/css/menus-core.css b/src/menus/css/menus-core.css index bfdc418..0ba7754 100644 --- a/src/menus/css/menus-core.css +++ b/src/menus/css/menus-core.css @@ -1,7 +1,5 @@ /*csslint adjoining-classes: false, box-model:false*/ .pure-menu { - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; box-sizing: border-box; }