| OLD | NEW |
| 1 /* | 1 /* |
| 2 * The default style sheet used to render HTML. | 2 * The default style sheet used to render HTML. |
| 3 * | 3 * |
| 4 * Copyright (C) 2000 Lars Knoll (knoll@kde.org) | 4 * Copyright (C) 2000 Lars Knoll (knoll@kde.org) |
| 5 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc.
All rights reserved. | 5 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc.
All rights reserved. |
| 6 * | 6 * |
| 7 * This library is free software; you can redistribute it and/or | 7 * This library is free software; you can redistribute it and/or |
| 8 * modify it under the terms of the GNU Library General Public | 8 * modify it under the terms of the GNU Library General Public |
| 9 * License as published by the Free Software Foundation; either | 9 * License as published by the Free Software Foundation; either |
| 10 * version 2 of the License, or (at your option) any later version. | 10 * version 2 of the License, or (at your option) any later version. |
| (...skipping 373 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 384 -webkit-padding-after: 0.625em; | 384 -webkit-padding-after: 0.625em; |
| 385 border: 2px groove ThreeDFace; | 385 border: 2px groove ThreeDFace; |
| 386 min-width: -webkit-min-content; | 386 min-width: -webkit-min-content; |
| 387 } | 387 } |
| 388 | 388 |
| 389 button { | 389 button { |
| 390 -webkit-appearance: button; | 390 -webkit-appearance: button; |
| 391 } | 391 } |
| 392 | 392 |
| 393 /* Form controls don't go vertical. */ | 393 /* Form controls don't go vertical. */ |
| 394 input, textarea, keygen, select, button, meter, progress { | 394 input, textarea, select, button, meter, progress { |
| 395 -webkit-writing-mode: horizontal-tb !important; | 395 -webkit-writing-mode: horizontal-tb !important; |
| 396 } | 396 } |
| 397 | 397 |
| 398 input, textarea, keygen, select, button { | 398 input, textarea, select, button { |
| 399 margin: 0__qem; | 399 margin: 0__qem; |
| 400 font: -webkit-small-control; | 400 font: -webkit-small-control; |
| 401 text-rendering: auto; /* FIXME: Remove when tabs work with optimizeLegibilit
y. */ | 401 text-rendering: auto; /* FIXME: Remove when tabs work with optimizeLegibilit
y. */ |
| 402 color: initial; | 402 color: initial; |
| 403 letter-spacing: normal; | 403 letter-spacing: normal; |
| 404 word-spacing: normal; | 404 word-spacing: normal; |
| 405 line-height: normal; | 405 line-height: normal; |
| 406 text-transform: none; | 406 text-transform: none; |
| 407 text-indent: 0; | 407 text-indent: 0; |
| 408 text-shadow: none; | 408 text-shadow: none; |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 476 -webkit-user-modify: read-only !important; | 476 -webkit-user-modify: read-only !important; |
| 477 opacity: 0; | 477 opacity: 0; |
| 478 pointer-events: none; | 478 pointer-events: none; |
| 479 } | 479 } |
| 480 | 480 |
| 481 input:enabled:read-write:-webkit-any(:focus,:hover)::-webkit-inner-spin-button { | 481 input:enabled:read-write:-webkit-any(:focus,:hover)::-webkit-inner-spin-button { |
| 482 opacity: 1; | 482 opacity: 1; |
| 483 pointer-events: auto; | 483 pointer-events: auto; |
| 484 } | 484 } |
| 485 | 485 |
| 486 keygen, select { | 486 select { |
| 487 border-radius: 5px; | 487 border-radius: 5px; |
| 488 } | 488 } |
| 489 | 489 |
| 490 keygen::-webkit-keygen-select { | |
| 491 margin: 0px; | |
| 492 } | |
| 493 | |
| 494 textarea { | 490 textarea { |
| 495 -webkit-appearance: textarea; | 491 -webkit-appearance: textarea; |
| 496 background-color: white; | 492 background-color: white; |
| 497 border: 1px solid; | 493 border: 1px solid; |
| 498 -webkit-rtl-ordering: logical; | 494 -webkit-rtl-ordering: logical; |
| 499 -webkit-user-select: text; | 495 -webkit-user-select: text; |
| 500 flex-direction: column; | 496 flex-direction: column; |
| 501 resize: auto; | 497 resize: auto; |
| 502 cursor: auto; | 498 cursor: auto; |
| 503 padding: 2px; | 499 padding: 2px; |
| (...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 602 | 598 |
| 603 input[type="range" i]::-webkit-slider-thumb, input[type="range" i]::-webkit-medi
a-slider-thumb { | 599 input[type="range" i]::-webkit-slider-thumb, input[type="range" i]::-webkit-medi
a-slider-thumb { |
| 604 -webkit-appearance: sliderthumb-horizontal; | 600 -webkit-appearance: sliderthumb-horizontal; |
| 605 box-sizing: border-box; | 601 box-sizing: border-box; |
| 606 -webkit-user-modify: read-only !important; | 602 -webkit-user-modify: read-only !important; |
| 607 display: block; | 603 display: block; |
| 608 } | 604 } |
| 609 | 605 |
| 610 input[type="button" i]:disabled, input[type="submit" i]:disabled, input[type="re
set" i]:disabled, | 606 input[type="button" i]:disabled, input[type="submit" i]:disabled, input[type="re
set" i]:disabled, |
| 611 input[type="file" i]:disabled::-webkit-file-upload-button, button:disabled, | 607 input[type="file" i]:disabled::-webkit-file-upload-button, button:disabled, |
| 612 select:disabled, keygen:disabled, optgroup:disabled, option:disabled, | 608 select:disabled, optgroup:disabled, option:disabled, |
| 613 select[disabled]>option { | 609 select[disabled]>option { |
| 614 color: GrayText | 610 color: GrayText |
| 615 } | 611 } |
| 616 | 612 |
| 617 input[type="button" i]:active, input[type="submit" i]:active, input[type="reset"
i]:active, input[type="file" i]:active::-webkit-file-upload-button, button:acti
ve { | 613 input[type="button" i]:active, input[type="submit" i]:active, input[type="reset"
i]:active, input[type="file" i]:active::-webkit-file-upload-button, button:acti
ve { |
| 618 border-style: inset | 614 border-style: inset |
| 619 } | 615 } |
| 620 | 616 |
| 621 input[type="button" i]:active:disabled, input[type="submit" i]:active:disabled,
input[type="reset" i]:active:disabled, input[type="file" i]:active:disabled::-we
bkit-file-upload-button, button:active:disabled { | 617 input[type="button" i]:active:disabled, input[type="submit" i]:active:disabled,
input[type="reset" i]:active:disabled, input[type="file" i]:active:disabled::-we
bkit-file-upload-button, button:active:disabled { |
| 622 border-style: outset | 618 border-style: outset |
| (...skipping 347 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 970 | 966 |
| 971 /* Read-only text fields do not show a focus ring but do still receive focus */ | 967 /* Read-only text fields do not show a focus ring but do still receive focus */ |
| 972 html:focus, body:focus, input[readonly]:focus { | 968 html:focus, body:focus, input[readonly]:focus { |
| 973 outline: none | 969 outline: none |
| 974 } | 970 } |
| 975 | 971 |
| 976 embed:focus, iframe:focus, object:focus { | 972 embed:focus, iframe:focus, object:focus { |
| 977 outline: none | 973 outline: none |
| 978 } | 974 } |
| 979 | 975 |
| 980 input:focus, textarea:focus, keygen:focus, select:focus { | 976 input:focus, textarea:focus, select:focus { |
| 981 outline-offset: -2px | 977 outline-offset: -2px |
| 982 } | 978 } |
| 983 | 979 |
| 984 input[type="button" i]:focus, | 980 input[type="button" i]:focus, |
| 985 input[type="checkbox" i]:focus, | 981 input[type="checkbox" i]:focus, |
| 986 input[type="file" i]:focus, | 982 input[type="file" i]:focus, |
| 987 input[type="hidden" i]:focus, | 983 input[type="hidden" i]:focus, |
| 988 input[type="image" i]:focus, | 984 input[type="image" i]:focus, |
| 989 input[type="radio" i]:focus, | 985 input[type="radio" i]:focus, |
| 990 input[type="reset" i]:focus, | 986 input[type="reset" i]:focus, |
| (...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1112 padding: 0px; | 1108 padding: 0px; |
| 1113 border-width: 0px; | 1109 border-width: 0px; |
| 1114 } | 1110 } |
| 1115 | 1111 |
| 1116 /* Allows thead sections to print at the top of each page. */ | 1112 /* Allows thead sections to print at the top of each page. */ |
| 1117 @media print { | 1113 @media print { |
| 1118 thead { break-inside:avoid; } | 1114 thead { break-inside:avoid; } |
| 1119 } | 1115 } |
| 1120 | 1116 |
| 1121 /* noscript is handled internally, as it depends on settings. */ | 1117 /* noscript is handled internally, as it depends on settings. */ |
| OLD | NEW |