2 * ============LICENSE_START=======================================================
4 * ================================================================================
5 * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
6 * ================================================================================
7 * Licensed under the Apache License, Version 2.0 (the "License");
8 * you may not use this file except in compliance with the License.
9 * You may obtain a copy of the License at
11 * http://www.apache.org/licenses/LICENSE-2.0
13 * Unless required by applicable law or agreed to in writing, software
14 * distributed under the License is distributed on an "AS IS" BASIS,
15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 * See the License for the specific language governing permissions and
17 * limitations under the License.
18 * ============LICENSE_END=========================================================
21 /* ==========================================================================
22 HTML5 display definitions
23 ========================================================================== */
26 * Correct `block` display not defined in IE 6/7/8/9 and Firefox 3.
45 * Correct `inline-block` display not defined in IE 6/7/8/9 and Firefox 3.
51 display: inline-block;
57 * Prevent modern browsers from displaying `audio` without controls.
58 * Remove excess height in iOS 5 devices.
61 audio:not([controls]) {
67 * Address styling not present in IE 7/8/9, Firefox 3, and Safari 4.
68 * Known issue: no IE 6 support.
75 /* ==========================================================================
77 ========================================================================== */
80 * 1. Correct text resizing oddly in IE 6/7 when body `font-size` is set using
82 * 2. Prevent iOS text size adjust after orientation change, without disabling
87 font-size: 100%; /* 1 */
88 -ms-text-size-adjust: 100%; /* 2 */
89 -webkit-text-size-adjust: 100%; /* 2 */
93 * Address `font-family` inconsistency between `textarea` and other form
102 font-family: sans-serif;
106 * Address margins handled incorrectly in IE 6/7.
113 /* ==========================================================================
115 ========================================================================== */
118 * Address `outline` inconsistency between Chrome and other browsers.
122 outline: thin dotted;
126 * Improve readability when focused and also mouse hovered in all browsers.
134 /* ==========================================================================
136 ========================================================================== */
139 * Address font sizes and margins set differently in IE 6/7.
140 * Address font sizes within `section` and `article` in Firefox 4+, Safari 5,
175 * Address styling not present in IE 7/8/9, Safari 5, and Chrome.
179 border-bottom: 1px dotted;
183 * Address style set to `bolder` in Firefox 3+, Safari 4/5, and Chrome.
196 * Address styling not present in Safari 5 and Chrome.
204 * Address differences between Firefox and other browsers.
205 * Known issue: no IE 6/7 normalization.
209 -moz-box-sizing: content-box;
210 box-sizing: content-box;
215 * Address styling not present in IE 6/7/8/9.
224 * Address margins set differently in IE 6/7.
233 * Correct font family set oddly in IE 6, Safari 4/5, and Chrome.
240 font-family: monospace, serif;
241 _font-family: 'courier new', monospace;
246 * Improve readability of pre-formatted text in all browsers.
251 white-space: pre-wrap;
252 word-wrap: break-word;
256 * Address CSS quotes not supported in IE 6/7.
264 * Address `quotes` property not supported in Safari 4.
274 * Address inconsistent and variable font size in all browsers.
282 * Prevent `sub` and `sup` affecting `line-height` in all browsers.
290 vertical-align: baseline;
301 /* ==========================================================================
303 ========================================================================== */
306 * Address margins set differently in IE 6/7.
321 * Address paddings set differently in IE 6/7.
331 * Correct list images handled incorrectly in IE 7.
337 list-style-image: none;
340 /* ==========================================================================
342 ========================================================================== */
345 * 1. Remove border when inside `a` element in IE 6/7/8/9 and Firefox 3.
346 * 2. Improve image quality when scaled in IE 7.
351 -ms-interpolation-mode: bicubic; /* 2 */
355 * Correct overflow displayed oddly in IE 9.
362 /* ==========================================================================
364 ========================================================================== */
367 * Address margin not present in IE 6/7/8/9, Safari 5, and Opera 11.
374 /* ==========================================================================
376 ========================================================================== */
379 * Correct margin displayed oddly in IE 6/7.
387 * Define consistent border, margin, and padding.
391 border: 1px solid #c0c0c0;
393 padding: 0.35em 0.625em 0.75em;
397 * 1. Correct color not being inherited in IE 6/7/8/9.
398 * 2. Correct text not wrapping in Firefox 3.
399 * 3. Correct alignment displayed oddly in IE 6/7.
405 white-space: normal; /* 2 */
406 *margin-left: -7px; /* 3 */
410 * 1. Correct font size not being inherited in all browsers.
411 * 2. Address margins set differently in IE 6/7, Firefox 3+, Safari 5,
413 * 3. Improve appearance and consistency in all browsers.
420 font-size: 100%; /* 1 */
422 vertical-align: baseline; /* 3 */
423 *vertical-align: middle; /* 3 */
427 * Address Firefox 3+ setting `line-height` on `input` using `!important` in
437 * Address inconsistent `text-transform` inheritance for `button` and `select`.
438 * All other form control elements do not inherit `text-transform` values.
439 * Correct `button` style inheritance in Chrome, Safari 5+, and IE 6+.
440 * Correct `select` style inheritance in Firefox 4+ and Opera.
445 text-transform: none;
449 * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
450 * and `video` controls.
451 * 2. Correct inability to style clickable `input` types in iOS.
452 * 3. Improve usability and consistency of cursor style between image-type
453 * `input` and others.
454 * 4. Remove inner spacing in IE 7 without affecting normal text inputs.
455 * Known issue: inner spacing remains in IE 6.
459 html input[type="button"], /* 1 */
461 input[type="submit"] {
462 -webkit-appearance: button; /* 2 */
463 cursor: pointer; /* 3 */
464 *overflow: visible; /* 4 */
468 * Re-set default cursor for disabled elements.
472 html input[disabled] {
477 * 1. Address box sizing set to content-box in IE 8/9.
478 * 2. Remove excess padding in IE 8/9.
479 * 3. Remove excess padding in IE 7.
480 * Known issue: excess padding remains in IE 6.
483 input[type="checkbox"],
484 input[type="radio"] {
485 box-sizing: border-box; /* 1 */
487 *height: 13px; /* 3 */
488 *width: 13px; /* 3 */
492 * 1. Address `appearance` set to `searchfield` in Safari 5 and Chrome.
493 * 2. Address `box-sizing` set to `border-box` in Safari 5 and Chrome
494 * (include `-moz` to future-proof).
497 input[type="search"] {
498 -webkit-appearance: textfield; /* 1 */
499 -moz-box-sizing: content-box;
500 -webkit-box-sizing: content-box; /* 2 */
501 box-sizing: content-box;
505 * Remove inner padding and search cancel button in Safari 5 and Chrome
509 input[type="search"]::-webkit-search-cancel-button,
510 input[type="search"]::-webkit-search-decoration {
511 -webkit-appearance: none;
515 * Remove inner padding and border in Firefox 3+.
518 button::-moz-focus-inner,
519 input::-moz-focus-inner {
525 * 1. Remove default vertical scrollbar in IE 6/7/8/9.
526 * 2. Improve readability and alignment in all browsers.
530 overflow: auto; /* 1 */
531 vertical-align: top; /* 2 */
534 /* ==========================================================================
536 ========================================================================== */
539 * Remove most spacing between table cells.
543 border-collapse: collapse;