mirror of
https://github.com/getredash/redash.git
synced 2026-03-22 10:00:17 -04:00
* DynamicForm support for advanced options * Randomly select a few options to be advanced * Merge conditions with the same logic * Address some comments * Update styling for the button * Some style adjustments (#4162) * Don't set default value to additional settings * Rename advanced -> extra * Show extra fields by default when they are filled * Update hasFilledExtraField logic * Add example field from destination as extra
30 lines
527 B
Plaintext
30 lines
527 B
Plaintext
@import '~@/assets/less/ant';
|
|
|
|
.dynamic-form{
|
|
.extra-options {
|
|
margin: 25px 0 10px;
|
|
}
|
|
|
|
.extra-options-button {
|
|
&, &:focus, &:hover {
|
|
height: 40px;
|
|
font-weight: 500;
|
|
background-color: @btn-danger-bg;
|
|
border-color: @btn-danger-border;
|
|
color: @btn-default-color;
|
|
}
|
|
|
|
&:focus, &:hover {
|
|
background-color: fade(@btn-danger-bg, 15%);
|
|
}
|
|
}
|
|
|
|
.extra-options-content {
|
|
margin-top: 15px;
|
|
|
|
.ant-form-item:last-of-type {
|
|
margin-bottom: 0 !important;
|
|
}
|
|
}
|
|
}
|