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

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

Issue 12218135: Enlarge clickable area of the Files.app's butter bar's close action (x). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 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 18a4f227737390074c5074b89437c9b408a940d7..b8d3ac10251eda13695d5b973ade3bbd083bdac3 100644
--- a/chrome/browser/resources/file_manager/css/file_manager.css
+++ b/chrome/browser/resources/file_manager/css/file_manager.css
@@ -90,12 +90,12 @@ body.loaded {
-webkit-box-pack: end;
-webkit-margin-start: 6px;
display: -webkit-box;
- height: 20px;
}
#butter-bar .actions a {
color: rgb(17, 85, 204);
cursor: pointer;
+ vertical-align: middle;
}
#butter-bar .actions a.x {
@@ -104,17 +104,13 @@ body.loaded {
url('../images/files/ui/close_bar.png') 1x,
url('../images/files/ui/2x/close_bar.png') 2x);
display: inline-block;
- height: 12px;
- padding: 4px 2px;
- width: 12px;
-}
-
-#butter-bar .actions a:first-child {
- margin-left: 2px;
+ height: 35px; /* #butter-bar .content's min-height. */
+ margin-right: -12px;
+ width: 35px;
}
-#butter-bar .actions a:last-child {
- margin-right: -2px; /* Overlap the padding with butter-bar padding. */
+#butter-bar .actions a.x:first-child {
+ margin-left: -6px;
}
#butter-bar.error {
« 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