-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathSchemaViewer.scss
80 lines (60 loc) · 1.47 KB
/
SchemaViewer.scss
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
@use '../../../../styles/mixins.scss';
.schema-viewer {
&__keys {
display: inline-block;
padding-bottom: var(--g-spacing-4);
padding-left: 10px;
&-values {
display: inline;
color: var(--g-color-text-complementary);
@include mixins.body-1-typography();
}
&-header {
display: inline;
font-weight: bold;
white-space: nowrap;
color: var(--g-color-text-primary);
@include mixins.subheader-1-typography();
}
&-label {
cursor: pointer;
}
&-wrapper {
position: sticky;
z-index: 1;
left: 0;
width: 100%;
}
& + & {
margin-left: var(--g-spacing-8);
}
&_summary {
& + & {
margin-left: 0;
}
}
}
&__popup-content {
padding: var(--g-spacing-2) var(--g-spacing-4);
}
&__popup-item {
padding-bottom: var(--g-spacing-2);
&:last-child {
padding-bottom: 0;
}
}
&__more-badge {
margin-left: var(--g-spacing-1);
}
&__key-icon {
position: absolute;
top: 3.5px;
margin-left: var(--g-spacing-half);
vertical-align: baseline;
}
&__id-wrapper {
position: relative;
display: inline-block;
padding-right: var(--g-spacing-1);
}
}