* feat: 🎸 Load spinner when selecting gcloud store. Add key on td * feat: 🎸 Code review. Translate loading study status * feat: 🎸 Code review. Minor code refactoring * fix: add missing study and index declerations * Newer version of react-dates (calendar input component) * Add useMedia hook * Add useDebounce hook * Export hooks for consumption * Pull search filter into own component * StudyListWithData to StudyListRoute * Rename pagination component * Rename Toolbar * CustomeDateRangePicker to plain ol' css * Remove unused styles * Misc * Magic to make our "OR" filters work * Play w/ Mobile styles * Fix pagination pushing out max width for viewport * Tidy up small and medium templates * Remove unecessary nesting * Better mobile header and logo styles * Fix studyList font size * Remove unused code * hookup on click * Fix table search selectors * Cypress uses medium width * Remove irrelevant test * Fix primary sort * Fix sort for our smaller displays * fix study list sometimes longer than specified rowsPerPage * Simplify date picker styles * restore study date filters * Fix about table styling * fix take value for search * Fix header sizing for viewer and list route * Remove dead code * Restore isLoading * Update platform/ui/src/components/studyList/StudyList.styl Co-Authored-By: Rodrigo Antinarelli <rodrigoantinarelli@gmail.com> * Attempt first usage of translations w/ hooks * Pull from react-i18n library * Fit presets on to a single line * add no results message * Show error message in studyList table * Update input selectors for e2e tests * Make sure messages span all columns * fix test selector for table results * Skip hover for result rows * fix imports * Date filtering w/ config * Default export * Pushed to PageComponent * Remove DropZone This previously only worked for null/undefined studies. I'm unable to trigger the state by testing the data. This "might" have happened when using a fresh/empty PACS; but even an empty array of studies would not show
84 lines
2.0 KiB
CSS
84 lines
2.0 KiB
CSS
/* NOTE: the order of these styles DO matter */
|
|
|
|
/* Will edit everything selected including everything between a range of dates */
|
|
.CalendarDay__selected_span {
|
|
background: var(--table-text-secondary-color);
|
|
color: #fff;
|
|
border-color: #e4e7e7;
|
|
}
|
|
|
|
/* Will edit selected date or the endpoints of a range of dates */
|
|
.CalendarDay__selected {
|
|
background: var(--table-text-secondary-color);
|
|
color: #fff;
|
|
border-color: #e4e7e7;
|
|
}
|
|
|
|
/* Will edit when hovered over. _span style also has this property */
|
|
.CalendarDay__selected:hover {
|
|
background: var(--table-text-secondary-color);
|
|
color: #fff;
|
|
border-color: #e4e7e7;
|
|
}
|
|
|
|
/* Will edit when the second date (end date) in a range of dates
|
|
is not yet selected. Edits the dates between your mouse and said date */
|
|
.CalendarDay__hovered_span:hover,
|
|
.CalendarDay__hovered_span {
|
|
background: var(--table-text-secondary-color);
|
|
color: #fff;
|
|
border-color: #e4e7e7;
|
|
}
|
|
|
|
/* EXTERIOR INPUT STYLE */
|
|
/* Container - placement */
|
|
.DateRangePicker {
|
|
height: 40px;
|
|
margin: 0 5px 20px 5px;
|
|
cursor: pointer;
|
|
border: none;
|
|
width: 100%;
|
|
}
|
|
/* Container - visual */
|
|
.DateRangePickerInput {
|
|
width: calc(100% - 10px); /* Just use padding? */
|
|
background-color: var(--input-background-color);
|
|
border-color: var(--input-background-color);
|
|
color: var(--input-placeholder-color);
|
|
height: 40px;
|
|
}
|
|
|
|
.DateRangePickerInput.DateRangePickerInput__withBorder {
|
|
border-radius: 4px;
|
|
background-color: var(--input-background-color);
|
|
}
|
|
|
|
/* Input Container */
|
|
.DateInput {
|
|
width: 97px;
|
|
height: 38px;
|
|
border-radius: 4px;
|
|
background-color: var(--input-background-color);
|
|
}
|
|
|
|
/* Actual Input Element */
|
|
.DateInput > .DateInput_input {
|
|
border-color: transparent;
|
|
background-color: transparent;
|
|
color: var(--input-placeholder-color);
|
|
height: 38px;
|
|
font-size: 10pt;
|
|
padding: 0;
|
|
}
|
|
|
|
/* PRESETS */
|
|
.PresetDateRangePicker_panel {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.PresetDateRangePicker_button {
|
|
margin: 0;
|
|
padding: 4px 8px;
|
|
}
|