OLD | NEW |
(Empty) | |
| 1 /*! |
| 2 * This file is part of website-defaults |
| 3 * Copyright (C) 2016-2017 eyeo GmbH |
| 4 * |
| 5 * website-defaults is free software: you can redistribute it and/or |
| 6 * modify it under the terms of the GNU General Public License as published by |
| 7 * the Free Software Foundation, either version 3 of the License, or |
| 8 * (at your option) any later version. |
| 9 * |
| 10 * website-defaults is distributed in the hope that it will be useful, |
| 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 13 * GNU General Public License for more details. |
| 14 * |
| 15 * You should have received a copy of the GNU General Public License |
| 16 * along with website-defaults. If not, see <http://www.gnu.org/licenses/>. |
| 17 */ |
| 18 |
| 19 /******************************************************************************* |
| 20 * Adanced forms fields |
| 21 ******************************************************************************* |
| 22 * 1. Reset |
| 23 ******************************************************************************/ |
| 24 |
| 25 /* 1. Reset |
| 26 ******************************************************************************/ |
| 27 |
| 28 /* Correct the cursor style of increment and decrement buttons in Chrome. */ |
| 29 |
| 30 [type="number"]::-webkit-inner-spin-button, |
| 31 [type="number"]::-webkit-outer-spin-button |
| 32 { |
| 33 height: auto; |
| 34 } |
| 35 |
| 36 /* Use `-webkit-appearance: none` to reset inputs in iOS Safari */ |
| 37 |
| 38 [type="date"], |
| 39 [type="time"], |
| 40 [type="datetime"], |
| 41 [type="datetime-local"], |
| 42 [type="month"], |
| 43 [type="week"], |
| 44 [type="search"], |
| 45 [type="search"]::-webkit-search-cancel-button, |
| 46 [type="search"]::-webkit-search-decoration |
| 47 { |
| 48 -webkit-appearance: none; |
| 49 } |
| 50 |
| 51 [type="search"] |
| 52 { |
| 53 outline-offset: -2px; |
| 54 } |
OLD | NEW |