-
Notifications
You must be signed in to change notification settings - Fork 496
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
24 changed files
with
561 additions
and
81 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,22 @@ | ||
# History | ||
---- | ||
|
||
## 1.3.0 (2014-12-30) | ||
generated by https://github.com/yiminghe/gh-history | ||
|
||
## 1.4.0 / 2015-01-05 | ||
|
||
`new` [#12](https://github.com/react-component/calendar/issues/12) support time select ([@yiminghe](https://github.com/yiminghe)) | ||
|
||
`new` [#11](https://github.com/react-component/calendar/issues/11) support prefixCls ([@yiminghe](https://github.com/yiminghe)) | ||
|
||
`new` [#10](https://github.com/react-component/calendar/issues/10) support nextMonth previousMonth in calendar panel ([@yiminghe](https://github.com/yiminghe)) | ||
|
||
## 1.3.0 / 2014-12-30 | ||
|
||
`new` [#9](https://github.com/react-component/calendar/issues/9) support className prop ([@yiminghe](https://github.com/yiminghe)) | ||
|
||
`new` [#8](https://github.com/react-component/calendar/issues/8) support orient prop ([@yiminghe](https://github.com/yiminghe)) | ||
|
||
## 1.2.4 (2014-12-26) | ||
## 1.2.4 / 2014-12-26 | ||
|
||
`new` [#7](https://github.com/react-component/calendar/issues/7) release 1.2.4 ([@yiminghe](https://github.com/yiminghe)) |
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,4 +1,6 @@ | ||
@import "./bootstrap/picker"; | ||
@import "./bootstrap/decade-panel"; | ||
@import "./bootstrap/month-panel"; | ||
@import "./bootstrap/year-panel"; | ||
@import "./bootstrap/Picker"; | ||
@import "./bootstrap/Time"; | ||
@import "./bootstrap/TimePanel"; | ||
@import "./bootstrap/DecadePanel"; | ||
@import "./bootstrap/MonthPanel"; | ||
@import "./bootstrap/YearPanel"; |
File renamed without changes.
File renamed without changes.
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 |
---|---|---|
@@ -0,0 +1,19 @@ | ||
.rc-calendar-time-input { | ||
cursor: pointer; | ||
display: inline-block; | ||
width:40px; | ||
height: 25px; | ||
line-height: 20px; | ||
padding: 4px 12px; | ||
border: 1px solid #ccc; | ||
border-radius: 4px; | ||
vertical-align: middle; | ||
box-shadow: inset 0 1px 1px rgba(0,0,0,.075); | ||
transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s; | ||
} | ||
|
||
.rc-calendar-time-input:focus { | ||
border-color: #66afe9; | ||
outline: 0; | ||
box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6); | ||
} |
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 |
---|---|---|
@@ -0,0 +1,61 @@ | ||
.rc-calendar-time-panel { | ||
left: 4px; | ||
top: 4px; | ||
bottom: 4px; | ||
right: 4px; | ||
background: #ffffff; | ||
z-index: 10; | ||
position: absolute; | ||
outline: none; | ||
} | ||
|
||
.rc-calendar-time-panel-header { | ||
height: 30px; | ||
line-height: 30px; | ||
position: relative; | ||
text-align: center; | ||
} | ||
|
||
|
||
.rc-calendar-time-panel-title { | ||
width: 180px; | ||
font-weight: bold; | ||
box-sizing: border-box; | ||
display: inline-block; | ||
padding: 4px 5px; | ||
text-align: center; | ||
height: 30px; | ||
line-height: 22px; | ||
border-radius: 4px; | ||
} | ||
|
||
|
||
.rc-calendar-time-panel-table { | ||
table-layout: fixed; | ||
width: 100%; | ||
border-collapse: separate; | ||
} | ||
|
||
.rc-calendar-time-panel-cell { | ||
text-align: center; | ||
height: 42px; | ||
vertical-align: middle; | ||
} | ||
|
||
.rc-calendar-time-panel-time { | ||
line-height: 26px; | ||
text-decoration: none; | ||
display: block; | ||
border-radius: 4px; | ||
border: 1px solid transparent; | ||
} | ||
|
||
.rc-calendar-time-panel-time:hover { | ||
background: #eeeeee; | ||
} | ||
|
||
.rc-calendar-time-panel-selected-cell .rc-calendar-time-panel-time { | ||
color: #ffffff; | ||
background-color: #3276b1; | ||
border-color: #285e8e; | ||
} |
File renamed without changes.
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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
@import "./classic/Picker"; | ||
@import "./classic/Time"; | ||
@import "./classic/TimePanel"; | ||
@import "./classic/DecadePanel"; | ||
@import "./classic/MonthPanel"; | ||
@import "./classic/YearPanel"; |
File renamed without changes.
File renamed without changes.
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 |
---|---|---|
@@ -0,0 +1,20 @@ | ||
.classic-calendar-time-input { | ||
font-size: 10px; | ||
cursor: pointer; | ||
display: inline-block; | ||
width:14px; | ||
height: 10px; | ||
line-height: 10px; | ||
padding: 4px 10px; | ||
border: 1px solid #ccc; | ||
border-radius: 4px; | ||
vertical-align: middle; | ||
box-shadow: inset 0 1px 1px rgba(0,0,0,.075); | ||
transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s; | ||
} | ||
|
||
.classic-calendar-time-input:focus { | ||
border-color: #66afe9; | ||
outline: 0; | ||
box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6); | ||
} |
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 |
---|---|---|
@@ -0,0 +1,68 @@ | ||
.classic-calendar-time-panel { | ||
width: 100%; | ||
height: 100%; | ||
left: 0; | ||
top: 0; | ||
z-index: 10; | ||
background: #ffffff; | ||
position: absolute; | ||
outline: none; | ||
border-bottom: 1px solid #9bc0e0; | ||
} | ||
|
||
.classic-calendar-time-panel-title { | ||
color:#ffffff; | ||
width: 180px; | ||
font-weight: bold; | ||
box-sizing: border-box; | ||
display: inline-block; | ||
padding: 4px 5px; | ||
text-align: center; | ||
height: 26px; | ||
line-height: 22px; | ||
border-radius: 4px; | ||
} | ||
|
||
.classic-calendar-time-panel-header { | ||
user-select: none; | ||
background: url('//gtms04.alicdn.com/tps/i4/TB1.L9bFVXXXXbAXpXXDM4qIXXX-19-300.png'); | ||
} | ||
|
||
.classic-calendar-time-panel-header { | ||
background-repeat: repeat-x; | ||
background-position: 0 -240px; | ||
height: 26px; | ||
position: relative; | ||
text-align: center; | ||
} | ||
|
||
.classic-calendar-time-panel-table { | ||
margin-top: 5px; | ||
table-layout: fixed; | ||
width: 100%; | ||
border-collapse: separate; | ||
} | ||
|
||
.classic-calendar-time-panel-cell { | ||
text-align: center; | ||
} | ||
|
||
.classic-calendar-time-panel-time { | ||
color: #004499; | ||
line-height: 31px; | ||
text-decoration: none; | ||
display: block; | ||
border-radius: 2px; | ||
border: 1px solid transparent; | ||
} | ||
|
||
.classic-calendar-time-panel-time:hover { | ||
background-color: #f3f9ff; | ||
border-color: #88b1ea; | ||
} | ||
|
||
.classic-calendar-time-panel-selected-cell .classic-calendar-time-panel-time { | ||
color: #fff; | ||
background-color: #4187e7; | ||
border-color: #4187e7; | ||
} |
File renamed without changes.
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
Oops, something went wrong.