Files
redash/client/app/components/dynamic-form/DynamicForm.less
Gabriel Dutra 8ea285dda9 Split setup in advanced and regular for data sources and destinations (#4160)
* 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
2019-10-06 11:46:50 +03:00

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;
}
}
}