1- import { css } from ' lit-element' ;
1+ import { css } from " lit-element" ;
22
33export default css `
44 : host {
55 dis play: block;
66 bor der- botto m- width: 1px;
7- bor der- botto m- color : var(
8- --property-shape-document-border-bottom-color ,
9- # cfd8dc
10- );
11- bor der- botto m- style: var(
12- - - property- shape-document- bor der- botto m- style,
13- dashed
14- );
7+ bor der- botto m- color : var(--property-shape-document-border-bottom-color , # cfd8dc );
8+ bor der- botto m- style: var(- - property- shape-document- bor der- botto m- style, dashed );
159 padding: var(- - property- shape-document- padding);
1610 }
1711
@@ -24,38 +18,20 @@ export default css`
2418 }
2519
2620 .property-title {
27- font-family : var (
28- --property-shape-document-title-font-family ,
29- var (--arc-font-subhead-font-family )
30- );
31- font-size : var (
32- --property-shape-document-title-font-size ,
33- var (--arc-font-subhead-font-size , 1rem )
34- );
35- font-weight : var (
36- --property-shape-document-title-font-weight ,
37- var (--arc-font-subhead-font-weight )
38- );
39- line-height : var (
40- --property-shape-document-title-line-height ,
41- var (--arc-font-subhead-line-height )
42- );
43-
44- margin : var (
45- --property-shape-document-title-margin ,
46- 4px 0 4px 0
47- );
21+ font-family : var (--property-shape-document-title-font-family , var (--arc-font-subhead-font-family ));
22+ font-size : var (--property-shape-document-title-font-size , var (--arc-font-subhead-font-size , 1rem ));
23+ font-weight : var (--property-shape-document-title-font-weight , var (--arc-font-subhead-font-weight ));
24+ line-height : var (--property-shape-document-title-line-height , var (--arc-font-subhead-line-height ));
25+
26+ margin : var (--property-shape-document-title-margin , 4px 0 4px 0 );
4827 font-size : 1rem ;
4928 font-weight : var (--api-type-document-property-title-font-weight , 500 );
5029 word-break : break-word;
5130 color : var (--api-type-document-property-title-color );
5231 }
5332
5433 .property-title [secondary ] {
55- font-weight : var (
56- --api-type-document-property-title-secondary-font-weight ,
57- 400
58- );
34+ font-weight : var (--api-type-document-property-title-secondary-font-weight , 400 );
5935 color : var (--api-type-document-property-title-secondary-color , # 616161 );
6036 }
6137
@@ -65,10 +41,7 @@ export default css`
6541
6642 .property-display-name {
6743 font-weight : var (--api-type-document-property-name-font-weight , 500 );
68- color : var (
69- --api-type-document-property-name-color ,
70- var (--api-type-document-property-color , # 212121 )
71- );
44+ color : var (--api-type-document-property-name-color , var (--api-type-document-property-color , # 212121 ));
7245 margin : 4px 0 4px 0 ;
7346 font-size : var (--api-type-document-property-name-font-size , 16px );
7447 }
@@ -117,6 +90,10 @@ export default css`
11790 margin-bottom : 8px ;
11891 }
11992
93+ .property-traits .no-name {
94+ margin-top : -33px ;
95+ }
96+
12097 .property-traits > span {
12198 display : inline-block;
12299 margin-right : 8px ;
@@ -163,7 +140,7 @@ export default css`
163140 -ms-flex : 1 ;
164141 flex : 1 ;
165142 }
166-
143+
167144 .property-traits > span .readonly-type {
168145 background-color : var (--api-type-readonly-property-background-color , # ff9292 );
169146 color : var (--api-type-readonly-property-color , black);
0 commit comments