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

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

Issue 6881031: FileManager: Add thumbnail view. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 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/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 a79990a85785d7d430e09b5656306b2eb2599bec..e8fa914f84d0691c4dac36a48b12f044ad2a9da2 100644
--- a/chrome/browser/resources/file_manager/css/file_manager.css
+++ b/chrome/browser/resources/file_manager/css/file_manager.css
@@ -95,20 +95,55 @@ body {
font-size: 12px;
}
-/* The cr.ui.Table representing the detailed file list. */
-.detail-table {
+button.detail-view {
+ margin-right: 0;
+}
+
+button.thumbnail-view {
+ margin-left: 0;
+}
+
+.list-container {
-webkit-box-orient: vertical;
-webkit-box-flex: 1;
display: -webkit-box;
+ position: relative;
+}
+
+/* The cr.ui.Grid representing the detailed file list. */
+.thumbnail-grid {
+ position: absolute;
+ top: 0;
+ left: 0;
border: 0;
}
-/* The actual element containing the list items. */
-.detail-table > .list {
- /* TODO(rginda): The list is not able to adjust to the available height,
- * so we have to hardcode it for now.
- */
- height: 417px;
+/* An item in the thumbnail view. */
+.thumbnail-item {
+ margin: 10px;
+ width: 120px;
+ height: 120px;
+ text-align: center;
+}
+
+.thumbnail-item > img {
+ padding-top: 8px;
+ max-width: 100px;
+ max-height: 85px;
+}
+
+.thumbnail-item > div {
+ overflow: hidden;
+ text-overflow: ellipsis;
+ white-space: nowrap;
+}
+
+/* The cr.ui.Table representing the detailed file list. */
+.detail-table {
+ position: absolute;
+ top: 0;
+ left: 0;
+ border: 0;
}
/* The right-column 'Preview' column container. */

Powered by Google App Engine
This is Rietveld 408576698