-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- fixed #40 ; also removed deprecated event handling - fixed #41 - added range picker hover preview - added swipe to see next/previous month (basic) - added package.json referencing on rollup.config - minor code optimizations
- Loading branch information
Showing
12 changed files
with
900 additions
and
569 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
/*!Don't remove this! | ||
* duDatePicker styles | ||
* duDatepicker styles | ||
* | ||
* Author: Dionlee Uy | ||
* Email: [email protected] | ||
|
@@ -273,6 +273,19 @@ | |
border-radius: 50%; | ||
} | ||
|
||
.dcalendarpicker .dudp__cal-container .dudp__calendar .dudp__cal-week .dudp__date.range-from-preview, .dcalendarpicker .dudp__cal-container .dudp__calendar .dudp__cal-week .dudp__date.range-to-preview, .dcalendarpicker .dudp__cal-container .dudp__calendar .dudp__cal-week .dudp__date.in-range-preview { | ||
background-color: rgba(100, 100, 100, 0.07); | ||
border-radius: 0; | ||
} | ||
|
||
.dcalendarpicker .dudp__cal-container .dudp__calendar .dudp__cal-week .dudp__date.range-from-preview { | ||
border-radius: 50% 0 0 50%; | ||
} | ||
|
||
.dcalendarpicker .dudp__cal-container .dudp__calendar .dudp__cal-week .dudp__date.range-to-preview { | ||
border-radius: 0 50% 50% 0; | ||
} | ||
|
||
.dcalendarpicker .dudp__cal-container .dudp__months-view { | ||
display: flex; | ||
flex-direction: column; | ||
|
@@ -680,6 +693,10 @@ | |
color: #1976d2; | ||
} | ||
|
||
.dudp__wrapper[data-theme='dark'] .dudp__calendar .dudp__cal-week .dudp__date.range-from-preview, .dudp__wrapper[data-theme='dark'] .dudp__calendar .dudp__cal-week .dudp__date.range-to-preview, .dudp__wrapper[data-theme='dark'] .dudp__calendar .dudp__cal-week .dudp__date.in-range-preview { | ||
background-color: rgba(200, 200, 200, 0.07); | ||
} | ||
|
||
.dudp__wrapper[data-theme='dark'] .dudp__calendar .dudp__cal-week .dudp__date.in-range, .dudp__wrapper[data-theme='dark'] .dudp__calendar .dudp__cal-week .dudp__date.range-from, .dudp__wrapper[data-theme='dark'] .dudp__calendar .dudp__cal-week .dudp__date.range-to { | ||
background-color: rgba(25, 118, 210, 0.2); | ||
} | ||
|
Oops, something went wrong.