mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-26 04:00:13 +08:00
75 lines
1.5 KiB
Plaintext
75 lines
1.5 KiB
Plaintext
.@{prefixCalendarClass}-year-panel {
|
|
left: 0px;
|
|
top: 0px;
|
|
bottom: 0px;
|
|
right: 0px;
|
|
background: #fff;
|
|
z-index: 10;
|
|
position: absolute;
|
|
outline: none;
|
|
}
|
|
|
|
.@{prefixCalendarClass}-year-panel-hidden {
|
|
display: none;
|
|
}
|
|
|
|
.@{prefixCalendarClass}-year-panel-header {
|
|
.calendarPanelHeader(~"@{prefixCalendarClass}-year-panel");
|
|
}
|
|
|
|
.@{prefixCalendarClass}-year-panel-table {
|
|
table-layout: fixed;
|
|
width: 100%;
|
|
height: 248px;
|
|
border-collapse: separate;
|
|
}
|
|
|
|
.@{prefixCalendarClass}-year-panel-cell {
|
|
text-align: center;
|
|
}
|
|
|
|
.@{prefixCalendarClass}-year-panel-year {
|
|
display: inline-block;
|
|
margin: 0 auto;
|
|
color: #666;
|
|
background: transparent;
|
|
text-align: center;
|
|
height: 24px;
|
|
line-height: 24px;
|
|
padding: 0px 6px;
|
|
border-radius: 4px;
|
|
|
|
&:hover {
|
|
background: tint(@primary-color, 90%);
|
|
cursor: pointer;
|
|
}
|
|
}
|
|
|
|
.@{prefixCalendarClass}-year-panel-selected-cell .@{prefixCalendarClass}-year-panel-year {
|
|
background: @primary-color;
|
|
color: #fff;
|
|
|
|
&:hover {
|
|
background: @primary-color;
|
|
color: #fff;
|
|
}
|
|
}
|
|
|
|
.@{prefixCalendarClass}-year-panel-last-decade-cell, .@{prefixCalendarClass}-year-panel-next-decade-cell {
|
|
.@{prefixCalendarClass}-year-panel-year{
|
|
user-select: none;
|
|
-webkit-user-select: none;
|
|
}
|
|
.@{prefixCalendarClass}-year-panel-year:before {
|
|
content: "\e611";
|
|
font-family: "anticon" !important;
|
|
}
|
|
}
|
|
|
|
.@{prefixCalendarClass}-year-panel-last-decade-cell {
|
|
.@{prefixCalendarClass}-year-panel-year {
|
|
transform: rotate(180deg);
|
|
filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=2);
|
|
}
|
|
}
|