|
|
@ -1,3 +1,73 @@ |
|
|
|
.calendarPanelHeader(@prefixCalendarClass) { |
|
|
|
padding: 0 10px; |
|
|
|
height: 34px; |
|
|
|
line-height: 34px; |
|
|
|
text-align: center; |
|
|
|
user-select: none; |
|
|
|
-webkit-user-select: none; |
|
|
|
border-bottom: 1px solid #e9e9e9; |
|
|
|
|
|
|
|
a:hover { |
|
|
|
color: @link-hover-color; |
|
|
|
} |
|
|
|
|
|
|
|
.@{prefixCalendarClass}-century-select, |
|
|
|
.@{prefixCalendarClass}-decade-select, |
|
|
|
.@{prefixCalendarClass}-year-select, |
|
|
|
.@{prefixCalendarClass}-month-select { |
|
|
|
padding: 0px 2px; |
|
|
|
font-weight: bold; |
|
|
|
display: inline-block; |
|
|
|
color: #666; |
|
|
|
line-height: 34px; |
|
|
|
} |
|
|
|
|
|
|
|
.@{prefixCalendarClass}-century-select-arrow, |
|
|
|
.@{prefixCalendarClass}-decade-select-arrow, |
|
|
|
.@{prefixCalendarClass}-year-select-arrow, |
|
|
|
.@{prefixCalendarClass}-month-select-arrow { |
|
|
|
display: none; |
|
|
|
} |
|
|
|
|
|
|
|
.@{prefixCalendarClass}-prev-century-btn, |
|
|
|
.@{prefixCalendarClass}-next-century-btn, |
|
|
|
.@{prefixCalendarClass}-prev-decade-btn, |
|
|
|
.@{prefixCalendarClass}-next-decade-btn, |
|
|
|
.@{prefixCalendarClass}-prev-month-btn, |
|
|
|
.@{prefixCalendarClass}-next-month-btn, |
|
|
|
.@{prefixCalendarClass}-prev-year-btn, |
|
|
|
.@{prefixCalendarClass}-next-year-btn { |
|
|
|
position: absolute; |
|
|
|
top: 0; |
|
|
|
color: #999; |
|
|
|
font-family: Arial,"Hiragino Sans GB","Microsoft Yahei","Microsoft Sans Serif",sans-serif; |
|
|
|
padding: 0 5px; |
|
|
|
font-size: 16px; |
|
|
|
display: inline-block; |
|
|
|
line-height: 34px; |
|
|
|
} |
|
|
|
|
|
|
|
.@{prefixCalendarClass}-prev-century-btn, |
|
|
|
.@{prefixCalendarClass}-prev-decade-btn, |
|
|
|
.@{prefixCalendarClass}-prev-year-btn { |
|
|
|
left: 7px; |
|
|
|
} |
|
|
|
|
|
|
|
.@{prefixCalendarClass}-next-century-btn, |
|
|
|
.@{prefixCalendarClass}-next-decade-btn, |
|
|
|
.@{prefixCalendarClass}-next-year-btn { |
|
|
|
right: 7px; |
|
|
|
} |
|
|
|
|
|
|
|
.@{prefixCalendarClass}-prev-month-btn { |
|
|
|
left: 29px; |
|
|
|
} |
|
|
|
|
|
|
|
.@{prefixCalendarClass}-next-month-btn { |
|
|
|
right: 29px; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
.@{prefixCalendarClass} { |
|
|
|
position: relative; |
|
|
|
outline: none; |
|
|
@ -11,7 +81,6 @@ |
|
|
|
box-shadow: 0 0 4px #d9d9d9; |
|
|
|
background-clip: padding-box; |
|
|
|
line-height: @line-height-base; |
|
|
|
display: block !important; |
|
|
|
|
|
|
|
&-week-number { |
|
|
|
width: 286px; |
|
|
@ -22,61 +91,7 @@ |
|
|
|
} |
|
|
|
|
|
|
|
&-header { |
|
|
|
padding: 0 10px; |
|
|
|
height: 34px; |
|
|
|
text-align: center; |
|
|
|
user-select: none; |
|
|
|
-webkit-user-select: none; |
|
|
|
border-bottom: 1px solid #e9e9e9; |
|
|
|
|
|
|
|
.@{prefixCalendarClass}-year-select, |
|
|
|
.@{prefixCalendarClass}-month-select { |
|
|
|
padding: 0px 2px; |
|
|
|
font-weight: bold; |
|
|
|
display: inline-block; |
|
|
|
color: #666; |
|
|
|
line-height: 34px; |
|
|
|
&:hover { |
|
|
|
color: #23c0fa; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
> a { |
|
|
|
color: #999; |
|
|
|
font-family: Arial,"Hiragino Sans GB","Microsoft Yahei","Microsoft Sans Serif","WenQuanYi Micro Hei",sans-serif; |
|
|
|
padding: 0 5px; |
|
|
|
font-size: 16px; |
|
|
|
display: inline-block; |
|
|
|
line-height: 34px; |
|
|
|
} |
|
|
|
|
|
|
|
.@{prefixCalendarClass}-month-select-arrow { |
|
|
|
display: none; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
&-prev-month-btn, |
|
|
|
&-next-month-btn, |
|
|
|
&-prev-year-btn, |
|
|
|
&-next-year-btn { |
|
|
|
position: absolute; |
|
|
|
top: 0; |
|
|
|
} |
|
|
|
|
|
|
|
&-prev-year-btn { |
|
|
|
left: 7px; |
|
|
|
} |
|
|
|
|
|
|
|
&-next-year-btn { |
|
|
|
right: 7px; |
|
|
|
} |
|
|
|
|
|
|
|
&-prev-month-btn { |
|
|
|
left: 29px; |
|
|
|
} |
|
|
|
|
|
|
|
&-next-month-btn { |
|
|
|
right: 29px; |
|
|
|
.calendarPanelHeader(@prefixCalendarClass); |
|
|
|
} |
|
|
|
|
|
|
|
&-calendar-body { |
|
|
@ -117,7 +132,7 @@ |
|
|
|
} |
|
|
|
|
|
|
|
&-cell { |
|
|
|
padding: 1px 0; |
|
|
|
padding: 3px 0; |
|
|
|
} |
|
|
|
|
|
|
|
&-date { |
|
|
@ -125,11 +140,11 @@ |
|
|
|
margin: 0 auto; |
|
|
|
color: #666; |
|
|
|
border-radius: 4px 4px; |
|
|
|
width: 26px; |
|
|
|
height: 26px; |
|
|
|
width: 20px; |
|
|
|
height: 20px; |
|
|
|
line-height: 20px; |
|
|
|
padding: 0; |
|
|
|
background: transparent; |
|
|
|
line-height: 26px; |
|
|
|
text-align: center; |
|
|
|
|
|
|
|
&:hover { |
|
|
@ -193,7 +208,7 @@ |
|
|
|
.@{prefixCalendarClass}-clear-btn { |
|
|
|
display: inline-block; |
|
|
|
text-align: center; |
|
|
|
margin-left: 8px; |
|
|
|
margin-left: 10px; |
|
|
|
|
|
|
|
&:hover { |
|
|
|
cursor: pointer; |
|
|
|