1
- import { css } from ' lit-element' ;
1
+ import { css } from " lit-element" ;
2
2
3
3
export default css `
4
4
: host {
5
5
dis play: block;
6
6
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 );
15
9
padding: var(- - property- shape-document- padding);
16
10
}
17
11
@@ -24,38 +18,20 @@ export default css`
24
18
}
25
19
26
20
.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 );
48
27
font-size : 1rem ;
49
28
font-weight : var (--api-type-document-property-title-font-weight , 500 );
50
29
word-break : break-word;
51
30
color : var (--api-type-document-property-title-color );
52
31
}
53
32
54
33
.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 );
59
35
color : var (--api-type-document-property-title-secondary-color , # 616161 );
60
36
}
61
37
@@ -65,10 +41,7 @@ export default css`
65
41
66
42
.property-display-name {
67
43
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 ));
72
45
margin : 4px 0 4px 0 ;
73
46
font-size : var (--api-type-document-property-name-font-size , 16px );
74
47
}
@@ -117,6 +90,10 @@ export default css`
117
90
margin-bottom : 8px ;
118
91
}
119
92
93
+ .property-traits .no-name {
94
+ margin-top : -33px ;
95
+ }
96
+
120
97
.property-traits > span {
121
98
display : inline-block;
122
99
margin-right : 8px ;
@@ -163,7 +140,7 @@ export default css`
163
140
-ms-flex : 1 ;
164
141
flex : 1 ;
165
142
}
166
-
143
+
167
144
.property-traits > span .readonly-type {
168
145
background-color : var (--api-type-readonly-property-background-color , # ff9292 );
169
146
color : var (--api-type-readonly-property-color , black);
0 commit comments