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

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: 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 451a63731d38f502e2069311a4b4b68db47c8db0..b72028b3acf989e6f3815b75e9854f6878a4e243 100644
--- a/chrome/browser/resources/file_manager/css/file_manager.css
+++ b/chrome/browser/resources/file_manager/css/file_manager.css
@@ -1095,6 +1095,7 @@ menu.file-context-menu {
}
input.common.pin[type="checkbox"]:checked::after {
+ position: relative;
content: url('../images/pin.png');
left: 3px;
top: -4px;
@@ -1109,3 +1110,45 @@ div.offline > * {
-webkit-box-align: center;
display: -webkit-box;
}
+
+/* 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;
+ padding-left: 30px;
dgozman 2012/03/26 16:30:21 Fun stuff :)
Vladislav Kaznacheev 2012/03/27 09:25:35 Yeah. I added a comment explaining the purpose. On
+}
+
+.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