forked from quasarframework/quasar
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnormalize.styl
More file actions
161 lines (128 loc) · 2.72 KB
/
normalize.styl
File metadata and controls
161 lines (128 loc) · 2.72 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
/*
* Normalizing -- credits go to Normalize.css 4
*/
*, *:before, *:after // @stylint ignore
box-sizing inherit
-webkit-tap-highlight-color transparent
-moz-tap-highlight-color transparent
html, body
height 100%
width 100%
html, body, #q-app
margin 0
box-sizing border-box
/* iPad Input Shadows */
input[type='text'], input[type='email'], input[type='search'], input[type='password']
-webkit-appearance none
-moz-appearance none /* mobile firefox too! */
article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
menu,
nav,
section,
summary
display block
/*
* Add the correct display in iOS 4-7.
*/
audio:not([controls])
display none
height 0
/*
* 1. Remove the bottom border in Firefox 39-.
* 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
*/
abbr[title]
border-bottom none /* 1 */
text-decoration underline /* 2 */
text-decoration underline dotted /* 2 */
/*
* Add the correct font style in Android 4.3-.
*/
dfn
font-style italic
img
border-style none
/*
* Hide the overflow in IE.
*/
svg:not(:root)
overflow hidden
/*
* 1. Correct the inheritance and scaling of font size in all browsers.
* 2. Correct the odd `em` font sizing in all browsers.
*/
code, kbd, pre, samp
font-family monospace, monospace /* 1 */
font-size 1em /* 2 */
/*
* 1. Add the correct box sizing in Firefox.
* 2. Show the overflow in Edge and IE.
*/
hr
box-sizing content-box /* 1 */
height 0 /* 1 */
overflow visible /* 2 */
/*
* Change font properties to `inherit` in all browsers (opinionated).
*/
button,
input,
select,
textarea
font inherit
margin 0
/*
* Restore the font weight unset by the previous rule.
*/
optgroup
font-weight bold
/*
* Show the overflow in IE.
* 1. Show the overflow in Edge.
* 2. Show the overflow in Edge, Firefox, and IE.
*/
button,
input, /* 1 */
select /* 2 */
overflow visible
/*
* Remove the inner border and padding in Firefox.
*/
button::-moz-focus-inner, input::-moz-focus-inner
border 0
padding 0
/*
* Restore the focus styles unset by the previous rule.
*/
button:-moz-focusring, input:-moz-focusring
outline 1px dotted ButtonText
/*
* Remove the default vertical scrollbar in IE.
*/
textarea
overflow auto
/*
* Correct the odd appearance of search inputs in Chrome and Safari.
*/
input[type='search']
-webkit-appearance textfield
/*
* Remove the inner padding and cancel buttons in Chrome on OS X and
* Safari on OS X.
*/
input[type='search']::-webkit-search-cancel-button,
input[type='search']::-webkit-search-decoration
-webkit-appearance none
/*
* Remove browser controller for input type="number"
*/
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button
-webkit-appearance none