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

Unified Diff: chrome/browser/resources/md_bookmarks/item.html

Issue 2846673003: MD Bookmarks: Simplify and improve consistency of CSS (Closed)
Patch Set: Restore icon ID. We need it in tests Created 3 years, 8 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/md_bookmarks/item.html
diff --git a/chrome/browser/resources/md_bookmarks/item.html b/chrome/browser/resources/md_bookmarks/item.html
index 1dba8c73d033d79bd7f484f2905941c90ade1234..a60cfd9d99234f7c124c086100d4e0862d20aae5 100644
--- a/chrome/browser/resources/md_bookmarks/item.html
+++ b/chrome/browser/resources/md_bookmarks/item.html
@@ -22,7 +22,7 @@
}
:host([is-selected-item_]) {
- background-color: rgb(225, 235, 253);
+ background-color: var(--highlight-color);
}
#website-title {
@@ -34,31 +34,27 @@
white-space: nowrap;
}
- #icon {
- background-repeat: no-repeat;
- height: 16px;
- margin: 2px;
- }
-
#icon-wrapper {
-webkit-margin-end: 20px;
+ color: var(--secondary-text-color);
+ display: flex;
height: 20px;
width: 20px;
}
- .more-vert-button {
- -webkit-margin-end: 12px;
+ #icon {
+ background-repeat: no-repeat;
+ height: 16px;
+ margin: 2px;
+ width: 16px;
}
- iron-icon {
- --iron-icon-height: 20px;
- --iron-icon-width: 20px;
- color: var(--secondary-text-color);
+ button.more-vert-button {
+ -webkit-margin-end: 12px;
}
- </style>
+ </style>
<div id="icon-wrapper">
- <iron-icon id="folder-icon" icon="cr:folder"
- hidden$="[[!isFolder_]]">
+ <iron-icon id="folder-icon" icon="cr:folder" hidden$="[[!isFolder_]]">
</iron-icon>
<div id="icon" hidden$="[[isFolder_]]"></div>
</div>
« no previous file with comments | « chrome/browser/resources/md_bookmarks/folder_node.html ('k') | chrome/browser/resources/md_bookmarks/shared_style.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698