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

75 lines
1.6 KiB
Plaintext
Raw Normal View History

2015-06-09 15:21:44 +08:00
.@{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 {
2015-06-12 15:39:01 +08:00
.calendarPanelHeader(~"@{prefixCalendarClass}-decade-panel");
2015-06-09 15:21:44 +08:00
}
.@{prefixCalendarClass}-decade-panel-table {
table-layout: fixed;
width: 100%;
2015-06-12 15:49:06 +08:00
height: 248px;
2015-06-09 15:21:44 +08:00
border-collapse: separate;
}
.@{prefixCalendarClass}-decade-panel-cell {
text-align: center;
}
.@{prefixCalendarClass}-decade-panel-decade {
2015-06-12 15:49:06 +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:49:06 +08:00
height: 24px;
line-height: 24px;
padding: 0px 6px;
border-radius: 4px;
2015-06-09 15:21:44 +08:00
&:hover {
background: #ebfaff;
cursor: pointer;
}
}
.@{prefixCalendarClass}-decade-panel-selected-cell .@{prefixCalendarClass}-decade-panel-decade {
background: #3fc7fa;
color: #fff;
&:hover {
background: #3fc7fa;
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 {
2015-06-12 15:39:01 +08:00
content: "\e611";
font-family: "anticon" !important;
2015-06-09 15:21:44 +08:00
}
}
.@{prefixCalendarClass}-decade-panel-last-century-cell {
.@{prefixCalendarClass}-decade-panel-decade {
transform: rotate(180deg);
filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=2);
}
2015-06-11 18:08:00 +08:00
}