Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(301)

Side by Side Diff: polymer_1.0.4/bower_components/iron-doc-viewer/iron-doc-property.css

Issue 1205703007: Add polymer 1.0 to npm_modules (Closed) Base URL: https://chromium.googlesource.com/infra/third_party/npm_modules.git@master
Patch Set: Renamed folder to 1.0.4 Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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 box-sizing: border-box;
13 display: block;
14 padding: 16px 24px;
15 }
16
17 .type:before {
18 content: '\007b'; /* https://github.com/Polymer/polymer/issues/1291 */
19 }
20 .type:after {
21 content: '\007d'; /* https://github.com/Polymer/polymer/issues/1291 */
22 }
23
24 #transitionMask {
25 position: relative;
26 overflow: hidden;
27 padding-left: 160px;
28 }
29
30 [hidden] {
31 display: none;
32 }
33
34 #signature {
35 @apply(--paper-font-code1);
36 width: 160px;
37 overflow: hidden;
38 text-overflow: ellipsis;
39 position: absolute;
40 left: 0;
41 top: 0;
42 }
43
44 #signature .name {
45 @apply(--paper-font-code2);
46 }
47
48 :host([function]) #signature {
49 position: static;
50 margin-left: -160px;
51 width: 100%;
52 }
53
54 :host:not([function]) #signature .params {
55 display: none;
56 }
57
58 :host([function]) #type {
59 display: none;
60 }
61
62 #details {
63 flex: 1;
64 }
65
66 /* Metadata */
67
68 #meta {
69 display: flex;
70 }
71
72 #type {
73 @apply(--paper-font-code1);
74 }
75
76 #default {
77 flex: 1;
78 text-align: right;
79 }
80 #default .value {
81 @apply(--paper-font-code1);
82 }
83
84 /* Function Parameters */
85
86 #params {
87 background: rgba(0,0,0,0.05);
88 list-style: none;
89 margin: 8px -8px 0 -8px;
90 padding: 0 8px;
91 }
92
93 #params .type {
94 @apply(--paper-font-code1);
95 }
96
97 #params li {
98 padding: 4px 0;
99 }
100 #params li:first-child {
101 padding-top: 8px;
102 }
103 #params li:last-child {
104 padding-bottom: 8px;
105 }
106
107 #params marked-element {
108 display: inline-block;
109 }
110 #params marked-element::shadow #content p {
111 margin: 0;
112 }
113
114 /* Description */
115
116 #desc {
117 display: block;
118 }
119
120 #desc::shadow #content > :first-child {
121 margin-top: 0;
122 }
123
124 #desc::shadow #content > :last-child {
125 margin-bottom: 0;
126 }
127
128 #desc::shadow #content #content code {
129 @apply(--paper-font-code1);
130 }
131
132 /* State Transitions */
133
134 #transitionMask {
135 transition: height ease-in-out 150ms;
136 }
137 #meta {
138 transition: opacity ease-in-out 150ms;
139 }
140 #desc {
141 transition: transform ease-in-out 150ms, opacity ease-in-out 150ms;
142 }
143
144 /* Collapsed State */
145
146 :host([_collapsed]) #transitionMask {
147 height: 20px; /* 1 line of text */
148 overflow: hidden;
149 }
150 :host([_collapsed]) #meta {
151 opacity: 0;
152 }
153 :host([_collapsed]) #desc {
154 transform: translateY(-34px);
155 }
156 :host([_collapsed][function]) #desc {
157 opacity: 0;
158 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698