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=========================================================
22 font-family: sans-serif; /* 1 */
23 -ms-text-size-adjust: 100%; /* 2 */
24 -webkit-text-size-adjust: 100%; /* 2 */
28 * Remove default margin.
35 /* HTML5 display definitions
36 ========================================================================== */
39 * Correct `block` display not defined for any HTML5 element in IE 8/9.
40 * Correct `block` display not defined for `details` or `summary` in IE 10/11
42 * Correct `block` display not defined for `main` in IE 11.
62 * 1. Correct `inline-block` display not defined in IE 8/9.
63 * 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera.
70 display: inline-block; /* 1 */
71 vertical-align: baseline; /* 2 */
75 * Prevent modern browsers from displaying `audio` without controls.
76 * Remove excess height in iOS 5 devices.
79 audio:not([controls]) {
85 * Address `[hidden]` styling not present in IE 8/9/10.
86 * Hide the `template` element in IE 8/9/11, Safari, and Firefox < 22.
95 ========================================================================== */
98 * Remove the gray background color from active links in IE 10.
102 background-color: transparent;
106 * Improve readability when focused and also mouse hovered in all browsers.
114 /* Text-level semantics
115 ========================================================================== */
118 * Address styling not present in IE 8/9/10/11, Safari, and Chrome.
122 border-bottom: 1px dotted;
126 * Address style set to `bolder` in Firefox 4+, Safari, and Chrome.
135 * Address styling not present in Safari and Chrome.
143 * Address variable `h1` font-size and margin within `section` and `article`
144 * contexts in Firefox 4+, Safari, and Chrome.
153 * Address styling not present in IE 8/9.
162 * Address inconsistent and variable font size in all browsers.
170 * Prevent `sub` and `sup` affecting `line-height` in all browsers.
178 vertical-align: baseline;
190 ========================================================================== */
193 * Remove border when inside `a` element in IE 8/9/10.
201 * Correct overflow not hidden in IE 9/10/11.
209 ========================================================================== */
212 * Address margin not present in IE 8/9 and Safari.
220 * Address differences between Firefox and other browsers.
224 -moz-box-sizing: content-box;
225 box-sizing: content-box;
230 * Contain overflow in all browsers.
238 * Address odd `em`-unit font size rendering in all browsers.
245 font-family: monospace, monospace;
250 ========================================================================== */
253 * Known limitation: by default, Chrome and Safari on OS X allow very limited
254 * styling of `select`, unless a `border` property is set.
258 * 1. Correct color not being inherited.
259 * Known issue: affects color of disabled elements.
260 * 2. Correct font properties not being inherited.
261 * 3. Address margins set differently in Firefox 4+, Safari, and Chrome.
269 color: inherit; /* 1 */
270 font: inherit; /* 2 */
275 * Address `overflow` set to `hidden` in IE 8/9/10/11.
283 * Address inconsistent `text-transform` inheritance for `button` and `select`.
284 * All other form control elements do not inherit `text-transform` values.
285 * Correct `button` style inheritance in Firefox, IE 8/9/10/11, and Opera.
286 * Correct `select` style inheritance in Firefox.
291 text-transform: none;
295 * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
296 * and `video` controls.
297 * 2. Correct inability to style clickable `input` types in iOS.
298 * 3. Improve usability and consistency of cursor style between image-type
299 * `input` and others.
303 html input[type="button"], /* 1 */
305 input[type="submit"] {
306 -webkit-appearance: button; /* 2 */
307 cursor: pointer; /* 3 */
311 * Re-set default cursor for disabled elements.
315 html input[disabled] {
320 * Remove inner padding and border in Firefox 4+.
323 button::-moz-focus-inner,
324 input::-moz-focus-inner {
330 * Address Firefox 4+ setting `line-height` on `input` using `!important` in
339 * It's recommended that you don't attempt to style these elements.
340 * Firefox's implementation doesn't respect box-sizing, padding, or width.
342 * 1. Address box sizing set to `content-box` in IE 8/9/10.
343 * 2. Remove excess padding in IE 8/9/10.
346 input[type="checkbox"],
347 input[type="radio"] {
348 box-sizing: border-box; /* 1 */
353 * Fix the cursor style for Chrome's increment/decrement buttons. For certain
354 * `font-size` values of the `input`, it causes the cursor style of the
355 * decrement button to change from `default` to `text`.
358 input[type="number"]::-webkit-inner-spin-button,
359 input[type="number"]::-webkit-outer-spin-button {
364 * 1. Address `appearance` set to `searchfield` in Safari and Chrome.
365 * 2. Address `box-sizing` set to `border-box` in Safari and Chrome
366 * (include `-moz` to future-proof).
369 input[type="search"] {
370 -webkit-appearance: textfield; /* 1 */
371 -moz-box-sizing: content-box;
372 -webkit-box-sizing: content-box; /* 2 */
373 box-sizing: content-box;
377 * Remove inner padding and search cancel button in Safari and Chrome on OS X.
378 * Safari (but not Chrome) clips the cancel button when the search input has
379 * padding (and `textfield` appearance).
382 input[type="search"]::-webkit-search-cancel-button,
383 input[type="search"]::-webkit-search-decoration {
384 -webkit-appearance: none;
388 * Define consistent border, margin, and padding.
392 border: 1px solid #c0c0c0;
394 padding: 0.35em 0.625em 0.75em;
398 * 1. Correct `color` not being inherited in IE 8/9/10/11.
399 * 2. Remove padding so people aren't caught out if they zero out fieldsets.
408 * Remove default vertical scrollbar in IE 8/9/10/11.
416 * Don't inherit the `font-weight` (applied by a rule above).
417 * NOTE: the default cannot safely be changed in Chrome and Safari on OS X.
425 ========================================================================== */
428 * Remove most spacing between table cells.
432 border-collapse: collapse;