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 939 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
950 vertical-align: super; | 950 vertical-align: super; |
951 font-size: smaller | 951 font-size: smaller |
952 } | 952 } |
953 | 953 |
954 nobr { | 954 nobr { |
955 white-space: nowrap | 955 white-space: nowrap |
956 } | 956 } |
957 | 957 |
958 /* states */ | 958 /* states */ |
959 | 959 |
960 :focus { | 960 :focus { |
961 outline: auto 5px -webkit-focus-ring-color | 961 outline: auto 5px -webkit-focus-ring-color |
962 } | 962 } |
963 | 963 |
964 /* Read-only text fields do not show a focus ring but do still receive focus */ | 964 /* Read-only text fields do not show a focus ring but do still receive focus */ |
965 html:focus, body:focus, input[readonly]:focus { | 965 html:focus, body:focus, input[readonly]:focus { |
966 outline: none | 966 outline: none |
967 } | 967 } |
968 | 968 |
969 applet:focus, embed:focus, iframe:focus, object:focus { | 969 applet:focus, embed:focus, iframe:focus, object:focus { |
970 outline: none | 970 outline: none |
971 } | 971 } |
972 | 972 |
973 input:focus, textarea:focus, keygen:focus, select:focus { | 973 input:focus, textarea:focus, keygen:focus, select:focus { |
974 outline-offset: -2px | 974 outline-offset: -2px |
975 } | 975 } |
976 | 976 |
977 input[type="button" i]:focus, | 977 input[type="button" i]:focus, |
978 input[type="checkbox" i]:focus, | 978 input[type="checkbox" i]:focus, |
979 input[type="file" i]:focus, | 979 input[type="file" i]:focus, |
980 input[type="hidden" i]:focus, | 980 input[type="hidden" i]:focus, |
981 input[type="image" i]:focus, | 981 input[type="image" i]:focus, |
982 input[type="radio" i]:focus, | 982 input[type="radio" i]:focus, |
983 input[type="reset" i]:focus, | 983 input[type="reset" i]:focus, |
984 input[type="search" i]:focus, | 984 input[type="search" i]:focus, |
985 input[type="submit" i]:focus, | 985 input[type="submit" i]:focus, |
986 input[type="file" i]:focus::-webkit-file-upload-button { | 986 input[type="file" i]:focus::-webkit-file-upload-button { |
987 outline-offset: 0 | 987 outline-offset: 0 |
988 } | 988 } |
989 | 989 |
990 a:-webkit-any-link { | 990 a:-webkit-any-link { |
991 color: -webkit-link; | 991 color: -webkit-link; |
992 text-decoration: underline; | 992 text-decoration: underline; |
993 cursor: auto; | 993 cursor: auto; |
994 } | 994 } |
995 | 995 |
996 a:-webkit-any-link:active { | 996 a:-webkit-any-link:active { |
997 color: -webkit-activelink | 997 color: -webkit-activelink |
998 } | 998 } |
999 | 999 |
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1098 @page { | 1098 @page { |
1099 /* FIXME: Define the right default values for page properties. */ | 1099 /* FIXME: Define the right default values for page properties. */ |
1100 size: auto; | 1100 size: auto; |
1101 margin: auto; | 1101 margin: auto; |
1102 padding: 0px; | 1102 padding: 0px; |
1103 border-width: 0px; | 1103 border-width: 0px; |
1104 } | 1104 } |
1105 | 1105 |
1106 /* noscript is handled internally, as it depends on settings. */ | 1106 /* noscript is handled internally, as it depends on settings. */ |
1107 | 1107 |
OLD | NEW |