Index: polymer_1.0.4/bower_components/iron-doc-viewer/iron-doc-property.css |
diff --git a/polymer_1.0.4/bower_components/iron-doc-viewer/iron-doc-property.css b/polymer_1.0.4/bower_components/iron-doc-viewer/iron-doc-property.css |
new file mode 100644 |
index 0000000000000000000000000000000000000000..dc4f2107ca8e14e7ac37889a22a7e6ec60676517 |
--- /dev/null |
+++ b/polymer_1.0.4/bower_components/iron-doc-viewer/iron-doc-property.css |
@@ -0,0 +1,158 @@ |
+/* |
+@license |
+Copyright (c) 2015 The Polymer Project Authors. All rights reserved. |
+This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt |
+The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt |
+The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt |
+Code distributed by Google as part of the polymer project is also |
+subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt |
+*/ |
+:host { |
+ @apply(--paper-font-body1); |
+ box-sizing: border-box; |
+ display: block; |
+ padding: 16px 24px; |
+} |
+ |
+.type:before { |
+ content: '\007b'; /* https://github.com/Polymer/polymer/issues/1291 */ |
+} |
+.type:after { |
+ content: '\007d'; /* https://github.com/Polymer/polymer/issues/1291 */ |
+} |
+ |
+#transitionMask { |
+ position: relative; |
+ overflow: hidden; |
+ padding-left: 160px; |
+} |
+ |
+[hidden] { |
+ display: none; |
+} |
+ |
+#signature { |
+ @apply(--paper-font-code1); |
+ width: 160px; |
+ overflow: hidden; |
+ text-overflow: ellipsis; |
+ position: absolute; |
+ left: 0; |
+ top: 0; |
+} |
+ |
+#signature .name { |
+ @apply(--paper-font-code2); |
+} |
+ |
+:host([function]) #signature { |
+ position: static; |
+ margin-left: -160px; |
+ width: 100%; |
+} |
+ |
+:host:not([function]) #signature .params { |
+ display: none; |
+} |
+ |
+:host([function]) #type { |
+ display: none; |
+} |
+ |
+#details { |
+ flex: 1; |
+} |
+ |
+/* Metadata */ |
+ |
+#meta { |
+ display: flex; |
+} |
+ |
+#type { |
+ @apply(--paper-font-code1); |
+} |
+ |
+#default { |
+ flex: 1; |
+ text-align: right; |
+} |
+#default .value { |
+ @apply(--paper-font-code1); |
+} |
+ |
+/* Function Parameters */ |
+ |
+#params { |
+ background: rgba(0,0,0,0.05); |
+ list-style: none; |
+ margin: 8px -8px 0 -8px; |
+ padding: 0 8px; |
+} |
+ |
+#params .type { |
+ @apply(--paper-font-code1); |
+} |
+ |
+#params li { |
+ padding: 4px 0; |
+} |
+#params li:first-child { |
+ padding-top: 8px; |
+} |
+#params li:last-child { |
+ padding-bottom: 8px; |
+} |
+ |
+#params marked-element { |
+ display: inline-block; |
+} |
+#params marked-element::shadow #content p { |
+ margin: 0; |
+} |
+ |
+/* Description */ |
+ |
+#desc { |
+ display: block; |
+} |
+ |
+#desc::shadow #content > :first-child { |
+ margin-top: 0; |
+} |
+ |
+#desc::shadow #content > :last-child { |
+ margin-bottom: 0; |
+} |
+ |
+#desc::shadow #content #content code { |
+ @apply(--paper-font-code1); |
+} |
+ |
+/* State Transitions */ |
+ |
+#transitionMask { |
+ transition: height ease-in-out 150ms; |
+} |
+#meta { |
+ transition: opacity ease-in-out 150ms; |
+} |
+#desc { |
+ transition: transform ease-in-out 150ms, opacity ease-in-out 150ms; |
+} |
+ |
+/* Collapsed State */ |
+ |
+:host([_collapsed]) #transitionMask { |
+ height: 20px; /* 1 line of text */ |
+ overflow: hidden; |
+} |
+:host([_collapsed]) #meta { |
+ opacity: 0; |
+} |
+:host([_collapsed]) #desc { |
+ transform: translateY(-34px); |
+} |
+:host([_collapsed][function]) #desc { |
+ opacity: 0; |
+} |