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

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

Issue 14320020: Initial restyle of the gallery. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed comments. Created 7 years, 8 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
Index: chrome/browser/resources/file_manager/css/gallery.css
diff --git a/chrome/browser/resources/file_manager/css/gallery.css b/chrome/browser/resources/file_manager/css/gallery.css
index d4efc142224368ec1a78cc3eb4cf5e7c17281730..5ee3c4430cd27457ff80c394711e509c8ee09030 100644
--- a/chrome/browser/resources/file_manager/css/gallery.css
+++ b/chrome/browser/resources/file_manager/css/gallery.css
@@ -36,6 +36,10 @@ body {
z-index: 200;
}
+body[new-ui] .tools .gallery > .close {
+ opacity: 0;
+}
+
/* The close icon is in a nested div so that its opacity can be manipulated
independently from its parent (which can be dimmed when the crop frame
overlaps it) */
@@ -166,17 +170,14 @@ body {
/* Toolbar */
+body[new-ui] .gallery > .header,
.gallery > .toolbar {
-webkit-box-align: stretch;
-webkit-box-orient: horizontal;
-webkit-box-pack: start;
-webkit-transition: opacity 300ms ease;
background-color: rgba(18, 18, 18, 0.875);
- border-top: 1px solid rgba(31, 31, 31, 0.875);
- bottom: 0;
- box-sizing: border-box;
display: -webkit-box;
- height: 55px;
min-width: 800px;
opacity: 0;
padding: 0 8px;
@@ -185,6 +186,30 @@ body {
width: 100%;
}
+body[new-ui] .gallery > .header,
+body[new-ui] .gallery > .toolbar {
+ background-color: rgba(30, 30, 30, 0.8);
+}
+
+body[new-ui] .gallery > .header {
+ border-bottom: 1px solid rgba(50, 50, 50, 0.8);
+ height: 45px;
+ top: 0;
+}
+
+.gallery > .toolbar {
+ border-top: 1px solid rgba(31, 31, 31, 0.7);
+ bottom: 0;
+ height: 55px;
+}
+
+body[new-ui] .gallery > .toolbar {
+ border-top: 1px solid rgba(50, 50, 50, 0.8);
+ bottom: 0;
+ height: 55px;
+}
+
+body[new-ui] .gallery[tools]:not([slideshow]) > .header,
.gallery[tools]:not([slideshow]) > .toolbar {
opacity: 1;
pointer-events: auto;
@@ -507,6 +532,10 @@ body {
position: absolute;
}
+body[new-ui] .gallery .image-wrapper > img:not(.cached) {
+ -webkit-animation: fadeIn 500ms ease-in;
+}
+
/* Editor buttons */
.gallery .edit-bar-spacer {
« no previous file with comments | « chrome/browser/resources/file_manager/css/file_manager.css ('k') | chrome/browser/resources/file_manager/js/file_manager.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698