File size: 3,332 Bytes
9e15897
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
.notify-destinations {
  min-width: 0;
  min-height: 0;
  max-width: 100%;
  color: var(--lp-ink);
  font-size: var(--lp-fs-xs);
  line-height: var(--lp-lh);
}

.notify-form {
  display: flex;
  flex-direction: column;
  gap: var(--lp-section-gap);
  min-width: 0;
}

.notify-kind {
  display: grid;
  gap: calc(var(--lp-content-inset) / 2);
  min-width: 0;
  padding-bottom: var(--lp-section-gap);
  border-bottom: var(--lp-hairline-width) solid var(--lp-line);
}

.notify-destinations .notify-kind-title {
  margin: 0;
  overflow-wrap: anywhere;
}

.notify-channels {
  min-inline-size: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.notify-channels legend,
.notify-email-field > label {
  padding: 0;
  color: var(--lp-ink);
  font-weight: var(--lp-fw-semibold);
}

.notify-channel-list {
  display: grid;
  gap: calc(var(--lp-content-inset) / 3);
  margin: calc(var(--lp-content-inset) / 3) 0 0;
  padding: 0;
  list-style: none;
}

.notify-choice {
  display: flex;
  align-items: flex-start;
  gap: calc(var(--lp-content-inset) / 3);
  width: fit-content;
  max-width: 100%;
  cursor: pointer;
  overflow-wrap: anywhere;
}

.notify-channel-pick {
  flex: none;
  width: var(--lp-fs-md);
  height: var(--lp-fs-md);
  margin: calc(var(--lp-content-inset) / 6) 0 0;
  accent-color: var(--lp-blue-deep);
}

.notify-email-field {
  display: grid;
  gap: calc(var(--lp-content-inset) / 6);
  min-width: 0;
}

.notify-email {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  min-height: calc(var(--lp-content-inset) * 4 / 3);
  padding: calc(var(--lp-content-inset) / 6) calc(var(--lp-content-inset) / 3);
  border: var(--lp-hairline-width) solid var(--lp-line);
  border-radius: var(--lp-r-sm);
  background: var(--lp-surface);
  color: var(--lp-ink);
  font: inherit;
}

.notify-email:focus-visible,
.notify-channel-pick:focus-visible,
.notify-slack-connect a:focus-visible {
  outline: calc(var(--lp-hairline-width) * 2) solid var(--lp-blue-deep);
  outline-offset: calc(var(--lp-hairline-width) * 2);
}

.notify-email:disabled,
.notify-channel-pick:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.notify-choice:has(input:disabled) {
  cursor: not-allowed;
}

.notify-slack-status,
.notify-destination-reasons {
  display: grid;
  gap: calc(var(--lp-content-inset) / 6);
}

.notify-slack-status:empty,
.notify-destination-reasons:empty,
.notify-channel-list:empty {
  display: none;
}

.notify-destinations .notify-channel-loading {
  min-height: calc(var(--lp-content-inset) * 4 / 3);
  padding: 0;
}

.notify-channel > .notify-destination-reasons,
.notify-channel > .notify-pending {
  padding-left: calc(var(--lp-fs-md) + var(--lp-content-inset) / 3);
}

.notify-destination-reason,
.notify-pending,
.notify-slack-status p,
.notify-empty,
.notify-save-status {
  margin: 0;
  color: var(--lp-muted);
  font-size: var(--lp-fs-2xs);
  overflow-wrap: anywhere;
}

.notify-slack-connect a {
  color: var(--lp-blue-deep);
}

.notify-error {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: calc(var(--lp-content-inset) / 3);
}

.notify-error p,
.notify-write-error {
  margin: 0;
  color: var(--lp-red-deep);
  overflow-wrap: anywhere;
}

.notify-destinations .notify-actions {
  margin-top: 0;
}

.notify-save-status {
  min-height: calc(var(--lp-fs-2xs) * var(--lp-lh));
  color: var(--lp-ink);
}