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

Side by Side Diff: chrome/browser/sync/resources/setting_up.html

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: addressed nit 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/browser/sync/resources/gaia_login.html ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <html i18n-values="dir:textdirection;"> 1 <html i18n-values="dir:textdirection;">
2 <head> 2 <head>
3 <title></title> 3 <title></title>
4 <style type="text/css"> 4 <style type="text/css">
5 body { 5 body {
6 line-height: 1.5em; 6 line-height: 1.5em;
7 background: #FFFFFF; 7 background: #FFFFFF;
8 font-size: 11pt; 8 font-size: 11pt;
9 } 9 }
10 html[os='mac'] body { 10 html[os='mac'] body {
(...skipping 18 matching lines...) Expand all
29 } 29 }
30 input[type='button'], 30 input[type='button'],
31 input[type='submit'] { 31 input[type='submit'] {
32 min-width: 87px; 32 min-width: 87px;
33 min-height: 26px; 33 min-height: 26px;
34 } 34 }
35 html[os='mac'] input[type='button'], 35 html[os='mac'] input[type='button'],
36 html[os='mac'] input[type='submit'] { 36 html[os='mac'] input[type='submit'] {
37 font-size: 12pt; 37 font-size: 12pt;
38 } 38 }
39 #throb { 39 #throbber {
40 background-image: url("../../../../app/resources/throbber.png");
41 width: 16px;
42 height: 16px;
43 background-position: 0px;
44 margin: -3px 10px; 40 margin: -3px 10px;
45 display: inline-block;
46 } 41 }
47 #setting_up { 42 #setting_up {
48 margin: 100px; 43 margin: 100px;
49 text-align: center; 44 text-align: center;
50 } 45 }
51 #setting_up_label { 46 #setting_up_label {
52 margin: 15px; 47 margin: 15px;
53 font-weight: bold; 48 font-weight: bold;
54 font-size: 125%; 49 font-size: 125%;
55 } 50 }
56 51
57 </style> 52 </style>
53 <link rel="stylesheet" href="chrome://resources/css/throbber.css">
58 <script src="chrome://resources/js/cr.js"></script> 54 <script src="chrome://resources/js/cr.js"></script>
59 <script>
60 function advanceThrobber() {
61 var throbber = document.getElementById('throb');
62 throbber.style.backgroundPositionX =
63 ((parseInt(getComputedStyle(throbber).backgroundPositionX) - 16) %
64 576) + 'px';
65 }
66 setInterval(advanceThrobber, 30);
67 </script>
68 </head> 55 </head>
69 <body i18n-values=".style.fontFamily:fontfamily"> 56 <body i18n-values=".style.fontFamily:fontfamily">
70 <form id="settingUpForm" onSubmit="return false;"> 57 <form id="settingUpForm" onSubmit="return false;">
71 <div id="setting_up"> 58 <div id="setting_up">
72 <span id="throbber_container"> 59 <div id="throbber" class="throbber"></div>
73 <span id="throb"></span>
74 </span>
75 <div id="setting_up_label" i18n-content="settingup"></div> 60 <div id="setting_up_label" i18n-content="settingup"></div>
76 </div> 61 </div>
77 <div class="sync-footer"> 62 <div class="sync-footer">
78 <input id="cancelButton" type="button" i18n-values="value:cancel" 63 <input id="cancelButton" type="button" i18n-values="value:cancel"
79 onclick='chrome.send("DialogClose", [""])' /> 64 onclick='chrome.send("DialogClose", [""])' />
80 </div> 65 </div>
81 </form> 66 </form>
82 </body> 67 </body>
83 </html> 68 </html>
OLDNEW
« no previous file with comments | « chrome/browser/sync/resources/gaia_login.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698