UNPKG

ng-zorro-antd-mobile

Version:

An enterprise-class mobile UI components based on Ant Design and Angular

2,227 lines 155 kB
/*do not import this file except components/style/index.less*/ .am-fade-enter, .am-fade-appear { opacity: 0; animation-duration: 0.2s; animation-fill-mode: both; animation-timing-function: cubic-bezier(0.55, 0, 0.55, 0.2); animation-play-state: paused; } .am-fade-leave { animation-duration: 0.2s; animation-fill-mode: both; animation-timing-function: cubic-bezier(0.55, 0, 0.55, 0.2); animation-play-state: paused; } .am-fade-enter.am-fade-enter-active, .am-fade-appear.am-fade-appear-active { animation-name: amFadeIn; animation-play-state: running; } .am-fade-leave.am-fade-leave-active { animation-name: amFadeOut; animation-play-state: running; } @keyframes amFadeIn { 0% { opacity: 0; } 100% { opacity: 1; } } @keyframes amFadeOut { 0% { opacity: 1; } 100% { opacity: 0; } } .am-slide-up-enter, .am-slide-up-appear { transform: translate(0, 100%); } .am-slide-up-enter, .am-slide-up-appear, .am-slide-up-leave { animation-duration: 0.2s; animation-fill-mode: both; animation-timing-function: cubic-bezier(0.55, 0, 0.55, 0.2); animation-play-state: paused; } .am-slide-up-enter.am-slide-up-enter-active, .am-slide-up-appear.am-slide-up-appear-active { animation-name: amSlideUpIn; animation-play-state: running; } .am-slide-up-leave.am-slide-up-leave-active { animation-name: amSlideUpOut; animation-play-state: running; } @keyframes amSlideUpIn { 0% { transform: translate(0, 100%); } 100% { transform: translate(0, 0); } } @keyframes amSlideUpOut { 0% { transform: translate(0, 0); } 100% { transform: translate(0, 100%); } } .am.am-zoom-enter, .am.am-zoom-leave { display: block; } .am-zoom-enter, .am-zoom-appear { opacity: 0; animation-duration: 0.2s; animation-fill-mode: both; animation-timing-function: cubic-bezier(0.55, 0, 0.55, 0.2); animation-timing-function: cubic-bezier(0.18, 0.89, 0.32, 1.28); animation-play-state: paused; } .am-zoom-leave { animation-duration: 0.2s; animation-fill-mode: both; animation-timing-function: cubic-bezier(0.55, 0, 0.55, 0.2); animation-timing-function: cubic-bezier(0.6, -0.3, 0.74, 0.05); animation-play-state: paused; } .am-zoom-enter.am-zoom-enter-active, .am-zoom-appear.am-zoom-appear-active { animation-name: amZoomIn; animation-play-state: running; } .am-zoom-leave.am-zoom-leave-active { animation-name: amZoomOut; animation-play-state: running; } @keyframes amZoomIn { 0% { opacity: 0; transform-origin: 50% 50%; transform: scale(0, 0); } 100% { opacity: 1; transform-origin: 50% 50%; transform: scale(1, 1); } } @keyframes amZoomOut { 0% { opacity: 1; transform-origin: 50% 50%; transform: scale(1, 1); } 100% { opacity: 0; transform-origin: 50% 50%; transform: scale(0, 0); } } .am-slide-down-enter, .am-slide-down-appear { transform: translate(0, -100%); } .am-slide-down-enter, .am-slide-down-appear, .am-slide-down-leave { animation-duration: 0.2s; animation-fill-mode: both; animation-timing-function: cubic-bezier(0.55, 0, 0.55, 0.2); animation-play-state: paused; } .am-slide-down-enter.am-slide-down-enter-active, .am-slide-down-appear.am-slide-down-appear-active { animation-name: amSlideDownIn; animation-play-state: running; } .am-slide-down-leave.am-slide-down-leave-active { animation-name: amSlideDownOut; animation-play-state: running; } @keyframes amSlideDownIn { 0% { transform: translate(0, -100%); } 100% { transform: translate(0, 0); } } @keyframes amSlideDownOut { 0% { transform: translate(0, 0); } 100% { transform: translate(0, -100%); } } body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, code, form, fieldset, legend, input, textarea, p, blockquote, th, td, hr, button, article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { margin: 0; padding: 0; } ul, ol { list-style: none; } *, *::before, *::after { box-sizing: border-box; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); } body { background-color: #f5f5f9; font-size: 14px; } *[contenteditable] { -webkit-user-select: auto !important; } *:focus { outline: none; } a { background: transparent; text-decoration: none; outline: none; } input[type='text'], input[type='password'], input[type='number'], textarea { -webkit-appearance: none; } [type='number']::-webkit-inner-spin-button, [type='number']::-webkit-outer-spin-button { height: auto; } [type='search']::-webkit-search-cancel-button, [type='search']::-webkit-search-decoration { -webkit-appearance: none; } .am-accordion { position: relative; border-top: 1px solid #ddd; } @media (min-resolution: 2dppx) { html:not([data-scale]) .am-accordion { border-top: none; } html:not([data-scale]) .am-accordion::before { content: ''; position: absolute; background-color: #ddd; display: block; z-index: 1; top: 0; right: auto; bottom: auto; left: 0; width: 100%; height: 1PX; transform-origin: 50% 50%; transform: scaleY(0.5); } } @media (min-resolution: 2dppx) and (min-resolution: 3dppx) { html:not([data-scale]) .am-accordion::before { transform: scaleY(0.33); } } .am-accordion-anim-active { transition: all 0.2s ease-out; } .am-accordion .am-accordion-item .am-accordion-header { position: relative; color: #000; font-size: 17px; height: 44px; line-height: 44px; background-color: #fff; box-sizing: content-box; padding-left: 15px; padding-right: 30px; border-bottom: 1px solid #ddd; width: auto; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } @media (min-resolution: 2dppx) { html:not([data-scale]) .am-accordion .am-accordion-item .am-accordion-header { border-bottom: none; } html:not([data-scale]) .am-accordion .am-accordion-item .am-accordion-header::after { content: ''; position: absolute; background-color: #ddd; display: block; z-index: 1; top: auto; right: auto; bottom: 0; left: 0; width: 100%; height: 1PX; transform-origin: 50% 100%; transform: scaleY(0.5); } } @media (min-resolution: 2dppx) and (min-resolution: 3dppx) { html:not([data-scale]) .am-accordion .am-accordion-item .am-accordion-header::after { transform: scaleY(0.33); } } .am-accordion .am-accordion-item .am-accordion-header i { position: absolute; display: block; top: 15px; right: 15px; width: 15px; height: 15px; background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20width%3D%2216%22%20height%3D%2226%22%20viewBox%3D%220%200%2016%2026%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%3Cg%20id%3D%22UI-KIT_%E5%9F%BA%E7%A1%80%E5%85%83%E4%BB%B6%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%3Cg%20id%3D%229.9%E5%9F%BA%E7%A1%80%E5%85%83%E4%BB%B6%22%20transform%3D%22translate(-5809.000000%2C%20-8482.000000)%22%20fill%3D%22%23C7C7CC%22%3E%3Cpolygon%20id%3D%22Disclosure-Indicator%22%20points%3D%225811%208482%205809%208484%205820.5%208495%205809%208506%205811%208508%205825%208495%22%3E%3C%2Fpolygon%3E%3C%2Fg%3E%3C%2Fg%3E%3C%2Fsvg%3E"); background-size: contain; background-repeat: no-repeat; background-position: 50% 50%; transform: rotate(90deg); transition: transform 0.2s ease; } .am-accordion .am-accordion-item .am-accordion-header[aria-expanded~="true"] i { transform: rotate(270deg); } .am-accordion .am-accordion-item .am-accordion-content { overflow: hidden; background: #fff; } .am-accordion .am-accordion-item .am-accordion-content .am-accordion-content-box { font-size: 15px; color: #333; position: relative; border-bottom: 1px solid #ddd; } @media (min-resolution: 2dppx) { html:not([data-scale]) .am-accordion .am-accordion-item .am-accordion-content .am-accordion-content-box { border-bottom: none; } html:not([data-scale]) .am-accordion .am-accordion-item .am-accordion-content .am-accordion-content-box::after { content: ''; position: absolute; background-color: #ddd; display: block; z-index: 1; top: auto; right: auto; bottom: 0; left: 0; width: 100%; height: 1PX; transform-origin: 50% 100%; transform: scaleY(0.5); } } @media (min-resolution: 2dppx) and (min-resolution: 3dppx) { html:not([data-scale]) .am-accordion .am-accordion-item .am-accordion-content .am-accordion-content-box::after { transform: scaleY(0.33); } } .am-accordion .am-accordion-item .am-accordion-content .am-accordion-content-box .am-list-body { border-top: 0; } .am-accordion .am-accordion-item .am-accordion-content .am-accordion-content-box .am-list-body:before { display: none !important; } .am-accordion .am-accordion-item .am-accordion-content.am-accordion-content-inactive { display: none; } .am-accordion { display: block; } accordionpanel { display: block; } .am-action-sheet-wrap { position: fixed; overflow: auto; top: 0; right: 0; bottom: 0; left: 0; z-index: 1000; -webkit-overflow-scrolling: touch; outline: 0; } .am-action-sheet-mask { position: fixed; top: 0; right: 0; left: 0; bottom: 0; background-color: rgba(0, 0, 0, 0.4); height: 100%; z-index: 1000; } .am-action-sheet-mask-hidden { display: none; } .am-action-sheet-close { display: none; } .am-action-sheet { position: fixed; left: 0; bottom: 0; width: 100%; background-color: #fff; padding-bottom: env(safe-area-inset-bottom); } .am-action-sheet.am-action-sheet-share { background-color: #f2f2f2; } .am-action-sheet-title, .am-action-sheet-message { margin: 15px auto; padding: 0 15px; text-align: center; } .am-action-sheet-title { font-size: 17px; } .am-action-sheet-message { color: #888; font-size: 14px; } .am-action-sheet-button-list { text-align: center; color: #000; } .am-action-sheet-button-list-item { font-size: 18px; padding: 0 8px; padding: 0; margin: 0; position: relative; height: 50px; line-height: 50px; box-sizing: border-box; white-space: nowrap; text-overflow: ellipsis; border-top: 1px solid #ddd; } @media (min-resolution: 2dppx) { html:not([data-scale]) .am-action-sheet-button-list-item { border-top: none; } html:not([data-scale]) .am-action-sheet-button-list-item::before { content: ''; position: absolute; background-color: #ddd; display: block; z-index: 1; top: 0; right: auto; bottom: auto; left: 0; width: 100%; height: 1PX; transform-origin: 50% 50%; transform: scaleY(0.5); } } @media (min-resolution: 2dppx) and (min-resolution: 3dppx) { html:not([data-scale]) .am-action-sheet-button-list-item::before { transform: scaleY(0.33); } } .am-action-sheet-button-list-item.am-action-sheet-button-list-item-active { background-color: #ddd; } .am-action-sheet-button-list-badge { display: flex; align-items: center; justify-content: center; } .am-action-sheet-button-list-badge .am-badge { margin-left: 8px; flex-shrink: 0; } .am-action-sheet-button-list-item-content { display: inline-block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .am-action-sheet-button-list .am-action-sheet-cancel-button { padding-top: 6px; position: relative; } .am-action-sheet-button-list .am-action-sheet-cancel-button-mask { position: absolute; top: 0; left: 0; width: 100%; height: 6px; background-color: #e7e7ed; border-top: 1px solid #ddd; border-bottom: 1px solid #ddd; } @media (min-resolution: 2dppx) { html:not([data-scale]) .am-action-sheet-button-list .am-action-sheet-cancel-button-mask { border-top: none; } html:not([data-scale]) .am-action-sheet-button-list .am-action-sheet-cancel-button-mask::before { content: ''; position: absolute; background-color: #ddd; display: block; z-index: 1; top: 0; right: auto; bottom: auto; left: 0; width: 100%; height: 1PX; transform-origin: 50% 50%; transform: scaleY(0.5); } } @media (min-resolution: 2dppx) and (min-resolution: 3dppx) { html:not([data-scale]) .am-action-sheet-button-list .am-action-sheet-cancel-button-mask::before { transform: scaleY(0.33); } } @media (min-resolution: 2dppx) { html:not([data-scale]) .am-action-sheet-button-list .am-action-sheet-cancel-button-mask { border-bottom: none; } html:not([data-scale]) .am-action-sheet-button-list .am-action-sheet-cancel-button-mask::after { content: ''; position: absolute; background-color: #ddd; display: block; z-index: 1; top: auto; right: auto; bottom: 0; left: 0; width: 100%; height: 1PX; transform-origin: 50% 100%; transform: scaleY(0.5); } } @media (min-resolution: 2dppx) and (min-resolution: 3dppx) { html:not([data-scale]) .am-action-sheet-button-list .am-action-sheet-cancel-button-mask::after { transform: scaleY(0.33); } } .am-action-sheet-button-list .am-action-sheet-destructive-button { color: #f4333c; } .am-action-sheet-share-list { display: flex; position: relative; border-top: 1px solid #ddd; padding: 21px 0 21px 15px; overflow-y: scroll; -webkit-overflow-scrolling: touch; } @media (min-resolution: 2dppx) { html:not([data-scale]) .am-action-sheet-share-list { border-top: none; } html:not([data-scale]) .am-action-sheet-share-list::before { content: ''; position: absolute; background-color: #ddd; display: block; z-index: 1; top: 0; right: auto; bottom: auto; left: 0; width: 100%; height: 1PX; transform-origin: 50% 50%; transform: scaleY(0.5); } } @media (min-resolution: 2dppx) and (min-resolution: 3dppx) { html:not([data-scale]) .am-action-sheet-share-list::before { transform: scaleY(0.33); } } .am-action-sheet-share-list-item { flex: none; margin: 0 12px 0 0; } .am-action-sheet-share-list-item-icon { margin-bottom: 9px; width: 60px; height: 60px; background-color: #fff; border-radius: 3px; display: flex; justify-content: center; align-items: center; } .am-action-sheet-share-list-item-title { color: #888; font-size: 10px; text-align: center; } .am-action-sheet-share-cancel-button { height: 50px; line-height: 50px; text-align: center; background-color: #fff; color: #000; font-size: 18px; position: relative; border-top: 1px solid #ddd; box-sizing: border-box; } @media (min-resolution: 2dppx) { html:not([data-scale]) .am-action-sheet-share-cancel-button { border-top: none; } html:not([data-scale]) .am-action-sheet-share-cancel-button::before { content: ''; position: absolute; background-color: #ddd; display: block; z-index: 1; top: 0; right: auto; bottom: auto; left: 0; width: 100%; height: 1PX; transform-origin: 50% 50%; transform: scaleY(0.5); } } @media (min-resolution: 2dppx) and (min-resolution: 3dppx) { html:not([data-scale]) .am-action-sheet-share-cancel-button::before { transform: scaleY(0.33); } } .am-action-sheet-share-cancel-button.am-action-sheet-share-cancel-button-active { background-color: #ddd; } actionSheet { display: block; } .am-activity-indicator { display: flex; align-items: center; z-index: 99; } .am-activity-indicator-spinner { display: inline-block; width: 20px; height: 20px; background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%22-2.125%20-1.875%2064%2064%22%3E%3Cpath%20fill%3D%22%23CCC%22%20d%3D%22M29.875-1.875c-17.673%200-32%2014.327-32%2032s14.327%2032%2032%2032%2032-14.327%2032-32-14.327-32-32-32zm0%2060.7c-15.85%200-28.7-12.85-28.7-28.7s12.85-28.7%2028.7-28.7%2028.7%2012.85%2028.7%2028.7-12.85%2028.7-28.7%2028.7z%22%2F%3E%3Cpath%20fill%3D%22%23108ee9%22%20d%3D%22M61.858%2030.34c.003-.102.008-.203.008-.305%200-11.43-5.996-21.452-15.01-27.113l-.013.026c-.24-.137-.515-.22-.81-.22-.912%200-1.65.738-1.65%201.65%200%20.654.384%201.215.937%201.482%207.963%205.1%2013.247%2014.017%2013.247%2024.176%200%20.147-.01.293-.01.44h.022c0%20.01-.004.02-.004.03%200%20.91.74%201.65%201.65%201.65s1.65-.74%201.65-1.65c0-.06-.012-.112-.018-.167z%22%2F%3E%3C%2Fsvg%3E"); background-position: 50%; background-size: 100%; background-repeat: no-repeat; animation: spinner-anime 1s linear infinite; } .am-activity-indicator-tip { font-size: 14px; margin-left: 8px; color: #000; opacity: 0.4; } .am-activity-indicator.am-activity-indicator-toast { position: fixed; top: 0; left: 0; width: 100%; height: 100%; display: flex; justify-content: center; align-items: center; text-align: center; z-index: 3000; } .am-activity-indicator.am-activity-indicator-toast .am-activity-indicator-spinner { margin: 0; } .am-activity-indicator.am-activity-indicator-toast .am-activity-indicator-toast { display: inline-block; position: relative; top: 4px; } .am-activity-indicator-content { display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 15px 15px; border-radius: 7px; background-clip: padding-box; color: #fff; background-color: rgba(58, 58, 58, 0.9); font-size: 15px; line-height: 20px; } .am-activity-indicator-spinner-lg { width: 32px; height: 32px; } @keyframes spinner-anime { 100% { transform: rotate(360deg); } } .am-activity-indicator { display: block; } .am-badge { position: relative; display: inline-block; line-height: 1; vertical-align: middle; } .am-badge-text { text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; position: absolute; top: -6px; height: 18px; line-height: 18px; min-width: calc(18px / 2); border-radius: 12px; padding: 0 5px; text-align: center; font-size: 12px; color: #fff; background-color: #ff5b05; white-space: nowrap; transform: translateX(-45%); transform-origin: -10% center; z-index: 10; font-family: "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "\5FAE\8F6F\96C5\9ED1", SimSun, sans-serif; } .am-badge-text a { color: #fff; } .am-badge-text p { margin: 0; padding: 0; } .am-badge-hot .am-badge-text { background-color: #f96268; } .am-badge-dot { position: absolute; transform: translateX(-50%); transform-origin: 0 center; top: -4px; height: 8px; width: 8px; border-radius: 100%; background: #ff5b05; z-index: 10; } .am-badge-dot-large { height: 16px; width: 16px; } .am-badge-not-a-wrapper .am-badge-text, .am-badge-not-a-wrapper .am-badge-dot { top: auto; display: block; position: relative; transform: translateX(0); } .am-badge-corner { width: 80px; padding: 8px; position: absolute; right: -32px; top: 8px; background-color: #ff5b05; color: #fff; white-space: nowrap; transform: rotate(45deg); text-align: center; font-size: 15px; } .am-badge-corner-wrapper { overflow: hidden; } .am-badge *, .am-badge *::before, .am-badge *::after { box-sizing: content-box; } .am-button { display: block; outline: 0 none; -webkit-appearance: none; box-sizing: border-box; padding: 0; text-align: center; font-size: 18px; height: 47px; line-height: 47px; overflow: hidden; text-overflow: ellipsis; word-break: break-word; white-space: nowrap; color: #000; background-color: #fff; border: 1px solid #ddd; border-radius: 5px; } @media (min-resolution: 2dppx) { html:not([data-scale]) .am-button { position: relative; border: none; } html:not([data-scale]) .am-button::before { content: ''; position: absolute; left: 0; top: 0; width: 200%; height: 200%; border: 1px solid #ddd; border-radius: 10px; transform-origin: 0 0; transform: scale(0.5); box-sizing: border-box; pointer-events: none; } } .am-button-borderfix:before { transform: scale(0.49) !important; } .am-button.am-button-active { background-color: #ddd; } .am-button.am-button-disabled { color: rgba(0, 0, 0, 0.3); opacity: 0.6; } .am-button-primary { color: #fff; background-color: #108ee9; border: 1px solid #108ee9; border-radius: 5px; } @media (min-resolution: 2dppx) { html:not([data-scale]) .am-button-primary { position: relative; border: none; } html:not([data-scale]) .am-button-primary::before { content: ''; position: absolute; left: 0; top: 0; width: 200%; height: 200%; border: 1px solid #108ee9; border-radius: 10px; transform-origin: 0 0; transform: scale(0.5); box-sizing: border-box; pointer-events: none; } } .am-button-primary.am-button-active { color: rgba(255, 255, 255, 0.3); background-color: #0e80d2; } .am-button-primary.am-button-disabled { color: rgba(255, 255, 255, 0.6); opacity: 0.4; } .am-button-ghost { color: #108ee9; background-color: transparent; border: 1px solid #108ee9; border-radius: 5px; } @media (min-resolution: 2dppx) { html:not([data-scale]) .am-button-ghost { position: relative; border: none; } html:not([data-scale]) .am-button-ghost::before { content: ''; position: absolute; left: 0; top: 0; width: 200%; height: 200%; border: 1px solid #108ee9; border-radius: 10px; transform-origin: 0 0; transform: scale(0.5); box-sizing: border-box; pointer-events: none; } } .am-button-ghost.am-button-active { color: rgba(16, 142, 233, 0.6); background-color: transparent; border: 1px solid rgba(16, 142, 233, 0.6); border-radius: 5px; } @media (min-resolution: 2dppx) { html:not([data-scale]) .am-button-ghost.am-button-active { position: relative; border: none; } html:not([data-scale]) .am-button-ghost.am-button-active::before { content: ''; position: absolute; left: 0; top: 0; width: 200%; height: 200%; border: 1px solid rgba(16, 142, 233, 0.6); border-radius: 10px; transform-origin: 0 0; transform: scale(0.5); box-sizing: border-box; pointer-events: none; } } .am-button-ghost.am-button-disabled { color: rgba(0, 0, 0, 0.1); border: 1px solid rgba(0, 0, 0, 0.1); border-radius: 5px; opacity: 1; } @media (min-resolution: 2dppx) { html:not([data-scale]) .am-button-ghost.am-button-disabled { position: relative; border: none; } html:not([data-scale]) .am-button-ghost.am-button-disabled::before { content: ''; position: absolute; left: 0; top: 0; width: 200%; height: 200%; border: 1px solid rgba(0, 0, 0, 0.1); border-radius: 10px; transform-origin: 0 0; transform: scale(0.5); box-sizing: border-box; pointer-events: none; } } .am-button-warning { color: #fff; background-color: #e94f4f; } .am-button-warning.am-button-active { color: rgba(255, 255, 255, 0.3); background-color: #d24747; } .am-button-warning.am-button-disabled { color: rgba(255, 255, 255, 0.6); opacity: 0.4; } .am-button-inline { display: inline-block; padding: 0 15px; } .am-button-inline.am-button-icon { display: inline-flex; } .am-button-small { font-size: 13px; height: 30px; line-height: 30px; padding: 0 15px; } .am-button-icon { display: flex; align-items: center; justify-content: center; } .am-button > .am-button-icon { margin-right: 0.5em; } .am-button-dashed { border: 0; border: 1px dashed #bbb !important; } .am-button-dashed:before { display: none !important; } .am-button-dashed.am-button-disabled { color: rgba(255, 255, 255, 0.6); opacity: 0.4; } .am-calendar .animate { animation-duration: 0.3s; animation-fill-mode: both; } @keyframes fadeIn { 0% { opacity: 0; } to { opacity: 1; } } @keyframes fadeOut { 0% { opacity: 1; } to { opacity: 0; } } .am-calendar .fade-enter { animation-name: fadeIn; } .am-calendar .fade-leave { animation-name: fadeOut; } @keyframes slideInUp { 0% { transform: translate3d(0, 100%, 0); visibility: visible; } to { transform: translateZ(0); } } @keyframes slideInDown { 0% { transform: translateZ(0); visibility: visible; } to { transform: translate3d(0, 100%, 0); } } @keyframes slideInLeft { 0% { transform: translate3d(100%, 0, 0); visibility: visible; } to { transform: translateZ(0); } } @keyframes slideInRight { 0% { transform: translateZ(0); visibility: visible; } to { transform: translate3d(100%, 0, 0); } } .am-calendar .slideV-enter { animation-name: slideInUp; } .am-calendar .slideV-leave { animation-name: slideInDown; } .am-calendar .slideH-enter { animation-name: slideInLeft; } .am-calendar .slideH-leave { animation-name: slideInRight; } .am-calendar .mask { position: fixed; width: 100%; height: 100%; top: 0; left: 0; z-index: 2001; background: rgba(0, 0, 0, 0.5); } .am-calendar .content { position: fixed; display: flex; flex-direction: column; width: 100%; height: 100%; top: 0; left: 0; z-index: 2001; background: #fff; } .am-calendar .header { margin: 5px; display: flex; flex-shrink: 0; align-items: center; } .am-calendar .header .title { text-align: center; width: 100%; font-size: 16px; font-weight: bold; } .am-calendar .header .left { position: absolute; display: flex; justify-content: center; align-items: center; padding: 0 8px; height: 24px; left: 5px; top: 5px; color: #068EEF; } .am-calendar .header .right { position: absolute; display: flex; justify-content: center; align-items: center; padding: 0 8px; height: 24px; right: 5px; top: 5px; color: #068EEF; font-size: 14px; } .am-calendar .timePicker { border-top: 1px #ccc solid; } .am-calendar .week-panel { background: #fff; display: flex; flex-shrink: 0; padding: 0 2px; border-bottom: 1px #ddd solid; } .am-calendar .week-panel .cell { height: 24px; display: flex; width: calc(100% / 7); justify-content: center; align-items: center; color: #000; font-size: 14px; } .am-calendar .week-panel .cell-grey { color: #bbb; } .am-calendar .date-picker { display: flex; flex-direction: column; background: #eee; } .am-calendar .date-picker .wrapper { height: auto; position: relative; } .am-calendar .date-picker .months { background: #fff; } .am-calendar .date-picker .load-tip { position: absolute; display: flex; justify-content: center; align-items: flex-end; left: 0; right: 0; padding: 10px 0; top: -40px; color: #bbb; } .am-calendar .confirm-panel { display: flex; flex-shrink: 0; align-items: center; background: #f7f7f7; padding: 8px 15px; border-top: #ddd 1px solid; } .am-calendar .confirm-panel .info { font-size: 12px; } .am-calendar .confirm-panel .info p { margin: 0; } .am-calendar .confirm-panel .info p + p { margin-top: 8px; } .am-calendar .confirm-panel .info .grey { color: #bbb; } .am-calendar .confirm-panel .button { text-align: center; width: 80px; margin: 0 0 0 auto; padding: 8px 0; border-radius: 5px; color: #fff; font-size: 18px; background: #108ee9; } .am-calendar .confirm-panel .button-disable { color: #bbb; background: #ddd; } .am-calendar .confirm-panel .button-full { width: 100%; text-align: center; } .am-calendar .time-picker { flex-shrink: 0; text-align: center; background: #fff; } .am-calendar .time-picker .title { display: flex; justify-content: center; align-items: center; height: 44px; font-size: 16px; border-top: 1px #ddd solid; border-bottom: 1px #ddd solid; } .am-calendar .single-month { padding: 0; } .am-calendar .single-month .month-title { margin: 0; padding: 21px 0 6px 15px; } .am-calendar .single-month .row { display: flex; align-items: baseline; } .am-calendar .single-month .row .cell { display: flex; flex-direction: column; width: calc(100% / 7); justify-content: center; align-items: center; } .am-calendar .single-month .row .cell .date-wrapper { display: flex; height: 35px; width: 100%; justify-content: center; align-items: center; margin-bottom: 2px; } .am-calendar .single-month .row .cell .date-wrapper .date { display: flex; justify-content: center; align-items: center; width: 35px; height: 35px; flex-shrink: 0; color: #000; font-size: 17px; font-weight: bold; } .am-calendar .single-month .row .cell .date-wrapper .disable { color: #bbb; background: #eee; border: none; border-radius: 100%; } .am-calendar .single-month .row .cell .date-wrapper .grey { color: #bbb; } .am-calendar .single-month .row .cell .date-wrapper .important { border: 1px #ddd solid; border-radius: 100%; } .am-calendar .single-month .row .cell .date-wrapper .left, .am-calendar .single-month .row .cell .date-wrapper .right { border: none; width: 100%; height: 35px; } .am-calendar .single-month .row .cell .date-wrapper .date-selected { border: none; background: #108ee9; color: #fff; font-size: 17px; } .am-calendar .single-month .row .cell .date-wrapper .selected-start { border-radius: 100% 0 0 100%; } .am-calendar .single-month .row .cell .date-wrapper .selected-single { border-radius: 100%; } .am-calendar .single-month .row .cell .date-wrapper .selected-middle { border-radius: 0; } .am-calendar .single-month .row .cell .date-wrapper .selected-end { border-radius: 0 100% 100% 0; } .am-calendar .single-month .row .cell .info { height: 15px; width: 100%; padding: 0 5px; font-size: 10px; color: #888; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; text-align: center; } .am-calendar .single-month .row .cell .date-selected { color: #108ee9; } .am-calendar .single-month .row + .row { margin-top: 6px; } .am-calendar .single-month .row-xl + .row-xl { margin-top: 21px; } .am-calendar .shortcut-panel { display: flex; flex-direction: row; flex-shrink: 0; justify-content: space-between; align-items: center; padding: 0 30px; border-top: #ddd 1px solid; height: 42px; } .am-calendar .shortcut-panel .item { display: inline-block; color: #108ee9; font-size: 16px; } calendardatepicker, calendarconfirmpanel, calendarheader, calendarshortcutpanel, singlemonth, calendartimepicker, calendarweekpanel { display: block; } calendar { display: block; } .am-calendar .date-picker { flex: 1; overflow: scroll; } .am-card { min-height: 96px; padding-bottom: 6px; display: flex; flex-direction: column; background-color: #fff; } .am-card:not(.am-card-full) { border: 1px solid #ddd; border-radius: 5px; } @media (min-resolution: 2dppx) { html:not([data-scale]) .am-card:not(.am-card-full) { position: relative; border: none; } html:not([data-scale]) .am-card:not(.am-card-full)::before { content: ''; position: absolute; left: 0; top: 0; width: 200%; height: 200%; border: 1px solid #ddd; border-radius: 10px; transform-origin: 0 0; transform: scale(0.5); box-sizing: border-box; pointer-events: none; } } .am-card.am-card-full { position: relative; border-top: 1px solid #ddd; border-bottom: 1px solid #ddd; } @media (min-resolution: 2dppx) { html:not([data-scale]) .am-card.am-card-full { border-top: none; } html:not([data-scale]) .am-card.am-card-full::before { content: ''; position: absolute; background-color: #ddd; display: block; z-index: 1; top: 0; right: auto; bottom: auto; left: 0; width: 100%; height: 1PX; transform-origin: 50% 50%; transform: scaleY(0.5); } } @media (min-resolution: 2dppx) and (min-resolution: 3dppx) { html:not([data-scale]) .am-card.am-card-full::before { transform: scaleY(0.33); } } @media (min-resolution: 2dppx) { html:not([data-scale]) .am-card.am-card-full { border-bottom: none; } html:not([data-scale]) .am-card.am-card-full::after { content: ''; position: absolute; background-color: #ddd; display: block; z-index: 1; top: auto; right: auto; bottom: 0; left: 0; width: 100%; height: 1PX; transform-origin: 50% 100%; transform: scaleY(0.5); } } @media (min-resolution: 2dppx) and (min-resolution: 3dppx) { html:not([data-scale]) .am-card.am-card-full::after { transform: scaleY(0.33); } } .am-card-header { display: flex; align-items: center; font-size: 17px; padding: 9px 15px; } .am-card-header-content { flex: 1; text-align: left; color: #000; display: flex; align-items: center; } .am-card-header-content img { margin-right: 5px; } .am-card-header-extra { flex: 1; text-align: right; font-size: 17px; color: #888; } .am-card-body { position: relative; border-top: 1px solid #ddd; padding: 15px 15px 6px; font-size: 15px; color: #333; min-height: 40px; flex: 1; } @media (min-resolution: 2dppx) { html:not([data-scale]) .am-card-body { border-top: none; } html:not([data-scale]) .am-card-body::before { content: ''; position: absolute; background-color: #ddd; display: block; z-index: 1; top: 0; right: auto; bottom: auto; left: 0; width: 100%; height: 1PX; transform-origin: 50% 50%; transform: scaleY(0.5); } } @media (min-resolution: 2dppx) and (min-resolution: 3dppx) { html:not([data-scale]) .am-card-body::before { transform: scaleY(0.33); } } .am-card-footer { font-size: 14px; color: #888; padding: 0 15px; display: flex; } .am-card-footer-content { flex: 1; } .am-card-footer-extra { flex: 1; text-align: right; } .am-card-body { display: block; } .am-carousel { position: relative; } .am-carousel-wrap { font-size: 18px; color: #000; background: none; text-align: center; zoom: 1; width: 100%; } .am-carousel-wrap-dot { display: inline-block; zoom: 1; } .am-carousel-wrap-dot > span { display: block; width: 8px; height: 8px; margin: 0 3px; border-radius: 50%; background: #ccc; } .am-carousel-wrap-dot-active > span { background: #888; } dotindicator { display: block; } carouselslide { display: block; } .carousel { position: relative; display: block; width: 100%; height: auto; box-sizing: border-box; visibility: visible; } .slider-list { position: relative; display: block; margin: 0; padding: 0; cursor: inherit; box-sizing: border-box; } .slider-frame { position: relative; display: block; height: auto; margin: 0; padding: 0; transform: translate3d(0, 0, 0); box-sizing: border-box; } .am-carousel-container { position: absolute; display: inline-block; list-style-type: none; vertical-align: top; height: auto; width: 100%; box-sizing: border-box; } .carousel-slide { background: white; } .dot-indicator { position: absolute; bottom: 0; left: 0; width: 100%; text-align: center; } .am-checkbox { position: relative; display: inline-block; vertical-align: middle; width: 21px; height: 21px; } .am-checkbox-inner { position: absolute; right: 0; width: 21px; height: 21px; border: 1px solid #ccc; border-radius: 50%; transform: rotate(0deg); box-sizing: border-box; } .am-checkbox-inner:after { position: absolute; display: none; top: 1.5px; right: 6px; z-index: 999; width: 5px; height: 11px; border-style: solid; border-width: 0 1px 1px 0; content: '\0020'; transform: rotate(45deg); } .am-checkbox-input { position: absolute; top: 0; left: 0; opacity: 0; width: 100%; height: 100%; z-index: 2; border: 0 none; appearance: none; } .am-checkbox.am-checkbox-checked .am-checkbox-inner { border-color: #108ee9; background: #108ee9; } .am-checkbox.am-checkbox-checked .am-checkbox-inner:after { display: block; border-color: #fff; } .am-checkbox.am-checkbox-disabled { opacity: 0.3; } .am-checkbox.am-checkbox-disabled.am-checkbox-checked .am-checkbox-inner { border-color: #888; background: none; } .am-checkbox.am-checkbox-disabled.am-checkbox-checked .am-checkbox-inner:after { border-color: #888; } .am-list .am-list-item.am-checkbox-item .am-list-thumb { width: 21px; height: 21px; } .am-list .am-list-item.am-checkbox-item .am-list-thumb .am-checkbox { position: absolute; top: 0; left: 0; right: 0; bottom: 0; width: 100%; height: 44px; } .am-list .am-list-item.am-checkbox-item .am-list-thumb .am-checkbox-inner { left: 15px; top: 12px; } .am-list .am-list-item.am-checkbox-item.am-checkbox-item-disabled .am-list-content { color: #bbb; } .am-checkbox-agree { position: relative; display: flex; align-items: stretch; margin-left: 15px; padding-top: 9px; padding-bottom: 9px; } .am-checkbox-agree .am-checkbox { position: absolute; left: 0; top: 0; width: 30px; height: 100%; } .am-checkbox-agree .am-checkbox-inner { left: 0; top: 12px; } .am-checkbox-agree .am-checkbox-agree-label { display: inline-block; font-size: 15px; color: #000; line-height: 1.5; margin-left: 30px; margin-top: 1PX; } checkboxitem { display: block; } .am-drawer { position: absolute; top: 0; left: 0; right: 0; bottom: 0; overflow: hidden; } .am-drawer-sidebar { z-index: 4; position: absolute; transition: transform 0.3s ease-out; will-change: transform; overflow-y: auto; } .am-drawer-draghandle { z-index: 1; position: absolute; background-color: rgba(50, 50, 50, 0.1); } .am-drawer-overlay { z-index: 3; position: absolute; top: 0; left: 0; right: 0; bottom: 0; opacity: 0; visibility: hidden; transition: opacity 0.5s ease-out; background-color: rgba(0, 0, 0, 0.4); } .am-drawer-content { position: absolute; top: 0; left: 0; right: 0; bottom: 0; overflow: auto; transition: left 0.3s ease-out, right 0.3s ease-out; } .am-drawer.am-drawer-left .am-drawer-sidebar, .am-drawer.am-drawer-right .am-drawer-sidebar, .am-drawer.am-drawer-left .am-drawer-draghandle, .am-drawer.am-drawer-right .am-drawer-draghandle { top: 0; bottom: 0; } .am-drawer.am-drawer-left .am-drawer-draghandle, .am-drawer.am-drawer-right .am-drawer-draghandle { width: 10px; height: 100%; } .am-drawer.am-drawer-top .am-drawer-sidebar, .am-drawer.am-drawer-bottom .am-drawer-sidebar, .am-drawer.am-drawer-top .am-drawer-draghandle, .am-drawer.am-drawer-bottom .am-drawer-draghandle { left: 0; right: 0; } .am-drawer.am-drawer-top .am-drawer-draghandle, .am-drawer.am-drawer-bottom .am-drawer-draghandle { width: 100%; height: 10px; } .am-drawer.am-drawer-left .am-drawer-sidebar { left: 0; transform: translateX(-100%); } .am-drawer-open.am-drawer.am-drawer-left .am-drawer-sidebar { box-shadow: 1PX 1PX 2px rgba(0, 0, 0, 0.15); } .am-drawer.am-drawer-left .am-drawer-draghandle { left: 0; } .am-drawer.am-drawer-right .am-drawer-sidebar { right: 0; transform: translateX(100%); } .am-drawer-open.am-drawer.am-drawer-right .am-drawer-sidebar { box-shadow: -1PX 1PX 2px rgba(0, 0, 0, 0.15); } .am-drawer.am-drawer-right .am-drawer-draghandle { right: 0; } .am-drawer.am-drawer-top .am-drawer-sidebar { top: 0; transform: translateY(-100%); } .am-drawer-open.am-drawer.am-drawer-top .am-drawer-sidebar { box-shadow: 1PX 1PX 2px rgba(0, 0, 0, 0.15); } .am-drawer.am-drawer-top .am-drawer-draghandle { top: 0; } .am-drawer.am-drawer-bottom .am-drawer-sidebar { bottom: 0; transform: translateY(100%); } .am-drawer-open.am-drawer.am-drawer-bottom .am-drawer-sidebar { box-shadow: 1PX -1PX 2px rgba(0, 0, 0, 0.15); } .am-drawer.am-drawer-bottom .am-drawer-draghandle { bottom: 0; } drawer, nzm-drawer { display: block; } .am-drawer-sidebar { z-index: 100; } /* flexbox */ .am-flexbox { text-align: left; overflow: hidden; display: flex; align-items: center; } .am-flexbox.am-flexbox-dir-row { flex-direction: row; } .am-flexbox.am-flexbox-dir-row-reverse { flex-direction: row-reverse; } .am-flexbox.am-flexbox-dir-column { flex-direction: column; } .am-flexbox.am-flexbox-dir-column .am-flexbox-item { margin-left: 0; } .am-flexbox.am-flexbox-dir-column-reverse { flex-direction: column-reverse; } .am-flexbox.am-flexbox-dir-column-reverse .am-flexbox-item { margin-left: 0; } .am-flexbox.am-flexbox-nowrap { flex-wrap: nowrap; } .am-flexbox.am-flexbox-wrap { flex-wrap: wrap; } .am-flexbox.am-flexbox-wrap-reverse { flex-wrap: wrap-reverse; } .am-flexbox.am-flexbox-justify-start { justify-content: flex-start; } .am-flexbox.am-flexbox-justify-end { justify-content: flex-end; } .am-flexbox.am-flexbox-justify-center { justify-content: center; } .am-flexbox.am-flexbox-justify-between { justify-content: space-between; } .am-flexbox.am-flexbox-justify-around { justify-content: space-around; } .am-flexbox.am-flexbox-align-start { align-items: flex-start; } .am-flexbox.am-flexbox-align-end { align-items: flex-end; } .am-flexbox.am-flexbox-align-center { align-items: center; } .am-flexbox.am-flexbox-align-stretch { align-items: stretch; } .am-flexbox.am-flexbox-align-baseline { align-items: baseline; } .am-flexbox.am-flexbox-align-content-start { align-content: flex-start; } .am-flexbox.am-flexbox-align-content-end { align-content: flex-end; } .am-flexbox.am-flexbox-align-content-center { align-content: center; } .am-flexbox.am-flexbox-align-content-between { align-content: space-between; } .am-flexbox.am-flexbox-align-content-around { align-content: space-around; } .am-flexbox.am-flexbox-align-content-stretch { align-content: stretch; } .am-flexbox .am-flexbox-item { box-sizing: border-box; flex: 1; margin-left: 8px; min-width: 10px; } .am-flexbox .am-flexbox-item:first-child { margin-left: 0; } /* flexbox */ .am-grid .am-flexbox { background: #fff; } .am-grid .am-flexbox .am-flexbox-item { margin-left: 0; } .am-grid .am-flexbox .am-flexbox-item.am-grid-item { position: relative; } .am-grid .am-flexbox .am-flexbox-item.am-grid-item-active .am-grid-item-content { background-color: #ddd; } .am-grid .am-flexbox .am-flexbox-item .am-grid-item-content { text-align: center; width: 100%; height: 100%; padding: 15px 0; } .am-grid .am-flexbox .am-flexbox-item .am-grid-item-content .am-grid-item-inner-content { display: flex; flex-direction: column; justify-content: center; align-items: center; } .am-grid .am-flexbox .am-flexbox-item .am-grid-item-content .am-grid-item-inner-content .am-grid-icon { max-width: 100%; } .am-grid .am-flexbox .am-flexbox-item .am-grid-item-content .am-grid-item-inner-content .am-grid-text { margin-top: 9px; font-size: 12px; color: #000; text-align: center; } .am-grid .am-flexbox .am-flexbox-item .am-grid-item-content .am-grid-item-inner-content.column-num-3 .am-grid-text { font-size: 16px; } .am-grid .am-flexbox .am-flexbox-item .am-grid-item-content .am-grid-item-inner-content.column-num-2 .am-grid-text { margin-top: 15px; font-size: 18px; } .am-grid.am-grid-line { position: relative; } .am-grid.am-grid-line:not(.am-grid-carousel) { border-top: 1px solid #ddd; border-right: 1px solid #ddd; } @media (min-resolution: 2dppx) { html:not([data-scale]) .am-grid.am-grid-line:not(.am-grid-carousel) { border-top: none; } html:not([data-scale]) .am-grid.am-grid-line:not(.am-grid-carousel)::before { content: ''; position: absolute; background-color: #ddd; display: block; z-index: 1; top: 0; right: auto; bottom: auto; left: 0; width: 100%; height: 1PX; transform-origin: 50% 50%; transform: scaleY(0.5); } } @media (min-resolution: 2dppx) and (min-resolution: 3dppx) { html:not([data-scale]) .am-grid.am-grid-line:not(.am-grid-carousel)::before { transform: scaleY(0.33); } } @media (min-resolution: 2dppx) { html:not([data-scale]) .am-grid.am-grid-line:not(.am-grid-carousel) { border-right: none; } html:not([data-scale]) .am-grid.am-grid-line:not(.am-grid-carousel)::after { content: ''; position: absolute; background-color: #ddd; display: block; z-index: 1; top: 0; right: 0; bottom: auto; left: auto; width: 1PX; height: 100%; background: #ddd; transform-origin: 100% 50%; transform: scaleX(0.5); } } @media (min-resolution: 2dppx) and (min-resolution: 3dppx) { html:not([data-scale]) .am-grid.am-grid-line:not(.am-grid-carousel)::after { transform: scaleX(0.33); } } .am-grid.am-grid-line .am-flexbox { position: relative; border-bottom: 1px solid #ddd; } @media (min-resolution: 2dppx) { html:not([data-scale]) .am-grid.am-grid-line .am-flexbox { border-bottom: none; } html:not([data-scale]) .am-grid.am-grid-line .am-flexbox::after { content: ''; position: absolute; background-color: #ddd; display: block; z-index: 1; top: auto; right: auto; bottom: 0; left: 0; width: 100%; height: 1PX; transform-origin: 50% 100%; transform: scaleY(0.5); } } @media (min-resolution: 2dppx) and (min-resolution: 3dppx) { html:not([data-scale]) .am-grid.am-grid-line .am-flexbox::after { transform: scaleY(0.33); } } .am-grid.am-grid-line .am-flexbox .am-flexbox-item { position: relative; } .am-grid.am-grid-line .am-flexbox .am-flexbox-item:first-child { border-left: 1px solid #ddd; } @media (min-resolution: 2dppx) { html:not([data-scale]) .am-grid.am-grid-line .am-flexbox .am-flexbox-item:first-child { border-left: none; } html:not([data-scale]) .am-grid.am-grid-line .am-flexbox .am-flexbox-item:first-child::before { content: ''; position: absolute; background-color: #ddd; display: block; z-index: 1; top: 0; right: auto; bottom: auto; left: 0; width: 1PX; height: 100%; transform-origin: 100% 50%; transform: scaleX(0.5); } } @media (min-resolution: 2dppx) and (min-resolution: 3dppx) { html:not([data-scale]) .am-grid.am-grid-line .am-flexbox .am-flexbox-item:first-child::before { transform: scaleX(0.33); } } .am-grid.am-grid-line .am-flexbox .am-flexbox-item:not(:last-child) { border-right: 1px solid #ddd; } @media (min-resolution: 2dppx) { html:not([data-scale]) .am-grid.am-grid-line .am-flexbox .am-flexbox-item:not(:last-child) { border-right: none; } html:not([data-scale]) .am-grid.am-grid-line .am-flexbox .am-flexbox-item:not(:last-child)::after { content: ''; position: absolute; background-color: #ddd; display: block; z-index: 1; top: 0; right: 0; bottom: auto; left: auto; width: 1PX; height: 100%; background: #ddd; transform-origin: 100% 50%; transform: scaleX(0.5); } } @media (min-resolution: 2dppx) and (min-resolution: 3dppx) { html:not([data-scale]) .am-grid.am-grid-line .am-flexbox .am-flexbox-item:not(:last-child)::after { transform: scaleX(0.33); } } .am-grid.am-grid-line.am-grid-carousel .am-grid-carousel-page { border-top: 1px solid #ddd; border-right: 1px solid #ddd; } @media (min-resolution: 2dppx) { html:not([data-scale]) .am-grid.am-grid-line.am-grid-carousel .am-grid-carousel-page { border-top: none; } html:not([data-scale]) .am-grid.am-grid-line.am-grid-carousel .am-grid-carousel-page::before { content: ''; position: absolute; background-color: #ddd; display: block; z-index: 1; top: 0; right: auto; bottom: auto; left: 0; width: 100%; height: 1PX; transform-origin: 50% 50%; transform: scaleY(0.5); } } @media (min-resolution: 2dppx) and (min-resolution: 3dppx) { html:not([data-scale]) .am-grid.am-grid-line.am-grid-carousel .am-grid-carousel-page::before { transform: scaleY(0.33); } } @media (min-resolution: 2dppx) { html:not([data-scale]) .am-grid.am-grid-line.am-grid-carousel .am-grid-carousel-page { border-right: none; } html:not([data-scale]) .am-grid.am-grid-line.am-grid-carousel .am-grid-carousel-page::after { content: ''; position: absolute; background-color: #ddd; display: block; z-index: 1; top: 0; right: 0; bottom: auto; left: auto; width: 1PX; height: 100%; background: #ddd; transform-origin: 100% 50%; transform: scaleX(0.5); } } @media (min-resolution: 2dppx) and (min-resolution: 3dppx) { html:not([data-scale]) .am-grid.am-grid-line.am-grid-carousel .am-grid-carousel-page::after { transform: scaleX(0.33); } } .am-grid .am-carousel .am-carousel-wrap-dot > span { background: #dcdee3; } .am-grid .am-carousel .am-carousel-wrap-dot-active > span { background: #0ae; } .am-grid.am-grid-square .am-grid-item:before { display: block; content: ' '; padding-bottom: 100%; } .am-grid.am-grid-square .am-grid-item .am-grid-item-content { position: absolute; top: 50%; transform: translateY(-50%); } .am-grid.am-grid-square .am-grid-item .am-grid-item-inner-content { height: 100%; } .am-grid.am-grid-square .am-grid-item .am-grid-item-inner-content .am-grid-icon { margin-top: 9px; width: 28%!important; } .am-grid { display: block; } .am-icon { fill: currentColor; background-size: cover; width: 22px; height: 22px; } .am-icon-xxs { width: 15px; height: 15px; } .am-icon-xs { width: 18px; height: 18px; } .am-icon-sm { width: 21px; height: 21px; } .am-icon-md { width: 22px; height: 22px; } .am-icon-lg { width: 36px; height: 36px; } .am-icon-loading { animation: cirle-anim 1s linear infinite; } @keyframes cirle-anim { 100% { transform: rotate(360deg); } } icon, nzm-icon { line-height: 1; } .am-image-picker-list { padding: 9px 8px 0; margin-bottom: 15px; } .am-image-picker-list .am-flexbox { margin-bottom: 6px; } .am-image-picker-list .am-flexbox .am-flexbox-item { position: relative; margin-right: 5px; margin-left: 0; } .am-image-picker-list