Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Delta Between Two Patch Sets: scss/forms/_advanced.scss

Issue 29510560: Issue 4633 - Default form styles (Closed) Base URL: https://hg.adblockplus.org/website-defaults
Left Patch Set: Rebase on website-defaults with reset and namespaced content Created Sept. 13, 2017, 7:39 a.m.
Right Patch Set: Addressed NITs Created Sept. 19, 2017, 8:07 a.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « pages/index.html ('k') | scss/forms/_basic.scss » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
1 /*! 1 /*!
2 * This file is part of website-defaults 2 * This file is part of website-defaults
3 * Copyright (C) 2016-2017 eyeo GmbH 3 * Copyright (C) 2016-2017 eyeo GmbH
4 * 4 *
5 * website-defaults is free software: you can redistribute it and/or 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 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 7 * the Free Software Foundation, either version 3 of the License, or
8 * (at your option) any later version. 8 * (at your option) any later version.
9 * 9 *
10 * website-defaults is distributed in the hope that it will be useful, 10 * website-defaults is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details. 13 * GNU General Public License for more details.
14 * 14 *
15 * You should have received a copy of the GNU General Public License 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/>. 16 * along with website-defaults. If not, see <http://www.gnu.org/licenses/>.
17 */ 17 */
18 18
19 /******************************************************************************* 19 /*******************************************************************************
20 * Adanced forms fields 20 * Adanced forms fields
21 ******************************************************************************* 21 *******************************************************************************
22 * 1. Reset 22 * 1. Reset
23 ******************************************************************************/ 23 ******************************************************************************/
24 24
25 /* 1. Reset 25 /* 1. Reset
26 ******************************************************************************/ 26 ******************************************************************************/
27 27
28 /* Correct the cursor style of increment and decrement buttons in Chrome. */
29
28 [type="number"]::-webkit-inner-spin-button, 30 [type="number"]::-webkit-inner-spin-button,
29 [type="number"]::-webkit-outer-spin-button 31 [type="number"]::-webkit-outer-spin-button
30 { 32 {
31 height: auto; 33 height: auto;
32 } 34 }
33 35
36 /* Use `-webkit-appearance: none` to reset inputs in iOS Safari */
37
34 [type="date"], 38 [type="date"],
35 [type="time"], 39 [type="time"],
36 [type="datetime"], 40 [type="datetime"],
37 [type="datetime-local"], 41 [type="datetime-local"],
38 [type="month"], 42 [type="month"],
39 [type="week"] 43 [type="week"],
40 { 44 [type="search"],
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, 45 [type="search"]::-webkit-search-cancel-button,
55 [type="search"]::-webkit-search-decoration 46 [type="search"]::-webkit-search-decoration
56 { 47 {
57 -webkit-appearance: none; 48 -webkit-appearance: none;
58 } 49 }
59 50
60 ::-webkit-file-upload-button 51 [type="search"]
juliandoucette 2017/09/18 13:13:22 NIT: See comment in advanced.html
ire 2017/09/19 08:06:49 Done.
61 { 52 {
62 -webkit-appearance: button; 53 outline-offset: -2px;
63 font: inherit;
64 } 54 }
LEFTRIGHT

Powered by Google App Engine
This is Rietveld