Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(22)

Side by Side Diff: third_party/WebKit/Source/devtools/front_end/ui/inspectorSyntaxHighlight.css

Issue 2527763003: [DevTools] Turn links into spans to prevent default behavior. (Closed)
Patch Set: Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 color: rgb(153, 69, 0); 96 color: rgb(153, 69, 0);
97 unicode-bidi: -webkit-isolate; 97 unicode-bidi: -webkit-isolate;
98 } 98 }
99 99
100 .webkit-html-attribute-value { 100 .webkit-html-attribute-value {
101 /* Keep this in sync with view-source.css (.webkit-html-attribute-value) */ 101 /* Keep this in sync with view-source.css (.webkit-html-attribute-value) */
102 color: rgb(26, 26, 166); 102 color: rgb(26, 26, 166);
103 unicode-bidi: -webkit-isolate; 103 unicode-bidi: -webkit-isolate;
104 } 104 }
105 105
106 .webkit-html-external-link, 106 .devtools-link {
107 .webkit-html-resource-link {
108 /* Keep this in sync with view-source.css (.webkit-html-external-link, .webk it-html-resource-link) */
109 color: rgb(17, 85, 204); 107 color: rgb(17, 85, 204);
110 /* Required for consistency with view-source.css, since anchors may not have href attributes */ 108 /* Required for consistency with view-source.css, since anchors may not have href attributes */
lushnikov 2016/11/24 00:14:40 let's drop this comment as well?
dgozman 2016/11/24 00:58:29 Done.
111 text-decoration: underline; 109 text-decoration: underline;
110 }
111
112 .devtools-link:not(.devtools-link-prevent-clink) {
112 cursor: pointer; 113 cursor: pointer;
113 } 114 }
114 115
115 .-theme-with-dark-background .webkit-html-external-link, 116 .-theme-with-dark-background .devtools-link,
116 .-theme-with-dark-background .webkit-html-resource-link, 117 :host-context(.-theme-with-dark-background) .devtools-link {
117 :host-context(.-theme-with-dark-background) .webkit-html-external-link,
118 :host-context(.-theme-with-dark-background) .webkit-html-resource-link {
119 color: hsl(0, 0%, 67%); 118 color: hsl(0, 0%, 67%);
120 } 119 }
121 120
122 .webkit-html-end-of-file { 121 .webkit-html-end-of-file {
123 /* Keep this in sync with view-source.css (.webkit-html-end-of-file) */ 122 /* Keep this in sync with view-source.css (.webkit-html-end-of-file) */
124 color: rgb(255, 0, 0); 123 color: rgb(255, 0, 0);
125 font-weight: bold; 124 font-weight: bold;
126 } 125 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698