| OLD | NEW |
| 1 <!-- | 1 <!-- |
| 2 Copyright 2017 The LUCI Authors. All rights reserved. | 2 Copyright 2017 The LUCI Authors. All rights reserved. |
| 3 Use of this source code is governed under the Apache License, Version 2.0 | 3 Use of this source code is governed under the Apache License, Version 2.0 |
| 4 that can be found in the LICENSE file. | 4 that can be found in the LICENSE file. |
| 5 --> | 5 --> |
| 6 | 6 |
| 7 <link rel="import" href="../../bower_components/iron-icons/iron-icons.html"> | 7 <link rel="import" href="../../bower_components/iron-icons/iron-icons.html"> |
| 8 <link rel="import" href="../../bower_components/paper-button/paper-button.html"> | 8 <link rel="import" href="../../bower_components/paper-button/paper-button.html"> |
| 9 <link rel="import" href="../../bower_components/paper-card/paper-card.html"> | 9 <link rel="import" href="../../bower_components/paper-card/paper-card.html"> |
| 10 <link rel="import" href="../../bower_components/polymer/polymer.html"> | 10 <link rel="import" href="../../bower_components/polymer/polymer.html"> |
| 11 <link rel="import" href="../../bower_components/iron-icons/maps-icons.html"> | 11 <link rel="import" href="../../bower_components/iron-icons/maps-icons.html"> |
| 12 <link rel="import" href="../../bower_components/iron-flex-layout/iron-flex-layou
t.html"> | 12 <link rel="import" href="../../bower_components/iron-flex-layout/iron-flex-layou
t.html"> |
| 13 | 13 |
| 14 <dom-module id="config-file-card"> | 14 <dom-module id="config-file-card"> |
| 15 <template> | 15 <template> |
| 16 <style> | 16 <style> |
| 17 a { text-decoration: none; } | 17 a { text-decoration: none; } |
| 18 | 18 |
| 19 paper-card { | 19 paper-card { |
| 20 max-width: 500px; | |
| 21 width: 100%; | 20 width: 100%; |
| 22 } | 21 } |
| 23 | 22 |
| 24 .config-title { @apply --paper-font-headline; } | 23 .config-title { |
| 24 @apply --paper-font-headline; |
| 25 word-wrap: break-word; |
| 26 } |
| 25 | 27 |
| 26 .light { color: var(--paper-grey-600); } | 28 .light { color: var(--paper-grey-600); } |
| 27 | 29 |
| 28 .config-open { color: var(--google-blue-500); } | 30 .config-open { color: var(--google-blue-500); } |
| 29 </style> | 31 </style> |
| 30 | 32 |
| 31 <paper-card elevation="2"> | 33 <paper-card elevation="2"> |
| 32 <div class="card-content"> | 34 <div class="card-content"> |
| 33 <div class="config-title">[[name]]</div> | 35 <div class="config-title">[[name]]</div> |
| 34 </div> | 36 </div> |
| (...skipping 15 matching lines...) Expand all Loading... |
| 50 type: String | 52 type: String |
| 51 }, | 53 }, |
| 52 | 54 |
| 53 link: { | 55 link: { |
| 54 type: String | 56 type: String |
| 55 }, | 57 }, |
| 56 } | 58 } |
| 57 }); | 59 }); |
| 58 </script> | 60 </script> |
| 59 </dom-module> | 61 </dom-module> |
| OLD | NEW |