source: trip-planner-front/node_modules/bootstrap/less/normalize.less@ eed0bf8

Last change on this file since eed0bf8 was fa375fe, checked in by Ema <ema_spirova@…>, 3 years ago

adding new components

  • Property mode set to 100644
File size: 7.5 KB
Line 
1// stylelint-disable
2
3/*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */
4
5//
6// 1. Set default font family to sans-serif.
7// 2. Prevent iOS and IE text size adjust after device orientation change,
8// without disabling user zoom.
9//
10
11html {
12 font-family: sans-serif; // 1
13 -ms-text-size-adjust: 100%; // 2
14 -webkit-text-size-adjust: 100%; // 2
15}
16
17//
18// Remove default margin.
19//
20
21body {
22 margin: 0;
23}
24
25// HTML5 display definitions
26// ==========================================================================
27
28//
29// Correct `block` display not defined for any HTML5 element in IE 8/9.
30// Correct `block` display not defined for `details` or `summary` in IE 10/11
31// and Firefox.
32// Correct `block` display not defined for `main` in IE 11.
33//
34
35article,
36aside,
37details,
38figcaption,
39figure,
40footer,
41header,
42hgroup,
43main,
44menu,
45nav,
46section,
47summary {
48 display: block;
49}
50
51//
52// 1. Correct `inline-block` display not defined in IE 8/9.
53// 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera.
54//
55
56audio,
57canvas,
58progress,
59video {
60 display: inline-block; // 1
61 vertical-align: baseline; // 2
62}
63
64//
65// Prevent modern browsers from displaying `audio` without controls.
66// Remove excess height in iOS 5 devices.
67//
68
69audio:not([controls]) {
70 display: none;
71 height: 0;
72}
73
74//
75// Address `[hidden]` styling not present in IE 8/9/10.
76// Hide the `template` element in IE 8/9/10/11, Safari, and Firefox < 22.
77//
78
79[hidden],
80template {
81 display: none;
82}
83
84// Links
85// ==========================================================================
86
87//
88// Remove the gray background color from active links in IE 10.
89//
90
91a {
92 background-color: transparent;
93}
94
95//
96// Improve readability of focused elements when they are also in an
97// active/hover state.
98//
99
100a:active,
101a:hover {
102 outline: 0;
103}
104
105// Text-level semantics
106// ==========================================================================
107
108//
109// 1. Remove the bottom border in Chrome 57- and Firefox 39-.
110// 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
111//
112
113abbr[title] {
114 border-bottom: none; // 1
115 text-decoration: underline; // 2
116 text-decoration: underline dotted; // 2
117}
118
119//
120// Address style set to `bolder` in Firefox 4+, Safari, and Chrome.
121//
122
123b,
124strong {
125 font-weight: bold;
126}
127
128//
129// Address styling not present in Safari and Chrome.
130//
131
132dfn {
133 font-style: italic;
134}
135
136//
137// Address variable `h1` font-size and margin within `section` and `article`
138// contexts in Firefox 4+, Safari, and Chrome.
139//
140
141h1 {
142 font-size: 2em;
143 margin: 0.67em 0;
144}
145
146//
147// Address styling not present in IE 8/9.
148//
149
150mark {
151 background: #ff0;
152 color: #000;
153}
154
155//
156// Address inconsistent and variable font size in all browsers.
157//
158
159small {
160 font-size: 80%;
161}
162
163//
164// Prevent `sub` and `sup` affecting `line-height` in all browsers.
165//
166
167sub,
168sup {
169 font-size: 75%;
170 line-height: 0;
171 position: relative;
172 vertical-align: baseline;
173}
174
175sup {
176 top: -0.5em;
177}
178
179sub {
180 bottom: -0.25em;
181}
182
183// Embedded content
184// ==========================================================================
185
186//
187// Remove border when inside `a` element in IE 8/9/10.
188//
189
190img {
191 border: 0;
192}
193
194//
195// Correct overflow not hidden in IE 9/10/11.
196//
197
198svg:not(:root) {
199 overflow: hidden;
200}
201
202// Grouping content
203// ==========================================================================
204
205//
206// Address margin not present in IE 8/9 and Safari.
207//
208
209figure {
210 margin: 1em 40px;
211}
212
213//
214// Address differences between Firefox and other browsers.
215//
216
217hr {
218 box-sizing: content-box;
219 height: 0;
220}
221
222//
223// Contain overflow in all browsers.
224//
225
226pre {
227 overflow: auto;
228}
229
230//
231// Address odd `em`-unit font size rendering in all browsers.
232//
233
234code,
235kbd,
236pre,
237samp {
238 font-family: monospace, monospace;
239 font-size: 1em;
240}
241
242// Forms
243// ==========================================================================
244
245//
246// Known limitation: by default, Chrome and Safari on OS X allow very limited
247// styling of `select`, unless a `border` property is set.
248//
249
250//
251// 1. Correct color not being inherited.
252// Known issue: affects color of disabled elements.
253// 2. Correct font properties not being inherited.
254// 3. Address margins set differently in Firefox 4+, Safari, and Chrome.
255//
256
257button,
258input,
259optgroup,
260select,
261textarea {
262 color: inherit; // 1
263 font: inherit; // 2
264 margin: 0; // 3
265}
266
267//
268// Address `overflow` set to `hidden` in IE 8/9/10/11.
269//
270
271button {
272 overflow: visible;
273}
274
275//
276// Address inconsistent `text-transform` inheritance for `button` and `select`.
277// All other form control elements do not inherit `text-transform` values.
278// Correct `button` style inheritance in Firefox, IE 8/9/10/11, and Opera.
279// Correct `select` style inheritance in Firefox.
280//
281
282button,
283select {
284 text-transform: none;
285}
286
287//
288// 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
289// and `video` controls.
290// 2. Correct inability to style clickable `input` types in iOS.
291// 3. Improve usability and consistency of cursor style between image-type
292// `input` and others.
293//
294
295button,
296html input[type="button"], // 1
297input[type="reset"],
298input[type="submit"] {
299 -webkit-appearance: button; // 2
300 cursor: pointer; // 3
301}
302
303//
304// Re-set default cursor for disabled elements.
305//
306
307button[disabled],
308html input[disabled] {
309 cursor: default;
310}
311
312//
313// Remove inner padding and border in Firefox 4+.
314//
315
316button::-moz-focus-inner,
317input::-moz-focus-inner {
318 border: 0;
319 padding: 0;
320}
321
322//
323// Address Firefox 4+ setting `line-height` on `input` using `!important` in
324// the UA stylesheet.
325//
326
327input {
328 line-height: normal;
329}
330
331//
332// It's recommended that you don't attempt to style these elements.
333// Firefox's implementation doesn't respect box-sizing, padding, or width.
334//
335// 1. Address box sizing set to `content-box` in IE 8/9/10.
336// 2. Remove excess padding in IE 8/9/10.
337//
338
339input[type="checkbox"],
340input[type="radio"] {
341 box-sizing: border-box; // 1
342 padding: 0; // 2
343}
344
345//
346// Fix the cursor style for Chrome's increment/decrement buttons. For certain
347// `font-size` values of the `input`, it causes the cursor style of the
348// decrement button to change from `default` to `text`.
349//
350
351input[type="number"]::-webkit-inner-spin-button,
352input[type="number"]::-webkit-outer-spin-button {
353 height: auto;
354}
355
356//
357// 1. Address `appearance` set to `searchfield` in Safari and Chrome.
358// 2. Address `box-sizing` set to `border-box` in Safari and Chrome.
359//
360
361input[type="search"] {
362 -webkit-appearance: textfield; // 1
363 box-sizing: content-box; //2
364}
365
366//
367// Remove inner padding and search cancel button in Safari and Chrome on OS X.
368// Safari (but not Chrome) clips the cancel button when the search input has
369// padding (and `textfield` appearance).
370//
371
372input[type="search"]::-webkit-search-cancel-button,
373input[type="search"]::-webkit-search-decoration {
374 -webkit-appearance: none;
375}
376
377//
378// Define consistent border, margin, and padding.
379//
380
381fieldset {
382 border: 1px solid #c0c0c0;
383 margin: 0 2px;
384 padding: 0.35em 0.625em 0.75em;
385}
386
387//
388// 1. Correct `color` not being inherited in IE 8/9/10/11.
389// 2. Remove padding so people aren't caught out if they zero out fieldsets.
390//
391
392legend {
393 border: 0; // 1
394 padding: 0; // 2
395}
396
397//
398// Remove default vertical scrollbar in IE 8/9/10/11.
399//
400
401textarea {
402 overflow: auto;
403}
404
405//
406// Don't inherit the `font-weight` (applied by a rule above).
407// NOTE: the default cannot safely be changed in Chrome and Safari on OS X.
408//
409
410optgroup {
411 font-weight: bold;
412}
413
414// Tables
415// ==========================================================================
416
417//
418// Remove most spacing between table cells.
419//
420
421table {
422 border-collapse: collapse;
423 border-spacing: 0;
424}
425
426td,
427th {
428 padding: 0;
429}
Note: See TracBrowser for help on using the repository browser.