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

Unified Diff: ui/file_manager/gallery/css/gallery.css

Issue 1170403005: Revert of Gallery: Add toolbar at the top of window. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 6 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 | ui/file_manager/gallery/gallery.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/file_manager/gallery/css/gallery.css
diff --git a/ui/file_manager/gallery/css/gallery.css b/ui/file_manager/gallery/css/gallery.css
index b1ff62be0efc53643f8fa112d3c95ae97a93ffc9..cff180288b96318952a31f6a9974eaf9243b705f 100644
--- a/ui/file_manager/gallery/css/gallery.css
+++ b/ui/file_manager/gallery/css/gallery.css
@@ -183,16 +183,9 @@
.gallery > .toolbar {
border-top: 1px solid rgba(50, 50, 50, 0.8);
+ bottom: 0;
height: 55px;
overflow: hidden;
-}
-
-.gallery > .toolbar.top {
- top: 45px; /* Header height. */
-}
-
-.gallery > .toolbar.bottom {
- bottom: 0;
}
.gallery[tools]:not([slideshow]) > .header,
@@ -295,11 +288,12 @@
/* Filename */
.gallery .filename-spacer {
- flex: 1 0 auto;
+ flex: 0 1 auto;
height: 100%;
min-width: 140px;
overflow: hidden;
position: relative;
+ width: 252px;
}
.gallery .filename-spacer > * {
@@ -1155,13 +1149,13 @@
/* Mosaic view. */
.mosaic {
- bottom: 0;
+ bottom: 55px; /* Toolbar height. */
left: 0;
overflow-x: scroll;
overflow-y: hidden;
position: absolute;
right: 0;
- top: 100px; /* Header + Toolbar height. */
+ top: 0;
/* transition-duration is set in Javascript. */
transition-property: transform;
« no previous file with comments | « no previous file | ui/file_manager/gallery/gallery.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698