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

Side by Side Diff: chrome/browser/resources/chromeos/merge_session_load.html

Issue 786023002: Remove hard-coded font families in WebUI. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: The First Version. Created 6 years 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
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html i18n-values="dir:textdirection"> 2 <html i18n-values="dir:textdirection">
3 <head> 3 <head>
4 <title i18n-content="title"> 4 <title i18n-content="title">
5 </title> 5 </title>
6 <link rel="stylesheet" href="chrome://resources/css/chrome_shared.css">
Dan Beam 2014/12/10 19:49:24 why chrome_shared.css instead of text_defaults.css
xdai1 2014/12/11 02:59:22 Sorry it's a mistake... Done.
6 <style> 7 <style>
7 html { 8 html {
8 height: 100%; 9 height: 100%;
9 } 10 }
Dan Beam 2014/12/10 19:49:24 I think html { height: 100%; } is in chrome_shared
xdai1 2014/12/11 02:59:22 Included the wrong head file. So didn't remove thi
10 body { 11 body {
11 -webkit-user-select: none; 12 -webkit-user-select: none;
12 background: white; 13 background: white;
13 color: #000; 14 color: #000;
14 display: -webkit-box; 15 display: -webkit-box;
15 font-family: arial, sans-serif;
16 height: 100%; 16 height: 100%;
17 margin: 0; 17 margin: 0;
18 padding: 0; 18 padding: 0;
19 visibility: hidden; 19 visibility: hidden;
20 width: 100%; 20 width: 100%;
21 } 21 }
22 22
23 .header { 23 .header {
24 font-family: Sans-serif;
25 padding: 3px; 24 padding: 3px;
26 width: 80%; 25 width: 80%;
27 } 26 }
28 </style> 27 </style>
29 28
30 <script> 29 <script>
31 30
32 function sendCommand(cmd) { 31 function sendCommand(cmd) {
33 window.domAutomationController.setAutomationId(1); 32 window.domAutomationController.setAutomationId(1);
34 window.domAutomationController.send(cmd); 33 window.domAutomationController.send(cmd);
(...skipping 15 matching lines...) Expand all
50 window.setTimeout(showPage, showDelayTime); 49 window.setTimeout(showPage, showDelayTime);
51 window.setTimeout(forceLoad, totalWaitTime); 50 window.setTimeout(forceLoad, totalWaitTime);
52 }); 51 });
53 </script> 52 </script>
54 53
55 <body oncontextmenu="return false;"> 54 <body oncontextmenu="return false;">
56 <div class="header" i18n-content="heading" id="mgs"> 55 <div class="header" i18n-content="heading" id="mgs">
57 </div> 56 </div>
58 </body> 57 </body>
59 </html> 58 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698