mirror of
https://github.com/XiaoDaiGua-Ray/ray-template.git
synced 2026-11-22 19:43:37 +08:00
2 lines
1.8 KiB
CSS
2 lines
1.8 KiB
CSS
.route-management{gap:20px;max-width:1360px;margin-inline:auto;display:grid;container-type:inline-size}.route-management__workspace{grid-template-columns:minmax(0,1fr);align-items:start;gap:20px;display:grid}.route-management__workspace>*{min-width:0}.route-management__add{border:1px solid var(--r-line);border-radius:8px;margin-block:16px;padding:12px}.route-management__add summary{cursor:pointer}.route-management__add form{grid-template-columns:repeat(auto-fit,minmax(min(100%,150px),1fr));align-items:end;gap:12px;margin-top:12px;display:grid}.route-management__tools{margin-block:12px}.route-management__hint,.route-management__contract p{color:var(--r-text-secondary);margin:12px 0}.route-management__endpoint,.route-management__routes{overflow-wrap:anywhere}.route-management__editor{font-family:var(--r-font-mono);font-size:13px}.route-management__error{white-space:pre-wrap;overflow-wrap:anywhere;max-height:200px;overflow:auto}.route-management__routes{border:1px solid var(--r-line);border-radius:8px;max-height:480px;padding:0;list-style:none;overflow:auto}.route-management__routes li{gap:4px;padding:8px;display:grid}.route-management__routes li+li{border-top:1px solid var(--r-line)}.route-management__routes small{color:var(--r-text-secondary)}@container (width>=850px){.route-management__workspace{grid-template-columns:minmax(0,2fr) minmax(240px,1fr)}}.route-management__tree{max-block-size:540px;margin-block-start:16px;overflow:auto}.route-management__tree .n-tree-node-content__text,.route-management__node-actions+.route-management__hint{overflow-wrap:anywhere}.route-management__fields{grid-template-columns:repeat(auto-fit,minmax(min(100%,210px),1fr));gap:0 16px;display:grid}.route-management__fields .n-form-item{min-inline-size:0}@container (width>=850px){.route-management__workspace--visual{grid-template-columns:minmax(240px,1fr) minmax(0,1.6fr)}}
|