OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2009 Apple Inc. All rights reserved. | 2 * Copyright (C) 2009 Apple Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * | 7 * |
8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
101 color: rgb(26, 26, 166); | 101 color: rgb(26, 26, 166); |
102 unicode-bidi: -webkit-isolate; | 102 unicode-bidi: -webkit-isolate; |
103 } | 103 } |
104 | 104 |
105 .webkit-html-external-link, | 105 .webkit-html-external-link, |
106 .webkit-html-resource-link { | 106 .webkit-html-resource-link { |
107 /* Keep this in sync with view-source.css (.webkit-html-external-link, .webk
it-html-resource-link) */ | 107 /* Keep this in sync with view-source.css (.webkit-html-external-link, .webk
it-html-resource-link) */ |
108 color: #00e; | 108 color: #00e; |
109 } | 109 } |
110 | 110 |
| 111 .-theme-with-dark-background .webkit-html-external-link, |
| 112 .-theme-with-dark-background .webkit-html-resource-link, |
| 113 :host-context(.-theme-with-dark-background) .webkit-html-external-link, |
| 114 :host-context(.-theme-with-dark-background) .webkit-html-resource-link { |
| 115 color: hsl(0, 0%, 67%); |
| 116 } |
| 117 |
111 .webkit-html-resource-link { | 118 .webkit-html-resource-link { |
112 /* Required for consistency with view-source.css, since anchors may not have
href attributes */ | 119 /* Required for consistency with view-source.css, since anchors may not have
href attributes */ |
113 text-decoration: underline; | 120 text-decoration: underline; |
114 cursor: pointer; | 121 cursor: pointer; |
115 } | 122 } |
116 | 123 |
117 .webkit-html-external-link { | 124 .webkit-html-external-link { |
118 /* Keep this in sync with view-source.css (.webkit-html-external-link) */ | 125 /* Keep this in sync with view-source.css (.webkit-html-external-link) */ |
119 text-decoration: none; | 126 text-decoration: none; |
120 } | 127 } |
121 | 128 |
122 .webkit-html-external-link:hover { | 129 .webkit-html-external-link:hover { |
123 /* Keep this in sync with view-source.css (.webkit-html-external-link:hover)
*/ | 130 /* Keep this in sync with view-source.css (.webkit-html-external-link:hover)
*/ |
124 text-decoration: underline; | 131 text-decoration: underline; |
125 } | 132 } |
126 | 133 |
127 .webkit-html-end-of-file { | 134 .webkit-html-end-of-file { |
128 /* Keep this in sync with view-source.css (.webkit-html-end-of-file) */ | 135 /* Keep this in sync with view-source.css (.webkit-html-end-of-file) */ |
129 color: rgb(255, 0, 0); | 136 color: rgb(255, 0, 0); |
130 font-weight: bold; | 137 font-weight: bold; |
131 } | 138 } |
OLD | NEW |