553 lines
9.9 KiB
CSS
553 lines
9.9 KiB
CSS
.dist-lists-page {
|
|
position: relative;
|
|
height: calc(100vh - 115px);
|
|
min-width: 0;
|
|
min-height: 0;
|
|
padding: 0;
|
|
overflow: hidden;
|
|
color: var(--text);
|
|
background: var(--bg);
|
|
}
|
|
|
|
.dist-lists-page *,
|
|
.dist-lists-page *::before,
|
|
.dist-lists-page *::after {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.dist-lists-shell {
|
|
display: grid;
|
|
grid-template-columns: minmax(250px, 300px) minmax(0, 1fr);
|
|
width: 100%;
|
|
height: 100%;
|
|
min-width: 0;
|
|
min-height: 0;
|
|
overflow: hidden;
|
|
border: var(--border-line);
|
|
background: var(--panel);
|
|
}
|
|
|
|
.dist-lists-sidebar,
|
|
.dist-lists-workspace,
|
|
.dist-lists-list-frame,
|
|
.dist-lists-content-frame,
|
|
.dist-lists-content {
|
|
min-width: 0;
|
|
min-height: 0;
|
|
}
|
|
|
|
.dist-lists-sidebar {
|
|
display: flex;
|
|
flex-direction: column;
|
|
overflow: hidden;
|
|
border-right: var(--border-line);
|
|
background: var(--panel-soft);
|
|
}
|
|
|
|
.dist-lists-sidebar-toolbar,
|
|
.dist-lists-workspace-toolbar,
|
|
.dist-lists-section-heading {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 10px;
|
|
flex: 0 0 auto;
|
|
border-bottom: var(--border-line);
|
|
background: var(--panel-header);
|
|
}
|
|
|
|
.dist-lists-sidebar-toolbar {
|
|
min-height: 52px;
|
|
padding: 8px 10px 8px 14px;
|
|
}
|
|
|
|
.dist-lists-sidebar-toolbar > span,
|
|
.dist-lists-toolbar-actions,
|
|
.dist-lists-row-actions,
|
|
.dist-lists-preview-actions,
|
|
.dist-lists-explanation-summary {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 7px;
|
|
}
|
|
|
|
.dist-lists-search {
|
|
padding: 9px;
|
|
border-bottom: var(--border-line);
|
|
background: var(--panel);
|
|
}
|
|
|
|
.dist-lists-search input {
|
|
width: 100%;
|
|
min-height: 34px;
|
|
padding: 7px 9px;
|
|
}
|
|
|
|
.dist-lists-list-frame {
|
|
flex: 1 1 auto;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.dist-lists-list {
|
|
height: 100%;
|
|
overflow: auto;
|
|
padding: 6px;
|
|
}
|
|
|
|
.dist-lists-list > button {
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1fr) auto;
|
|
align-items: center;
|
|
gap: 8px;
|
|
width: 100%;
|
|
min-height: 56px;
|
|
padding: 8px 9px;
|
|
border: 0;
|
|
border-radius: var(--radius-sm);
|
|
background: transparent;
|
|
color: var(--text);
|
|
cursor: pointer;
|
|
text-align: left;
|
|
}
|
|
|
|
.dist-lists-list > button:hover,
|
|
.dist-lists-list > button:focus-visible {
|
|
background: var(--primary-soft);
|
|
outline: none;
|
|
}
|
|
|
|
.dist-lists-list > button.is-selected {
|
|
background: var(--primary-soft-strong);
|
|
box-shadow: inset 3px 0 0 var(--accent);
|
|
}
|
|
|
|
.dist-lists-list > button > span:first-child {
|
|
min-width: 0;
|
|
}
|
|
|
|
.dist-lists-list strong,
|
|
.dist-lists-list small,
|
|
.dist-lists-current-title strong,
|
|
.dist-lists-current-title small,
|
|
.dist-lists-source-cell strong,
|
|
.dist-lists-source-cell small {
|
|
display: block;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.dist-lists-list strong,
|
|
.dist-lists-current-title strong,
|
|
.dist-lists-source-cell strong {
|
|
color: var(--text-strong);
|
|
font-size: 13px;
|
|
}
|
|
|
|
.dist-lists-list small,
|
|
.dist-lists-current-title small,
|
|
.dist-lists-source-cell small {
|
|
margin-top: 3px;
|
|
color: var(--muted);
|
|
font-size: 11px;
|
|
}
|
|
|
|
.dist-lists-workspace {
|
|
display: flex;
|
|
flex-direction: column;
|
|
overflow: hidden;
|
|
background: var(--bg);
|
|
}
|
|
|
|
.dist-lists-workspace-toolbar {
|
|
min-height: 58px;
|
|
padding: 8px 10px 8px 14px;
|
|
}
|
|
|
|
.dist-lists-current-title {
|
|
display: block;
|
|
min-width: 0;
|
|
flex: 1 1 auto;
|
|
}
|
|
|
|
.dist-lists-toolbar-actions {
|
|
flex: 0 0 auto;
|
|
}
|
|
|
|
.dist-lists-toolbar-actions .btn {
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.dist-lists-alerts {
|
|
flex: 0 0 auto;
|
|
padding: 0 12px;
|
|
}
|
|
|
|
.dist-lists-alerts:empty {
|
|
display: none;
|
|
}
|
|
|
|
.dist-lists-alerts .alert {
|
|
margin: 10px 0 0;
|
|
}
|
|
|
|
.dist-lists-content-frame {
|
|
flex: 1 1 auto;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.dist-lists-content {
|
|
height: 100%;
|
|
overflow: auto;
|
|
padding: 14px;
|
|
}
|
|
|
|
.dist-lists-empty,
|
|
.dist-lists-inline-empty {
|
|
display: grid;
|
|
place-items: center;
|
|
min-height: 110px;
|
|
padding: 18px;
|
|
color: var(--muted);
|
|
font-size: 13px;
|
|
text-align: center;
|
|
}
|
|
|
|
.dist-lists-definition-fields {
|
|
display: grid;
|
|
grid-template-columns: minmax(220px, 1.4fr) minmax(160px, 0.7fr) minmax(160px, 0.7fr);
|
|
gap: 12px;
|
|
margin-bottom: 14px;
|
|
}
|
|
|
|
.dist-lists-definition-fields .form-field:last-child {
|
|
grid-column: 1 / -1;
|
|
}
|
|
|
|
.dist-lists-definition-fields input,
|
|
.dist-lists-definition-fields select,
|
|
.dist-lists-definition-fields textarea,
|
|
.dist-lists-dialog-form input,
|
|
.dist-lists-dialog-form select,
|
|
.dist-lists-dialog-form textarea,
|
|
.dist-lists-preview-inputs input,
|
|
.dist-lists-parameter-row input,
|
|
.dist-lists-parameter-row select {
|
|
width: 100%;
|
|
}
|
|
|
|
.dist-lists-definition-fields textarea {
|
|
resize: vertical;
|
|
}
|
|
|
|
.dist-lists-section {
|
|
min-width: 0;
|
|
margin-bottom: 14px;
|
|
border: var(--border-line);
|
|
background: var(--panel);
|
|
}
|
|
|
|
.dist-lists-entry-section {
|
|
min-height: 260px;
|
|
}
|
|
|
|
.dist-lists-section-heading {
|
|
min-height: 44px;
|
|
padding: 7px 10px;
|
|
}
|
|
|
|
.dist-lists-section-heading > span {
|
|
min-width: 0;
|
|
}
|
|
|
|
.dist-lists-section-heading strong,
|
|
.dist-lists-section-heading small {
|
|
display: block;
|
|
}
|
|
|
|
.dist-lists-section-heading strong {
|
|
color: var(--text-strong);
|
|
font-size: 13px;
|
|
}
|
|
|
|
.dist-lists-section-heading small {
|
|
margin-top: 2px;
|
|
color: var(--muted);
|
|
font-size: 11px;
|
|
}
|
|
|
|
.dist-lists-parameter-list {
|
|
padding: 8px;
|
|
}
|
|
|
|
.dist-lists-parameter-row {
|
|
display: grid;
|
|
grid-template-columns: minmax(130px, 1fr) minmax(150px, 1.2fr) minmax(120px, 0.8fr) minmax(130px, 1fr) auto 36px;
|
|
align-items: center;
|
|
gap: 7px;
|
|
padding: 7px;
|
|
border-bottom: var(--border-line);
|
|
}
|
|
|
|
.dist-lists-parameter-row:last-child {
|
|
border-bottom: 0;
|
|
}
|
|
|
|
.dist-lists-grid {
|
|
min-width: 0;
|
|
}
|
|
|
|
.dist-lists-row-actions {
|
|
justify-content: flex-end;
|
|
}
|
|
|
|
.dist-lists-preview-controls {
|
|
display: flex;
|
|
align-items: end;
|
|
justify-content: space-between;
|
|
gap: 14px;
|
|
margin-bottom: 14px;
|
|
padding-bottom: 14px;
|
|
border-bottom: var(--border-line);
|
|
}
|
|
|
|
.dist-lists-preview-inputs {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, minmax(160px, 1fr));
|
|
gap: 10px;
|
|
flex: 1 1 auto;
|
|
}
|
|
|
|
.dist-lists-preview-actions {
|
|
flex: 0 0 auto;
|
|
padding-bottom: 1px;
|
|
}
|
|
|
|
.dist-lists-metrics {
|
|
display: grid;
|
|
grid-template-columns: repeat(4, minmax(110px, 1fr));
|
|
gap: 8px;
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.dist-lists-metrics > span {
|
|
min-height: 62px;
|
|
padding: 9px 10px;
|
|
border: var(--border-line);
|
|
border-radius: var(--radius-sm);
|
|
background: var(--panel);
|
|
}
|
|
|
|
.dist-lists-metrics small,
|
|
.dist-lists-metrics strong {
|
|
display: block;
|
|
}
|
|
|
|
.dist-lists-metrics small {
|
|
color: var(--muted);
|
|
font-size: 10px;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.dist-lists-metrics strong {
|
|
margin-top: 6px;
|
|
color: var(--text-strong);
|
|
font-size: 15px;
|
|
text-transform: capitalize;
|
|
}
|
|
|
|
.dist-lists-content > .alert {
|
|
margin: 8px 0;
|
|
}
|
|
|
|
.dist-lists-result-heading {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
margin: 14px 0 8px;
|
|
}
|
|
|
|
.dist-lists-result-heading code,
|
|
.dist-lists-explanation-summary code {
|
|
overflow: hidden;
|
|
color: var(--muted);
|
|
font-size: 11px;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.dist-lists-candidates {
|
|
display: block;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.dist-lists-dialog-form {
|
|
display: grid;
|
|
gap: 12px;
|
|
}
|
|
|
|
.dist-lists-entry-dialog {
|
|
width: min(780px, calc(100vw - 32px));
|
|
max-width: 780px;
|
|
}
|
|
|
|
.dist-lists-form-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
gap: 10px;
|
|
}
|
|
|
|
.dist-lists-provider-notices {
|
|
display: grid;
|
|
max-height: 150px;
|
|
overflow: auto;
|
|
}
|
|
|
|
.dist-lists-provider-notices .alert {
|
|
margin: 4px 0;
|
|
}
|
|
|
|
.dist-lists-channel-fieldset {
|
|
display: grid;
|
|
grid-template-columns: repeat(4, minmax(0, 1fr));
|
|
gap: 8px;
|
|
margin: 0;
|
|
padding: 10px;
|
|
border: var(--border-line);
|
|
}
|
|
|
|
.dist-lists-channel-fieldset legend {
|
|
padding: 0 5px;
|
|
color: var(--muted);
|
|
font-size: 11px;
|
|
}
|
|
|
|
.dist-lists-explanation-dialog {
|
|
width: min(760px, calc(100vw - 32px));
|
|
max-width: 760px;
|
|
}
|
|
|
|
.dist-lists-explanation-content {
|
|
display: grid;
|
|
gap: 9px;
|
|
}
|
|
|
|
.dist-lists-explanation-content h3 {
|
|
margin: 8px 0 0;
|
|
color: var(--text-strong);
|
|
font-size: 13px;
|
|
}
|
|
|
|
.dist-lists-decision {
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1fr) auto;
|
|
gap: 6px 10px;
|
|
padding: 10px;
|
|
border: var(--border-line);
|
|
border-left: 3px solid var(--accent);
|
|
background: var(--panel-soft);
|
|
}
|
|
|
|
.dist-lists-decision span strong,
|
|
.dist-lists-decision span small {
|
|
display: block;
|
|
}
|
|
|
|
.dist-lists-decision span small {
|
|
margin-top: 3px;
|
|
color: var(--muted);
|
|
}
|
|
|
|
.dist-lists-decision p,
|
|
.dist-lists-decision pre {
|
|
grid-column: 1 / -1;
|
|
margin: 0;
|
|
}
|
|
|
|
.dist-lists-explanation-content pre {
|
|
max-height: 210px;
|
|
margin: 0;
|
|
padding: 9px;
|
|
overflow: auto;
|
|
border: var(--border-line);
|
|
background: var(--panel-soft);
|
|
color: var(--text);
|
|
font-size: 11px;
|
|
white-space: pre-wrap;
|
|
word-break: break-word;
|
|
}
|
|
|
|
@media (max-width: 1040px) {
|
|
.dist-lists-shell {
|
|
grid-template-columns: minmax(220px, 260px) minmax(0, 1fr);
|
|
}
|
|
|
|
.dist-lists-workspace-toolbar {
|
|
align-items: flex-start;
|
|
}
|
|
|
|
.dist-lists-toolbar-actions {
|
|
flex-wrap: wrap;
|
|
justify-content: flex-end;
|
|
}
|
|
|
|
.dist-lists-definition-fields,
|
|
.dist-lists-preview-inputs {
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
}
|
|
|
|
.dist-lists-parameter-row {
|
|
grid-template-columns: repeat(2, minmax(0, 1fr)) auto;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 760px) {
|
|
.dist-lists-page {
|
|
height: auto;
|
|
min-height: calc(100vh - 115px);
|
|
overflow: auto;
|
|
}
|
|
|
|
.dist-lists-shell {
|
|
display: flex;
|
|
min-height: calc(100vh - 115px);
|
|
overflow: visible;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.dist-lists-sidebar {
|
|
min-height: 230px;
|
|
max-height: 36vh;
|
|
border-right: 0;
|
|
border-bottom: var(--border-line);
|
|
}
|
|
|
|
.dist-lists-workspace {
|
|
min-height: 560px;
|
|
}
|
|
|
|
.dist-lists-workspace-toolbar,
|
|
.dist-lists-preview-controls {
|
|
align-items: stretch;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.dist-lists-toolbar-actions,
|
|
.dist-lists-preview-actions {
|
|
justify-content: flex-start;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.dist-lists-definition-fields,
|
|
.dist-lists-preview-inputs,
|
|
.dist-lists-form-grid,
|
|
.dist-lists-metrics,
|
|
.dist-lists-channel-fieldset,
|
|
.dist-lists-parameter-row {
|
|
grid-template-columns: minmax(0, 1fr);
|
|
}
|
|
}
|