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

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

Issue 29510560: Issue 4633 - Default form styles (Closed) Base URL: https://hg.adblockplus.org/website-defaults
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:
View unified diff | Download patch
« no previous file with comments | « scss/forms/_basic.scss ('k') | scss/main.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 * Buttons
21 *******************************************************************************
22 * 1. Reset
23 ******************************************************************************/
24
25 /* 1. Reset
26 ******************************************************************************/
27
28 button
29 {
30 margin: 0px;
31 font: inherit;
32
33 /* Show the overflow in IE and Edge */
34 overflow: visible;
35
36 /* Remove the inheritance of text transform in Edge, Firefox, and IE. */
37 text-transform: none;
38 }
39
40 /**
41 * 1. Prevent a WebKit bug where (2) destroys native `audio` and `video`
42 * controls in Android 4.
43 * 2. Correct the inability to style clickable types in iOS and Safari.
44 */
45
46 button,
47 html [type="button"],
48 [type="reset"],
49 [type="submit"]
50 {
51 -webkit-appearance: button;
52 }
53
54 /* Remove the inner border and padding in Firefox. */
55
56 button::-moz-focus-inner,
57 [type="button"]::-moz-focus-inner,
58 [type="reset"]::-moz-focus-inner,
59 [type="submit"]::-moz-focus-inner
60 {
61 padding: 0px;
62 border-style: none;
63 }
64
65 /* Restore the focus styles unset by the previous rule. */
66
67 button:-moz-focusring,
68 [type="button"]:-moz-focusring,
69 [type="reset"]:-moz-focusring,
70 [type="submit"]:-moz-focusring
71 {
72 outline: 1px dotted ButtonText;
73 }
OLDNEW
« no previous file with comments | « scss/forms/_basic.scss ('k') | scss/main.scss » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld