File size: 4,188 Bytes
a83fcff
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
/* Wave 55 T18. Connector settings remains the existing centered modal species, with the
   viewport itself as its vertical boundary. The header and tabs stay fixed while the body owns
   the scroll, so long discovered-model catalogs never depend on document scrolling or clip the
   active tab. */
.conn-modal-backdrop {
  padding: 16px;
}

.conn-modal {
  width: min(1200px, calc(100vw - 32px));
  height: calc(100dvh - 32px);
  max-height: calc(100dvh - 32px);
}

.conn-modal-body {
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}

/* The graph stage is still computed solely from the server DTO. Its measured container width is
   now a lower bound, allowing newly materialized model cards to wrap into the available room
   while oversized relation bands retain their local horizontal scroll. */
.conn-rd-scroll {
  width: 100%;
  max-width: 100%;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}

.conn-rd-stage {
  min-width: 100%;
}

/* Credential replacement is one compact write-only form. Nothing nests it in another card and
   the status slot reserves its line so an error does not move the action row. */
.conn-kc-replace {
  width: min(720px, 100%);
}

.conn-kc-replace h3 {
  margin: 0 0 8px;
  color: var(--lp-ink);
  font-size: var(--lp-fs-sm);
  font-weight: 600;
}

.conn-kc-message-slot {
  min-height: 1lh;
  margin-bottom: 8px;
}

.conn-kc-message-slot .conn-kc-error {
  margin-bottom: 0;
}

/* Amazon's provider-owned database controls sit above the existing disclosure without nesting a
   second card. They reuse the established connector switch; this file only supplies the compact
   list rhythm and the reserved response line. */
.conn-provider-enable {
  margin-bottom: 16px;
}

.conn-provider-enable-head {
  display: grid;
  gap: 4px;
  margin-bottom: 8px;
}

.conn-provider-enable-head h3,
.conn-provider-enable-head p {
  margin: 0;
}

.conn-provider-enable-head h3 {
  color: var(--lp-ink);
  font-size: var(--lp-fs-sm);
  font-weight: 600;
}

.conn-provider-enable-head p {
  color: var(--lp-muted);
  font-size: var(--lp-fs-2xs);
}

.conn-provider-enable-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--lp-line);
  border-bottom: 1px solid var(--lp-line);
}

.conn-provider-enable-list li {
  display: flex;
  min-height: 40px;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px solid var(--lp-line);
  color: var(--lp-ink);
  font-size: var(--lp-fs-2xs);
}

.conn-provider-enable-list li:last-child {
  border-bottom: 0;
}

.conn-provider-enable-control {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.conn-provider-enable .conn-db-switch:disabled {
  cursor: not-allowed;
}

.conn-provider-enable-status {
  min-height: 1lh;
  margin-top: 4px;
  color: var(--lp-red-deep);
  font-size: var(--lp-fs-3xs);
}

.conn-kc-field input:disabled,
.conn-kc-field select:disabled,
.conn-kc-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

/* Cadence is a single aligned row: label, preset and the server-declared floor. Connection facts
   above it use a wider shared label column so Credential and Account do not wrap into values. */
.conn-odoo-row {
  grid-template-columns: 96px minmax(0, 1fr);
}

.conn-cadence-row {
  display: grid;
  grid-template-columns: 96px minmax(220px, 320px) minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  border-top: 1px solid var(--lp-line);
  border-bottom: 1px solid var(--lp-line);
}

.conn-cadence-row label {
  color: var(--lp-ink);
  font-size: var(--lp-fs-2xs);
  font-weight: 600;
}

.conn-cadence-row .conn-odoo-every {
  width: 100%;
  min-height: 32px;
}

.conn-cadence-floor {
  color: var(--lp-muted);
  font-size: var(--lp-fs-3xs);
}

.conn-odoo-grids {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

@media (max-width: 720px) {
  .conn-modal-backdrop {
    padding: 8px;
  }

  .conn-modal {
    width: calc(100vw - 16px);
    height: calc(100dvh - 16px);
    max-height: calc(100dvh - 16px);
  }

  .conn-cadence-row {
    grid-template-columns: 88px minmax(0, 1fr);
  }

  .conn-cadence-floor {
    grid-column: 2;
  }
}