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

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

Issue 10946029: [filemanager] Importing progress implemented. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 3 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/photo_import.css
===================================================================
--- chrome/browser/resources/file_manager/css/photo_import.css (revision 157524)
+++ chrome/browser/resources/file_manager/css/photo_import.css (working copy)
@@ -25,7 +25,7 @@
bottom: 0;
display: -webkit-box;
left: 0;
- padding: 20px;
+ padding: 0 20px;
position: absolute;
right: 0;
top: 0;
@@ -50,7 +50,7 @@
-webkit-box-align: center;
-webkit-box-orient: horizontal;
display: -webkit-box;
- height: 80px;
+ height: 60px;
width: 100%;
}
@@ -65,6 +65,10 @@
display: block;
}
+.bottombar input {
+ margin-top: 10px;
+}
+
button.import {
-webkit-margin-end: 20px;
min-width: 100px;
@@ -153,3 +157,57 @@
.grid-item:hover .img-container[generic-thumbnail] {
outline: 2px solid rgb(51, 153, 255);
}
+
+/* Importing dialog styles */
+.importing-dialog .cr-dialog-frame {
+ -webkit-box-align: center;
+ -webkit-box-orient: horizontal;
+ display: -webkit-box;
+}
+
+.importing-dialog .cr-dialog-frame .progress-container {
+ -webkit-box-flex: 1;
+ -webkit-box-orient: vertical;
+ display: -webkit-box;
+ padding: 0 0 40px 10px;
+}
+
+.importing-dialog .img-container {
+ height: 120px;
+ overflow: hidden;
+ width: 120px;
+}
+
+.importing-dialog button {
+ bottom: 14px;
+ min-width: 80px;
+ position: absolute;
+ right: 14px;
+}
+
+.progress-bar {
+ -webkit-box-flex: 1;
+ border: 1px solid #999;
+ height: 8px;
+ padding: 1px;
+}
+
+.progress-track {
+ -webkit-animation-duration: 800ms;
+ -webkit-animation-iteration-count: infinite;
+ -webkit-animation-name: bg;
+ -webkit-animation-timing-function: linear;
+ background-color: #ccc;
+ background-image: -webkit-linear-gradient(315deg, transparent,
+ transparent 33%, rgba(0, 0, 0, 0.12) 33%, rgba(0, 0, 0, 0.12) 66%,
+ transparent 66%, transparent);
+ background-position: 0 0;
+ background-repeat: repeat-x;
+ background-size: 16px 8px;
+ height: 8px;
+}
+
+@-webkit-keyframes bg {
+ 0% { background-position: 0 0; }
+ 100% { background-position: -16px 0; }
+}

Powered by Google App Engine
This is Rietveld 408576698