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 951 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
962 vertical-align: super; | 962 vertical-align: super; |
963 font-size: smaller | 963 font-size: smaller |
964 } | 964 } |
965 | 965 |
966 nobr { | 966 nobr { |
967 white-space: nowrap | 967 white-space: nowrap |
968 } | 968 } |
969 | 969 |
970 /* states */ | 970 /* states */ |
971 | 971 |
972 :focus { | 972 :focus { |
973 outline: auto 5px -webkit-focus-ring-color | 973 outline: auto 5px -webkit-focus-ring-color |
974 } | 974 } |
975 | 975 |
976 /* Read-only text fields do not show a focus ring but do still receive focus */ | 976 /* Read-only text fields do not show a focus ring but do still receive focus */ |
977 html:focus, body:focus, input[readonly]:focus { | 977 html:focus, body:focus, input[readonly]:focus { |
978 outline: none | 978 outline: none |
979 } | 979 } |
980 | 980 |
981 applet:focus, embed:focus, iframe:focus, object:focus { | 981 applet:focus, embed:focus, iframe:focus, object:focus { |
982 outline: none | 982 outline: none |
983 } | 983 } |
984 | 984 |
985 input:focus, textarea:focus, keygen:focus, select:focus { | 985 input:focus, textarea:focus, keygen:focus, select:focus { |
986 outline-offset: -2px | 986 outline-offset: -2px |
987 } | 987 } |
988 | 988 |
989 input[type="button" i]:focus, | 989 input[type="button" i]:focus, |
990 input[type="checkbox" i]:focus, | 990 input[type="checkbox" i]:focus, |
991 input[type="file" i]:focus, | 991 input[type="file" i]:focus, |
992 input[type="hidden" i]:focus, | 992 input[type="hidden" i]:focus, |
993 input[type="image" i]:focus, | 993 input[type="image" i]:focus, |
994 input[type="radio" i]:focus, | 994 input[type="radio" i]:focus, |
995 input[type="reset" i]:focus, | 995 input[type="reset" i]:focus, |
996 input[type="search" i]:focus, | 996 input[type="search" i]:focus, |
997 input[type="submit" i]:focus, | 997 input[type="submit" i]:focus, |
998 input[type="file" i]:focus::-webkit-file-upload-button { | 998 input[type="file" i]:focus::-webkit-file-upload-button { |
999 outline-offset: 0 | 999 outline-offset: 0 |
1000 } | 1000 } |
1001 | 1001 |
1002 a:-webkit-any-link { | 1002 a:-webkit-any-link { |
1003 color: -webkit-link; | 1003 color: -webkit-link; |
1004 text-decoration: underline; | 1004 text-decoration: underline; |
1005 cursor: auto; | 1005 cursor: auto; |
1006 } | 1006 } |
1007 | 1007 |
1008 a:-webkit-any-link:active { | 1008 a:-webkit-any-link:active { |
1009 color: -webkit-activelink | 1009 color: -webkit-activelink |
1010 } | 1010 } |
1011 | 1011 |
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1110 @page { | 1110 @page { |
1111 /* FIXME: Define the right default values for page properties. */ | 1111 /* FIXME: Define the right default values for page properties. */ |
1112 size: auto; | 1112 size: auto; |
1113 margin: auto; | 1113 margin: auto; |
1114 padding: 0px; | 1114 padding: 0px; |
1115 border-width: 0px; | 1115 border-width: 0px; |
1116 } | 1116 } |
1117 | 1117 |
1118 /* noscript is handled internally, as it depends on settings. */ | 1118 /* noscript is handled internally, as it depends on settings. */ |
1119 | 1119 |
OLD | NEW |