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

Unified Diff: chrome/browser/resources/extensions/extensions.css

Issue 668983004: Add <a is="action-link">, a web component extension of <a> for in-page actions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge Created 6 years, 2 months 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: chrome/browser/resources/extensions/extensions.css
diff --git a/chrome/browser/resources/extensions/extensions.css b/chrome/browser/resources/extensions/extensions.css
index f1ca739e02f661ce5e907eee4d3ee3e0777d90d9..81d1d2137c131ebbdd4e07166f5ffe3aa58faec3 100644
--- a/chrome/browser/resources/extensions/extensions.css
+++ b/chrome/browser/resources/extensions/extensions.css
@@ -230,7 +230,7 @@ html[dir='rtl'] .extension-list-item {
margin-bottom: 0.5em;
}
-.action-links :-webkit-any(a, .link-button) {
+.action-links a {
-webkit-margin-end: 1em;
-webkit-margin-start: 0;
}
@@ -256,10 +256,10 @@ html[dir='rtl'] .extension-list-item {
position: relative;
}
-/* We use x.link-button here so that we get higher specifity than the
- * link-button rules without resorting to the Dark Side (!IMPORTANT). */
-.terminated-reload-link.link-button,
-.corrupted-repair-button.link-button {
+/* We use x[is='action-link'] here so that we get higher specifity than the
+ * action link rules without resorting to the Dark Side (!IMPORTANT). */
+.terminated-reload-link[is='action-link'],
+.corrupted-repair-button[is='action-link'] {
/* Matches width of trash. */
-webkit-margin-end: 30px;
}
« no previous file with comments | « chrome/browser/resources/extensions/extension_error.html ('k') | chrome/browser/resources/extensions/extensions.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698