phoenix-components-library
Version:
Component library for Phoenix Frontend Projects.
1,701 lines (1,408 loc) • 97.8 kB
CSS
@charset "UTF-8";
/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */
/* stylelint-disable no-duplicate-selectors */
/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors */
/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */
.ant-input {
font-family: 'ClearSans', 'BrandonLight', sans-serif;
-webkit-box-sizing: border-box;
box-sizing: border-box;
margin: 0;
padding: 0;
list-style: none;
position: relative;
display: inline-block;
padding: 4px 11px;
width: 100%;
height: 32px;
font-size: 13px;
line-height: 1.5;
color: #525b5d;
background-color: #fff;
background-image: none;
border: 1px solid #bec2c2;
border-radius: 4px;
-webkit-transition: all 0.3s;
transition: all 0.3s; }
.ant-input::-moz-placeholder {
color: #bfbfbf;
opacity: 1; }
.ant-input:-ms-input-placeholder {
color: #bfbfbf; }
.ant-input::-webkit-input-placeholder {
color: #bfbfbf; }
.ant-input:hover {
border-color: #8ec46e;
border-right-width: 1px !important; }
.ant-input:focus {
border-color: #8ec46e;
outline: 0;
-webkit-box-shadow: 0 0 0 2px rgba(109, 183, 73, 0.2);
box-shadow: 0 0 0 2px rgba(109, 183, 73, 0.2);
border-right-width: 1px !important; }
.ant-input-disabled {
background-color: #f5f5f5;
opacity: 1;
cursor: not-allowed;
color: rgba(0, 0, 0, 0.25); }
.ant-input-disabled:hover {
border-color: #c2cfce;
border-right-width: 1px !important; }
textarea.ant-input {
max-width: 100%;
height: auto;
vertical-align: bottom;
-webkit-transition: all 0.3s, height 0s;
transition: all 0.3s, height 0s;
min-height: 32px; }
.ant-input-lg {
padding: 6px 11px;
height: 40px;
font-size: 15px; }
.ant-input-sm {
padding: 1px 7px;
height: 24px; }
.ant-input-group {
font-family: 'ClearSans', 'BrandonLight', sans-serif;
font-size: 13px;
line-height: 1.5;
color: #525b5d;
-webkit-box-sizing: border-box;
box-sizing: border-box;
margin: 0;
padding: 0;
list-style: none;
position: relative;
display: table;
border-collapse: separate;
border-spacing: 0;
width: 100%; }
.ant-input-group[class*="col-"] {
float: none;
padding-left: 0;
padding-right: 0; }
.ant-input-group > [class*="col-"] {
padding-right: 8px; }
.ant-input-group > [class*="col-"]:last-child {
padding-right: 0; }
.ant-input-group-addon,
.ant-input-group-wrap,
.ant-input-group > .ant-input {
display: table-cell; }
.ant-input-group-addon:not(:first-child):not(:last-child),
.ant-input-group-wrap:not(:first-child):not(:last-child),
.ant-input-group > .ant-input:not(:first-child):not(:last-child) {
border-radius: 0; }
.ant-input-group-addon,
.ant-input-group-wrap {
width: 1px;
white-space: nowrap;
vertical-align: middle; }
.ant-input-group-wrap > * {
display: block !important; }
.ant-input-group .ant-input {
float: left;
width: 100%;
margin-bottom: 0; }
.ant-input-group .ant-input:focus {
z-index: 1;
border-right-width: 1px; }
.ant-input-group .ant-input:hover {
z-index: 1;
border-right-width: 1px; }
.ant-input-group-addon {
padding: 0 11px;
font-size: 13px;
font-weight: normal;
line-height: 1;
color: #525b5d;
text-align: center;
background-color: #fafafa;
border: 1px solid #bec2c2;
border-radius: 4px;
position: relative;
-webkit-transition: all 0.3s;
transition: all 0.3s; }
.ant-input-group-addon .ant-select {
margin: -5px -11px; }
.ant-input-group-addon .ant-select .ant-select-selection {
background-color: inherit;
margin: -1px;
border: 1px solid transparent;
-webkit-box-shadow: none;
box-shadow: none; }
.ant-input-group-addon .ant-select-open .ant-select-selection,
.ant-input-group-addon .ant-select-focused .ant-select-selection {
color: #6db749; }
.ant-input-group-addon > i:only-child:after {
position: absolute;
content: "";
top: 0;
left: 0;
right: 0;
bottom: 0; }
.ant-input-group > .ant-input:first-child,
.ant-input-group-addon:first-child {
border-bottom-right-radius: 0;
border-top-right-radius: 0; }
.ant-input-group > .ant-input:first-child .ant-select .ant-select-selection,
.ant-input-group-addon:first-child .ant-select .ant-select-selection {
border-bottom-right-radius: 0;
border-top-right-radius: 0; }
.ant-input-group > .ant-input-affix-wrapper:not(:first-child) .ant-input {
border-bottom-left-radius: 0;
border-top-left-radius: 0; }
.ant-input-group > .ant-input-affix-wrapper:not(:last-child) .ant-input {
border-bottom-right-radius: 0;
border-top-right-radius: 0; }
.ant-input-group-addon:first-child {
border-right: 0; }
.ant-input-group-addon:last-child {
border-left: 0; }
.ant-input-group > .ant-input:last-child,
.ant-input-group-addon:last-child {
border-bottom-left-radius: 0;
border-top-left-radius: 0; }
.ant-input-group > .ant-input:last-child .ant-select .ant-select-selection,
.ant-input-group-addon:last-child .ant-select .ant-select-selection {
border-bottom-left-radius: 0;
border-top-left-radius: 0; }
.ant-input-group-lg .ant-input,
.ant-input-group-lg > .ant-input-group-addon {
padding: 6px 11px;
height: 40px;
font-size: 15px; }
.ant-input-group-sm .ant-input,
.ant-input-group-sm > .ant-input-group-addon {
padding: 1px 7px;
height: 24px; }
.ant-input-group-lg .ant-select-selection--single {
height: 40px; }
.ant-input-group-sm .ant-select-selection--single {
height: 24px; }
.ant-input-group .ant-input-affix-wrapper {
display: table-cell;
width: 100%;
float: left; }
.ant-input-group.ant-input-group-compact {
display: block;
zoom: 1; }
.ant-input-group.ant-input-group-compact:before,
.ant-input-group.ant-input-group-compact:after {
content: "";
display: table; }
.ant-input-group.ant-input-group-compact:after {
clear: both; }
.ant-input-group.ant-input-group-compact > * {
border-radius: 0;
border-right-width: 0;
vertical-align: top;
float: none;
display: inline-block; }
.ant-input-group.ant-input-group-compact .ant-input {
float: none; }
.ant-input-group.ant-input-group-compact > .ant-select > .ant-select-selection,
.ant-input-group.ant-input-group-compact > .ant-calendar-picker .ant-input,
.ant-input-group.ant-input-group-compact > .ant-select-auto-complete .ant-input,
.ant-input-group.ant-input-group-compact > .ant-cascader-picker .ant-input,
.ant-input-group.ant-input-group-compact > .ant-mention-wrapper .ant-mention-editor,
.ant-input-group.ant-input-group-compact > .ant-time-picker .ant-time-picker-input {
border-radius: 0;
border-right-width: 0; }
.ant-input-group.ant-input-group-compact > *:first-child,
.ant-input-group.ant-input-group-compact > .ant-select:first-child > .ant-select-selection,
.ant-input-group.ant-input-group-compact > .ant-calendar-picker:first-child .ant-input,
.ant-input-group.ant-input-group-compact > .ant-select-auto-complete:first-child .ant-input,
.ant-input-group.ant-input-group-compact > .ant-cascader-picker:first-child .ant-input,
.ant-input-group.ant-input-group-compact > .ant-mention-wrapper:first-child .ant-mention-editor,
.ant-input-group.ant-input-group-compact > .ant-time-picker:first-child .ant-time-picker-input {
border-top-left-radius: 4px;
border-bottom-left-radius: 4px; }
.ant-input-group.ant-input-group-compact > *:last-child,
.ant-input-group.ant-input-group-compact > .ant-select:last-child > .ant-select-selection,
.ant-input-group.ant-input-group-compact > .ant-calendar-picker:last-child .ant-input,
.ant-input-group.ant-input-group-compact > .ant-select-auto-complete:last-child .ant-input,
.ant-input-group.ant-input-group-compact > .ant-cascader-picker:last-child .ant-input,
.ant-input-group.ant-input-group-compact > .ant-mention-wrapper:last-child .ant-mention-editor,
.ant-input-group.ant-input-group-compact > .ant-time-picker:last-child .ant-time-picker-input {
border-top-right-radius: 4px;
border-bottom-right-radius: 4px;
border-right-width: 1px; }
.ant-input-group-wrapper {
display: inline-block;
vertical-align: top;
width: 100%; }
.ant-input-affix-wrapper {
font-family: 'ClearSans', 'BrandonLight', sans-serif;
font-size: 13px;
line-height: 1.5;
color: #525b5d;
-webkit-box-sizing: border-box;
box-sizing: border-box;
margin: 0;
padding: 0;
list-style: none;
position: relative;
display: inline-block;
width: 100%; }
.ant-input-affix-wrapper:hover .ant-input:not(.ant-input-disabled) {
border-color: #8ec46e;
border-right-width: 1px !important; }
.ant-input-affix-wrapper .ant-input {
position: static; }
.ant-input-affix-wrapper .ant-input-prefix,
.ant-input-affix-wrapper .ant-input-suffix {
position: absolute;
top: 50%;
-webkit-transform: translateY(-50%);
transform: translateY(-50%);
line-height: 0;
color: #525b5d; }
.ant-input-affix-wrapper .ant-input-prefix :not(.anticon),
.ant-input-affix-wrapper .ant-input-suffix :not(.anticon) {
line-height: 1.5; }
.ant-input-affix-wrapper .ant-input-prefix {
left: 12px; }
.ant-input-affix-wrapper .ant-input-suffix {
right: 12px; }
.ant-input-affix-wrapper .ant-input:not(:first-child) {
padding-left: 30px; }
.ant-input-affix-wrapper .ant-input:not(:last-child) {
padding-right: 30px; }
.ant-input-affix-wrapper .ant-input {
min-height: 100%; }
.ant-calendar-picker-container {
font-family: 'ClearSans', 'BrandonLight', sans-serif;
font-size: 13px;
line-height: 1.5;
color: #525b5d;
-webkit-box-sizing: border-box;
box-sizing: border-box;
margin: 0;
padding: 0;
list-style: none;
position: absolute;
z-index: 1050; }
.ant-calendar-picker-container.slide-up-enter.slide-up-enter-active.ant-calendar-picker-container-placement-topLeft,
.ant-calendar-picker-container.slide-up-enter.slide-up-enter-active.ant-calendar-picker-container-placement-topRight,
.ant-calendar-picker-container.slide-up-appear.slide-up-appear-active.ant-calendar-picker-container-placement-topLeft,
.ant-calendar-picker-container.slide-up-appear.slide-up-appear-active.ant-calendar-picker-container-placement-topRight {
-webkit-animation-name: antSlideDownIn;
animation-name: antSlideDownIn; }
.ant-calendar-picker-container.slide-up-enter.slide-up-enter-active.ant-calendar-picker-container-placement-bottomLeft,
.ant-calendar-picker-container.slide-up-enter.slide-up-enter-active.ant-calendar-picker-container-placement-bottomRight,
.ant-calendar-picker-container.slide-up-appear.slide-up-appear-active.ant-calendar-picker-container-placement-bottomLeft,
.ant-calendar-picker-container.slide-up-appear.slide-up-appear-active.ant-calendar-picker-container-placement-bottomRight {
-webkit-animation-name: antSlideUpIn;
animation-name: antSlideUpIn; }
.ant-calendar-picker-container.slide-up-leave.slide-up-leave-active.ant-calendar-picker-container-placement-topLeft,
.ant-calendar-picker-container.slide-up-leave.slide-up-leave-active.ant-calendar-picker-container-placement-topRight {
-webkit-animation-name: antSlideDownOut;
animation-name: antSlideDownOut; }
.ant-calendar-picker-container.slide-up-leave.slide-up-leave-active.ant-calendar-picker-container-placement-bottomLeft,
.ant-calendar-picker-container.slide-up-leave.slide-up-leave-active.ant-calendar-picker-container-placement-bottomRight {
-webkit-animation-name: antSlideUpOut;
animation-name: antSlideUpOut; }
.ant-calendar-picker {
font-family: 'ClearSans', 'BrandonLight', sans-serif;
font-size: 13px;
line-height: 1.5;
color: #525b5d;
-webkit-box-sizing: border-box;
box-sizing: border-box;
margin: 0;
padding: 0;
list-style: none;
position: relative;
display: inline-block;
outline: none;
-webkit-transition: opacity 0.3s;
transition: opacity 0.3s; }
.ant-calendar-picker-input {
outline: none; }
.ant-calendar-picker:hover .ant-calendar-picker-input:not(.ant-input-disabled) {
border-color: #6db749; }
.ant-calendar-picker:focus .ant-calendar-picker-input:not(.ant-input-disabled) {
border-color: #8ec46e;
outline: 0;
-webkit-box-shadow: 0 0 0 2px rgba(109, 183, 73, 0.2);
box-shadow: 0 0 0 2px rgba(109, 183, 73, 0.2);
border-right-width: 1px !important; }
.ant-calendar-picker-clear,
.ant-calendar-picker-icon {
position: absolute;
width: 14px;
height: 14px;
right: 12px;
top: 50%;
margin-top: -7px;
line-height: 14px;
font-size: 12px;
-webkit-transition: all .3s;
transition: all .3s;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none; }
.ant-calendar-picker-clear {
opacity: 0;
z-index: 1;
color: rgba(0, 0, 0, 0.25);
background: #fff;
pointer-events: none;
cursor: pointer; }
.ant-calendar-picker-clear:hover {
color: rgba(0, 0, 0, 0.45); }
.ant-calendar-picker:hover .ant-calendar-picker-clear {
opacity: 1;
pointer-events: auto; }
.ant-calendar-picker-icon {
color: rgba(0, 0, 0, 0.25); }
.ant-calendar-picker-icon:after {
content: "\E6BB";
font-family: "anticon";
font-size: 13px;
color: rgba(0, 0, 0, 0.25);
display: inline-block;
line-height: 1; }
.ant-calendar-picker-small .ant-calendar-picker-clear,
.ant-calendar-picker-small .ant-calendar-picker-icon {
right: 8px; }
.ant-calendar {
position: relative;
outline: none;
width: 280px;
border: 1px solid #fff;
list-style: none;
font-size: 13px;
text-align: left;
background-color: #fff;
border-radius: 4px;
-webkit-box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
background-clip: padding-box;
line-height: 1.5; }
.ant-calendar-input-wrap {
height: 34px;
padding: 6px 10px;
border-bottom: 1px solid #e8e8e8; }
.ant-calendar-input {
border: 0;
width: 100%;
cursor: auto;
outline: 0;
height: 22px;
color: #525b5d;
background: #fff; }
.ant-calendar-input::-moz-placeholder {
color: #bfbfbf;
opacity: 1; }
.ant-calendar-input:-ms-input-placeholder {
color: #bfbfbf; }
.ant-calendar-input::-webkit-input-placeholder {
color: #bfbfbf; }
.ant-calendar-week-number {
width: 286px; }
.ant-calendar-week-number-cell {
text-align: center; }
.ant-calendar-header {
height: 40px;
line-height: 40px;
text-align: center;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
border-bottom: 1px solid #e8e8e8; }
.ant-calendar-header a:hover {
color: #c4e2b6; }
.ant-calendar-header .ant-calendar-century-select,
.ant-calendar-header .ant-calendar-decade-select,
.ant-calendar-header .ant-calendar-year-select,
.ant-calendar-header .ant-calendar-month-select {
padding: 0 2px;
font-weight: 500;
display: inline-block;
color: rgba(0, 0, 0, 0.85);
line-height: 40px; }
.ant-calendar-header .ant-calendar-century-select-arrow,
.ant-calendar-header .ant-calendar-decade-select-arrow,
.ant-calendar-header .ant-calendar-year-select-arrow,
.ant-calendar-header .ant-calendar-month-select-arrow {
display: none; }
.ant-calendar-header .ant-calendar-prev-century-btn,
.ant-calendar-header .ant-calendar-next-century-btn,
.ant-calendar-header .ant-calendar-prev-decade-btn,
.ant-calendar-header .ant-calendar-next-decade-btn,
.ant-calendar-header .ant-calendar-prev-month-btn,
.ant-calendar-header .ant-calendar-next-month-btn,
.ant-calendar-header .ant-calendar-prev-year-btn,
.ant-calendar-header .ant-calendar-next-year-btn {
position: absolute;
top: 0;
color: rgba(0, 0, 0, 0.45);
font-family: Arial, "Hiragino Sans GB", "Microsoft Yahei", "Microsoft Sans Serif", sans-serif;
padding: 0 5px;
font-size: 16px;
display: inline-block;
line-height: 40px; }
.ant-calendar-header .ant-calendar-prev-century-btn,
.ant-calendar-header .ant-calendar-prev-decade-btn,
.ant-calendar-header .ant-calendar-prev-year-btn {
left: 7px; }
.ant-calendar-header .ant-calendar-prev-century-btn:after,
.ant-calendar-header .ant-calendar-prev-decade-btn:after,
.ant-calendar-header .ant-calendar-prev-year-btn:after {
content: '\AB'; }
.ant-calendar-header .ant-calendar-next-century-btn,
.ant-calendar-header .ant-calendar-next-decade-btn,
.ant-calendar-header .ant-calendar-next-year-btn {
right: 7px; }
.ant-calendar-header .ant-calendar-next-century-btn:after,
.ant-calendar-header .ant-calendar-next-decade-btn:after,
.ant-calendar-header .ant-calendar-next-year-btn:after {
content: '\BB'; }
.ant-calendar-header .ant-calendar-prev-month-btn {
left: 29px; }
.ant-calendar-header .ant-calendar-prev-month-btn:after {
content: '\2039'; }
.ant-calendar-header .ant-calendar-next-month-btn {
right: 29px; }
.ant-calendar-header .ant-calendar-next-month-btn:after {
content: '\203A'; }
.ant-calendar-body {
padding: 8px 12px; }
.ant-calendar table {
border-collapse: collapse;
max-width: 100%;
background-color: transparent;
width: 100%; }
.ant-calendar table,
.ant-calendar th,
.ant-calendar td {
border: 0;
text-align: center; }
.ant-calendar-calendar-table {
border-spacing: 0;
margin-bottom: 0; }
.ant-calendar-column-header {
line-height: 18px;
width: 33px;
padding: 6px 0;
text-align: center; }
.ant-calendar-column-header .ant-calendar-column-header-inner {
display: block;
font-weight: normal; }
.ant-calendar-week-number-header .ant-calendar-column-header-inner {
display: none; }
.ant-calendar-cell {
padding: 3px 0;
height: 30px; }
.ant-calendar-date {
display: block;
margin: 0 auto;
color: #525b5d;
border-radius: 2px;
width: 24px;
height: 24px;
line-height: 22px;
border: 1px solid transparent;
padding: 0;
background: transparent;
text-align: center;
-webkit-transition: background 0.3s ease;
transition: background 0.3s ease; }
.ant-calendar-date-panel {
position: relative; }
.ant-calendar-date:hover {
background: #e9ebeb;
cursor: pointer; }
.ant-calendar-date:active {
color: #fff;
background: #a7d391; }
.ant-calendar-today .ant-calendar-date {
border-color: #6db749;
font-weight: bold;
color: #6db749; }
.ant-calendar-last-month-cell .ant-calendar-date,
.ant-calendar-next-month-btn-day .ant-calendar-date {
color: rgba(0, 0, 0, 0.25); }
.ant-calendar-selected-day .ant-calendar-date {
background: #e2f1db; }
.ant-calendar-selected-date .ant-calendar-date,
.ant-calendar-selected-start-date .ant-calendar-date,
.ant-calendar-selected-end-date .ant-calendar-date {
background: #6db749;
color: #fff;
border: 1px solid transparent; }
.ant-calendar-selected-date .ant-calendar-date:hover,
.ant-calendar-selected-start-date .ant-calendar-date:hover,
.ant-calendar-selected-end-date .ant-calendar-date:hover {
background: #6db749; }
.ant-calendar-disabled-cell .ant-calendar-date {
cursor: not-allowed;
color: #bcbcbc;
background: #f5f5f5;
border-radius: 0;
width: auto;
border: 1px solid transparent; }
.ant-calendar-disabled-cell .ant-calendar-date:hover {
background: #f5f5f5; }
.ant-calendar-disabled-cell.ant-calendar-today .ant-calendar-date {
position: relative;
margin-right: 5px;
padding-left: 5px; }
.ant-calendar-disabled-cell.ant-calendar-today .ant-calendar-date:before {
content: " ";
position: absolute;
top: -1px;
left: 5px;
width: 24px;
height: 24px;
border: 1px solid #bcbcbc;
border-radius: 2px; }
.ant-calendar-disabled-cell-first-of-row .ant-calendar-date {
border-top-left-radius: 4px;
border-bottom-left-radius: 4px; }
.ant-calendar-disabled-cell-last-of-row .ant-calendar-date {
border-top-right-radius: 4px;
border-bottom-right-radius: 4px; }
.ant-calendar-footer {
border-top: 1px solid #e8e8e8;
line-height: 38px;
padding: 0 12px; }
.ant-calendar-footer:empty {
border-top: 0; }
.ant-calendar-footer-btn {
text-align: center;
display: block; }
.ant-calendar-footer-extra + .ant-calendar-footer-btn {
border-top: 1px solid #e8e8e8;
margin: 0 -12px;
padding: 0 12px; }
.ant-calendar .ant-calendar-today-btn,
.ant-calendar .ant-calendar-clear-btn {
display: inline-block;
text-align: center;
margin: 0 0 0 8px; }
.ant-calendar .ant-calendar-today-btn-disabled,
.ant-calendar .ant-calendar-clear-btn-disabled {
color: rgba(0, 0, 0, 0.25);
cursor: not-allowed; }
.ant-calendar .ant-calendar-today-btn:only-child,
.ant-calendar .ant-calendar-clear-btn:only-child {
margin: 0; }
.ant-calendar .ant-calendar-clear-btn {
display: none;
position: absolute;
right: 5px;
text-indent: -76px;
overflow: hidden;
width: 20px;
height: 20px;
text-align: center;
line-height: 20px;
top: 7px;
margin: 0; }
.ant-calendar .ant-calendar-clear-btn:after {
font-family: 'anticon';
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
content: "\E62E";
font-size: 13px;
color: rgba(0, 0, 0, 0.25);
display: inline-block;
line-height: 1;
width: 20px;
text-indent: 43px;
-webkit-transition: color 0.3s ease;
transition: color 0.3s ease; }
.ant-calendar .ant-calendar-clear-btn:hover:after {
color: rgba(0, 0, 0, 0.45); }
.ant-calendar .ant-calendar-ok-btn {
display: inline-block;
font-weight: 400;
text-align: center;
-ms-touch-action: manipulation;
touch-action: manipulation;
cursor: pointer;
background-image: none;
border: 1px solid transparent;
white-space: nowrap;
padding: 0 15px;
height: 32px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
-webkit-transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
position: relative;
color: #fff;
background-color: #6db749;
border-color: #6db749;
padding: 0 7px;
font-size: 13px;
border-radius: 4px;
height: 24px;
line-height: 22px; }
.ant-calendar .ant-calendar-ok-btn > .anticon {
line-height: 1; }
.ant-calendar .ant-calendar-ok-btn,
.ant-calendar .ant-calendar-ok-btn:active,
.ant-calendar .ant-calendar-ok-btn:focus {
outline: 0; }
.ant-calendar .ant-calendar-ok-btn:not([disabled]):hover {
text-decoration: none; }
.ant-calendar .ant-calendar-ok-btn:not([disabled]):active {
outline: 0;
-webkit-transition: none;
transition: none; }
.ant-calendar .ant-calendar-ok-btn.disabled,
.ant-calendar .ant-calendar-ok-btn[disabled] {
cursor: not-allowed; }
.ant-calendar .ant-calendar-ok-btn.disabled > *,
.ant-calendar .ant-calendar-ok-btn[disabled] > * {
pointer-events: none; }
.ant-calendar .ant-calendar-ok-btn-lg {
padding: 0 15px;
font-size: 15px;
border-radius: 4px;
height: 40px; }
.ant-calendar .ant-calendar-ok-btn-sm {
padding: 0 7px;
font-size: 13px;
border-radius: 4px;
height: 24px; }
.ant-calendar .ant-calendar-ok-btn > a:only-child {
color: currentColor; }
.ant-calendar .ant-calendar-ok-btn > a:only-child:after {
content: '';
position: absolute;
top: 0;
left: 0;
bottom: 0;
right: 0;
background: transparent; }
.ant-calendar .ant-calendar-ok-btn:hover,
.ant-calendar .ant-calendar-ok-btn:focus {
color: #fff;
background-color: #8ec46e;
border-color: #8ec46e; }
.ant-calendar .ant-calendar-ok-btn:hover > a:only-child,
.ant-calendar .ant-calendar-ok-btn:focus > a:only-child {
color: currentColor; }
.ant-calendar .ant-calendar-ok-btn:hover > a:only-child:after,
.ant-calendar .ant-calendar-ok-btn:focus > a:only-child:after {
content: '';
position: absolute;
top: 0;
left: 0;
bottom: 0;
right: 0;
background: transparent; }
.ant-calendar .ant-calendar-ok-btn:active,
.ant-calendar .ant-calendar-ok-btn.active {
color: #fff;
background-color: #4f9133;
border-color: #4f9133; }
.ant-calendar .ant-calendar-ok-btn:active > a:only-child,
.ant-calendar .ant-calendar-ok-btn.active > a:only-child {
color: currentColor; }
.ant-calendar .ant-calendar-ok-btn:active > a:only-child:after,
.ant-calendar .ant-calendar-ok-btn.active > a:only-child:after {
content: '';
position: absolute;
top: 0;
left: 0;
bottom: 0;
right: 0;
background: transparent; }
.ant-calendar .ant-calendar-ok-btn.disabled,
.ant-calendar .ant-calendar-ok-btn[disabled],
.ant-calendar .ant-calendar-ok-btn.disabled:hover,
.ant-calendar .ant-calendar-ok-btn[disabled]:hover,
.ant-calendar .ant-calendar-ok-btn.disabled:focus,
.ant-calendar .ant-calendar-ok-btn[disabled]:focus,
.ant-calendar .ant-calendar-ok-btn.disabled:active,
.ant-calendar .ant-calendar-ok-btn[disabled]:active,
.ant-calendar .ant-calendar-ok-btn.disabled.active,
.ant-calendar .ant-calendar-ok-btn[disabled].active {
color: rgba(0, 0, 0, 0.25);
background-color: #f5f5f5;
border-color: #bec2c2; }
.ant-calendar .ant-calendar-ok-btn.disabled > a:only-child,
.ant-calendar .ant-calendar-ok-btn[disabled] > a:only-child,
.ant-calendar .ant-calendar-ok-btn.disabled:hover > a:only-child,
.ant-calendar .ant-calendar-ok-btn[disabled]:hover > a:only-child,
.ant-calendar .ant-calendar-ok-btn.disabled:focus > a:only-child,
.ant-calendar .ant-calendar-ok-btn[disabled]:focus > a:only-child,
.ant-calendar .ant-calendar-ok-btn.disabled:active > a:only-child,
.ant-calendar .ant-calendar-ok-btn[disabled]:active > a:only-child,
.ant-calendar .ant-calendar-ok-btn.disabled.active > a:only-child,
.ant-calendar .ant-calendar-ok-btn[disabled].active > a:only-child {
color: currentColor; }
.ant-calendar .ant-calendar-ok-btn.disabled > a:only-child:after,
.ant-calendar .ant-calendar-ok-btn[disabled] > a:only-child:after,
.ant-calendar .ant-calendar-ok-btn.disabled:hover > a:only-child:after,
.ant-calendar .ant-calendar-ok-btn[disabled]:hover > a:only-child:after,
.ant-calendar .ant-calendar-ok-btn.disabled:focus > a:only-child:after,
.ant-calendar .ant-calendar-ok-btn[disabled]:focus > a:only-child:after,
.ant-calendar .ant-calendar-ok-btn.disabled:active > a:only-child:after,
.ant-calendar .ant-calendar-ok-btn[disabled]:active > a:only-child:after,
.ant-calendar .ant-calendar-ok-btn.disabled.active > a:only-child:after,
.ant-calendar .ant-calendar-ok-btn[disabled].active > a:only-child:after {
content: '';
position: absolute;
top: 0;
left: 0;
bottom: 0;
right: 0;
background: transparent; }
.ant-calendar .ant-calendar-ok-btn-disabled {
color: rgba(0, 0, 0, 0.25);
background-color: #f5f5f5;
border-color: #bec2c2;
cursor: not-allowed; }
.ant-calendar .ant-calendar-ok-btn-disabled > a:only-child {
color: currentColor; }
.ant-calendar .ant-calendar-ok-btn-disabled > a:only-child:after {
content: '';
position: absolute;
top: 0;
left: 0;
bottom: 0;
right: 0;
background: transparent; }
.ant-calendar .ant-calendar-ok-btn-disabled:hover {
color: rgba(0, 0, 0, 0.25);
background-color: #f5f5f5;
border-color: #bec2c2; }
.ant-calendar .ant-calendar-ok-btn-disabled:hover > a:only-child {
color: currentColor; }
.ant-calendar .ant-calendar-ok-btn-disabled:hover > a:only-child:after {
content: '';
position: absolute;
top: 0;
left: 0;
bottom: 0;
right: 0;
background: transparent; }
.ant-calendar-range-picker-input {
background-color: transparent;
border: 0;
height: 99%;
outline: 0;
width: 44%;
text-align: center; }
.ant-calendar-range-picker-input::-moz-placeholder {
color: #bfbfbf;
opacity: 1; }
.ant-calendar-range-picker-input:-ms-input-placeholder {
color: #bfbfbf; }
.ant-calendar-range-picker-input::-webkit-input-placeholder {
color: #bfbfbf; }
.ant-calendar-range-picker-input[disabled] {
cursor: not-allowed; }
.ant-calendar-range-picker-separator {
color: rgba(0, 0, 0, 0.45);
width: 10px;
display: inline-block;
height: 100%;
vertical-align: top; }
.ant-calendar-range {
width: 552px;
overflow: hidden; }
.ant-calendar-range .ant-calendar-date-panel::after {
content: ".";
display: block;
height: 0;
clear: both;
visibility: hidden; }
.ant-calendar-range-part {
width: 50%;
position: relative; }
.ant-calendar-range-left {
float: left; }
.ant-calendar-range-left .ant-calendar-time-picker-inner {
border-right: 1px solid #e8e8e8; }
.ant-calendar-range-right {
float: right; }
.ant-calendar-range-right .ant-calendar-time-picker-inner {
border-left: 1px solid #e8e8e8; }
.ant-calendar-range-middle {
position: absolute;
left: 50%;
width: 20px;
margin-left: -132px;
text-align: center;
height: 34px;
line-height: 34px;
color: rgba(0, 0, 0, 0.45); }
.ant-calendar-range-right .ant-calendar-date-input-wrap {
margin-left: -118px; }
.ant-calendar-range.ant-calendar-time .ant-calendar-range-middle {
margin-left: -12px; }
.ant-calendar-range.ant-calendar-time .ant-calendar-range-right .ant-calendar-date-input-wrap {
margin-left: 0; }
.ant-calendar-range .ant-calendar-input-wrap {
position: relative;
height: 34px; }
.ant-calendar-range .ant-calendar-input,
.ant-calendar-range .ant-calendar-time-picker-input {
position: relative;
display: inline-block;
padding: 4px 11px;
width: 100%;
height: 32px;
font-size: 13px;
line-height: 1.5;
color: #525b5d;
background-color: #fff;
background-image: none;
border: 1px solid #bec2c2;
border-radius: 4px;
-webkit-transition: all 0.3s;
transition: all 0.3s;
height: 24px;
border: 0;
-webkit-box-shadow: none;
box-shadow: none;
padding-left: 0;
padding-right: 0; }
.ant-calendar-range .ant-calendar-input::-moz-placeholder,
.ant-calendar-range .ant-calendar-time-picker-input::-moz-placeholder {
color: #bfbfbf;
opacity: 1; }
.ant-calendar-range .ant-calendar-input:-ms-input-placeholder,
.ant-calendar-range .ant-calendar-time-picker-input:-ms-input-placeholder {
color: #bfbfbf; }
.ant-calendar-range .ant-calendar-input::-webkit-input-placeholder,
.ant-calendar-range .ant-calendar-time-picker-input::-webkit-input-placeholder {
color: #bfbfbf; }
.ant-calendar-range .ant-calendar-input:hover,
.ant-calendar-range .ant-calendar-time-picker-input:hover {
border-color: #8ec46e;
border-right-width: 1px !important; }
.ant-calendar-range .ant-calendar-input:focus,
.ant-calendar-range .ant-calendar-time-picker-input:focus {
border-color: #8ec46e;
outline: 0;
-webkit-box-shadow: 0 0 0 2px rgba(109, 183, 73, 0.2);
box-shadow: 0 0 0 2px rgba(109, 183, 73, 0.2);
border-right-width: 1px !important; }
.ant-calendar-range .ant-calendar-input-disabled,
.ant-calendar-range .ant-calendar-time-picker-input-disabled {
background-color: #f5f5f5;
opacity: 1;
cursor: not-allowed;
color: rgba(0, 0, 0, 0.25); }
.ant-calendar-range .ant-calendar-input-disabled:hover,
.ant-calendar-range .ant-calendar-time-picker-input-disabled:hover {
border-color: #c2cfce;
border-right-width: 1px !important; }
textarea.ant-calendar-range .ant-calendar-input,
textarea.ant-calendar-range .ant-calendar-time-picker-input {
max-width: 100%;
height: auto;
vertical-align: bottom;
-webkit-transition: all 0.3s, height 0s;
transition: all 0.3s, height 0s;
min-height: 32px; }
.ant-calendar-range .ant-calendar-input-lg,
.ant-calendar-range .ant-calendar-time-picker-input-lg {
padding: 6px 11px;
height: 40px;
font-size: 15px; }
.ant-calendar-range .ant-calendar-input-sm,
.ant-calendar-range .ant-calendar-time-picker-input-sm {
padding: 1px 7px;
height: 24px; }
.ant-calendar-range .ant-calendar-input:focus,
.ant-calendar-range .ant-calendar-time-picker-input:focus {
-webkit-box-shadow: none;
box-shadow: none; }
.ant-calendar-range .ant-calendar-time-picker-icon {
display: none; }
.ant-calendar-range.ant-calendar-week-number {
width: 574px; }
.ant-calendar-range.ant-calendar-week-number .ant-calendar-range-part {
width: 286px; }
.ant-calendar-range .ant-calendar-year-panel,
.ant-calendar-range .ant-calendar-month-panel,
.ant-calendar-range .ant-calendar-decade-panel {
top: 34px; }
.ant-calendar-range .ant-calendar-month-panel .ant-calendar-year-panel {
top: 0; }
.ant-calendar-range .ant-calendar-decade-panel-table,
.ant-calendar-range .ant-calendar-year-panel-table,
.ant-calendar-range .ant-calendar-month-panel-table {
height: 208px; }
.ant-calendar-range .ant-calendar-in-range-cell {
border-radius: 0;
position: relative; }
.ant-calendar-range .ant-calendar-in-range-cell > div {
position: relative;
z-index: 1; }
.ant-calendar-range .ant-calendar-in-range-cell:before {
content: '';
display: block;
background: #6db749;
border-radius: 0;
border: 0;
position: absolute;
top: 4px;
bottom: 4px;
left: 0;
right: 0; }
div.ant-calendar-range-quick-selector {
text-align: left; }
div.ant-calendar-range-quick-selector > a {
margin-right: 8px; }
.ant-calendar-range .ant-calendar-header,
.ant-calendar-range .ant-calendar-month-panel-header,
.ant-calendar-range .ant-calendar-year-panel-header {
border-bottom: 0; }
.ant-calendar-range .ant-calendar-body,
.ant-calendar-range .ant-calendar-month-panel-body,
.ant-calendar-range .ant-calendar-year-panel-body {
border-top: 1px solid #e8e8e8; }
.ant-calendar-range.ant-calendar-time .ant-calendar-time-picker {
height: 207px;
width: 100%;
top: 68px;
z-index: 2; }
.ant-calendar-range.ant-calendar-time .ant-calendar-time-picker-panel {
height: 267px;
margin-top: -34px; }
.ant-calendar-range.ant-calendar-time .ant-calendar-time-picker-inner {
padding-top: 40px;
height: 100%;
background: none; }
.ant-calendar-range.ant-calendar-time .ant-calendar-time-picker-combobox {
display: inline-block;
height: 100%;
background-color: #fff;
border-top: 1px solid #e8e8e8; }
.ant-calendar-range.ant-calendar-time .ant-calendar-time-picker-select {
height: 100%; }
.ant-calendar-range.ant-calendar-time .ant-calendar-time-picker-select ul {
max-height: 100%; }
.ant-calendar-range.ant-calendar-time .ant-calendar-footer .ant-calendar-time-picker-btn {
margin-right: 8px; }
.ant-calendar-range.ant-calendar-time .ant-calendar-today-btn {
margin: 8px 12px;
height: 22px;
line-height: 22px; }
.ant-calendar-range-with-ranges.ant-calendar-time .ant-calendar-time-picker {
height: 233px; }
.ant-calendar-range.ant-calendar-show-time-picker .ant-calendar-body {
border-top-color: transparent; }
.ant-calendar-time-picker {
position: absolute;
width: 100%;
top: 40px;
background-color: #fff; }
.ant-calendar-time-picker-panel {
z-index: 1050;
position: absolute;
width: 100%; }
.ant-calendar-time-picker-inner {
display: inline-block;
position: relative;
outline: none;
list-style: none;
font-size: 13px;
text-align: left;
background-color: #fff;
background-clip: padding-box;
line-height: 1.5;
overflow: hidden;
width: 100%; }
.ant-calendar-time-picker-combobox {
width: 100%; }
.ant-calendar-time-picker-column-1,
.ant-calendar-time-picker-column-1 .ant-calendar-time-picker-select {
width: 100%; }
.ant-calendar-time-picker-column-2 .ant-calendar-time-picker-select {
width: 50%; }
.ant-calendar-time-picker-column-3 .ant-calendar-time-picker-select {
width: 33.33%; }
.ant-calendar-time-picker-column-4 .ant-calendar-time-picker-select {
width: 25%; }
.ant-calendar-time-picker-input-wrap {
display: none; }
.ant-calendar-time-picker-select {
float: left;
font-size: 13px;
border-right: 1px solid #e8e8e8;
-webkit-box-sizing: border-box;
box-sizing: border-box;
overflow: hidden;
position: relative;
height: 226px; }
.ant-calendar-time-picker-select:hover {
overflow-y: auto; }
.ant-calendar-time-picker-select:first-child {
border-left: 0;
margin-left: 0; }
.ant-calendar-time-picker-select:last-child {
border-right: 0; }
.ant-calendar-time-picker-select ul {
list-style: none;
-webkit-box-sizing: border-box;
box-sizing: border-box;
margin: 0;
padding: 0;
width: 100%;
max-height: 206px; }
.ant-calendar-time-picker-select li {
text-align: center;
list-style: none;
-webkit-box-sizing: content-box;
box-sizing: content-box;
margin: 0;
width: 100%;
height: 24px;
line-height: 24px;
cursor: pointer;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
-webkit-transition: background 0.3s ease;
transition: background 0.3s ease; }
.ant-calendar-time-picker-select li:last-child:after {
content: '';
height: 202px;
display: block; }
.ant-calendar-time-picker-select li:hover {
background: #e9ebeb; }
li.ant-calendar-time-picker-select-option-selected {
background: #f5f5f5;
font-weight: bold; }
li.ant-calendar-time-picker-select-option-disabled {
color: rgba(0, 0, 0, 0.25); }
li.ant-calendar-time-picker-select-option-disabled:hover {
background: transparent;
cursor: not-allowed; }
.ant-calendar-time .ant-calendar-day-select {
padding: 0 2px;
font-weight: 500;
display: inline-block;
color: rgba(0, 0, 0, 0.85);
line-height: 34px; }
.ant-calendar-time .ant-calendar-footer {
position: relative;
height: auto; }
.ant-calendar-time .ant-calendar-footer-btn {
text-align: right; }
.ant-calendar-time .ant-calendar-footer .ant-calendar-today-btn {
float: left;
margin: 0; }
.ant-calendar-time .ant-calendar-footer .ant-calendar-time-picker-btn {
display: inline-block;
margin-right: 8px; }
.ant-calendar-time .ant-calendar-footer .ant-calendar-time-picker-btn-disabled {
color: rgba(0, 0, 0, 0.25); }
.ant-calendar-month-panel {
position: absolute;
top: 1px;
right: 0;
bottom: 0;
left: 0;
z-index: 10;
border-radius: 4px;
background: #fff;
outline: none; }
.ant-calendar-month-panel > div {
height: 100%; }
.ant-calendar-month-panel-hidden {
display: none; }
.ant-calendar-month-panel-header {
height: 40px;
line-height: 40px;
text-align: center;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
border-bottom: 1px solid #e8e8e8; }
.ant-calendar-month-panel-header a:hover {
color: #c4e2b6; }
.ant-calendar-month-panel-header .ant-calendar-month-panel-century-select,
.ant-calendar-month-panel-header .ant-calendar-month-panel-decade-select,
.ant-calendar-month-panel-header .ant-calendar-month-panel-year-select,
.ant-calendar-month-panel-header .ant-calendar-month-panel-month-select {
padding: 0 2px;
font-weight: 500;
display: inline-block;
color: rgba(0, 0, 0, 0.85);
line-height: 40px; }
.ant-calendar-month-panel-header .ant-calendar-month-panel-century-select-arrow,
.ant-calendar-month-panel-header .ant-calendar-month-panel-decade-select-arrow,
.ant-calendar-month-panel-header .ant-calendar-month-panel-year-select-arrow,
.ant-calendar-month-panel-header .ant-calendar-month-panel-month-select-arrow {
display: none; }
.ant-calendar-month-panel-header .ant-calendar-month-panel-prev-century-btn,
.ant-calendar-month-panel-header .ant-calendar-month-panel-next-century-btn,
.ant-calendar-month-panel-header .ant-calendar-month-panel-prev-decade-btn,
.ant-calendar-month-panel-header .ant-calendar-month-panel-next-decade-btn,
.ant-calendar-month-panel-header .ant-calendar-month-panel-prev-month-btn,
.ant-calendar-month-panel-header .ant-calendar-month-panel-next-month-btn,
.ant-calendar-month-panel-header .ant-calendar-month-panel-prev-year-btn,
.ant-calendar-month-panel-header .ant-calendar-month-panel-next-year-btn {
position: absolute;
top: 0;
color: rgba(0, 0, 0, 0.45);
font-family: Arial, "Hiragino Sans GB", "Microsoft Yahei", "Microsoft Sans Serif", sans-serif;
padding: 0 5px;
font-size: 16px;
display: inline-block;
line-height: 40px; }
.ant-calendar-month-panel-header .ant-calendar-month-panel-prev-century-btn,
.ant-calendar-month-panel-header .ant-calendar-month-panel-prev-decade-btn,
.ant-calendar-month-panel-header .ant-calendar-month-panel-prev-year-btn {
left: 7px; }
.ant-calendar-month-panel-header .ant-calendar-month-panel-prev-century-btn:after,
.ant-calendar-month-panel-header .ant-calendar-month-panel-prev-decade-btn:after,
.ant-calendar-month-panel-header .ant-calendar-month-panel-prev-year-btn:after {
content: '\AB'; }
.ant-calendar-month-panel-header .ant-calendar-month-panel-next-century-btn,
.ant-calendar-month-panel-header .ant-calendar-month-panel-next-decade-btn,
.ant-calendar-month-panel-header .ant-calendar-month-panel-next-year-btn {
right: 7px; }
.ant-calendar-month-panel-header .ant-calendar-month-panel-next-century-btn:after,
.ant-calendar-month-panel-header .ant-calendar-month-panel-next-decade-btn:after,
.ant-calendar-month-panel-header .ant-calendar-month-panel-next-year-btn:after {
content: '\BB'; }
.ant-calendar-month-panel-header .ant-calendar-month-panel-prev-month-btn {
left: 29px; }
.ant-calendar-month-panel-header .ant-calendar-month-panel-prev-month-btn:after {
content: '\2039'; }
.ant-calendar-month-panel-header .ant-calendar-month-panel-next-month-btn {
right: 29px; }
.ant-calendar-month-panel-header .ant-calendar-month-panel-next-month-btn:after {
content: '\203A'; }
.ant-calendar-month-panel-body {
height: calc(100% - 40px); }
.ant-calendar-month-panel-table {
table-layout: fixed;
width: 100%;
height: 100%;
border-collapse: separate; }
.ant-calendar-month-panel-selected-cell .ant-calendar-month-panel-month {
background: #6db749;
color: #fff; }
.ant-calendar-month-panel-selected-cell .ant-calendar-month-panel-month:hover {
background: #6db749;
color: #fff; }
.ant-calendar-month-panel-cell {
text-align: center; }
.ant-calendar-month-panel-cell-disabled .ant-calendar-month-panel-month,
.ant-calendar-month-panel-cell-disabled .ant-calendar-month-panel-month:hover {
cursor: not-allowed;
color: #bcbcbc;
background: #f5f5f5; }
.ant-calendar-month-panel-month {
display: inline-block;
margin: 0 auto;
color: #525b5d;
background: transparent;
text-align: center;
height: 24px;
line-height: 24px;
padding: 0 8px;
border-radius: 2px;
-webkit-transition: background 0.3s ease;
transition: background 0.3s ease; }
.ant-calendar-month-panel-month:hover {
background: #e9ebeb;
cursor: pointer; }
.ant-calendar-year-panel {
position: absolute;
top: 1px;
right: 0;
bottom: 0;
left: 0;
z-index: 10;
border-radius: 4px;
background: #fff;
outline: none; }
.ant-calendar-year-panel > div {
height: 100%; }
.ant-calendar-year-panel-hidden {
display: none; }
.ant-calendar-year-panel-header {
height: 40px;
line-height: 40px;
text-align: center;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
border-bottom: 1px solid #e8e8e8; }
.ant-calendar-year-panel-header a:hover {
color: #c4e2b6; }
.ant-calendar-year-panel-header .ant-calendar-year-panel-century-select,
.ant-calendar-year-panel-header .ant-calendar-year-panel-decade-select,
.ant-calendar-year-panel-header .ant-calendar-year-panel-year-select,
.ant-calendar-year-panel-header .ant-calendar-year-panel-month-select {
padding: 0 2px;
font-weight: 500;
display: inline-block;
color: rgba(0, 0, 0, 0.85);
line-height: 40px; }
.ant-calendar-year-panel-header .ant-calendar-year-panel-century-select-arrow,
.ant-calendar-year-panel-header .ant-calendar-year-panel-decade-select-arrow,
.ant-calendar-year-panel-header .ant-calendar-year-panel-year-select-arrow,
.ant-calendar-year-panel-header .ant-calendar-year-panel-month-select-arrow {
display: none; }
.ant-calendar-year-panel-header .ant-calendar-year-panel-prev-century-btn,
.ant-calendar-year-panel-header .ant-calendar-year-panel-next-century-btn,
.ant-calendar-year-panel-header .ant-calendar-year-panel-prev-decade-btn,
.ant-calendar-year-panel-header .ant-calendar-year-panel-next-decade-btn,
.ant-calendar-year-panel-header .ant-calendar-year-panel-prev-month-btn,
.ant-calendar-year-panel-header .ant-calendar-year-panel-next-month-btn,
.ant-calendar-year-panel-header .ant-calendar-year-panel-prev-year-btn,
.ant-calendar-year-panel-header .ant-calendar-year-panel-next-year-btn {
position: absolute;
top: 0;
color: rgba(0, 0, 0, 0.45);
font-family: Arial, "Hiragino Sans GB", "Microsoft Yahei", "Microsoft Sans Serif", sans-serif;
padding: 0 5px;
font-size: 16px;
display: inline-block;
line-height: 40px; }
.ant-calendar-year-panel-header .ant-calendar-year-panel-prev-century-btn,
.ant-calendar-year-panel-header .ant-calendar-year-panel-prev-decade-btn,
.ant-calendar-year-panel-header .ant-calendar-year-panel-prev-year-btn {
left: 7px; }
.ant-calendar-year-panel-header .ant-calendar-year-panel-prev-century-btn:after,
.ant-calendar-year-panel-header .ant-calendar-year-panel-prev-decade-btn:after,
.ant-calendar-year-panel-header .ant-calendar-year-panel-prev-year-btn:after {
content: '\AB'; }
.ant-calendar-year-panel-header .ant-calendar-year-panel-next-century-btn,
.ant-calendar-year-panel-header .ant-calendar-year-panel-next-decade-btn,
.ant-calendar-year-panel-header .ant-calendar-year-panel-next-year-btn {
right: 7px; }
.ant-calendar-year-panel-header .ant-calendar-year-panel-next-century-btn:after,
.ant-calendar-year-panel-header .ant-calendar-year-panel-next-decade-btn:after,
.ant-calendar-year-panel-header .ant-calendar-year-panel-next-year-btn:after {
content: '\BB'; }
.ant-calendar-year-panel-header .ant-calendar-year-panel-prev-month-btn {
left: 29px; }
.ant-calendar-year-panel-header .ant-calendar-year-panel-prev-month-btn:after {
content: '\2039'; }
.ant-calendar-year-panel-header .ant-calendar-year-panel-next-month-btn {
right: 29px; }
.ant-calendar-year-panel-header .ant-calendar-year-panel-next-month-btn:after {
content: '\203A'; }
.ant-calendar-year-panel-body {
height: calc(100% - 40px); }
.ant-calendar-year-panel-table {
table-layout: fixed;
width: 100%;
height: 100%;
border-collapse: separate; }
.ant-calendar-year-panel-cell {
text-align: center; }
.ant-calendar-year-panel-year {
display: inline-block;
margin: 0 auto;
color: #525b5d;
background: transparent;
text-align: center;
height: 24px;
line-height: 24px;
padding: 0 8px;
border-radius: 2px;
-webkit-transition: background 0.3s ease;
transition: background 0.3s ease; }
.ant-calendar-year-panel-year:hover {
background: #e9ebeb;
cursor: pointer; }
.ant-calendar-year-panel-selected-cell .ant-calendar-year-panel-year {
background: #6db749;
color: #fff; }
.ant-calendar-year-panel-selected-cell .ant-calendar-year-panel-year:hover {
background: #6db749;
color: #fff; }
.ant-calendar-year-panel-last-decade-cell .ant-calendar-year-panel-year,
.ant-calendar-year-panel-next-decade-cell .ant-calendar-year-panel-year {
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
color: rgba(0, 0, 0, 0.25); }
.ant-calendar-decade-panel {
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
z-index: 10;
background: #fff;
border-radius: 4px;
outline: none; }
.ant-calendar-decade-panel-hidden {
display: none; }
.ant-calendar-decade-panel-header {
height: 40px;
line-height: 40px;
text-align: center;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
border-bottom: 1px solid #e8e8e8; }
.ant-calendar-decade-panel-header a:hover {
color: #c4e2b6; }
.ant-calendar-decade-panel-header .ant-calendar-decade-panel-century-select,
.ant-calendar-decade-panel-header .ant-calendar-decade-panel-decade-select,
.ant-calendar-decade-panel-header .ant-calendar-decade-panel-year-select,
.ant-calendar-decade-panel-header .ant-calendar-decade-panel-month-select {
padding: 0 2px;
font-weight: 500;
display: inline-block;
color: rgba(0, 0, 0, 0.85);
line-height: 40px; }
.ant-calendar-decade-panel-header .ant-calendar-decade-panel-century-select-arrow,
.ant-calendar-decade-panel-header .ant-calendar-decade-panel-decade-select-arrow,
.ant-calendar-decade-panel-header .ant-calendar-decade-panel-year-select-arrow,
.ant-calendar-decade-panel-header .ant-calendar-decade-panel-month-select-arrow {
display: none; }
.ant-calendar-decade-panel-header .ant-calendar-decade-panel-prev-century-btn,
.ant-calendar-decade-panel-header .ant-calendar-decade-panel-next-century-btn,
.ant-calendar-decade-panel-header .ant-calendar-decade-panel-prev-decade-btn,
.ant-calendar-decade-panel-header .ant-calendar-decade-panel-next-decade-btn,
.ant-calendar-decade-panel-header .ant-calendar-decade-panel-prev-month-btn,
.ant-calendar-decade-panel-header .ant-calendar-decade-panel-next-month-btn,
.ant-calendar-decade-panel-header .ant-calendar-decade-panel-prev-year-btn,
.ant-calendar-decade-panel-header .ant-calendar-decade-panel-next-year-btn {
position: absolute;
top: 0;
color: rgba(0, 0, 0, 0.45);
font-family: Arial, "Hiragino Sans GB", "Microsoft Yahei", "Microsoft Sans Serif", sans-serif;
padding: 0 5px;
font-size: 16px;
display: inline-block;
line-height: 40px; }
.ant-calendar-decade-panel-header .ant-calendar-decade-panel-prev-century-btn,
.ant-calendar-decade-panel-header .ant-calendar-decade-panel-prev-decade-btn,
.ant-calendar-decade-panel-header .ant-calendar-decade-panel-prev-year-btn {
left: 7px; }
.ant-calendar-decade-panel-header .ant-calendar-decade-panel-prev-century-btn:after,
.ant-calendar-decade-panel-header .ant-calendar-decade-panel-prev-decade-btn:after,
.ant-calendar-decade-panel-header .ant-calendar-decade-panel-prev-year-btn:after {
content: '\AB'; }
.ant-calendar-decade-panel-header .ant-calendar-decade-panel-next-century-btn,
.ant-calendar-decade-panel-header .ant-calendar-decade-panel-next-decade-btn,
.ant-calendar-decade-panel-header .ant-calendar-decade-panel-next-year-btn {
right: 7px; }
.ant-calendar-decade-panel-header .ant-calendar-decade-panel-next-century-btn:after,
.ant-calendar-decade-panel-header .ant-calendar-decade-panel-next-decade-btn:after,
.ant-calendar-decade-panel-header .ant-calendar-decade-panel-next-year-btn:after {
content: '\BB'; }
.ant-cale