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

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

Issue 10826137: Fix CSS and timeout handling for the Files app butter bar (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years, 4 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 | chrome/browser/resources/file_manager/js/butter_bar.js » ('j') | 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 819f16aa77a8f8e03778df52002972daa7918396..55049647ecf6c1ec299e7389ca64123239368983 100644
--- a/chrome/browser/resources/file_manager/css/file_manager.css
+++ b/chrome/browser/resources/file_manager/css/file_manager.css
@@ -83,42 +83,30 @@ input[type='submit'][disabled]:hover {
#butter-bar {
-webkit-box-align: end;
-webkit-box-orient: horizontal;
- -webkit-transform: translate3d(0, 1px, 0);
- -webkit-transition-duration: 300ms;
- -webkit-transition-property: opacity, -webkit-transform;
+ -webkit-transition: opacity 300ms;
background-color: rgba(95, 95, 95, 0.17);
color: #222;
display: -webkit-box;
- padding-left: 1em;
- padding-right: 1em;
- padding-top: 2px;
+ padding: 0 1em;
position: absolute;
- top: 0;
-}
-
-#butter-bar.before-show {
- -webkit-transform: translate3d(0, -30px, 0);
- opacity: 0;
+ top: 1px;
}
-#butter-bar.after-show {
- -webkit-transform: translate3d(0, 50px, 0);
+#butter-bar:not(.visible) {
opacity: 0;
+ pointer-events: none;
}
#butter-bar .content {
- padding-bottom: 8px;
- padding-right: 5px;
-}
-
-.hide-in-butter {
- display: none;
+ padding-bottom: 4px;
+ padding-top: 4px;
}
#butter-bar .actions {
-webkit-box-orient: horizontal;
-webkit-box-pack: end;
display: -webkit-box;
+ height: 20px;
}
#butter-bar .actions a {
@@ -128,10 +116,18 @@ input[type='submit'][disabled]:hover {
url('../images/files/ui/2x/close_bar.png') 2x);
display: inline-block;
height: 12px;
- padding: 4px;
+ padding: 4px 2px;
width: 12px;
}
+#butter-bar .actions a:first-child {
+ margin-left: 2px;
+}
+
+#butter-bar .actions a:last-child {
+ margin-right: -2px; /* Overlap the padding with butter-bar padding. */
+}
+
#butter-bar.error {
background-color: rgba(221, 75, 57, 0.2);
border: 1px solid rgba(221, 75, 57, 0.5);
@@ -143,6 +139,7 @@ input[type='submit'][disabled]:hover {
background-image: -webkit-linear-gradient(top, #e9e9e9 0, #f9f9f9 100%);
border: 1px solid #a1a1a1;
border-radius: 3px;
+ margin-bottom: 2px;
margin-top: 3px;
width: 320px;
}
« no previous file with comments | « no previous file | chrome/browser/resources/file_manager/js/butter_bar.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698