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 374 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
385 -webkit-padding-after: 0.625em; | 385 -webkit-padding-after: 0.625em; |
386 border: 2px groove ThreeDFace; | 386 border: 2px groove ThreeDFace; |
387 min-width: -webkit-min-content; | 387 min-width: -webkit-min-content; |
388 } | 388 } |
389 | 389 |
390 button { | 390 button { |
391 -webkit-appearance: button; | 391 -webkit-appearance: button; |
392 } | 392 } |
393 | 393 |
394 /* Form controls don't go vertical. */ | 394 /* Form controls don't go vertical. */ |
395 input, textarea, keygen, select, button, meter, progress { | 395 input, textarea, select, button, meter, progress { |
396 -webkit-writing-mode: horizontal-tb !important; | 396 -webkit-writing-mode: horizontal-tb !important; |
397 } | 397 } |
398 | 398 |
399 input, textarea, keygen, select, button { | 399 input, textarea, select, button { |
400 margin: 0__qem; | 400 margin: 0__qem; |
401 font: -webkit-small-control; | 401 font: -webkit-small-control; |
402 text-rendering: auto; /* FIXME: Remove when tabs work with optimizeLegibilit
y. */ | 402 text-rendering: auto; /* FIXME: Remove when tabs work with optimizeLegibilit
y. */ |
403 color: initial; | 403 color: initial; |
404 letter-spacing: normal; | 404 letter-spacing: normal; |
405 word-spacing: normal; | 405 word-spacing: normal; |
406 line-height: normal; | 406 line-height: normal; |
407 text-transform: none; | 407 text-transform: none; |
408 text-indent: 0; | 408 text-indent: 0; |
409 text-shadow: none; | 409 text-shadow: none; |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
477 -webkit-user-modify: read-only !important; | 477 -webkit-user-modify: read-only !important; |
478 opacity: 0; | 478 opacity: 0; |
479 pointer-events: none; | 479 pointer-events: none; |
480 } | 480 } |
481 | 481 |
482 input:enabled:read-write:-webkit-any(:focus,:hover)::-webkit-inner-spin-button { | 482 input:enabled:read-write:-webkit-any(:focus,:hover)::-webkit-inner-spin-button { |
483 opacity: 1; | 483 opacity: 1; |
484 pointer-events: auto; | 484 pointer-events: auto; |
485 } | 485 } |
486 | 486 |
487 keygen, select { | 487 select { |
488 border-radius: 5px; | 488 border-radius: 5px; |
489 } | 489 } |
490 | 490 |
491 keygen::-webkit-keygen-select { | |
492 margin: 0px; | |
493 } | |
494 | |
495 textarea { | 491 textarea { |
496 -webkit-appearance: textarea; | 492 -webkit-appearance: textarea; |
497 background-color: white; | 493 background-color: white; |
498 border: 1px solid; | 494 border: 1px solid; |
499 -webkit-rtl-ordering: logical; | 495 -webkit-rtl-ordering: logical; |
500 -webkit-user-select: text; | 496 -webkit-user-select: text; |
501 flex-direction: column; | 497 flex-direction: column; |
502 resize: auto; | 498 resize: auto; |
503 cursor: auto; | 499 cursor: auto; |
504 padding: 2px; | 500 padding: 2px; |
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
603 | 599 |
604 input[type="range" i]::-webkit-slider-thumb, input[type="range" i]::-webkit-medi
a-slider-thumb { | 600 input[type="range" i]::-webkit-slider-thumb, input[type="range" i]::-webkit-medi
a-slider-thumb { |
605 -webkit-appearance: sliderthumb-horizontal; | 601 -webkit-appearance: sliderthumb-horizontal; |
606 box-sizing: border-box; | 602 box-sizing: border-box; |
607 -webkit-user-modify: read-only !important; | 603 -webkit-user-modify: read-only !important; |
608 display: block; | 604 display: block; |
609 } | 605 } |
610 | 606 |
611 input[type="button" i]:disabled, input[type="submit" i]:disabled, input[type="re
set" i]:disabled, | 607 input[type="button" i]:disabled, input[type="submit" i]:disabled, input[type="re
set" i]:disabled, |
612 input[type="file" i]:disabled::-webkit-file-upload-button, button:disabled, | 608 input[type="file" i]:disabled::-webkit-file-upload-button, button:disabled, |
613 select:disabled, keygen:disabled, optgroup:disabled, option:disabled, | 609 select:disabled, optgroup:disabled, option:disabled, |
614 select[disabled]>option { | 610 select[disabled]>option { |
615 color: GrayText | 611 color: GrayText |
616 } | 612 } |
617 | 613 |
618 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 { | 614 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 { |
619 border-style: inset | 615 border-style: inset |
620 } | 616 } |
621 | 617 |
622 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 { | 618 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 { |
623 border-style: outset | 619 border-style: outset |
(...skipping 347 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
971 | 967 |
972 /* Read-only text fields do not show a focus ring but do still receive focus */ | 968 /* Read-only text fields do not show a focus ring but do still receive focus */ |
973 html:focus, body:focus, input[readonly]:focus { | 969 html:focus, body:focus, input[readonly]:focus { |
974 outline: none | 970 outline: none |
975 } | 971 } |
976 | 972 |
977 embed:focus, iframe:focus, object:focus { | 973 embed:focus, iframe:focus, object:focus { |
978 outline: none | 974 outline: none |
979 } | 975 } |
980 | 976 |
981 input:focus, textarea:focus, keygen:focus, select:focus { | 977 input:focus, textarea:focus, select:focus { |
982 outline-offset: -2px | 978 outline-offset: -2px |
983 } | 979 } |
984 | 980 |
985 input[type="button" i]:focus, | 981 input[type="button" i]:focus, |
986 input[type="checkbox" i]:focus, | 982 input[type="checkbox" i]:focus, |
987 input[type="file" i]:focus, | 983 input[type="file" i]:focus, |
988 input[type="hidden" i]:focus, | 984 input[type="hidden" i]:focus, |
989 input[type="image" i]:focus, | 985 input[type="image" i]:focus, |
990 input[type="radio" i]:focus, | 986 input[type="radio" i]:focus, |
991 input[type="reset" i]:focus, | 987 input[type="reset" i]:focus, |
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1113 padding: 0px; | 1109 padding: 0px; |
1114 border-width: 0px; | 1110 border-width: 0px; |
1115 } | 1111 } |
1116 | 1112 |
1117 /* Allows thead sections to print at the top of each page. */ | 1113 /* Allows thead sections to print at the top of each page. */ |
1118 @media print { | 1114 @media print { |
1119 thead { break-inside:avoid; } | 1115 thead { break-inside:avoid; } |
1120 } | 1116 } |
1121 | 1117 |
1122 /* noscript is handled internally, as it depends on settings. */ | 1118 /* noscript is handled internally, as it depends on settings. */ |
OLD | NEW |