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

Unified Diff: chrome/browser/resources/shared/css/throbber.css

Issue 6378006: Add Throbber control for DOMUI. Use it everywhere in options and in Sync setup UI. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Use -webkit-animation instead of a timer Created 9 years, 11 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
« no previous file with comments | « chrome/browser/resources/options/options.html ('k') | chrome/browser/resources/shared_resources.grd » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/shared/css/throbber.css
diff --git a/chrome/browser/resources/shared/css/throbber.css b/chrome/browser/resources/shared/css/throbber.css
new file mode 100644
index 0000000000000000000000000000000000000000..b4c1d19158d02c3b26b1184f0843cd40762e099e
--- /dev/null
+++ b/chrome/browser/resources/shared/css/throbber.css
@@ -0,0 +1,17 @@
+.throbber {
+ background-image: url("../../../../../app/resources/throbber.png");
+ background-position: 0;
+ display: inline-block;
+ height: 16px;
+ width: 16px;
+ -webkit-animation: throbber-animation 1s steps(36, end) 0 infinite;
James Hawkins 2011/01/20 21:21:08 nit: -webkit-animation should be moved to the top.
Sergey Ulanov 2011/01/21 03:01:49 Done.
+}
+
+@-webkit-keyframes throbber-animation {
+ from {
+ background-position-x: 0;
+ }
+ to {
+ background-position-x: -576px;
+ }
+}
« no previous file with comments | « chrome/browser/resources/options/options.html ('k') | chrome/browser/resources/shared_resources.grd » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698