added functional duration/time selector

This commit is contained in:
Alexander Wong
2018-04-18 16:50:02 -06:00
parent 99dc3a9615
commit 0c8defd469
7 changed files with 190 additions and 25 deletions
@@ -0,0 +1,48 @@
/* inline CSS style overrides for client shift start time picker */
/* required, datepicker popper inherits padding of parent field width */
#root
> div
> div:nth-child(2)
> div:nth-child(1)
> div
> form
> div.equal.width.fields
> div:nth-child(3)
> div
> div.react-datepicker-popper
> div
> div.react-datepicker__time-container
> div.react-datepicker__time
> div
> ul {
padding-left: 0;
padding-right: 0;
}
/* next two required because datepicker ignores fluid anyways */
#root
> div
> div:nth-child(2)
> div:nth-child(1)
> div
> form
> div.equal.width.fields
> div:nth-child(3)
> div
> div.react-datepicker-wrapper {
width: 100%;
}
#root
> div
> div:nth-child(2)
> div:nth-child(1)
> div
> form
> div.equal.width.fields
> div:nth-child(3)
> div
> div
> div {
width: 100%;
}