Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 /** Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file | |
|
Siggi Cherem (dart-lang)
2015/03/07 02:43:01
this CSS was copied from the widget that we have i
| |
| 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. **/ | |
| 4 .dev-compiler-messages { | |
| 5 position: fixed; | |
| 6 bottom: 0; | |
| 7 right: 0; | |
| 8 max-width: 80vw; | |
| 9 z-index: 10000; | |
| 10 font-family: sans-serif !important; | |
| 11 } | |
| 12 .dev-compiler-messages .message { | |
| 13 padding: 0.6em; | |
| 14 background: black; | |
| 15 color: white; | |
| 16 border: solid 1px #666; | |
| 17 border-bottom: 0px; | |
| 18 text-overflow: ellipsis; | |
| 19 overflow-x: hidden; | |
| 20 } | |
| 21 .dev-compiler-messages .fine { | |
| 22 color: green; | |
| 23 } | |
| 24 .dev-compiler-messages .info { | |
| 25 color: yellow; | |
| 26 } | |
| 27 .dev-compiler-messages .warning { | |
| 28 color: orange; | |
| 29 } | |
| 30 .dev-compiler-messages .severe { | |
| 31 color: red; | |
| 32 } | |
| 33 .dev-compiler-messages div.text { | |
| 34 white-space: nowrap; | |
| 35 cursor: pointer; | |
| 36 } | |
| 37 .dev-compiler-messages div.text.expanded { | |
| 38 white-space: normal; | |
| 39 } | |
| 40 .dev-compiler-messages div.text a { | |
| 41 color: #CCF; | |
| 42 text-decoration: bold; | |
| 43 } | |
| 44 .dev-compiler-messages div.menu { | |
| 45 text-align: right; | |
| 46 } | |
| 47 .dev-compiler-messages .menu div { | |
| 48 display: inline-block; | |
| 49 background: #666; | |
| 50 font-weight: bold; | |
| 51 cursor: pointer; | |
| 52 border: solid 1px black; | |
| 53 padding: 0.6em 1em; | |
| 54 } | |
| 55 .dev-compiler-messages .menu div.active { | |
| 56 background: black; | |
| 57 } | |
| 58 .dev-compiler-messages .menu div .num { | |
| 59 color: white; | |
| 60 } | |
| 61 .dev-compiler-messages .content { | |
| 62 max-height: 75vh; | |
| 63 font-size: 1em; | |
| 64 overflow-y: auto; | |
| 65 } | |
| 66 .dev-compiler-messages .content > div { | |
| 67 display: none; | |
| 68 } | |
| 69 .dev-compiler-messages .content > div.active { | |
| 70 display: block; | |
| 71 } | |
| 72 | |
| 73 .dev-compiler-messages .content span.text { | |
| 74 padding: 0.4em 0.2em 0.2em 2em; | |
| 75 white-space: pre; | |
| 76 display: block; | |
| 77 font-family: monospace !important; | |
| 78 } | |
| OLD | NEW |