Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2014)

Unified Diff: pkg/polymer/lib/src/build/log_injector.css

Issue 427623002: Polymer transformer logs now show on the frontend for pub serve. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: dont wrap the logger in release mode Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: pkg/polymer/lib/src/build/log_injector.css
diff --git a/pkg/polymer/lib/src/build/log_injector.css b/pkg/polymer/lib/src/build/log_injector.css
new file mode 100644
index 0000000000000000000000000000000000000000..f9ea7e3fde8c148f8245e1c28b2f72d3cb99e9a4
--- /dev/null
+++ b/pkg/polymer/lib/src/build/log_injector.css
@@ -0,0 +1,59 @@
+/** Copyright (c) 2013, 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. **/
+.build-logs {
+ position: fixed;
+ bottom: 0;
+ right: 0;
+}
+.build-logs .log {
+ padding: 6px;
+ background: black;
+ color: white;
+ border: solid 1px #666;
+ margin-bottom: -1px;
+}
+.build-logs .fine {
+ color: green;
+}
+.build-logs .info {
+ color: yellow;
+}
+.build-logs .warning {
+ color: orange;
+}
+.build-logs .error {
+ color: red;
+}
+.build-logs .message {
+ font-size: 12px;
+}
+.build-logs .menu {
+ text-align: right;
+}
+.build-logs .menu div {
+ display: inline-block;
+ background: #666;
+ font-size: 16px;
+ font-weight: bold;
+ cursor: pointer;
+ border: solid 1px black;
+ padding: 6px 10px;
+}
+.build-logs .menu div.active {
+ background: black;
+}
+.build-logs .menu div .num {
+ color: white;
+}
+.build-logs .content {
+ max-height: 500px;
+ max-width: 500px;
+ font-size: 10px;
+}
+.build-logs .content > div {
+ display: none;
+}
+.build-logs .content > div.active {
+ display: block;
+}

Powered by Google App Engine
This is Rietveld 408576698