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

Side by Side Diff: scss/forms/_advanced.scss

Issue 29510560: Issue 4633 - Default form styles (Closed) Base URL: https://hg.adblockplus.org/website-defaults
Patch Set: Added more explanatory comments Created Sept. 13, 2017, 7:58 a.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « pages/index.html ('k') | scss/forms/_basic.scss » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(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 }
55
56 /**
57 * 1. Correct the inability to style clickable types in iOS and Safari.
58 * 2. Change font properties to `inherit` in Safari.
59 */
60
61 ::-webkit-file-upload-button
62 {
63 -webkit-appearance: button;
64 font: inherit;
65 }
OLDNEW
« no previous file with comments | « pages/index.html ('k') | scss/forms/_basic.scss » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld