Left: | ||
Right: |
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 [type="number"]::-webkit-inner-spin-button, | |
29 [type="number"]::-webkit-outer-spin-button | |
30 { | |
31 height: auto; | |
32 } | |
33 | |
34 [type="date"], | |
35 [type="time"], | |
36 [type="datetime"], | |
37 [type="datetime-local"], | |
38 [type="month"], | |
39 [type="week"] | |
40 { | |
41 -webkit-appearance: none; | |
42 } | |
43 | |
44 /** | |
45 * Use `-webkit-appearance: none` to reset search input in iOS Safari | |
46 */ | |
47 | |
48 [type="search"] | |
49 { | |
50 -webkit-appearance: none; | |
51 outline-offset: -2px; | |
52 } | |
53 | |
54 [type="search"]::-webkit-search-cancel-button, | |
55 [type="search"]::-webkit-search-decoration | |
56 { | |
57 -webkit-appearance: none; | |
58 } | |
59 | |
60 ::-webkit-file-upload-button | |
juliandoucette
2017/09/18 13:13:22
NIT: See comment in advanced.html
ire
2017/09/19 08:06:49
Done.
| |
61 { | |
62 -webkit-appearance: button; | |
63 font: inherit; | |
64 } | |
OLD | NEW |