ant-design/style/components/datepicker/MonthPanel.less

57 lines
1.0 KiB
Plaintext
Raw Normal View History

2015-06-09 15:21:44 +08:00
.@{prefixCalendarClass}-month-panel {
left: 0px;
2015-06-17 21:20:43 +08:00
top: 0px;
2015-06-09 15:21:44 +08:00
bottom: 0px;
right: 0px;
background: #ffffff;
z-index: 10;
position: absolute;
outline: none;
}
.@{prefixCalendarClass}-month-panel-hidden {
display: none;
}
.@{prefixCalendarClass}-month-panel-header {
2015-06-12 15:39:01 +08:00
.calendarPanelHeader(~"@{prefixCalendarClass}-month-panel");
2015-06-09 15:21:44 +08:00
}
.@{prefixCalendarClass}-month-panel-table {
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;
}
.@{prefixCalendarClass}-month-panel-cell {
text-align: center;
}
.@{prefixCalendarClass}-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;
color: #666;
background: transparent;
text-align: center;
2015-06-12 15:39:01 +08:00
height: 24px;
line-height: 24px;
padding: 0px 6px;
border-radius: 4px;
2015-06-09 15:21:44 +08:00
&:hover {
2015-06-17 21:20:43 +08:00
background: fadeout(#2db7f5, 90%);
2015-06-09 15:21:44 +08:00
cursor: pointer;
}
}
.@{prefixCalendarClass}-month-panel-selected-cell .@{prefixCalendarClass}-month-panel-month {
2015-06-17 21:20:43 +08:00
background: #2db7f5;
2015-06-09 15:21:44 +08:00
color: #fff;
&:hover {
2015-06-17 21:20:43 +08:00
background: #2db7f5;
2015-06-09 15:21:44 +08:00
color: #fff;
}
}