| 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 Instance; | 9 import 'package:observatory/service_html.dart' show Instance; |
| 10 import 'package:observatory/src/elements/instance_ref.dart'; | 10 import 'package:observatory/src/elements/instance_ref.dart'; |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 46 shadowRoot.children = [ | 46 shadowRoot.children = [ |
| 47 new StyleElement() | 47 new StyleElement() |
| 48 ..text = ''' | 48 ..text = ''' |
| 49 instance-ref-wrapped a[href]:hover { | 49 instance-ref-wrapped a[href]:hover { |
| 50 text-decoration: underline; | 50 text-decoration: underline; |
| 51 } | 51 } |
| 52 instance-ref-wrapped a[href] { | 52 instance-ref-wrapped a[href] { |
| 53 color: #0489c3; | 53 color: #0489c3; |
| 54 text-decoration: none; | 54 text-decoration: none; |
| 55 } | 55 } |
| 56 instance-ref-wrapped .empathize { | 56 instance-ref-wrapped .emphasize { |
| 57 font-style: italic; | 57 font-style: italic; |
| 58 } | 58 } |
| 59 instance-ref-wrapped .indent { | 59 instance-ref-wrapped .indent { |
| 60 margin-left: 1.5em; | 60 margin-left: 1.5em; |
| 61 font: 400 14px 'Montserrat', sans-serif; | 61 font: 400 14px 'Montserrat', sans-serif; |
| 62 line-height: 150%; | 62 line-height: 150%; |
| 63 } | 63 } |
| 64 instance-ref-wrapped .stackTraceBox { | 64 instance-ref-wrapped .stackTraceBox { |
| 65 margin-left: 1.5em; | 65 margin-left: 1.5em; |
| 66 background-color: #f5f5f5; | 66 background-color: #f5f5f5; |
| 67 border: 1px solid #ccc; | 67 border: 1px solid #ccc; |
| 68 padding: 10px; | 68 padding: 10px; |
| 69 font-family: consolas, courier, monospace; | 69 font-family: consolas, courier, monospace; |
| 70 font-size: 12px; | 70 font-size: 12px; |
| 71 white-space: pre; | 71 white-space: pre; |
| 72 overflow-x: auto; | 72 overflow-x: auto; |
| 73 }''', | 73 }''', |
| 74 new InstanceRefElement(_instance.isolate, _instance, | 74 new InstanceRefElement(_instance.isolate, _instance, |
| 75 new InstanceRepository(), | 75 new InstanceRepository(), |
| 76 queue: ObservatoryApplication.app.queue) | 76 queue: ObservatoryApplication.app.queue) |
| 77 ]; | 77 ]; |
| 78 } | 78 } |
| 79 } | 79 } |
| OLD | NEW |