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

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

Issue 29510560: Issue 4633 - Default form styles (Closed) Base URL: https://hg.adblockplus.org/website-defaults
Left Patch Set: Separate forms into basic, advanced, and buttons Created Aug. 10, 2017, 11:44 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 | « scss/forms/_advanced.scss ('k') | scss/forms/_buttons.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 * Basic forms fields 20 * Basic 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 /* Change the font styles in all browsers (opinionated). */
29
28 input, 30 input,
29 optgroup, 31 optgroup,
30 select, 32 select,
31 textarea 33 textarea
32 { 34 {
33 box-sizing: border-box;
34 margin: 0px;
35 font: inherit; 35 font: inherit;
36 } 36 }
37 37
38 /** 38 /* Show the overflow in IE and Edge */
39 * Show the overflow in IE and Edge
40 */
41 39
42 input 40 input
43 { 41 {
44 overflow: visible; 42 overflow: visible;
45 } 43 }
46 44
47 /** 45 /* Remove the inheritance of text transform in Edge, Firefox, and IE. */
48 * Remove the inheritance of text transform in Edge, Firefox, and IE.
49 */
50 46
51 select 47 select
52 { 48 {
53 text-transform: none; 49 text-transform: none;
54 } 50 }
55 51
56 fieldset, 52 /* Set block display (opinionated) */
53
54 fieldset
55 {
56 display: block;
57 }
58
59 /* Correct the text wrapping in Edge and IE. */
60
57 legend 61 legend
58 { 62 {
59 display: block; 63 display: table;
60 margin: 0px; 64 max-width: 100%;
61 padding: 0px; 65 white-space: normal;
62 border: 0px;
63 } 66 }
67
68 /* Remove the default vertical scrollbar in IE. */
64 69
65 textarea 70 textarea
66 { 71 {
67 overflow: auto; 72 overflow: auto;
68 } 73 }
69 74
75 /* Remove the padding in IE 10-. */
76
70 [type="checkbox"], 77 [type="checkbox"],
71 [type="radio"] 78 [type="radio"]
72 { 79 {
73 padding: 0px; 80 padding: 0px;
74 } 81 }
LEFTRIGHT

Powered by Google App Engine
This is Rietveld