-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Expand file tree
/
Copy pathRelations.prefix.css
More file actions
127 lines (109 loc) · 2.11 KB
/
Relations.prefix.css
File metadata and controls
127 lines (109 loc) · 2.11 KB
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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
.relations {
&__item {
cursor: default;
user-select: none;
padding: 0 8px;
transition: all 150ms ease-out;
&_hidden {
opacity: 0.4;
}
&:hover {
background-color: var(--color-primary-emphasis-subtle);
}
}
&__content {
display: flex;
align-items: center;
padding: 5px 0;
}
&__nodes {
display: flex;
flex-direction: column;
gap: 8px;
}
&__direction {
height: 100%;
width: 100%;
z-index: 1;
cursor: pointer;
position: absolute;
display: flex;
align-items: center;
justify-content: flex-end;
color: var(--color-neutral-content-subtle);
&:hover {
color: var(--color-neutral-content);
}
}
&__icon {
width: 24px;
min-height: 24px;
display: flex;
flex: none;
position: relative;
align-items: center;
justify-content: center;
}
&__actions {
flex: 1;
display: grid;
justify-content: flex-end;
grid-auto-flow: column;
grid-auto-columns: minmax(32px, min-content);
}
&__action {
display: flex;
height: 32px;
width: 32px;
align-items: center;
justify-content: center;
& svg {
width: 18px;
height: 18px;
}
.button {
width: 100%;
height: 100%;
}
}
}
.region-meta {
margin: 8px 0;
}
.relation-meta {
display: flex;
flex-direction: column;
gap: 8px;
padding-left: 64px;
padding-right: 8px;
padding-bottom: 5px;
align-items: stretch;
&__title {
flex: none;
padding-right: 8px;
}
&__field {
display: flex;
flex-direction: column;
gap: 4px;
}
&__label {
color: var(--color-neutral-content-subtle);
font-size: 12px;
line-height: 16px;
}
&__select {
flex: 1;
}
&__note {
width: 100%;
min-height: 48px !important;
padding: 6px 8px !important;
border: 1px solid var(--color-neutral-border) !important;
border-radius: 4px !important;
background-color: var(--color-neutral-background) !important;
color: var(--color-neutral-content) !important;
font-size: 12px !important;
line-height: 18px !important;
}
}