mirror of
https://github.com/getredash/redash.git
synced 2026-03-22 10:00:17 -04:00
* Draft for Date Dynamic values * Use value with prefix instead of specific attr * Fix not possible to select static value * Update antd version * Cleanup and DateRangeParameter * Dynamic DateTimeRange * Add Dynamic options to Date Parameters * UI refinements * Add getDynamicValue function * Add 'This' options and prevent text clipping * Make allowClear available * Update ScheduleDialog snapshot * Add some protections and separate Date/DateRange * Accept null values on date or daterange parameters * Handle undefined values on Moment propType * Move export to end of files * Remove Today/Now option * Update with Apply Changes * Show name instead of value for dynamic values * Add comment about supporting useCurrentDateTime * Cypress Tests: Date Parameters * Cypress Tests: Date Range Parameters * Don't put null params in the url * Add workaround comments to Cypress tests Co-Authored-By: Ran Byron <ranbena@gmail.com> * Fix Dynamic Value as default for global parameters * Update Back to Static Value * Add isValid to value on Date and DateRange inputs * CR suggestions * Fix Back to Static Value for Dates * Update Dynamic Value Styling * Fix failing Date tests * Fix selectedDynamicValue * Parameter spec: Remove date range clickThrough * Add transition * Fix failing Cypress tests * Back with 'width: auto' * Check value is valid on Back to Static value * CR * Update Date Range width
37 lines
513 B
Plaintext
37 lines
513 B
Plaintext
.dynamic-button {
|
|
height: 100%;
|
|
position: absolute !important;
|
|
right: 1px;
|
|
top: 0;
|
|
|
|
.ant-dropdown-trigger {
|
|
height: 100%;
|
|
}
|
|
|
|
button {
|
|
border: none;
|
|
padding: 0;
|
|
box-shadow: none;
|
|
background-color: transparent !important;
|
|
}
|
|
|
|
&:after {
|
|
content: "";
|
|
position: absolute;
|
|
width: 1px;
|
|
height: 19px;
|
|
left: 0;
|
|
top: 8px;
|
|
border-left: 1px dotted rgba(0, 0, 0, 0.12);
|
|
}
|
|
}
|
|
|
|
.dynamic-menu {
|
|
width: 187px;
|
|
|
|
em {
|
|
color: #ccc;
|
|
font-size: 11px;
|
|
}
|
|
}
|