2 Copyright 2014 The Chromium Authors. All rights reserved.
3 Use of this source code is governed by a BSD-style license that can be
4 found in the LICENSE file.
7 <link rel="import" href="../model/tree-status.html">
9 <polymer-element name="ct-tree-status" noscript attributes="status">
15 :host([state=throttled]) {
16 background-color: #fffc6c;
19 :host([state=closed]),
20 :host([state=closed]) a {
22 background-color: #e98080;
28 text-overflow: ellipsis;
32 <template if="{{ status.message }}">
33 <div class="message">{{ status.project }}: {{ status.message }}</div>
34 <div style="padding: 0 5px;">[ <a href="{{ status.url }}">details</a> ]</div>