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

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

Issue 9855024: Postpone connecting to GData even more, provide progress indication. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase, addressed comments Created 8 years, 9 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 27a66849584ca1cfc22a3b0c7ce86fd0a99fd455..82b5bf109fbd6d2e9542d57e56f31637d35bdec6 100644
--- a/chrome/browser/resources/file_manager/css/file_manager.css
+++ b/chrome/browser/resources/file_manager/css/file_manager.css
@@ -1151,6 +1151,7 @@ menu.file-context-menu {
}
input.common.pin[type="checkbox"]:checked::after {
+ position: relative;
content: url('../images/pin.png');
left: 3px;
top: -4px;
@@ -1180,3 +1181,45 @@ div.shade {
div.shade[fadein] {
opacity: 1;
}
+
+/* Message panel for unmounted GData */
+.dialog-container:not([unmounted]) .dialog-body > div.unmounted-panel,
+.dialog-container[unmounted] .dialog-body > div:not(.unmounted-panel) {
+ display: none;
+}
+
+div.unmounted-panel {
+ padding-top: 20px;
+ padding-left: 50px;
+}
+
+div.unmounted-panel > * {
+ height: 22px;
+ margin-bottom: 10px;
+}
+
+div.unmounted-panel > div {
+ display: -webkit-box;
+ -webkit-box-orient: horizontal;
+ -webkit-box-pack: start;
+ -webkit-box-align: center;
+}
+
+.unmounted-panel > .gdata.loading,
+.unmounted-panel > .gdata.error {
+ margin-left: -30px; /* Room for the spinner.*/
+ padding-left: 30px;
+}
+
+.unmounted-panel > .gdata.loading {
+ background-image: url(../images/spinner.svg);
+ background-repeat: no-repeat;
+ background-position: 0 center;
+}
+
+.unmounted-panel:not([loading]) > .gdata.loading,
+.unmounted-panel:not([error]) > .gdata.error,
+.unmounted-panel:not([retry]) > .gdata.retry,
+.unmounted-panel:not([retry]) > .gdata.learn-more {
+ display: none;
+}

Powered by Google App Engine
This is Rietveld 408576698