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-property-styles">
17
@apply(--paper-font-body1);
19
box-sizing: border-box;
35
text-decoration: none;
39
color: var(--paper-pink-500);
43
@apply(--paper-font-code1);
47
text-overflow: ellipsis;
53
@apply(--paper-font-code2);
56
:host([function]) #signature {
61
:host:not([function]) #signature .params {
65
:host([function]) #type {
78
@apply(--paper-font-code1);
88
.annotation > span::before {
89
content: " · ";
92
.annotation > span:first-child::before {
93
content: "" !important;
101
/* Function Parameters */
105
margin: 8px -8px 0 -8px;
110
@apply(--paper-font-code1);
117
#params li:first-child {
121
#params li:last-child {
126
display: inline-block;
129
#params .markdown-html p {
140
#desc .markdown-html > :first-child {
144
#desc .markdown-html > :last-child {
148
#desc .markdown-html code {
149
@apply(--paper-font-code1);
156
/* State Transitions */
159
transition: height ease-in-out 150ms;
162
transition: opacity ease-in-out 150ms;
163
color: var(--paper-blue-500);
166
transition: transform ease-in-out 150ms, opacity ease-in-out 150ms;
173
/* Collapsed State */
175
:host([_collapsed]) #transitionMask {
176
height: 20px; /* 1 line of text */
180
:host([_collapsed]) #meta {
184
:host([_collapsed]) #desc {
185
transform: translateY(-34px);
188
:host([_collapsed][function]) #desc {
192
@media (max-width: 600px) {