Files
sdk/pkg/dev_compiler/lib/runtime/messages.css
T
Sigmund Cherem 4e4dd98e6b Add widget to display errors, and report graph errors correctly.
This fixes the compiler so that all error messages in dependency_graph are reported via the reporter and unifies how errors are constructed in other places as well. With all errors reported together, we use a widget (adapted from polymer) to display the error messages as part of the app in server mode.

R=vsm@google.com

Review URL: https://codereview.chromium.org/988483006
2015-03-09 11:37:22 -07:00

79 lines
1.7 KiB
CSS

/** Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file
for details. All rights reserved. Use of this source code is governed by a
BSD-style license that can be found in the LICENSE file. **/
.dev-compiler-messages {
position: fixed;
bottom: 0;
right: 0;
max-width: 80vw;
z-index: 10000;
font-family: sans-serif !important;
}
.dev-compiler-messages .message {
padding: 0.6em;
background: black;
color: white;
border: solid 1px #666;
border-bottom: 0px;
text-overflow: ellipsis;
overflow-x: hidden;
}
.dev-compiler-messages .fine {
color: green;
}
.dev-compiler-messages .info {
color: yellow;
}
.dev-compiler-messages .warning {
color: orange;
}
.dev-compiler-messages .severe {
color: red;
}
.dev-compiler-messages div.text {
white-space: nowrap;
cursor: pointer;
}
.dev-compiler-messages div.text.expanded {
white-space: normal;
}
.dev-compiler-messages div.text a {
color: #CCF;
text-decoration: bold;
}
.dev-compiler-messages div.menu {
text-align: right;
}
.dev-compiler-messages .menu div {
display: inline-block;
background: #666;
font-weight: bold;
cursor: pointer;
border: solid 1px black;
padding: 0.6em 1em;
}
.dev-compiler-messages .menu div.active {
background: black;
}
.dev-compiler-messages .menu div .num {
color: white;
}
.dev-compiler-messages .content {
max-height: 75vh;
font-size: 1em;
overflow-y: auto;
}
.dev-compiler-messages .content > div {
display: none;
}
.dev-compiler-messages .content > div.active {
display: block;
}
.dev-compiler-messages .content span.text {
padding: 0.4em 0.2em 0.2em 2em;
white-space: pre;
display: block;
font-family: monospace !important;
}