| 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/service_html.dart' show Context; | 8 import 'package:observatory/service_html.dart' show Context; |
| 9 import 'package:observatory/src/elements/context_ref.dart'; | 9 import 'package:observatory/src/elements/context_ref.dart'; |
| 10 import 'package:observatory/src/elements/helpers/tag.dart'; | 10 import 'package:observatory/src/elements/helpers/tag.dart'; |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 45 shadowRoot.children = [ | 45 shadowRoot.children = [ |
| 46 new StyleElement() | 46 new StyleElement() |
| 47 ..text = ''' | 47 ..text = ''' |
| 48 context-ref-wrapped > a[href]:hover { | 48 context-ref-wrapped > a[href]:hover { |
| 49 text-decoration: underline; | 49 text-decoration: underline; |
| 50 } | 50 } |
| 51 context-ref-wrapped > a[href] { | 51 context-ref-wrapped > a[href] { |
| 52 color: #0489c3; | 52 color: #0489c3; |
| 53 text-decoration: none; | 53 text-decoration: none; |
| 54 } | 54 } |
| 55 context-ref-wrapped .empathize { | 55 context-ref-wrapped .emphasize { |
| 56 font-style: italic; | 56 font-style: italic; |
| 57 }''', | 57 }''', |
| 58 new ContextRefElement(_context.isolate, _context, | 58 new ContextRefElement(_context.isolate, _context, |
| 59 queue: ObservatoryApplication.app.queue) | 59 queue: ObservatoryApplication.app.queue) |
| 60 ]; | 60 ]; |
| 61 } | 61 } |
| 62 } | 62 } |
| OLD | NEW |