From 27dea38fd713fa15edb6d4b309cfdbde2783015c Mon Sep 17 00:00:00 2001 From: Nicolas Cusan Date: Mon, 7 Nov 2022 22:24:41 +0100 Subject: [PATCH] update lib version --- destyle.css | 25 +++++++++---------------- 1 file changed, 9 insertions(+), 16 deletions(-) diff --git a/destyle.css b/destyle.css index 1f9d80d..2e401de 100644 --- a/destyle.css +++ b/destyle.css @@ -1,4 +1,4 @@ -/*! destyle.css v3.0.2 | MIT License | https://github.com/nicolas-cusan/destyle.css */ +/*! destyle.css v4.0.0 | MIT License | https://github.com/nicolas-cusan/destyle.css */ /* Reset box-model and set borders */ /* ============================================ */ @@ -241,20 +241,6 @@ textarea { text-transform: inherit; /* 2 */ } -/** - * Reset radio and checkbox appearance to preserve their look in iOS. - */ - -[type="checkbox"] { - -webkit-appearance: checkbox; - appearance: checkbox; -} - -[type="radio"] { - -webkit-appearance: radio; - appearance: radio; -} - /** * Correct cursors for clickable elements. */ @@ -333,7 +319,7 @@ textarea { } /** - * 1. Correct the outline style in Safari. + * Correct the outline style in Safari. */ [type="search"] { @@ -358,6 +344,13 @@ textarea { font: inherit; /* 2 */ } +/** + * Fix appearance for Firefox + */ +[type="number"] { + -moz-appearance: textfield; +} + /** * Clickable labels */