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

Side by Side Diff: dart/site/try/index.html

Issue 269153003: Fix position of error messages. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Merged with r35883. Created 6 years, 7 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 | « no previous file | dart/site/try/src/interaction_manager.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <!-- 2 <!--
3 Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 3 Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
4 for details. All rights reserved. Use of this source code is governed by a 4 for details. All rights reserved. Use of this source code is governed by a
5 BSD-style license that can be found in the LICENSE file. 5 BSD-style license that can be found in the LICENSE file.
6 --> 6 -->
7 <html lang="en" manifest="nossl.appcache" itemscope itemtype="http://schema.org/ Product"> 7 <html lang="en" manifest="nossl.appcache" itemscope itemtype="http://schema.org/ Product">
8 <head> 8 <head>
9 <meta charset="utf-8"> 9 <meta charset="utf-8">
10 <title>Try Dart!</title> 10 <title>Try Dart!</title>
11 <meta http-equiv="Content-type" content="text/html;charset=UTF-8"> 11 <meta http-equiv="Content-type" content="text/html;charset=UTF-8">
12 <!-- 12 <!--
13 TODO(ahe): Reduce the number of fonts used based on actual usage. 13 TODO(ahe): Reduce the number of fonts used based on actual usage.
14 14
15 See: http://www.google.com/fonts#UsePlace:use/Collection:Open+Sans:400,600,700,8 00,300 15 See: http://www.google.com/fonts#UsePlace:use/Collection:Open+Sans:400,600,700,8 00,300
16 --> 16 -->
17 <link href="//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css" r el="stylesheet"> 17 <link href="//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css" r el="stylesheet">
18 <link href='http://fonts.googleapis.com/css?family=Open+Sans:400,600,700,800,300 ' rel='stylesheet' type='text/css'> 18 <link href='http://fonts.googleapis.com/css?family=Open+Sans:400,600,700,800,300 ' rel='stylesheet' type='text/css'>
19 <link rel="stylesheet" type="text/css" href="dartlang-style.css"> 19 <link rel="stylesheet" type="text/css" href="dartlang-style.css">
20 <link rel="alternate stylesheet" type="text/css" href="line_numbers.css" title=" line_numbers"> 20 <link rel="alternate stylesheet" type="text/css" href="line_numbers.css" title=" line_numbers">
21 <style> 21 <style>
22 a.diagnostic { 22 a.diagnostic {
23 /* position: relative; */
24 color: inherit; 23 color: inherit;
25 border-bottom: 2px dotted red; 24 border-bottom: 2px dotted red;
26 } 25 }
27 a:hover.diagnostic { 26 a:hover.diagnostic {
28 text-decoration: none; 27 text-decoration: none;
29 } 28 }
30 a.diagnostic span { 29 a.diagnostic span {
31 display: none; 30 display: none;
32 } 31 }
33 a:hover.diagnostic span { 32 a:hover.diagnostic span {
34 display: block; 33 display: block;
35 position: absolute; 34 position: absolute;
36 /* left: 1em; */ 35 /* left: 1em; */
37 /* top: 2em; */ 36 /* top: 2em; */
38 right: 10px; 37 right: 19px;
39 } 38 }
40 39
41 .offline { 40 .offline {
42 transition: opacity 10s; 41 transition: opacity 10s;
43 -webkit-transition: opacity 10s; 42 -webkit-transition: opacity 10s;
44 } 43 }
45 44
46 .offlineyay { 45 .offlineyay {
47 font-weight: bolder; 46 font-weight: bolder;
48 opacity: 0.0; 47 opacity: 0.0;
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 /* cubic-bezier(0, 1, 0.5, 1);*/ 143 /* cubic-bezier(0, 1, 0.5, 1);*/
145 } 144 }
146 145
147 .myhidden { 146 .myhidden {
148 position: absolute; 147 position: absolute;
149 visibility: hidden; 148 visibility: hidden;
150 height: auto; 149 height: auto;
151 } 150 }
152 151
153 .mainEditorPane { 152 .mainEditorPane {
154 overflow-y: auto;
155 overflow-x: hidden;
156 white-space: pre; 153 white-space: pre;
157 max-height: 80vh; 154 /* Extra padding at the bottom to ensure display of error messages. */
155 padding: 19px 19px 70px 19px;
158 } 156 }
159 157
160 .lineNumber { 158 .lineNumber {
161 position: relative;
162 } 159 }
163 </style> 160 </style>
164 161
165 <meta itemprop="name" content="Try Dart!"> 162 <meta itemprop="name" content="Try Dart!">
166 <meta itemprop="description" content="Write and run Dart code in your browser. Dart is a class-based, object-oriented language with lexical scoping, closures, and optional static typing."> 163 <meta itemprop="description" content="Write and run Dart code in your browser. Dart is a class-based, object-oriented language with lexical scoping, closures, and optional static typing.">
167 <meta name="description" content="Write and run Dart code in your browser. Dart is a class-based, object-oriented language with lexical scoping, closures, and optional static typing."> 164 <meta name="description" content="Write and run Dart code in your browser. Dart is a class-based, object-oriented language with lexical scoping, closures, and optional static typing.">
168 <meta itemprop="image" content="try-dart-screenshot.png"> 165 <meta itemprop="image" content="try-dart-screenshot.png">
169 166
170 <link rel="dart-sdk" href="sdk.json"> 167 <link rel="dart-sdk" href="sdk.json">
171 <link rel="benchmark-DeltaBlue" href="benchmarks/DeltaBlue.dart"> 168 <link rel="benchmark-DeltaBlue" href="benchmarks/DeltaBlue.dart">
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
275 </div> 272 </div>
276 </div> 273 </div>
277 </footer> 274 </footer>
278 <!-- 275 <!--
279 <script type="application/javascript" src="https://dart.googlecode.com/svn/branc hes/bleeding_edge/dart/pkg/browser/lib/dart.js"></script> 276 <script type="application/javascript" src="https://dart.googlecode.com/svn/branc hes/bleeding_edge/dart/pkg/browser/lib/dart.js"></script>
280 <script type="application/dart" src="leap.dart"></script> 277 <script type="application/dart" src="leap.dart"></script>
281 --> 278 -->
282 <script type="application/javascript" src="leap.dart.js"></script> 279 <script type="application/javascript" src="leap.dart.js"></script>
283 </body> 280 </body>
284 </html> 281 </html>
OLDNEW
« no previous file with comments | « no previous file | dart/site/try/src/interaction_manager.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698