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:not([type])::-webkit-scrollbar, |
| 530 input[type="email"]::-webkit-scrollbar, |
| 531 input[type="number"]::-webkit-scrollbar, |
| 532 input[type="password"]::-webkit-scrollbar, |
| 533 input[type="search"]::-webkit-scrollbar, |
| 534 input[type="telephone"]::-webkit-scrollbar, |
| 535 input[type="text"]::-webkit-scrollbar, |
| 536 input[type="url"]::-webkit-scrollbar { |
| 537 display:none; |
| 538 } |
| 539 |
529 ::-webkit-input-placeholder { | 540 ::-webkit-input-placeholder { |
530 -webkit-text-security: none; | 541 -webkit-text-security: none; |
531 color: darkGray; | 542 color: darkGray; |
532 pointer-events: none !important; | 543 pointer-events: none !important; |
533 } | 544 } |
534 | 545 |
535 input::-webkit-input-placeholder { | 546 input::-webkit-input-placeholder { |
536 white-space: pre; | 547 white-space: pre; |
537 word-wrap: normal; | 548 word-wrap: normal; |
538 overflow: hidden; | 549 overflow: hidden; |
(...skipping 425 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
964 vertical-align: super; | 975 vertical-align: super; |
965 font-size: smaller | 976 font-size: smaller |
966 } | 977 } |
967 | 978 |
968 nobr { | 979 nobr { |
969 white-space: nowrap | 980 white-space: nowrap |
970 } | 981 } |
971 | 982 |
972 /* states */ | 983 /* states */ |
973 | 984 |
974 :focus { | 985 :focus { |
975 outline: auto 5px -webkit-focus-ring-color | 986 outline: auto 5px -webkit-focus-ring-color |
976 } | 987 } |
977 | 988 |
978 /* Read-only text fields do not show a focus ring but do still receive focus */ | 989 /* Read-only text fields do not show a focus ring but do still receive focus */ |
979 html:focus, body:focus, input[readonly]:focus { | 990 html:focus, body:focus, input[readonly]:focus { |
980 outline: none | 991 outline: none |
981 } | 992 } |
982 | 993 |
983 embed:focus, iframe:focus, object:focus { | 994 embed:focus, iframe:focus, object:focus { |
984 outline: none | 995 outline: none |
985 } | 996 } |
986 | 997 |
987 input:focus, textarea:focus, keygen:focus, select:focus { | 998 input:focus, textarea:focus, keygen:focus, select:focus { |
988 outline-offset: -2px | 999 outline-offset: -2px |
989 } | 1000 } |
990 | 1001 |
991 input[type="button" i]:focus, | 1002 input[type="button" i]:focus, |
992 input[type="checkbox" i]:focus, | 1003 input[type="checkbox" i]:focus, |
993 input[type="file" i]:focus, | 1004 input[type="file" i]:focus, |
994 input[type="hidden" i]:focus, | 1005 input[type="hidden" i]:focus, |
995 input[type="image" i]:focus, | 1006 input[type="image" i]:focus, |
996 input[type="radio" i]:focus, | 1007 input[type="radio" i]:focus, |
997 input[type="reset" i]:focus, | 1008 input[type="reset" i]:focus, |
998 input[type="search" i]:focus, | 1009 input[type="search" i]:focus, |
999 input[type="submit" i]:focus, | 1010 input[type="submit" i]:focus, |
1000 input[type="file" i]:focus::-webkit-file-upload-button { | 1011 input[type="file" i]:focus::-webkit-file-upload-button { |
1001 outline-offset: 0 | 1012 outline-offset: 0 |
1002 } | 1013 } |
1003 | 1014 |
1004 a:-webkit-any-link { | 1015 a:-webkit-any-link { |
1005 color: -webkit-link; | 1016 color: -webkit-link; |
1006 text-decoration: underline; | 1017 text-decoration: underline; |
1007 cursor: auto; | 1018 cursor: auto; |
1008 } | 1019 } |
1009 | 1020 |
1010 a:-webkit-any-link:active { | 1021 a:-webkit-any-link:active { |
1011 color: -webkit-activelink | 1022 color: -webkit-activelink |
1012 } | 1023 } |
1013 | 1024 |
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1118 } | 1129 } |
1119 | 1130 |
1120 /* Disable multicol in printing, since it's not implemented properly. See crbug.
com/99358 */ | 1131 /* Disable multicol in printing, since it's not implemented properly. See crbug.
com/99358 */ |
1121 | 1132 |
1122 @media print { | 1133 @media print { |
1123 * { -webkit-columns: auto !important; } | 1134 * { -webkit-columns: auto !important; } |
1124 } | 1135 } |
1125 | 1136 |
1126 /* noscript is handled internally, as it depends on settings. */ | 1137 /* noscript is handled internally, as it depends on settings. */ |
1127 | 1138 |
OLD | NEW |