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

Side by Side Diff: scss/forms/_basic.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 | « scss/forms/_advanced.scss ('k') | scss/forms/_buttons.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 * Basic forms fields
21 *******************************************************************************
22 * 1. Reset
23 ******************************************************************************/
24
25 /* 1. Reset
26 ******************************************************************************/
27
28 /* Change the font styles in all browsers (opinionated). */
29
30 input,
31 optgroup,
32 select,
33 textarea
34 {
35 font: inherit;
36 }
37
38 /* Show the overflow in IE and Edge */
39
40 input
41 {
42 overflow: visible;
43 }
44
45 /* Remove the inheritance of text transform in Edge, Firefox, and IE. */
46
47 select
48 {
49 text-transform: none;
50 }
51
52 /* Set block display (opinionated) */
53
54 fieldset
55 {
56 display: block;
57 }
58
59 /* Correct the text wrapping in Edge and IE. */
60
61 legend
62 {
63 display: table;
64 max-width: 100%;
65 white-space: normal;
66 }
67
68 /* Remove the default vertical scrollbar in IE. */
69
70 textarea
71 {
72 overflow: auto;
73 }
74
75 /* Remove the padding in IE 10-. */
76
77 [type="checkbox"],
78 [type="radio"]
79 {
80 padding: 0px;
81 }
OLDNEW
« no previous file with comments | « scss/forms/_advanced.scss ('k') | scss/forms/_buttons.scss » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld