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 508 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
519 -webkit-rtl-ordering: logical; | 519 -webkit-rtl-ordering: logical; |
520 -webkit-user-select: text; | 520 -webkit-user-select: text; |
521 flex-direction: column; | 521 flex-direction: column; |
522 resize: auto; | 522 resize: auto; |
523 cursor: auto; | 523 cursor: auto; |
524 padding: 2px; | 524 padding: 2px; |
525 white-space: pre-wrap; | 525 white-space: pre-wrap; |
526 word-wrap: break-word; | 526 word-wrap: break-word; |
527 } | 527 } |
528 | 528 |
529 input::-webkit-scrollbar { | |
skobes
2015/09/30 22:31:14
Can we constrain this to [type="text"]?
ymalik
2015/10/01 22:25:31
Spoke to you on hangouts. We would have to constra
| |
530 display:none; | |
531 } | |
532 | |
529 ::-webkit-input-placeholder { | 533 ::-webkit-input-placeholder { |
530 -webkit-text-security: none; | 534 -webkit-text-security: none; |
531 color: darkGray; | 535 color: darkGray; |
532 pointer-events: none !important; | 536 pointer-events: none !important; |
533 } | 537 } |
534 | 538 |
535 input::-webkit-input-placeholder { | 539 input::-webkit-input-placeholder { |
536 white-space: pre; | 540 white-space: pre; |
537 word-wrap: normal; | 541 word-wrap: normal; |
538 overflow: hidden; | 542 overflow: hidden; |
(...skipping 425 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
964 vertical-align: super; | 968 vertical-align: super; |
965 font-size: smaller | 969 font-size: smaller |
966 } | 970 } |
967 | 971 |
968 nobr { | 972 nobr { |
969 white-space: nowrap | 973 white-space: nowrap |
970 } | 974 } |
971 | 975 |
972 /* states */ | 976 /* states */ |
973 | 977 |
974 :focus { | 978 :focus { |
975 outline: auto 5px -webkit-focus-ring-color | 979 outline: auto 5px -webkit-focus-ring-color |
976 } | 980 } |
977 | 981 |
978 /* Read-only text fields do not show a focus ring but do still receive focus */ | 982 /* Read-only text fields do not show a focus ring but do still receive focus */ |
979 html:focus, body:focus, input[readonly]:focus { | 983 html:focus, body:focus, input[readonly]:focus { |
980 outline: none | 984 outline: none |
981 } | 985 } |
982 | 986 |
983 embed:focus, iframe:focus, object:focus { | 987 embed:focus, iframe:focus, object:focus { |
984 outline: none | 988 outline: none |
985 } | 989 } |
986 | 990 |
987 input:focus, textarea:focus, keygen:focus, select:focus { | 991 input:focus, textarea:focus, keygen:focus, select:focus { |
988 outline-offset: -2px | 992 outline-offset: -2px |
989 } | 993 } |
990 | 994 |
991 input[type="button" i]:focus, | 995 input[type="button" i]:focus, |
992 input[type="checkbox" i]:focus, | 996 input[type="checkbox" i]:focus, |
993 input[type="file" i]:focus, | 997 input[type="file" i]:focus, |
994 input[type="hidden" i]:focus, | 998 input[type="hidden" i]:focus, |
995 input[type="image" i]:focus, | 999 input[type="image" i]:focus, |
996 input[type="radio" i]:focus, | 1000 input[type="radio" i]:focus, |
997 input[type="reset" i]:focus, | 1001 input[type="reset" i]:focus, |
998 input[type="search" i]:focus, | 1002 input[type="search" i]:focus, |
999 input[type="submit" i]:focus, | 1003 input[type="submit" i]:focus, |
1000 input[type="file" i]:focus::-webkit-file-upload-button { | 1004 input[type="file" i]:focus::-webkit-file-upload-button { |
1001 outline-offset: 0 | 1005 outline-offset: 0 |
1002 } | 1006 } |
1003 | 1007 |
1004 a:-webkit-any-link { | 1008 a:-webkit-any-link { |
1005 color: -webkit-link; | 1009 color: -webkit-link; |
1006 text-decoration: underline; | 1010 text-decoration: underline; |
1007 cursor: auto; | 1011 cursor: auto; |
1008 } | 1012 } |
1009 | 1013 |
1010 a:-webkit-any-link:active { | 1014 a:-webkit-any-link:active { |
1011 color: -webkit-activelink | 1015 color: -webkit-activelink |
1012 } | 1016 } |
1013 | 1017 |
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1118 } | 1122 } |
1119 | 1123 |
1120 /* Disable multicol in printing, since it's not implemented properly. See crbug. com/99358 */ | 1124 /* Disable multicol in printing, since it's not implemented properly. See crbug. com/99358 */ |
1121 | 1125 |
1122 @media print { | 1126 @media print { |
1123 * { -webkit-columns: auto !important; } | 1127 * { -webkit-columns: auto !important; } |
1124 } | 1128 } |
1125 | 1129 |
1126 /* noscript is handled internally, as it depends on settings. */ | 1130 /* noscript is handled internally, as it depends on settings. */ |
1127 | 1131 |
OLD | NEW |