Addresses #2042: lighten dates outside of range for datepicker (#2087)

* dehighlight dates outside of range for datepicker

* override color in shiny.css instead of package css

* refactored css styling to use specific references instead of !important
This commit is contained in:
Tim Mastny
2018-06-07 11:57:27 -05:00
committed by Winston Chang
parent 2880391620
commit 631bc1c481
2 changed files with 16 additions and 0 deletions

View File

@@ -381,3 +381,10 @@ pre.shiny-text-output.noplaceholder:empty {
.shiny-file-input-over {
box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(76, 174, 76, .6);
}
/* Overrides bootstrap-datepicker3.css styling for invalid date ranges.
See https://github.com/rstudio/shiny/issues/2042 for details. */
.datepicker table tbody tr td.disabled,
.datepicker table tbody tr td.disabled:hover {
color: #aaa;
}