Conectar: Configuración and Avanzado tabs, rows instead of JSON, field titles as keys, captions that fit their nodes
This commit is contained in:
@@ -140,3 +140,55 @@ h2 {
|
||||
color: var(--color-success, #2e7d32);
|
||||
}
|
||||
}
|
||||
|
||||
// The canvas's nodes: the kind small on top, the name below in two lines at most.
|
||||
:host ::ng-deep default-node {
|
||||
box-sizing: border-box;
|
||||
overflow: hidden;
|
||||
padding: 4px 10px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
:host ::ng-deep .node-caption {
|
||||
min-width: 0;
|
||||
width: 100%;
|
||||
line-height: 1.2;
|
||||
}
|
||||
:host ::ng-deep .node-caption .kind {
|
||||
display: block;
|
||||
font-size: 10px;
|
||||
color: var(--color-text-secondary);
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
:host ::ng-deep .node-caption .name {
|
||||
display: -webkit-box;
|
||||
-webkit-line-clamp: 2;
|
||||
-webkit-box-orient: vertical;
|
||||
overflow: hidden;
|
||||
font-size: 12px;
|
||||
font-weight: 500;
|
||||
overflow-wrap: anywhere;
|
||||
}
|
||||
.panel-tabs {
|
||||
margin-top: var(--space-2);
|
||||
}
|
||||
.panel-tabs .hint {
|
||||
color: var(--color-text-secondary);
|
||||
font-size: 12px;
|
||||
margin: var(--space-3) 0;
|
||||
}
|
||||
.raw textarea {
|
||||
font-family: monospace;
|
||||
font-size: 12px;
|
||||
}
|
||||
.error {
|
||||
color: var(--mat-sys-error);
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
// Fields in the panel keep their hints clear of the next field's label.
|
||||
:host ::ng-deep .panel mat-form-field {
|
||||
margin-bottom: var(--space-3);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user