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

Unified Diff: chrome/browser/resources/engagement/engagement_table.css

Issue 1407363010: Make table in chrome:site-engagement sortable. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: go back to normal functions to please the almighty PRESUBMIT Created 5 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
« no previous file with comments | « no previous file | chrome/browser/resources/engagement/engagement_table.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/engagement/engagement_table.css
diff --git a/chrome/browser/resources/engagement/engagement_table.css b/chrome/browser/resources/engagement/engagement_table.css
index 55318c35756a125e626b57a676623634837f0a42..cb6a00889fc0ed7f04d79901caf5e70593fd9d94 100644
--- a/chrome/browser/resources/engagement/engagement_table.css
+++ b/chrome/browser/resources/engagement/engagement_table.css
@@ -13,8 +13,24 @@ table th {
table th {
background: rgb(224, 236, 255);
+ cursor: pointer;
+ padding-bottom: 4px;
+ padding-top: 4px;
+ white-space: nowrap;
}
.origin-cell {
min-width: 500px;
}
+
+table tr:hover {
+ background: rgb(255, 255, 187);
+}
+
+.sort-column::after {
+ content: '▲';
+}
+
+:host([sort-reverse]) .sort-column::after {
+ content: '▼';
+}
« no previous file with comments | « no previous file | chrome/browser/resources/engagement/engagement_table.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698