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.github.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/CONTRIBUTORS.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/PATENTS.txt
11
<link rel="import" href="../paper-styles/typography.html">
13
<dom-module id="iron-doc-viewer-styles">
17
@apply(--paper-font-body1);
24
@apply(--paper-font-headline);
30
display: none !important;
35
text-decoration: none;
39
color: var(--paper-pink-500);
48
@apply(--paper-font-title);
54
@apply(--paper-font-button);
56
color: var(--paper-grey-800);
62
/* Common Formatting */
68
#summary .markdown-html pre {
69
background-color: var(--paper-grey-200);
74
word-wrap: break-word;
77
#summary .markdown-html table {
78
background-color: var(--paper-grey-200);
79
border-collapse: collapse;
84
#summary .markdown-html tr {
88
#summary .markdown-html td,
89
#summary .markdown-html th {
93
#summary .markdown-html td:first-child,
94
#summary .markdown-html th:first-child {
98
#summary .markdown-html td:last-child,
99
#summary .markdown-html th:last-child {
103
#summary .markdown-html td:first-child > code {
108
#summary .markdown-html code {
109
@apply(--paper-font-code1);
110
background: var(--paper-grey-200);
115
#summary .markdown-html p {
119
#summary .markdown-html a {
121
@apply(--paper-font-body1);
122
color: var(--paper-indigo-a200);
124
text-decoration: none;
127
#summary .markdown-html h1 {
128
@apply(--paper-font-display1);
131
#summary .markdown-html h2 {
132
@apply(--paper-font-headline);
135
#summary .markdown-html h3 {
136
@apply(--paper-font-title);
139
#summary .markdown-html h4 {
140
@apply(--paper-font-subhead);
143
/* Property Sections */
157
@apply(--iron-doc-viewer-header);
161
border-bottom: 1px solid var(--paper-grey-200);
165
background: var(--paper-grey-200);
168
iron-doc-property:first-of-type {
169
border-top-left-radius: 3px;
170
border-top-right-radius: 3px;
173
iron-doc-property:last-of-type {
174
border-bottom-left-radius: 3px;
175
border-bottom-right-radius: 3px;
178
/* Private Properties */
180
iron-doc-property[private] {
184
:host(.show-private) iron-doc-property[private] {
186
background: var(--paper-grey-300);
189
iron-doc-property[configuration] {
190
display: none !important; /* Never. */
194
box-sizing: border-box;
200
#behaviors > p:last-of-type {
205
color: var(--paper-pink-500);