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: 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 | « 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 font: inherit; 35 font: inherit;
34 } 36 }
35 37
36 /* Show the overflow in IE and Edge */ 38 /* Show the overflow in IE and Edge */
37 39
38 input 40 input
39 { 41 {
40 overflow: visible; 42 overflow: visible;
41 } 43 }
42 44
43 /* Remove the inheritance of text transform in Edge, Firefox, and IE. */ 45 /* Remove the inheritance of text transform in Edge, Firefox, and IE. */
44 46
45 select 47 select
46 { 48 {
47 text-transform: none; 49 text-transform: none;
48 } 50 }
49 51
50 fieldset, 52 /* Set block display (opinionated) */
51 legend 53
54 fieldset
52 { 55 {
53 display: block; 56 display: block;
54 } 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. */
55 69
56 textarea 70 textarea
57 { 71 {
58 overflow: auto; 72 overflow: auto;
59 } 73 }
74
75 /* Remove the padding in IE 10-. */
76
77 [type="checkbox"],
78 [type="radio"]
79 {
80 padding: 0px;
81 }
LEFTRIGHT

Powered by Google App Engine
This is Rietveld