OLD | NEW |
(Empty) | |
| 1 /* |
| 2 @license |
| 3 Copyright (c) 2015 The Polymer Project Authors. All rights reserved. |
| 4 This code may only be used under the BSD style license found at http://polymer.g
ithub.io/LICENSE.txt |
| 5 The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt |
| 6 The complete set of contributors may be found at http://polymer.github.io/CONTRI
BUTORS.txt |
| 7 Code distributed by Google as part of the polymer project is also |
| 8 subject to an additional IP rights grant found at http://polymer.github.io/PATEN
TS.txt |
| 9 */ |
| 10 :host { |
| 11 @apply(--paper-font-body1); |
| 12 display: block; |
| 13 color: #212121; |
| 14 } |
| 15 |
| 16 :host > header { |
| 17 @apply(--paper-font-headline); |
| 18 margin-bottom: 18px; |
| 19 } |
| 20 |
| 21 [hidden] { |
| 22 display: none !important; |
| 23 } |
| 24 |
| 25 #api { |
| 26 display: flex; |
| 27 align-items: center; |
| 28 } |
| 29 #api header { |
| 30 flex: 1; |
| 31 padding-left: 16px; |
| 32 @apply(--paper-font-subhead); |
| 33 } |
| 34 #api a { |
| 35 @apply(--paper-font-button); |
| 36 cursor: pointer; |
| 37 display: block; |
| 38 padding: 4px 16px; |
| 39 color: var(--paper-grey-800); |
| 40 } |
| 41 |
| 42 /* Common Formatting */ |
| 43 |
| 44 #summary { |
| 45 padding: 4px 0; |
| 46 } |
| 47 |
| 48 #summary marked-element::shadow #content pre { |
| 49 background-color: var(--paper-grey-50); |
| 50 border: solid #e5e5e5; |
| 51 border-width: 1px 0; |
| 52 overflow-x: auto; |
| 53 padding: 12px 24px; |
| 54 font-size: 15px; |
| 55 } |
| 56 |
| 57 #summary marked-element::shadow #content table { |
| 58 width: 100%; |
| 59 border-collapse: collapse; |
| 60 margin: 12px 0; |
| 61 border-top: 1px solid #e5e5e5; |
| 62 } |
| 63 |
| 64 #summary marked-element::shadow #content tr { |
| 65 border-bottom: 1px solid #e5e5e5; |
| 66 padding: 0 18px; |
| 67 } |
| 68 |
| 69 #summary marked-element::shadow #content td, |
| 70 #summary marked-element::shadow #content th { |
| 71 padding: 6px 12px; |
| 72 } |
| 73 |
| 74 #summary marked-element::shadow #content td:first-child, |
| 75 #summary marked-element::shadow #content th:first-child { |
| 76 padding-left: 24px; |
| 77 } |
| 78 |
| 79 #summary marked-element::shadow #content td:last-child, |
| 80 #summary marked-element::shadow #content th:last-child { |
| 81 padding-right: 24px; |
| 82 } |
| 83 |
| 84 #summary marked-element::shadow #content code { |
| 85 @apply(--paper-font-code1); |
| 86 } |
| 87 |
| 88 #summary marked-element::shadow #content p { |
| 89 padding: 0 24px; |
| 90 } |
| 91 |
| 92 #summary marked-element::shadow #content a { |
| 93 color: var(--paper-indigo-a200); |
| 94 font-weight: 500; |
| 95 text-decoration: none; |
| 96 } |
| 97 |
| 98 #summary marked-element::shadow #content h1, |
| 99 #summary marked-element::shadow #content h2, |
| 100 #summary marked-element::shadow #content h3, |
| 101 #summary marked-element::shadow #content h4, |
| 102 #summary marked-element::shadow #content h5 { |
| 103 padding: 0 18px; |
| 104 } |
| 105 |
| 106 /* Property Sections */ |
| 107 |
| 108 .card { |
| 109 background: white; |
| 110 margin-bottom: 20px; |
| 111 border-radius: 2px; |
| 112 @apply(--shadow-elevation-2dp); |
| 113 } |
| 114 |
| 115 .card > header { |
| 116 padding: 14px 24px; |
| 117 border-bottom: 1px solid #e5e5e5; |
| 118 font-size: 20px; |
| 119 line-height: 28px; |
| 120 font-weight: 400; |
| 121 } |
| 122 |
| 123 iron-doc-property { |
| 124 border-bottom: 1px solid #e5e5e5; |
| 125 } |
| 126 iron-doc-property:last-of-type { |
| 127 border-bottom-width: 0; |
| 128 } |
| 129 |
| 130 /* Private Properties */ |
| 131 |
| 132 iron-doc-property[private] { |
| 133 display: none; |
| 134 } |
| 135 |
| 136 :host(.show-private) iron-doc-property[private] { |
| 137 display: block; |
| 138 } |
| 139 |
| 140 iron-doc-property[configuration] { |
| 141 display: none !important; /* Never. */ |
| 142 } |
| 143 |
| 144 #behaviors > p { |
| 145 border-bottom: 1px solid #e5e5e5; |
| 146 box-sizing: border-box; |
| 147 display: block; |
| 148 padding: 16px 24px; |
| 149 cursor: pointer; |
| 150 } |
| 151 |
OLD | NEW |