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

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

Issue 10834029: Make the search box smaller when inactive and grow when focused. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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 | « no previous file | 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 d88cee3727ad3474f1660c0de3fe419007791ed3..5d28f7fbf1adf7c51ad2154022adf112ddffe394 100644
--- a/chrome/browser/resources/file_manager/css/file_manager.css
+++ b/chrome/browser/resources/file_manager/css/file_manager.css
@@ -451,6 +451,7 @@ div.root-eject:hover {
}
#search-box {
+ -webkit-transition: width 600ms;
background: -webkit-image-set(
url('../images/files/ui/icon_search.png') 1x,
url('../images/files/ui/2x/icon_search.png') 2x);
@@ -460,6 +461,11 @@ div.root-eject:hover {
height: 25px;
margin-right: 10px;
padding-left: 22px;
+ width: 150px;
+}
+
+#search-box:focus {
+ width: 240px;
}
#search-box,
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698