| OLD | NEW |
| 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 import 'dart:html'; | 5 import 'dart:html'; |
| 6 | 6 |
| 7 import 'package:observatory/app.dart'; | 7 import 'package:observatory/app.dart'; |
| 8 import 'package:observatory/repositories.dart'; | 8 import 'package:observatory/repositories.dart'; |
| 9 import 'package:observatory/service_html.dart' show HeapObject; | 9 import 'package:observatory/service_html.dart' show HeapObject; |
| 10 import 'package:observatory/src/elements/eval_box.dart'; | 10 import 'package:observatory/src/elements/eval_box.dart'; |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 49 shadowRoot.children = [ | 49 shadowRoot.children = [ |
| 50 new StyleElement() | 50 new StyleElement() |
| 51 ..text = ''' | 51 ..text = ''' |
| 52 eval-box-wrapped a[href]:hover { | 52 eval-box-wrapped a[href]:hover { |
| 53 text-decoration: underline; | 53 text-decoration: underline; |
| 54 } | 54 } |
| 55 eval-box-wrapped a[href] { | 55 eval-box-wrapped a[href] { |
| 56 color: #0489c3; | 56 color: #0489c3; |
| 57 text-decoration: none; | 57 text-decoration: none; |
| 58 } | 58 } |
| 59 eval-box-wrapped .quicks > button:hover { |
| 60 background-color: transparent; |
| 61 border: none; |
| 62 text-decoration: underline; |
| 63 } |
| 64 eval-box-wrapped .quicks > button { |
| 65 background-color: transparent; |
| 66 border: none; |
| 67 color: #0489c3; |
| 68 padding: 0; |
| 69 margin-right: 1em; |
| 70 text-decoration: none; |
| 71 } |
| 59 eval-box-wrapped .empathize { | 72 eval-box-wrapped .empathize { |
| 60 font-style: italic; | 73 font-style: italic; |
| 61 } | 74 } |
| 62 eval-box-wrapped .indent { | 75 eval-box-wrapped .indent { |
| 63 margin-left: 1.5em; | 76 margin-left: 1.5em; |
| 64 font: 400 14px 'Montserrat', sans-serif; | 77 font: 400 14px 'Montserrat', sans-serif; |
| 65 line-height: 150%; | 78 line-height: 150%; |
| 66 } | 79 } |
| 67 eval-box-wrapped .stackTraceBox { | 80 eval-box-wrapped .stackTraceBox { |
| 68 margin-left: 1.5em; | 81 margin-left: 1.5em; |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 121 color: #BB3311; | 134 color: #BB3311; |
| 122 } | 135 } |
| 123 ''', | 136 ''', |
| 124 new EvalBoxElement(_context.isolate, _context, | 137 new EvalBoxElement(_context.isolate, _context, |
| 125 new InstanceRepository(), | 138 new InstanceRepository(), |
| 126 new EvalRepository(), | 139 new EvalRepository(), |
| 127 queue: ObservatoryApplication.app.queue) | 140 queue: ObservatoryApplication.app.queue) |
| 128 ]; | 141 ]; |
| 129 } | 142 } |
| 130 } | 143 } |
| OLD | NEW |