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

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

Issue 9114040: Update thumbnail/list view buttons. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: "Add asset files." Created 8 years, 11 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/file_manager/css/file_manager.css
diff --git a/chrome/browser/resources/file_manager/css/file_manager.css b/chrome/browser/resources/file_manager/css/file_manager.css
index 2e5074dab3e4a7f05da41bcb7e79289b3888cea5..8ef619e25fd6e29d742452868aa51fca1a8be328 100644
--- a/chrome/browser/resources/file_manager/css/file_manager.css
+++ b/chrome/browser/resources/file_manager/css/file_manager.css
@@ -330,10 +330,35 @@ div.open-sidebar:hover {
font-size: 12px;
}
-button.detail-view > img,
-button.thumbnail-view > img {
- position: relative;
- top: 1px;
+button.detail-view,
+button.thumbnail-view {
flackr 2012/01/10 22:02:55 If you can remove the outer div, change this to .d
bshe 2012/01/11 01:16:21 outer div is a hack for extra margin between butto
+ -webkit-border-radius: 0;
+ border: none;
+ height: 28px;
+ margin: 0;
+ min-width: 0;
flackr 2012/01/10 22:02:55 Did you mean to specify this as well as width belo
bshe 2012/01/11 01:16:21 Yes. I need it to override this: button, input[typ
+ padding: 0;
+ width: 28px;
+}
+
+button.detail-view,
+button.detail-view:hover {
flackr 2012/01/10 22:02:55 Seems like you shouldn't need a selector for the h
bshe 2012/01/11 01:16:21 The hover states aren't necessary only when these
flackr 2012/01/11 16:25:45 I suggest a comment to the effect that you must ov
+ background-image: url('../images/icon_list_view_off.png');
+}
+
+button.thumbnail-view,
+button.thumbnail-view:hover {
+ background-image: url('../images/icon_thumb_view_off.png');
+}
+
+button.detail-view[disabled],
+button.detail-view[disabled]:hover {
+ background-image: url('../images/icon_list_view_on.png');
+}
+
+button.thumbnail-view[disabled],
+button.thumbnail-view[disabled]:hover {
+ background-image: url('../images/icon_thumb_view_on.png');
}
.filelist-panel {

Powered by Google App Engine
This is Rietveld 408576698