mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-25 00:08:27 +08:00
75 lines
1.6 KiB
Plaintext
75 lines
1.6 KiB
Plaintext
.@{prefixCalendarClass}-decade-panel {
|
|
left: 0px;
|
|
top: 0px;
|
|
bottom: 0px;
|
|
right: 0px;
|
|
background: #ffffff;
|
|
z-index: 10;
|
|
position: absolute;
|
|
outline: none;
|
|
}
|
|
|
|
.@{prefixCalendarClass}-decade-panel-hidden {
|
|
display: none;
|
|
}
|
|
|
|
.@{prefixCalendarClass}-decade-panel-header {
|
|
.calendarPanelHeader(~"@{prefixCalendarClass}-decade-panel");
|
|
}
|
|
|
|
.@{prefixCalendarClass}-decade-panel-table {
|
|
table-layout: fixed;
|
|
width: 100%;
|
|
height: 248px;
|
|
border-collapse: separate;
|
|
}
|
|
|
|
.@{prefixCalendarClass}-decade-panel-cell {
|
|
text-align: center;
|
|
}
|
|
|
|
.@{prefixCalendarClass}-decade-panel-decade {
|
|
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: fadeout(#2db7f5, 90%);
|
|
cursor: pointer;
|
|
}
|
|
}
|
|
|
|
.@{prefixCalendarClass}-decade-panel-selected-cell .@{prefixCalendarClass}-decade-panel-decade {
|
|
background: #2db7f5;
|
|
color: #fff;
|
|
|
|
&:hover {
|
|
background: #2db7f5;
|
|
color: #fff;
|
|
}
|
|
}
|
|
|
|
.@{prefixCalendarClass}-decade-panel-last-century-cell, .@{prefixCalendarClass}-decade-panel-next-century-cell {
|
|
.@{prefixCalendarClass}-decade-panel-decade{
|
|
user-select: none;
|
|
-webkit-user-select: none;
|
|
}
|
|
.@{prefixCalendarClass}-decade-panel-decade:before {
|
|
content: "\e611";
|
|
font-family: "anticon" !important;
|
|
}
|
|
}
|
|
|
|
.@{prefixCalendarClass}-decade-panel-last-century-cell {
|
|
.@{prefixCalendarClass}-decade-panel-decade {
|
|
transform: rotate(180deg);
|
|
filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=2);
|
|
}
|
|
}
|