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

Unified 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: fixed comments Created 4 years, 1 month 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/devtools/front_end/ui/inspectorSyntaxHighlight.css
diff --git a/third_party/WebKit/Source/devtools/front_end/ui/inspectorSyntaxHighlight.css b/third_party/WebKit/Source/devtools/front_end/ui/inspectorSyntaxHighlight.css
index eba87a31e0cac966da60a2f94f5088fb6ba43887..004675a58bbc9e8d978061ad25986102f3d68085 100644
--- a/third_party/WebKit/Source/devtools/front_end/ui/inspectorSyntaxHighlight.css
+++ b/third_party/WebKit/Source/devtools/front_end/ui/inspectorSyntaxHighlight.css
@@ -103,19 +103,17 @@
unicode-bidi: -webkit-isolate;
}
-.webkit-html-external-link,
-.webkit-html-resource-link {
- /* Keep this in sync with view-source.css (.webkit-html-external-link, .webkit-html-resource-link) */
+.devtools-link {
color: rgb(17, 85, 204);
- /* Required for consistency with view-source.css, since anchors may not have href attributes */
text-decoration: underline;
+}
+
+.devtools-link:not(.devtools-link-prevent-click) {
cursor: pointer;
}
-.-theme-with-dark-background .webkit-html-external-link,
-.-theme-with-dark-background .webkit-html-resource-link,
-:host-context(.-theme-with-dark-background) .webkit-html-external-link,
-:host-context(.-theme-with-dark-background) .webkit-html-resource-link {
+.-theme-with-dark-background .devtools-link,
+:host-context(.-theme-with-dark-background) .devtools-link {
color: hsl(0, 0%, 67%);
}

Powered by Google App Engine
This is Rietveld 408576698