2015-08-20 16:55:42 +08:00
|
|
|
.@{calendar-prefix-cls}-month-panel {
|
|
|
|
left: 0;
|
2016-09-09 13:55:21 +08:00
|
|
|
top: 1px;
|
2015-08-20 16:55:42 +08:00
|
|
|
bottom: 0;
|
|
|
|
right: 0;
|
2016-11-29 11:56:10 +08:00
|
|
|
background: @component-background;
|
2015-06-09 15:21:44 +08:00
|
|
|
z-index: 10;
|
|
|
|
position: absolute;
|
|
|
|
outline: none;
|
2015-09-15 18:16:34 +08:00
|
|
|
border-radius: @border-radius-base;
|
2015-06-09 15:21:44 +08:00
|
|
|
}
|
|
|
|
|
2015-08-20 16:55:42 +08:00
|
|
|
.@{calendar-prefix-cls}-month-panel-hidden {
|
2015-06-09 15:21:44 +08:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2015-08-20 16:55:42 +08:00
|
|
|
.@{calendar-prefix-cls}-month-panel-header {
|
|
|
|
.calendarPanelHeader(~"@{calendar-prefix-cls}-month-panel");
|
2015-06-09 15:21:44 +08:00
|
|
|
}
|
|
|
|
|
2015-08-20 16:55:42 +08:00
|
|
|
.@{calendar-prefix-cls}-month-panel-table {
|
2015-06-09 15:21:44 +08:00
|
|
|
table-layout: fixed;
|
|
|
|
width: 100%;
|
2015-06-12 15:39:01 +08:00
|
|
|
height: 248px;
|
2015-06-09 15:21:44 +08:00
|
|
|
border-collapse: separate;
|
|
|
|
}
|
|
|
|
|
2016-03-06 00:20:19 +08:00
|
|
|
.@{calendar-prefix-cls}-month-panel-selected-cell .@{calendar-prefix-cls}-month-panel-month {
|
|
|
|
background: @primary-color;
|
|
|
|
color: #fff;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background: @primary-color;
|
|
|
|
color: #fff;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-08-20 16:55:42 +08:00
|
|
|
.@{calendar-prefix-cls}-month-panel-cell {
|
2015-06-09 15:21:44 +08:00
|
|
|
text-align: center;
|
2016-03-06 00:20:19 +08:00
|
|
|
|
|
|
|
&-disabled .@{calendar-prefix-cls}-month-panel-month {
|
|
|
|
&,
|
|
|
|
&:hover {
|
|
|
|
cursor: not-allowed;
|
|
|
|
color: #bcbcbc;
|
|
|
|
background: #f3f3f3;
|
|
|
|
}
|
|
|
|
}
|
2015-06-09 15:21:44 +08:00
|
|
|
}
|
|
|
|
|
2015-08-20 16:55:42 +08:00
|
|
|
.@{calendar-prefix-cls}-month-panel-month {
|
2015-06-12 15:39:01 +08:00
|
|
|
display: inline-block;
|
2015-06-09 15:21:44 +08:00
|
|
|
margin: 0 auto;
|
2016-11-08 20:50:59 +08:00
|
|
|
color: @text-color;
|
2015-06-09 15:21:44 +08:00
|
|
|
background: transparent;
|
|
|
|
text-align: center;
|
2015-06-12 15:39:01 +08:00
|
|
|
height: 24px;
|
|
|
|
line-height: 24px;
|
2015-08-20 16:55:42 +08:00
|
|
|
padding: 0 6px;
|
2015-06-12 15:39:01 +08:00
|
|
|
border-radius: 4px;
|
2015-10-29 19:01:10 +08:00
|
|
|
transition: background 0.3s ease;
|
2015-06-09 15:21:44 +08:00
|
|
|
|
|
|
|
&:hover {
|
2017-01-01 22:20:06 +08:00
|
|
|
background: @primary-1;
|
2015-06-09 15:21:44 +08:00
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
}
|