UNPKG

@alifd/next

Version:

A configurable component library for web built on React.

1,323 lines (1,284 loc) 205 kB
/*! * @alifd/next@1.14.7 (https://fusion.design) * Copyright 2018-present Alibaba Group, * Licensed under MIT (https://github.com/alibaba-fusion/next/blob/master/LICENSE) */ .next-range.disabled .next-range-mark-text { color: #CCCCCC; } .next-range.disabled .next-range-mark-text.activated { color: #999999; } .next-range .next-range-track { height: 4px; margin-top: -2px; } .next-range .next-range-selected { height: 4px; margin-top: -2px; } .next-range .next-range-frag { margin-top: -2px; height: 16px; } .next-range .next-range-slider { height: 16px; width: 16px; margin-top: -8px; margin-left: -8px; -webkit-box-shadow: 1px 1px 3px 0px rgba(0, 0, 0, 0.12); box-shadow: 1px 1px 3px 0px rgba(0, 0, 0, 0.12); } .next-range .next-range-slider-inner { height: 16px; width: 16px; margin-top: -8px; margin-left: -8px; } .next-range .next-range-mark { display: block; } .next-range .next-range-mark .next-range-mark-text { font-size: 12px; font-weight: normal; line-height: 20px; height: 20px; } .next-range .next-range-mark.next-range-mark-below { height: 30px; } .next-range .next-range-mark.next-range-mark-below .next-range-mark-text { bottom: 0; } .next-range .next-range-mark.next-range-mark-above { height: 30px; } .next-range .next-range-scale .next-range-scale-item { height: 12px; } .next-range.simulation-hover > .next-range-slider-inner { background-color: #FFFFFF; -webkit-box-shadow: #FFFFFF; box-shadow: #FFFFFF; -webkit-transform: scale(1.2); -ms-transform: scale(1.2); transform: scale(1.2); } .next-range.simulation-click > .next-range-slider-inner { border: 2px solid #5584FF; -webkit-box-shadow: 2px 2px 4px 0px rgba(0, 0, 0, 0.12); box-shadow: 2px 2px 4px 0px rgba(0, 0, 0, 0.12); -webkit-transform: scale(1.2); -ms-transform: scale(1.2); transform: scale(1.2); } .next-range[dir=rtl] .next-range-mark { position: relative; cursor: auto; } .next-range[dir=rtl] .next-range-mark .next-range-mark-text { position: absolute; right: 0; -webkit-transform: translateX(50%); -ms-transform: translateX(50%); transform: translateX(50%); padding-right: 2px; text-align: center; } .next-rating[dir="rtl"] .next-rating-overlay { right: 0; left: auto; } .next-rating[dir="rtl"] .next-rating-underlay .next-rating-icon, .next-rating[dir="rtl"] .next-rating-overlay .next-rating-icon { margin-right: 4px; margin-left: 0; } .next-rating[dir="rtl"] .next-rating-underlay .next-rating-icon:last-child, .next-rating[dir="rtl"] .next-rating-overlay .next-rating-icon:last-child { /* icon 放大会产生边缘溢出,这里使用 margin 为放大扩展一部分空间 */ margin-left: 4px; } .next-rating { vertical-align: top; } .next-rating { display: inline-block; position: relative; } .next-rating:after { visibility: hidden; display: block; height: 0; font-size: 0; content: ' '; clear: both; } .next-rating-base { float: left; cursor: pointer; } .next-rating-text { float: left; } .next-rating-base-disabled { cursor: not-allowed; } .next-rating-underlay { white-space: nowrap; overflow: hidden; } .next-rating-underlay .next-icon { color: #E2E4E8; } .next-rating-stroke-mode .next-rating-underlay .next-icon { color: transparent; -webkit-text-stroke: 1px #5584FF; } .next-rating-overlay { white-space: nowrap; overflow: hidden; position: absolute; width: 0; top: 0; left: 0; } .next-rating-overlay .next-icon { color: #5584FF; } .next-rating-underlay .next-rating-icon, .next-rating-overlay .next-rating-icon { margin-left: 4px; } .next-rating-underlay .next-rating-icon:last-child, .next-rating-overlay .next-rating-icon:last-child { /* icon 放大会产生边缘溢出,这里使用 margin 为放大扩展一部分空间 */ margin-right: 4px; } .next-rating-underlay .next-icon, .next-rating-overlay .next-icon { -webkit-transition: all 50ms ease-in; transition: all 50ms ease-in; } .next-rating-underlay .next-icon.hover, .next-rating-overlay .next-icon.hover { -webkit-transform: scale3d(1.1, 1.1, 1.1); transform: scale3d(1.1, 1.1, 1.1); } .next-rating-underlay .next-icon.clicked, .next-rating-overlay .next-icon.clicked { -webkit-transform: scale3d(0.9, 0.9, 0.9); transform: scale3d(0.9, 0.9, 0.9); } .next-rating-info { position: absolute; top: calc(100% + 4px); left: 0; border: 1px solid #E2E4E8; background: #FFFFFF; padding: 4px 8px 3px; font-size: 12px; white-space: nowrap; } .next-rating-info:after { position: absolute; content: ' '; width: 4px; height: 4px; -webkit-transform: rotate(45deg); -ms-transform: rotate(45deg); transform: rotate(45deg); border: 1px solid #E2E4E8; background: #FFFFFF; border-bottom-color: transparent; border-right-color: transparent; top: -3px; left: 4px; } .next-rating:focus, .next-rating.hover { outline: none; } .next-rating:focus .next-rating-overlay .next-icon, .next-rating.hover .next-rating-overlay .next-icon { color: #5584FF; } /* 状态 */ /* ======================================== */ .next-rating-grade-low .next-rating-overlay .next-icon { color: #666666; } .next-rating-grade-low.hover .next-rating-overlay .next-icon { color: #666666; } .next-rating-grade-high .next-rating-overlay .next-icon { color: #5584FF; } .next-rating-grade-high.hover .next-rating-overlay .next-icon { color: #5584FF; } /* 尺寸 */ /* ======================================== */ .next-rating-small { font-size: 12px; } .next-rating-small .next-icon:before { width: 12px; font-size: 12px; line-height: inherit; } .next-rating-small .next-rating-text { margin-left: 8px; } .next-rating-medium { font-size: 12px; } .next-rating-medium .next-icon:before { width: 16px; font-size: 16px; line-height: inherit; } .next-rating-medium .next-rating-text { margin-left: 12px; } .next-rating-large { font-size: 16px; } .next-rating-large .next-icon:before { width: 20px; font-size: 20px; line-height: inherit; } .next-rating-large .next-rating-text { margin-left: 16px; } .next-search-simple[dir=rtl].next-large .next-search-icon { margin-left: 12px; margin-right: 0; } .next-search-simple[dir=rtl].next-medium .next-search-icon { margin-left: 8px; margin-right: 0; } .next-search-simple[dir=rtl].next-normal .next-search-left .next-search-left-addon { border-left: 1px solid #C4C6CF; border-right: none; } .next-search-simple[dir=rtl].next-dark .next-search-left { border-color: #C4C6CF; } .next-search-simple[dir=rtl].next-dark .next-search-left .next-search-left-addon { border-right: 1px solid #C4C6CF; } .next-search-simple[dir=rtl].next-dark:hover .next-search-left { border-color: #C4C6CF; } .next-search-simple[dir=rtl].next-dark .next-search-icon { color: #999999; } .next-search-simple[dir=rtl].next-dark .next-search-icon:hover { color: #666666; } .next-search-normal[dir=rtl] .next-search-left { border-left: none; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-top-left-radius: 0; border-bottom-left-radius: 0; } .next-search-normal[dir=rtl] .next-search-btn.next-btn { border-radius: 3px 0 0 3px !important; } .next-search-normal[dir=rtl] .next-input { border-radius: 0 3px 3px 0; } .next-search-normal[dir=rtl].next-primary .next-input { border-top-left-radius: 0; border-bottom-left-radius: 0; border-top-right-radius: 1px; border-bottom-right-radius: 1px; } .next-search-normal[dir=rtl].next-primary .next-search-left .next-search-left-addon { border-left: 1px solid #E6E7EB; border-right: none; } .next-search-normal[dir=rtl].next-secondary .next-input { border-top-left-radius: 0; border-bottom-left-radius: 0; border-top-right-radius: 1px; border-bottom-right-radius: 1px; } .next-search-normal[dir=rtl].next-secondary .next-search-left .next-search-left-addon { border-left: 1px solid #E6E7EB; border-right: none; } .next-search-normal[dir=rtl].next-normal .next-input { border-top-left-radius: 0; border-bottom-left-radius: 0; border-top-right-radius: 1px; border-bottom-right-radius: 1px; } .next-search-normal[dir=rtl].next-normal .next-search-left .next-search-left-addon { border-left: 1px solid #E6E7EB; border-right: none; } .next-search-normal[dir=rtl].next-dark .next-search-left .next-search-left-addon { border-left: 1px solid #5584FF; border-right: none; } .next-search { -webkit-box-sizing: border-box; box-sizing: border-box; width: 100%; display: inline-block; } .next-search *, .next-search *:before, .next-search *:after { -webkit-box-sizing: border-box; box-sizing: border-box; } .next-search .next-input, .next-search .next-select { border: none; } .next-search .next-select .next-input { height: auto; } .next-search .next-select .next-input .next-input-text-field { height: auto; } .next-search .next-search-left { border-style: solid; -webkit-transition: all .3s ease-out; transition: all .3s ease-out; } .next-search .next-search-left-addon .next-input, .next-search .next-search-left-addon .next-select-trigger-search { min-height: 100%; border-bottom-right-radius: 0; border-top-right-radius: 0; } .next-search .next-search-left-addon .next-select-values { line-height: 1; } .next-search .next-search-left-addon + .next-search-input .next-input { border-bottom-left-radius: 0; border-top-left-radius: 0; } .next-search .next-search-input { width: 100%; } .next-search .next-search-btn { -webkit-box-shadow: none; box-shadow: none; } .next-search-normal { width: 600px; } .next-search-normal .next-search-left { border-top-left-radius: 3px; border-bottom-left-radius: 3px; } .next-search-normal .next-input { border-radius: 3px 0 0 3px; } .next-search-normal .next-btn { border-radius: 0 3px 3px 0; } .next-search-normal.next-primary .next-search-left { border-color: #5584FF; } .next-search-normal.next-primary .next-search-left .next-search-left-addon { border-right: 1px solid #E6E7EB; } .next-search-normal.next-primary:hover .next-search-left, .next-search-normal.next-primary:hover .next-btn { border-color: #5584FF; } .next-search-normal.next-primary .next-search-btn { background: #5584FF; border-color: #5584FF; color: #FFFFFF; } .next-search-normal.next-primary .next-search-btn:hover { background: #3E71F7; border-color: #5584FF; color: #FFFFFF; } .next-search-normal.next-primary .next-search-btn .next-icon { color: #FFFFFF; } .next-search-normal.next-primary .next-search-btn .next-icon:hover { color: #FFFFFF; } .next-search-normal.next-primary.next-large { -webkit-box-shadow: none; box-shadow: none; } .next-search-normal.next-primary.next-large .next-search-left, .next-search-normal.next-primary.next-large .next-search-btn { border-width: 2px; height: 60px; } .next-search-normal.next-primary.next-large .next-search-input { height: 56px; overflow-y: hidden; } .next-search-normal.next-primary.next-large .next-search-input input { height: 56px; line-height: 56px \0; } .next-search-normal.next-primary.next-large .next-select { height: 56px; } .next-search-normal.next-primary.next-large .next-search-btn { font-size: 16px; } .next-search-normal.next-primary.next-large .next-search-btn .next-icon:before { width: 24px; font-size: 24px; line-height: inherit; } .next-search-normal.next-primary.next-large .next-search-btn .next-search-btn-text { display: inline-block; padding-left: 0; } .next-search-normal.next-primary.next-medium { -webkit-box-shadow: none; box-shadow: none; } .next-search-normal.next-primary.next-medium .next-search-left, .next-search-normal.next-primary.next-medium .next-search-btn { border-width: 2px; height: 40px; } .next-search-normal.next-primary.next-medium .next-search-input { height: 36px; overflow-y: hidden; } .next-search-normal.next-primary.next-medium .next-search-input input { height: 36px; line-height: 36px \0; } .next-search-normal.next-primary.next-medium .next-select { height: 36px; } .next-search-normal.next-primary.next-medium .next-search-btn { font-size: 16px; } .next-search-normal.next-primary.next-medium .next-search-btn .next-icon:before { width: 16px; font-size: 16px; line-height: inherit; } .next-search-normal.next-primary.next-medium .next-search-btn .next-search-btn-text { display: inline-block; padding-left: 0; } .next-search-normal.next-primary .next-input { border-top-left-radius: 1px; border-bottom-left-radius: 1px; } .next-search-normal.next-secondary .next-search-left { border-color: #C4C6CF; } .next-search-normal.next-secondary .next-search-left .next-search-left-addon { border-right: 1px solid #E6E7EB; } .next-search-normal.next-secondary:hover .next-search-left, .next-search-normal.next-secondary:hover .next-btn { border-color: #5584FF; } .next-search-normal.next-secondary .next-search-btn { background: #5584FF; border-color: #5584FF; color: #FFFFFF; } .next-search-normal.next-secondary .next-search-btn:hover { background: #3E71F7; border-color: #5584FF; color: #FFFFFF; } .next-search-normal.next-secondary .next-search-btn .next-icon { color: #FFFFFF; } .next-search-normal.next-secondary .next-search-btn .next-icon:hover { color: #FFFFFF; } .next-search-normal.next-secondary.next-large { -webkit-box-shadow: none; box-shadow: none; } .next-search-normal.next-secondary.next-large .next-search-left, .next-search-normal.next-secondary.next-large .next-search-btn { border-width: 1px; height: 60px; } .next-search-normal.next-secondary.next-large .next-search-input { height: 58px; overflow-y: hidden; } .next-search-normal.next-secondary.next-large .next-search-input input { height: 58px; line-height: 58px \0; } .next-search-normal.next-secondary.next-large .next-select { height: 58px; } .next-search-normal.next-secondary.next-large .next-search-btn { font-size: 16px; } .next-search-normal.next-secondary.next-large .next-search-btn .next-icon:before { width: 24px; font-size: 24px; line-height: inherit; } .next-search-normal.next-secondary.next-large .next-search-btn .next-search-btn-text { display: inline-block; padding-left: 0; } .next-search-normal.next-secondary.next-medium { -webkit-box-shadow: none; box-shadow: none; } .next-search-normal.next-secondary.next-medium .next-search-left, .next-search-normal.next-secondary.next-medium .next-search-btn { border-width: 1px; height: 40px; } .next-search-normal.next-secondary.next-medium .next-search-input { height: 38px; overflow-y: hidden; } .next-search-normal.next-secondary.next-medium .next-search-input input { height: 38px; line-height: 38px \0; } .next-search-normal.next-secondary.next-medium .next-select { height: 38px; } .next-search-normal.next-secondary.next-medium .next-search-btn { font-size: 16px; } .next-search-normal.next-secondary.next-medium .next-search-btn .next-icon:before { width: 16px; font-size: 16px; line-height: inherit; } .next-search-normal.next-secondary.next-medium .next-search-btn .next-search-btn-text { display: inline-block; padding-left: 0; } .next-search-normal.next-secondary .next-input { border-top-left-radius: 2px; border-bottom-left-radius: 2px; } .next-search-normal.next-normal .next-search-left { border-color: #C4C6CF; } .next-search-normal.next-normal .next-search-left .next-search-left-addon { border-right: 1px solid #E6E7EB; } .next-search-normal.next-normal:hover .next-search-left, .next-search-normal.next-normal:hover .next-btn { border-color: #A0A2AD; } .next-search-normal.next-normal .next-search-btn { background: #F7F8FA; border-color: #C4C6CF; color: #666666; } .next-search-normal.next-normal .next-search-btn:hover { background: #EBECF0; border-color: #A0A2AD; color: #333333; } .next-search-normal.next-normal .next-search-btn .next-icon { color: #666666; } .next-search-normal.next-normal .next-search-btn .next-icon:hover { color: #333333; } .next-search-normal.next-normal.next-large { -webkit-box-shadow: none; box-shadow: none; } .next-search-normal.next-normal.next-large .next-search-left, .next-search-normal.next-normal.next-large .next-search-btn { border-width: 1px; height: 60px; } .next-search-normal.next-normal.next-large .next-search-input { height: 58px; overflow-y: hidden; } .next-search-normal.next-normal.next-large .next-search-input input { height: 58px; line-height: 58px \0; } .next-search-normal.next-normal.next-large .next-select { height: 58px; } .next-search-normal.next-normal.next-large .next-search-btn { font-size: 16px; } .next-search-normal.next-normal.next-large .next-search-btn .next-icon:before { width: 24px; font-size: 24px; line-height: inherit; } .next-search-normal.next-normal.next-large .next-search-btn .next-search-btn-text { display: inline-block; padding-left: 0; } .next-search-normal.next-normal.next-medium { -webkit-box-shadow: none; box-shadow: none; } .next-search-normal.next-normal.next-medium .next-search-left, .next-search-normal.next-normal.next-medium .next-search-btn { border-width: 1px; height: 40px; } .next-search-normal.next-normal.next-medium .next-search-input { height: 38px; overflow-y: hidden; } .next-search-normal.next-normal.next-medium .next-search-input input { height: 38px; line-height: 38px \0; } .next-search-normal.next-normal.next-medium .next-select { height: 38px; } .next-search-normal.next-normal.next-medium .next-search-btn { font-size: 16px; } .next-search-normal.next-normal.next-medium .next-search-btn .next-icon:before { width: 16px; font-size: 16px; line-height: inherit; } .next-search-normal.next-normal.next-medium .next-search-btn .next-search-btn-text { display: inline-block; padding-left: 0; } .next-search-normal.next-normal .next-input { border-top-left-radius: 2px; border-bottom-left-radius: 2px; } .next-search-normal.next-dark .next-search-left { border-color: #5584FF; } .next-search-normal.next-dark .next-search-left .next-search-left-addon { border-right: 1px solid #5584FF; } .next-search-normal.next-dark:hover .next-search-left, .next-search-normal.next-dark:hover .next-btn { border-color: #5584FF; } .next-search-normal.next-dark .next-search-btn { background: #5584FF; border-color: #5584FF; color: #FFFFFF; } .next-search-normal.next-dark .next-search-btn:hover { background: #3E71F7; border-color: #5584FF; color: #FFFFFF; } .next-search-normal.next-dark .next-search-btn .next-icon { color: #FFFFFF; } .next-search-normal.next-dark .next-search-btn .next-icon:hover { color: #FFFFFF; } .next-search-normal.next-dark .next-select-inner, .next-search-normal.next-dark input { color: #FFFFFF; } .next-search-normal.next-dark .next-input { background: rgba(255, 255, 255, 0); } .next-search-normal.next-dark .next-select { background: rgba(255, 255, 255, 0); } .next-search-normal.next-dark.next-large { -webkit-box-shadow: none; box-shadow: none; } .next-search-normal.next-dark.next-large .next-search-left, .next-search-normal.next-dark.next-large .next-search-btn { border-width: 1px; height: 60px; } .next-search-normal.next-dark.next-large .next-search-input { height: 58px; overflow-y: hidden; } .next-search-normal.next-dark.next-large .next-search-input input { height: 58px; line-height: 58px \0; } .next-search-normal.next-dark.next-large .next-select { height: 58px; } .next-search-normal.next-dark.next-large .next-search-btn { font-size: 16px; } .next-search-normal.next-dark.next-large .next-search-btn .next-icon:before { width: 24px; font-size: 24px; line-height: inherit; } .next-search-normal.next-dark.next-large .next-search-btn .next-search-btn-text { display: inline-block; padding-left: 0; } .next-search-normal.next-dark.next-medium { -webkit-box-shadow: none; box-shadow: none; } .next-search-normal.next-dark.next-medium .next-search-left, .next-search-normal.next-dark.next-medium .next-search-btn { border-width: 1px; height: 40px; } .next-search-normal.next-dark.next-medium .next-search-input { height: 38px; overflow-y: hidden; } .next-search-normal.next-dark.next-medium .next-search-input input { height: 38px; line-height: 38px \0; } .next-search-normal.next-dark.next-medium .next-select { height: 38px; } .next-search-normal.next-dark.next-medium .next-search-btn { font-size: 16px; } .next-search-normal.next-dark.next-medium .next-search-btn .next-icon:before { width: 16px; font-size: 16px; line-height: inherit; } .next-search-normal.next-dark.next-medium .next-search-btn .next-search-btn-text { display: inline-block; padding-left: 0; } .next-search-normal:not([dir=rtl]) .next-search-left { border-right: none; } .next-search-simple { width: 300px; -webkit-box-shadow: none; box-shadow: none; border-radius: 3px; } .next-search-simple .next-search-icon { cursor: pointer; -webkit-transition: all .3s ease-out; transition: all .3s ease-out; } .next-search-simple .next-search-left, .next-search-simple .next-input { border-radius: 3px; } .next-search-simple.next-large .next-search-icon { margin-right: 12px; } .next-search-simple.next-medium .next-search-icon { margin-right: 8px; } .next-search-simple.next-normal .next-search-left { border-color: #C4C6CF; } .next-search-simple.next-normal .next-search-left .next-search-left-addon { border-right: 1px solid #C4C6CF; } .next-search-simple.next-normal:hover .next-search-left { border-color: #A0A2AD; } .next-search-simple.next-normal .next-search-icon { color: #999999; } .next-search-simple.next-normal .next-search-icon:hover { color: #666666; } .next-search-simple.next-normal .next-search-left { border-width: 1px; } .next-search-simple.next-normal.next-large .next-search-icon:before { width: 20px; font-size: 20px; line-height: inherit; } .next-search-simple.next-normal.next-medium .next-search-icon:before { width: 12px; font-size: 12px; line-height: inherit; } .next-search-simple.next-dark .next-search-left { border-color: #C4C6CF; } .next-search-simple.next-dark .next-search-left .next-search-left-addon { border-right: 1px solid #C4C6CF; } .next-search-simple.next-dark:hover .next-search-left { border-color: #C4C6CF; } .next-search-simple.next-dark .next-search-icon { color: #999999; } .next-search-simple.next-dark .next-search-icon:hover { color: #666666; } .next-search-simple.next-dark .next-select-inner, .next-search-simple.next-dark input { color: #FFFFFF; } .next-search-simple.next-dark .next-input { background: rgba(255, 255, 255, 0); } .next-search-simple.next-dark .next-select { background: rgba(255, 255, 255, 0); } .next-search-simple.next-dark .next-search-left { border-width: 1px; } .next-search-simple.next-dark.next-large .next-search-icon:before { width: 20px; font-size: 20px; line-height: inherit; } .next-search-simple.next-dark.next-medium .next-search-icon:before { width: 12px; font-size: 12px; line-height: inherit; } .next-search-simple .next-select.next-large { height: 38px; } .next-search-simple .next-select.next-medium { height: 26px; } /* Slider */ /* -------------------------------------- */ .next-slick { -webkit-box-sizing: border-box; box-sizing: border-box; position: relative; display: block; -webkit-touch-callout: none; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; -ms-touch-action: pan-y; touch-action: pan-y; -webkit-tap-highlight-color: transparent; /* 水平滑动 */ /* 垂直滑动 */ } .next-slick *, .next-slick *:before, .next-slick *:after { -webkit-box-sizing: border-box; box-sizing: border-box; } .next-slick-initialized .next-slick-slide { display: block; } .next-slick-list { position: relative; overflow: hidden; display: block; margin: 0; padding: 0; -webkit-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); } .next-slick-list:focus { outline: none; } .next-slick-list.dragging { cursor: pointer; cursor: hand; } .next-slick-track { position: relative; top: 0; left: 0; display: block; -webkit-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); } .next-slick-slide { float: left; height: 100%; min-height: 1px; outline: 0; -webkit-transition: all 0.3s cubic-bezier(0.86, 0, 0.07, 1); transition: all 0.3s cubic-bezier(0.86, 0, 0.07, 1); } .next-slick[dir="rtl"] .next-slick-slide { float: right; } .next-slick-slide img { display: block; } .next-slick-arrow { display: block; position: absolute; cursor: pointer; text-align: center; -webkit-transition: .4s ease-in; transition: .4s ease-in; /* prev/next 按钮不同位置下的外观 */ } .next-slick-arrow.inner { color: #FFFFFF; background: #000000; opacity: 0.2; padding: 0; border: none; } .next-slick-arrow.inner:focus, .next-slick-arrow.inner:hover { color: #FFFFFF; background: #000000; opacity: 0.4; } .next-slick-arrow.inner.disabled { color: #CCCCCC; background: #F7F8FA; opacity: 0.5; } .next-slick-arrow.outer { color: #666666; background: transparent; opacity: 0.32; padding: 0; border: none; border-radius: 0; } .next-slick-arrow.outer:focus, .next-slick-arrow.outer:hover { color: #333333; background: transparent; opacity: 0.32; } .next-slick-arrow.outer.disabled { color: #CCCCCC; background: transparent; opacity: 0.32; } .next-slick-arrow.disabled { cursor: not-allowed; } .next-slick-dots { display: block; position: absolute; margin: 0; padding: 0; /* dots 位于水平位置 */ /* dots 位于右侧垂直位置 */ } .next-slick-dots-item { position: relative; display: inline-block; cursor: pointer; } .next-slick-dots-item button { cursor: pointer; border-width: 0; border-color: white; border-style: solid; outline: none; padding: 0; height: 8px; width: 8px; border-radius: 50%; background: rgba(0, 0, 0, 0.32); } .next-slick-dots-item button:hover { background-color: rgba(0, 0, 0, 0.32); /* border-width: $slick-dots-border-width-hover; */ border-color: white; } .next-slick-dots-item button:focus, .next-slick-dots-item.active button { background: #5584ff; /* border-width: $slick-dots-border-width-selected; */ border-color: white; -webkit-animation: zoom 0.3s cubic-bezier(0.86, 0, 0.07, 1); animation: zoom 0.3s cubic-bezier(0.86, 0, 0.07, 1); } .next-slick-dots.hoz { width: 100%; bottom: 12px; left: 0; text-align: center; } .next-slick-dots.hoz .next-slick-dots-item { margin: 0 4px; } .next-slick-dots.ver { width: 16px; top: 0; right: 20px; bottom: 0; display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center; -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; } .next-slick-dots.ver .next-slick-dots-item { margin: 0 0; } .next-slick.next-slick-hoz.next-slick-outer { padding: 0 24px; } .next-slick.next-slick-hoz .next-slick-arrow.medium { width: 28px; height: 56px; line-height: 56px; } .next-slick.next-slick-hoz .next-slick-arrow.medium .next-icon:before { width: 20px; font-size: 20px; line-height: inherit; } .next-slick.next-slick-hoz .next-slick-arrow.medium.inner { top: calc((100% - 56px) / 2); } .next-slick.next-slick-hoz .next-slick-arrow.medium.inner.next-slick-prev { left: 0; } .next-slick.next-slick-hoz .next-slick-arrow.medium.inner.next-slick-next { right: 0; } .next-slick.next-slick-hoz .next-slick-arrow.medium.outer { top: calc((100% - 56px) / 2); } .next-slick.next-slick-hoz .next-slick-arrow.medium.outer.next-slick-prev { left: -4px; } .next-slick.next-slick-hoz .next-slick-arrow.medium.outer.next-slick-next { right: -4px; } .next-slick.next-slick-hoz .next-slick-arrow.large { width: 48px; height: 96px; line-height: 96px; } .next-slick.next-slick-hoz .next-slick-arrow.large .next-icon:before { width: 32px; font-size: 32px; line-height: inherit; } .next-slick.next-slick-hoz .next-slick-arrow.large.inner { top: calc((100% - 96px) / 2); } .next-slick.next-slick-hoz .next-slick-arrow.large.inner.next-slick-prev { left: 0; } .next-slick.next-slick-hoz .next-slick-arrow.large.inner.next-slick-next { right: 0; } .next-slick.next-slick-hoz .next-slick-arrow.large.outer { top: calc((100% - 96px) / 2); } .next-slick.next-slick-hoz .next-slick-arrow.large.outer.next-slick-prev { left: -8px; } .next-slick.next-slick-hoz .next-slick-arrow.large.outer.next-slick-next { right: -8px; } .next-slick.next-slick-ver.next-slick-outer { padding: 24px 0; } .next-slick.next-slick-ver .next-slick-slide { display: block; height: auto; /* border: $slick-ver-slide-border-width solid transparent; */ } .next-slick.next-slick-ver .next-slick-arrow { /* size medium */ /* size medium & position inner */ /* size medium & position outer */ /* size large */ /* size large & position inner */ /* size large & position outer */ } .next-slick.next-slick-ver .next-slick-arrow.medium { width: 56px; height: 28px; line-height: 28px; } .next-slick.next-slick-ver .next-slick-arrow.medium .next-icon:before { width: 20px; font-size: 20px; line-height: inherit; } .next-slick.next-slick-ver .next-slick-arrow.medium.inner { left: calc((100% - 56px) / 2); } .next-slick.next-slick-ver .next-slick-arrow.medium.inner.next-slick-prev { top: 0; } .next-slick.next-slick-ver .next-slick-arrow.medium.inner.next-slick-next { bottom: 0; } .next-slick.next-slick-ver .next-slick-arrow.medium.outer { left: calc((100% - 56px) / 2); } .next-slick.next-slick-ver .next-slick-arrow.medium.outer.next-slick-prev { top: -4px; } .next-slick.next-slick-ver .next-slick-arrow.medium.outer.next-slick-next { bottom: -4px; } .next-slick.next-slick-ver .next-slick-arrow.large { width: 96px; height: 48px; line-height: 48px; } .next-slick.next-slick-ver .next-slick-arrow.large .next-icon:before { width: 32px; font-size: 32px; line-height: inherit; } .next-slick.next-slick-ver .next-slick-arrow.large.inner { left: calc((100% - 96px) / 2); } .next-slick.next-slick-ver .next-slick-arrow.large.inner.next-slick-prev { top: 0; } .next-slick.next-slick-ver .next-slick-arrow.large.inner.next-slick-next { bottom: 0; } .next-slick.next-slick-ver .next-slick-arrow.large.outer { left: calc((100% - 96px) / 2); } .next-slick.next-slick-ver .next-slick-arrow.large.outer.next-slick-prev { top: -16px; } .next-slick.next-slick-ver .next-slick-arrow.large.outer.next-slick-next { bottom: -16px; } .next-split-btn { display: inline-block; position: relative; } .next-split-btn-trigger .next-icon { -webkit-transition: -webkit-transform 0.3s cubic-bezier(0.645, 0.045, 0.355, 1); transition: -webkit-transform 0.3s cubic-bezier(0.645, 0.045, 0.355, 1); transition: transform 0.3s cubic-bezier(0.645, 0.045, 0.355, 1); transition: transform 0.3s cubic-bezier(0.645, 0.045, 0.355, 1), -webkit-transform 0.3s cubic-bezier(0.645, 0.045, 0.355, 1); } .next-split-btn-trigger.next-expand .next-icon { -webkit-transform: rotate(180deg); -ms-transform: rotate(180deg); transform: rotate(180deg); } .next-split-btn-trigger.next-btn-normal:not(:disabled):not(.disabled) .next-icon { color: #999999; } .next-split-btn-trigger.next-small { padding-left: 4px; padding-right: 4px; } .next-split-btn-trigger.next-medium { padding-left: 8px; padding-right: 8px; } .next-step *, .next-step *:before, .next-step *:after { -webkit-box-sizing: border-box; box-sizing: border-box; } .next-step, .next-step:before, .next-step:after { -webkit-box-sizing: border-box; box-sizing: border-box; } .next-step { width: 100%; position: relative; border: none; } .next-step-item { position: relative; vertical-align: middle; outline: 0; height: 100%; } .next-step-item-body { outline: 0; } .next-step-item-node { -webkit-transition: all .2s ease; transition: all .2s ease; } .next-step-item-node.clicked { -webkit-transform: scale3d(0.8, 0.8, 0.8); transform: scale3d(0.8, 0.8, 0.8); } .next-step-horizontal { overflow: hidden; } .next-step-horizontal > .next-step-item { display: inline-block; text-align: left; } .next-step-vertical > .next-step-item { display: block; text-align: center; } .next-step-arrow { display: -webkit-box; display: -ms-flexbox; display: flex; } .next-step-arrow .next-step-item { -webkit-box-flex: 1; -ms-flex: 1; flex: 1; height: 32px; line-height: 32px; margin-left: 16px; margin-right: 4px; } .next-step-arrow .next-step-item:before { content: ''; position: absolute; left: -16px; top: 0; z-index: 1; border: 16px solid transparent; border-left-color: transparent; } .next-step-arrow .next-step-item:after { content: ''; position: absolute; right: -16px; top: 0; z-index: 1; border-top: 16px solid transparent; border-bottom: 16px solid transparent; border-left: 16px solid transparent; } .next-step-arrow .next-step-item .next-step-item-container { min-width: 100px; height: 32px; cursor: pointer; } .next-step-arrow .next-step-item .next-step-item-container .next-step-item-title { height: 32px; line-height: 32px; font-weight: bold; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: center; } .next-step-arrow > .next-step-item-wait { background: #EBECF0; } .next-step-arrow > .next-step-item-wait .next-step-item-tail-overlay { background: #000000; } .next-step-arrow > .next-step-item-wait .next-step-item-tail-underlay { background: #CCCCCC; } .next-step-arrow > .next-step-item-wait > .next-step-item-container .next-step-item-progress { width: 32px; height: 32px; } .next-step-arrow > .next-step-item-wait > .next-step-item-container .next-step-item-node { color: #000000; } .next-step-arrow > .next-step-item-wait > .next-step-item-container .next-step-item-node-circle { background: #EBECF0; border-color: #000000; } .next-step-arrow > .next-step-item-wait > .next-step-item-container .next-step-item-node-dot { background: #EBECF0; border-color: #000000; } .next-step-arrow > .next-step-item-wait .next-step-item-title { color: #999999; word-break: break-word; } .next-step-arrow > .next-step-item-wait .next-step-item-content { color: #999999; font-size: 12px; word-break: break-word; } .next-step-arrow > .next-step-item-wait .next-step-item-node-placeholder { width: 32px; height: 32px; position: relative; } .next-step-arrow > .next-step-item-wait .next-step-item-node { position: relative; display: inline-block; text-align: center; cursor: pointer; } .next-step-arrow > .next-step-item-wait .next-step-item-node-circle { display: block; width: 32px; height: 32px; font-size: 12px; font-weight: normal; line-height: 30px; text-align: center; border: 1px solid; border-radius: 50%; -webkit-transition: background-color .2s ease, border-color .2s ease; transition: background-color .2s ease, border-color .2s ease; } .next-step-arrow > .next-step-item-wait .next-step-item-node-circle .next-icon { -webkit-animation: zoomIn .2s linear; animation: zoomIn .2s linear; } .next-step-arrow > .next-step-item-wait .next-step-item-node-circle .next-icon:before { width: 12px; font-size: 12px; line-height: inherit; } .next-step-arrow > .next-step-item-wait .next-step-item-node-dot { position: absolute; top: 50%; margin-top: -16px; left: 50%; margin-left: -16px; display: block; width: 32px; height: 32px; border: 1px solid; border-radius: 50%; -webkit-transition: background-color .3s ease, border-color .3s ease; transition: background-color .3s ease, border-color .3s ease; } .next-step-arrow > .next-step-item-wait:before { border: 16px solid #EBECF0; border-left-color: transparent; } .next-step-arrow > .next-step-item-wait:after { border-left-color: #EBECF0; } .next-step-arrow > .next-step-item-process { background: #5584FF; } .next-step-arrow > .next-step-item-process .next-step-item-tail-overlay { background: #000000; } .next-step-arrow > .next-step-item-process .next-step-item-tail-underlay { background: #CCCCCC; } .next-step-arrow > .next-step-item-process > .next-step-item-container .next-step-item-progress { width: 32px; height: 32px; } .next-step-arrow > .next-step-item-process > .next-step-item-container .next-step-item-node { color: #000000; } .next-step-arrow > .next-step-item-process > .next-step-item-container .next-step-item-node-circle { background: #5584FF; border-color: #000000; } .next-step-arrow > .next-step-item-process > .next-step-item-container .next-step-item-node-dot { background: #5584FF; border-color: #000000; } .next-step-arrow > .next-step-item-process .next-step-item-title { color: #FFFFFF; word-break: break-word; } .next-step-arrow > .next-step-item-process .next-step-item-content { color: #FFFFFF; font-size: 12px; word-break: break-word; } .next-step-arrow > .next-step-item-process .next-step-item-node-placeholder { width: 32px; height: 32px; position: relative; } .next-step-arrow > .next-step-item-process .next-step-item-node { position: relative; display: inline-block; text-align: center; cursor: pointer; } .next-step-arrow > .next-step-item-process .next-step-item-node-circle { display: block; width: 32px; height: 32px; font-size: 12px; font-weight: normal; line-height: 30px; text-align: center; border: 1px solid; border-radius: 50%; -webkit-transition: background-color .2s ease, border-color .2s ease; transition: background-color .2s ease, border-color .2s ease; } .next-step-arrow > .next-step-item-process .next-step-item-node-circle .next-icon { -webkit-animation: zoomIn .2s linear; animation: zoomIn .2s linear; } .next-step-arrow > .next-step-item-process .next-step-item-node-circle .next-icon:before { width: 12px; font-size: 12px; line-height: inherit; } .next-step-arrow > .next-step-item-process .next-step-item-node-dot { position: absolute; top: 50%; margin-top: -16px; left: 50%; margin-left: -16px; display: block; width: 32px; height: 32px; border: 1px solid; border-radius: 50%; -webkit-transition: background-color .3s ease, border-color .3s ease; transition: background-color .3s ease, border-color .3s ease; } .next-step-arrow > .next-step-item-process:before { border: 16px solid #5584FF; border-left-color: transparent; } .next-step-arrow > .next-step-item-process:after { border-left-color: #5584FF; } .next-step-arrow > .next-step-item-finish { background: #DEE8FF; } .next-step-arrow > .next-step-item-finish .next-step-item-tail-overlay { background: #000000; } .next-step-arrow > .next-step-item-finish .next-step-item-tail-underlay { background: #CCCCCC; } .next-step-arrow > .next-step-item-finish > .next-step-item-container .next-step-item-progress { width: 32px; height: 32px; } .next-step-arrow > .next-step-item-finish > .next-step-item-container .next-step-item-node { color: #000000; } .next-step-arrow > .next-step-item-finish > .next-step-item-container .next-step-item-node-circle { background: #DEE8FF; border-color: #000000; } .next-step-arrow > .next-step-item-finish > .next-step-item-container .next-step-item-node-dot { background: #DEE8FF; border-color: #000000; } .next-step-arrow > .next-step-item-finish .next-step-item-title { color: #5584FF; word-break: break-word; } .next-step-arrow > .next-step-item-finish .next-step-item-content { color: #5584FF; font-size: 12px; word-break: break-word; } .next-step-arrow > .next-step-item-finish .next-step-item-node-placeholder { width: 32px; height: 32px; position: relative; } .next-step-arrow > .next-step-item-finish .next-step-item-node { position: relative; display: inline-block; text-align: center; cursor: pointer; } .next-step-arrow > .next-step-item-finish .next-step-item-node-circle { display: block; width: 32px; height: 32px; font-size: 12px; font-weight: normal; line-height: 30px; text-align: center; border: 1px solid; border-radius: 50%; -webkit-transition: background-color .2s ease, border-color .2s ease; transition: background-color .2s ease, border-color .2s ease; } .next-step-arrow > .next-step-item-finish .next-step-item-node-circle .next-icon { -webkit-animation: zoomIn .2s linear; animation: zoomIn .2s linear; } .next-step-arrow > .next-step-item-finish .next-step-item-node-circle .next-icon:before { width: 12px; font-size: 12px; line-height: inherit; } .next-step-arrow > .next-step-item-finish .next-step-item-node-dot { position: absolute; top: 50%; margin-top: -16px; left: 50%; margin-left: -16px; display: block; width: 32px; height: 32px; border: 1px solid; border-radius: 50%; -webkit-transition: background-color .3s ease, border-color .3s ease; transition: background-color .3s ease, border-color .3s ease; } .next-step-arrow > .next-step-item-finish:before { border: 16px solid #DEE8FF; border-left-color: transparent; } .next-step-arrow > .next-step-item-finish:after { border-left-color: #DEE8FF; } .next-step-arrow .next-step-item-disabled { cursor: not-allowed; background: #F7F8FA; } .next-step-arrow .next-step-item-disabled .next-step-item-tail-overlay { background: #000000; } .next-step-arrow .next-step-item-disabled .next-step-item-tail-underlay { background: #CCCCCC; } .next-step-arrow .next-step-item-disabled > .next-step-item-container .next-step-item-progress { width: 32px; height: 32px; } .next-step-arrow .next-step-item-disabled > .next-step-item-container .next-step-item-node { color: #000000; } .next-step-arrow .next-step-item-disabled > .next-step-item-container .next-step-item-node-circle { background: #F7F8FA; border-color: #000000; } .next-step-arrow .next-step-item-disabled > .next-step-item-container .next-step-item-node-dot { background: #F7F8FA; border-color: #000000; } .next-step-arrow .next-step-item-disabled .next-step-item-title { color: #CCCCCC; word-break: break-word; } .next-step-arrow .next-step-item-disabled .next-step-item-content { color: #CCCCCC; font-size: 12px; word-break: break-word; } .next-step-arrow .next-step-item-disabled .next-step-item-node-placeholder { width: 32px; height: 32px; position: relative; } .next-step-arrow .next-step-item-disabled .next-step-item-node { position: relative; display: inline-block; text-align: center; cursor: pointer; } .next-step-arrow .next-step-item-disabled .next-step-item-node-circle { display: block; width: 32px; height: 32px; font-size: 12px; font-weight: normal; line-height: 30px; text-align: center; border: 1px solid; border-radius: 50%; -webkit-transition: background-color .2s ease, border-color .2s ease; transition: background-color .2s ease, border-color .2s ease; } .next-step-arrow .next-step-item-disabled .next-step-item-node-circle .next-icon { -webkit-animation: zoomIn .2s linear; animation: zoomIn .2s linear; } .next-step-arrow .next-step-item-disabled .next-step-item-node-circle .next-icon:before { width: 12px; font-size: 12px; line-height: inherit; } .next-step-arrow .next-step-item-disabled .next-step-item-node-dot { position: absolute; top: 50%; margin-top: -16px; left: 50%; margin-left: -16px; display: block; width: 32px; height: 32px; border: 1px solid; border-radius: 50%; -webkit-transition: background-color .3s ease, border-color .3s ease; transition: background-color .3s ease, border-color .3s ease; } .next-step-arrow .next-step-item-disabled:before { border: 16px solid #F7F8FA; border-left-color: transparent; } .next-step-arrow .next-step-item-disabled:after { border-left-color: #F7F8FA; } .next-step-arrow .next-step-item-disabled .next-step-item-container { cursor: not-allowed; } .next-step-arrow .next-step-item-read-only { cursor: default; } .next-step-arrow .next-step-item-read-only .next-step-item-container { cursor: default; } .next-step-arrow .next-step-item-first { margin-left: 0; } .next-step-arrow .next-step-item-first:before { border: 16px solid transparent; } .next-step-arrow .next-step-item-last { margin-right: 0; } .next-step-arrow .next-step-item-last:after { border: 16px solid transparent; } .next-step-circle .next-step-item-container { display: inline-block; vertical-align: middle; position: relative; padding: 0 8px; } .next-step-circle .next-step-item-container .next-step-item-progress .next-progress-circle-text { color: #5584FF; font-size: 12px; } .