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

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

Issue 10907238: [FileBrowser] Fixed default hover state. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed copy-paste issue. Created 8 years, 3 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
« no previous file with comments | « chrome/browser/resources/file_manager/css/common.css ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 79036da13ca385d05f65292e2f0c55882695c624..3663db3ef14d846e67f7804e9dd1115246c711e8 100644
--- a/chrome/browser/resources/file_manager/css/file_manager.css
+++ b/chrome/browser/resources/file_manager/css/file_manager.css
@@ -518,23 +518,42 @@ div.root-eject:hover {
url('../images/files/ui/2x/search_clear_pressed.png') 2x);
}
-button#detail-view {
+button#detail-view:before {
background-image: -webkit-image-set(
url('../images/files/ui/view_list_black.png') 1x,
url('../images/files/ui/2x/view_list_black.png') 2x);
- background-position: center;
- background-repeat: no-repeat;
}
-
-button#thumbnail-view {
+button#thumbnail-view:before {
background-image: -webkit-image-set(
url('../images/files/ui/view_thumbs_black.png') 1x,
url('../images/files/ui/2x/view_thumbs_black.png') 2x);
+}
+
+button#detail-view:before,
+button#thumbnail-view:before {
background-position: center;
background-repeat: no-repeat;
+ bottom: 0;
+ content: '';
+ left: 0;
+ opacity: 0.5;
+ position: absolute;
+ right: 0;
+ top: 0;
+}
+
+button#detail-view[disabled]:before,
+button#thumbnail-view[disabled]:before {
+ opacity: 0.75;
+}
+
+button#detail-view:hover:before,
+button#thumbnail-view:hover:before {
+ opacity: 1;
}
+
/* When detail-view is not disabled (thus thumbnail view is disabled), push
it up a little, to make it's right glowing border visible while focused.*/
button#detail-view:not([disabled]) {
@@ -1386,10 +1405,25 @@ body:not([ctrl-pressing]) [visibleif='ctrl'] {
display: none;
}
-#gdata-settings {
+#gdata-settings:before {
background-image: url('../images/files/ui/settings.svg');
background-position: 20px center;
background-repeat: no-repeat;
+ bottom: 0;
+ content: '';
+ left: 0;
+ opacity: 0.75;
+ position: absolute;
+ right: 0;
+ top: 0;
+}
+
+#gdata-settings:hover:before {
+ opacity: 1;
+}
+
+
+#gdata-settings {
overflow: hidden;
text-align: left;
width: 54px;
« no previous file with comments | « chrome/browser/resources/file_manager/css/common.css ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698