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

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: Remove hover rules and add comments. 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..b1fe3a37c7e9f97eaff9de1ed70ea9a6ad788cb2 100644
--- a/chrome/browser/resources/file_manager/css/file_manager.css
+++ b/chrome/browser/resources/file_manager/css/file_manager.css
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2011 The Chromium Authors. All rights reserved.
+ * Copyright (c) 2012 The Chromium Authors. All rights reserved.
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
@@ -330,10 +330,32 @@ div.open-sidebar:hover {
font-size: 12px;
}
-button.detail-view > img,
-button.thumbnail-view > img {
- position: relative;
- top: 1px;
+.dialog-header > div > button {
+ -webkit-border-radius: 0;
+ border: none;
+ height: 28px;
+ min-width: 0;
+ padding: 0;
+ width: 28px;
+}
+
+/* button:hover and button[disabled]:hover rules must be override by placing
+ * the following four rules after them.
+ */
+button.detail-view {
+ background-image: url('../images/icon_list_view_off.png');
+}
+
+button.thumbnail-view {
+ background-image: url('../images/icon_thumb_view_off.png');
+}
+
+button.detail-view[disabled] {
+ background-image: url('../images/icon_list_view_on.png');
+}
+
+button.thumbnail-view[disabled] {
+ background-image: url('../images/icon_thumb_view_on.png');
}
.filelist-panel {

Powered by Google App Engine
This is Rietveld 408576698