Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 <!-- | 1 <!-- |
| 2 Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 3 Use of this source code is governed by a BSD-style license that can be |
| 4 found in the LICENSE file. | 4 found in the LICENSE file. |
| 5 --> | 5 --> |
| 6 | 6 |
| 7 <link rel="import" href="ct-bot-failure-card.html"> | 7 <link rel="import" href="ct-bot-failure-card.html"> |
| 8 <link rel="import" href="ct-builder-failure-card.html"> | 8 <link rel="import" href="ct-builder-failure-card.html"> |
| 9 <link rel="import" href="ct-failure-card-buttons.html"> | |
| 9 <link rel="import" href="ct-trooper-card.html"> | 10 <link rel="import" href="ct-trooper-card.html"> |
| 10 | 11 |
| 11 <polymer-element name="ct-failure-stream" attributes="groups commitLog tree cate gory title" noscript> | 12 <polymer-element name="ct-failure-stream" attributes="groups commitLog tree cate gory title" noscript> |
| 12 <template> | 13 <template> |
| 13 <style> | 14 <style> |
| 14 :host { | 15 :host { |
| 15 display: block; | 16 display: block; |
| 16 } | 17 } |
| 17 | 18 |
| 18 .card { | 19 .card { |
| 19 padding: 15px 5px; | 20 padding: 15px 5px; |
| 20 border-bottom: 1px solid lightgrey; | 21 border-bottom: 1px solid lightgrey; |
| 21 display: flex; | 22 display: flex; |
| 22 } | 23 } |
| 23 | 24 |
| 24 .card > * { | 25 .card > * { |
| 25 flex: 1; | 26 flex: 1; |
| 26 } | 27 } |
| 27 | 28 |
| 29 .card > ct-failure-card-buttons { | |
| 30 flex: none; | |
|
leviw_travelin_and_unemployed
2014/09/12 18:06:01
D'oh! Thanks! LGTM.
| |
| 31 } | |
| 32 | |
| 28 /* FIXME: Don't use before hax to add labels */ | 33 /* FIXME: Don't use before hax to add labels */ |
| 29 :host > div:first-of-type::before { | 34 :host > div:first-of-type::before { |
| 30 content: "{{ title }}:"; | 35 content: "{{ title }}:"; |
| 31 display: block; | 36 display: block; |
| 32 font-weight: bold; | 37 font-weight: bold; |
| 33 font-size: 18px; | 38 font-size: 18px; |
| 34 padding: 5px; | 39 padding: 5px; |
| 35 background-color: #f5f5f5; | 40 background-color: #f5f5f5; |
| 36 margin-bottom: 5px; | 41 margin-bottom: 5px; |
| 37 } | 42 } |
| (...skipping 15 matching lines...) Expand all Loading... | |
| 53 <template if="{{ group.data.category == 'trooper' }}"> | 58 <template if="{{ group.data.category == 'trooper' }}"> |
| 54 <ct-trooper-card class='{{ { snoozed: group.isSnoozed } | tokenLis t }}' group="{{ group.data }}"></ct-trooper-card> | 59 <ct-trooper-card class='{{ { snoozed: group.isSnoozed } | tokenLis t }}' group="{{ group.data }}"></ct-trooper-card> |
| 55 </template> | 60 </template> |
| 56 <ct-failure-card-buttons group="{{ group }}" bug="{{ bug }}"></ct-fa ilure-card-buttons> | 61 <ct-failure-card-buttons group="{{ group }}" bug="{{ bug }}"></ct-fa ilure-card-buttons> |
| 57 </div> | 62 </div> |
| 58 </div> | 63 </div> |
| 59 </template> | 64 </template> |
| 60 </template> | 65 </template> |
| 61 </template> | 66 </template> |
| 62 </polymer-element> | 67 </polymer-element> |
| OLD | NEW |