flare / flare-ui /src /app /dialogs /intent-edit-dialog /intent-edit-dialog.component.scss
ciyidogan's picture
Upload 118 files
9f79da5 verified
mat-dialog-content {
min-width: 700px;
max-width: 900px;
max-height: 70vh;
padding: 0;
}
.tab-content {
padding: 24px;
}
.full-width {
width: 100%;
margin-bottom: 16px;
}
h4 {
margin: 24px 0 16px 0;
color: rgba(0, 0, 0, 0.87);
}
mat-divider {
margin: 24px 0;
}
// Examples Tab
.examples-section {
.examples-header {
display: flex;
align-items: center;
gap: 16px;
margin-bottom: 16px;
h4 {
margin: 0;
}
.locale-selector {
width: 150px;
}
}
.add-example {
display: flex;
gap: 16px;
align-items: flex-start;
margin-bottom: 24px;
.example-input {
flex: 1;
}
}
.examples-list {
border: 1px solid #e0e0e0;
border-radius: 4px;
padding: 0;
mat-list-item {
border-bottom: 1px solid #f5f5f5;
&:last-child {
border-bottom: none;
}
&:hover {
background-color: #f5f5f5;
}
}
}
}
// Parameters Tab
.parameters-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 16px;
h4 {
margin: 0;
}
}
.parameters-list {
mat-expansion-panel {
margin-bottom: 8px;
mat-chip-listbox {
margin-left: 16px;
mat-chip {
font-size: 11px;
min-height: 20px;
padding: 2px 8px;
}
}
}
.parameter-content {
padding: 16px;
.parameter-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 16px;
margin-bottom: 16px;
}
mat-checkbox {
margin-bottom: 16px;
}
.parameter-actions {
display: flex;
align-items: center;
margin-top: 16px;
padding-top: 16px;
border-top: 1px solid #e0e0e0;
.spacer {
flex: 1;
}
}
}
}
.empty-state {
text-align: center;
padding: 40px 20px;
mat-icon {
font-size: 48px;
width: 48px;
height: 48px;
color: #e0e0e0;
margin-bottom: 16px;
}
p {
color: #666;
margin: 0;
}
}
mat-dialog-actions {
padding: 16px 24px;
margin: 0;
}