UNPKG

@moohng/dui

Version:

基于 Vue 3 的轻量级组件库

2,246 lines (1,821 loc) 35 kB
@charset "UTF-8"; /* 层级:toast: 99999 > modal: 9999 > popup: 999 > tabbar: 100 > navbar: 99 > self */ /* reset */ @import '//at.alicdn.com/t/font_2218187_sz0w6mqc8a.css'; html { -ms-text-size-adjust: 100%; -webkit-text-size-adjust: 100%; touch-action: manipulation; } body { margin: 0; font-family: -apple-system-font, Helvetica Neue, Helvetica, sans-serif; color: #333; font-size: 14px; line-height: 1.6; overflow-x: hidden; word-break: break-all; -webkit-overflow-scrolling: touch; } * { box-sizing: border-box; } ::-webkit-input-placeholder { color: #dbdbdb; } img { max-width: 100%; vertical-align: middle; } input { border: 0; outline: 0; font-size: inherit; background: transparent; } [v-cloak] { display: none; } .dui-page { width: 100vw; min-height: 100vh; background-color: #f7f7f7; } .flex, .flex-center { display: flex; } .align-start { align-items: flex-start; } .align-center, .flex-center { align-items: center; } .align-end { align-items: flex-end; } .align-stretch { align-items: stretch; } .self-start { align-self: flex-start; } .self-center { align-self: center; } .self-end { align-self: flex-end; } .self-stretch { align-self: stretch; } .justify-start { justify-content: flex-start; } .justify-end { justify-content: flex-end; } .justify-center, .flex-center { justify-content: center; } .justify-between { justify-content: space-between; } .justify-around { justify-content: space-around; } .flex-sub { flex: 1; } .flex-column { flex-direction: column; } .flex-wrap { flex-wrap: wrap; } .center { position: absolute; left: 50%; top: 50%; transform: translate3d(-50%, -50%, 0); } .abs { position: absolute; top: 0; right: 0; bottom: 0; left: 0; } .abs-top { position: absolute; top: 0; right: 0; bottom: initial; left: 0; } .abs-right { position: absolute; top: 0; right: 0; bottom: 0; left: initial; } .abs-bottom { position: absolute; top: initial; right: 0; bottom: 0; left: 0; } .abs-left { position: absolute; top: 0; right: initial; bottom: 0; left: 0; } .grid { display: flex; flex-wrap: wrap; } .col-1 { width: 100%; box-sizing: border-box; } .col-1.square.lg { position: relative; margin-right: 20px; margin-bottom: 20px; padding-bottom: calc((100% - (0) * 20px) / 1); height: 0; width: calc((100% - (0) * 20px) / 1); overflow: hidden; } .col-1.square.lg:nth-child(1n) { margin-right: 0; } .col-1.square.lg:nth-child(1) { margin-top: 20px; } .col-1.square { position: relative; margin-right: 15px; margin-bottom: 15px; padding-bottom: calc((100% - (0) * 15px) / 1); height: 0; width: calc((100% - (0) * 15px) / 1); overflow: hidden; } .col-1.square:nth-child(1n) { margin-right: 0; } .col-1.square:nth-child(1) { margin-top: 15px; } .col-1.square.sm { position: relative; margin-right: 10px; margin-bottom: 10px; padding-bottom: calc((100% - (0) * 10px) / 1); height: 0; width: calc((100% - (0) * 10px) / 1); overflow: hidden; } .col-1.square.sm:nth-child(1n) { margin-right: 0; } .col-1.square.sm:nth-child(1) { margin-top: 10px; } .col-1.square.xs { position: relative; margin-right: 6px; margin-bottom: 6px; padding-bottom: calc((100% - (0) * 6px) / 1); height: 0; width: calc((100% - (0) * 6px) / 1); overflow: hidden; } .col-1.square.xs:nth-child(1n) { margin-right: 0; } .col-1.square.xs:nth-child(1) { margin-top: 6px; } .col-1.square.xxs { position: relative; margin-right: 4px; margin-bottom: 4px; padding-bottom: calc((100% - (0) * 4px) / 1); height: 0; width: calc((100% - (0) * 4px) / 1); overflow: hidden; } .col-1.square.xxs:nth-child(1n) { margin-right: 0; } .col-1.square.xxs:nth-child(1) { margin-top: 4px; } .col-2 { width: 50%; box-sizing: border-box; } .col-2.square.lg { position: relative; margin-right: 20px; margin-bottom: 20px; padding-bottom: calc((100% - (1) * 20px) / 2); height: 0; width: calc((100% - (1) * 20px) / 2); overflow: hidden; } .col-2.square.lg:nth-child(2n) { margin-right: 0; } .col-2.square.lg:nth-child(1) { margin-top: 20px; } .col-2.square.lg:nth-child(2) { margin-top: 20px; } .col-2.square { position: relative; margin-right: 15px; margin-bottom: 15px; padding-bottom: calc((100% - (1) * 15px) / 2); height: 0; width: calc((100% - (1) * 15px) / 2); overflow: hidden; } .col-2.square:nth-child(2n) { margin-right: 0; } .col-2.square:nth-child(1) { margin-top: 15px; } .col-2.square:nth-child(2) { margin-top: 15px; } .col-2.square.sm { position: relative; margin-right: 10px; margin-bottom: 10px; padding-bottom: calc((100% - (1) * 10px) / 2); height: 0; width: calc((100% - (1) * 10px) / 2); overflow: hidden; } .col-2.square.sm:nth-child(2n) { margin-right: 0; } .col-2.square.sm:nth-child(1) { margin-top: 10px; } .col-2.square.sm:nth-child(2) { margin-top: 10px; } .col-2.square.xs { position: relative; margin-right: 6px; margin-bottom: 6px; padding-bottom: calc((100% - (1) * 6px) / 2); height: 0; width: calc((100% - (1) * 6px) / 2); overflow: hidden; } .col-2.square.xs:nth-child(2n) { margin-right: 0; } .col-2.square.xs:nth-child(1) { margin-top: 6px; } .col-2.square.xs:nth-child(2) { margin-top: 6px; } .col-2.square.xxs { position: relative; margin-right: 4px; margin-bottom: 4px; padding-bottom: calc((100% - (1) * 4px) / 2); height: 0; width: calc((100% - (1) * 4px) / 2); overflow: hidden; } .col-2.square.xxs:nth-child(2n) { margin-right: 0; } .col-2.square.xxs:nth-child(1) { margin-top: 4px; } .col-2.square.xxs:nth-child(2) { margin-top: 4px; } .col-3 { width: 33.33333%; box-sizing: border-box; } .col-3.square.lg { position: relative; margin-right: 20px; margin-bottom: 20px; padding-bottom: calc((100% - (2) * 20px) / 3); height: 0; width: calc((100% - (2) * 20px) / 3); overflow: hidden; } .col-3.square.lg:nth-child(3n) { margin-right: 0; } .col-3.square.lg:nth-child(1) { margin-top: 20px; } .col-3.square.lg:nth-child(2) { margin-top: 20px; } .col-3.square.lg:nth-child(3) { margin-top: 20px; } .col-3.square { position: relative; margin-right: 15px; margin-bottom: 15px; padding-bottom: calc((100% - (2) * 15px) / 3); height: 0; width: calc((100% - (2) * 15px) / 3); overflow: hidden; } .col-3.square:nth-child(3n) { margin-right: 0; } .col-3.square:nth-child(1) { margin-top: 15px; } .col-3.square:nth-child(2) { margin-top: 15px; } .col-3.square:nth-child(3) { margin-top: 15px; } .col-3.square.sm { position: relative; margin-right: 10px; margin-bottom: 10px; padding-bottom: calc((100% - (2) * 10px) / 3); height: 0; width: calc((100% - (2) * 10px) / 3); overflow: hidden; } .col-3.square.sm:nth-child(3n) { margin-right: 0; } .col-3.square.sm:nth-child(1) { margin-top: 10px; } .col-3.square.sm:nth-child(2) { margin-top: 10px; } .col-3.square.sm:nth-child(3) { margin-top: 10px; } .col-3.square.xs { position: relative; margin-right: 6px; margin-bottom: 6px; padding-bottom: calc((100% - (2) * 6px) / 3); height: 0; width: calc((100% - (2) * 6px) / 3); overflow: hidden; } .col-3.square.xs:nth-child(3n) { margin-right: 0; } .col-3.square.xs:nth-child(1) { margin-top: 6px; } .col-3.square.xs:nth-child(2) { margin-top: 6px; } .col-3.square.xs:nth-child(3) { margin-top: 6px; } .col-3.square.xxs { position: relative; margin-right: 4px; margin-bottom: 4px; padding-bottom: calc((100% - (2) * 4px) / 3); height: 0; width: calc((100% - (2) * 4px) / 3); overflow: hidden; } .col-3.square.xxs:nth-child(3n) { margin-right: 0; } .col-3.square.xxs:nth-child(1) { margin-top: 4px; } .col-3.square.xxs:nth-child(2) { margin-top: 4px; } .col-3.square.xxs:nth-child(3) { margin-top: 4px; } .col-4 { width: 25%; box-sizing: border-box; } .col-4.square.lg { position: relative; margin-right: 20px; margin-bottom: 20px; padding-bottom: calc((100% - (3) * 20px) / 4); height: 0; width: calc((100% - (3) * 20px) / 4); overflow: hidden; } .col-4.square.lg:nth-child(4n) { margin-right: 0; } .col-4.square.lg:nth-child(1) { margin-top: 20px; } .col-4.square.lg:nth-child(2) { margin-top: 20px; } .col-4.square.lg:nth-child(3) { margin-top: 20px; } .col-4.square.lg:nth-child(4) { margin-top: 20px; } .col-4.square { position: relative; margin-right: 15px; margin-bottom: 15px; padding-bottom: calc((100% - (3) * 15px) / 4); height: 0; width: calc((100% - (3) * 15px) / 4); overflow: hidden; } .col-4.square:nth-child(4n) { margin-right: 0; } .col-4.square:nth-child(1) { margin-top: 15px; } .col-4.square:nth-child(2) { margin-top: 15px; } .col-4.square:nth-child(3) { margin-top: 15px; } .col-4.square:nth-child(4) { margin-top: 15px; } .col-4.square.sm { position: relative; margin-right: 10px; margin-bottom: 10px; padding-bottom: calc((100% - (3) * 10px) / 4); height: 0; width: calc((100% - (3) * 10px) / 4); overflow: hidden; } .col-4.square.sm:nth-child(4n) { margin-right: 0; } .col-4.square.sm:nth-child(1) { margin-top: 10px; } .col-4.square.sm:nth-child(2) { margin-top: 10px; } .col-4.square.sm:nth-child(3) { margin-top: 10px; } .col-4.square.sm:nth-child(4) { margin-top: 10px; } .col-4.square.xs { position: relative; margin-right: 6px; margin-bottom: 6px; padding-bottom: calc((100% - (3) * 6px) / 4); height: 0; width: calc((100% - (3) * 6px) / 4); overflow: hidden; } .col-4.square.xs:nth-child(4n) { margin-right: 0; } .col-4.square.xs:nth-child(1) { margin-top: 6px; } .col-4.square.xs:nth-child(2) { margin-top: 6px; } .col-4.square.xs:nth-child(3) { margin-top: 6px; } .col-4.square.xs:nth-child(4) { margin-top: 6px; } .col-4.square.xxs { position: relative; margin-right: 4px; margin-bottom: 4px; padding-bottom: calc((100% - (3) * 4px) / 4); height: 0; width: calc((100% - (3) * 4px) / 4); overflow: hidden; } .col-4.square.xxs:nth-child(4n) { margin-right: 0; } .col-4.square.xxs:nth-child(1) { margin-top: 4px; } .col-4.square.xxs:nth-child(2) { margin-top: 4px; } .col-4.square.xxs:nth-child(3) { margin-top: 4px; } .col-4.square.xxs:nth-child(4) { margin-top: 4px; } .col-5 { width: 20%; box-sizing: border-box; } .col-5.square.lg { position: relative; margin-right: 20px; margin-bottom: 20px; padding-bottom: calc((100% - (4) * 20px) / 5); height: 0; width: calc((100% - (4) * 20px) / 5); overflow: hidden; } .col-5.square.lg:nth-child(5n) { margin-right: 0; } .col-5.square.lg:nth-child(1) { margin-top: 20px; } .col-5.square.lg:nth-child(2) { margin-top: 20px; } .col-5.square.lg:nth-child(3) { margin-top: 20px; } .col-5.square.lg:nth-child(4) { margin-top: 20px; } .col-5.square.lg:nth-child(5) { margin-top: 20px; } .col-5.square { position: relative; margin-right: 15px; margin-bottom: 15px; padding-bottom: calc((100% - (4) * 15px) / 5); height: 0; width: calc((100% - (4) * 15px) / 5); overflow: hidden; } .col-5.square:nth-child(5n) { margin-right: 0; } .col-5.square:nth-child(1) { margin-top: 15px; } .col-5.square:nth-child(2) { margin-top: 15px; } .col-5.square:nth-child(3) { margin-top: 15px; } .col-5.square:nth-child(4) { margin-top: 15px; } .col-5.square:nth-child(5) { margin-top: 15px; } .col-5.square.sm { position: relative; margin-right: 10px; margin-bottom: 10px; padding-bottom: calc((100% - (4) * 10px) / 5); height: 0; width: calc((100% - (4) * 10px) / 5); overflow: hidden; } .col-5.square.sm:nth-child(5n) { margin-right: 0; } .col-5.square.sm:nth-child(1) { margin-top: 10px; } .col-5.square.sm:nth-child(2) { margin-top: 10px; } .col-5.square.sm:nth-child(3) { margin-top: 10px; } .col-5.square.sm:nth-child(4) { margin-top: 10px; } .col-5.square.sm:nth-child(5) { margin-top: 10px; } .col-5.square.xs { position: relative; margin-right: 6px; margin-bottom: 6px; padding-bottom: calc((100% - (4) * 6px) / 5); height: 0; width: calc((100% - (4) * 6px) / 5); overflow: hidden; } .col-5.square.xs:nth-child(5n) { margin-right: 0; } .col-5.square.xs:nth-child(1) { margin-top: 6px; } .col-5.square.xs:nth-child(2) { margin-top: 6px; } .col-5.square.xs:nth-child(3) { margin-top: 6px; } .col-5.square.xs:nth-child(4) { margin-top: 6px; } .col-5.square.xs:nth-child(5) { margin-top: 6px; } .col-5.square.xxs { position: relative; margin-right: 4px; margin-bottom: 4px; padding-bottom: calc((100% - (4) * 4px) / 5); height: 0; width: calc((100% - (4) * 4px) / 5); overflow: hidden; } .col-5.square.xxs:nth-child(5n) { margin-right: 0; } .col-5.square.xxs:nth-child(1) { margin-top: 4px; } .col-5.square.xxs:nth-child(2) { margin-top: 4px; } .col-5.square.xxs:nth-child(3) { margin-top: 4px; } .col-5.square.xxs:nth-child(4) { margin-top: 4px; } .col-5.square.xxs:nth-child(5) { margin-top: 4px; } .square { position: relative; padding-bottom: 100%; height: 0; } .lh-0 { line-height: 0; } .lh-1 { line-height: 1; } .lh { line-height: 1.6; } .fl { float: left; } .fr { float: right; } .clearfix { *zoom: 1; } .clearfix::after { content: ''; display: table; clear: both; } .over-hidden { overflow: hidden; } .over-scroll { overflow: scroll; } .over-auto { overflow: auto; } .relative { position: relative; } .full { width: 100%; height: 100%; } .full-width { width: 100%; } .full-height { height: 100%; } .block { display: block; } .safe-top { padding-top: constant(safe-area-inset-top); padding-top: env(safe-area-inset-top); } .safe-right { padding-right: constant(safe-area-inset-right); padding-right: env(safe-area-inset-right); } .safe-bottom { padding-bottom: constant(safe-area-inset-bottom); padding-bottom: env(safe-area-inset-bottom); } .safe-left { padding-left: constant(safe-area-inset-left); padding-left: env(safe-area-inset-left); } .safe { padding: constant(safe-area-inset-top) constant(safe-area-inset-right) constant(safe-area-inset-bottom) constant(safe-area-inset-left); padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left); } /* 间隔 */ .mt-xxl { margin-top: 48px; } .pt-xxl { padding-top: 48px; } .mr-xxl { margin-right: 48px; } .pr-xxl { padding-right: 48px; } .mb-xxl { margin-bottom: 48px; } .pb-xxl { padding-bottom: 48px; } .ml-xxl { margin-left: 48px; } .pl-xxl { padding-left: 48px; } .m-xxl { margin: 48px; } .p-xxl { padding: 48px; } .mtb-xxl { margin-top: 48px; margin-bottom: 48px; } .mlr-xxl { margin-left: 48px; margin-right: 48px; } .ptb-xxl { padding-top: 48px; padding-bottom: 48px; } .plr-xxl { padding-left: 48px; padding-right: 48px; } .mt-xl { margin-top: 32px; } .pt-xl { padding-top: 32px; } .mr-xl { margin-right: 32px; } .pr-xl { padding-right: 32px; } .mb-xl { margin-bottom: 32px; } .pb-xl { padding-bottom: 32px; } .ml-xl { margin-left: 32px; } .pl-xl { padding-left: 32px; } .m-xl { margin: 32px; } .p-xl { padding: 32px; } .mtb-xl { margin-top: 32px; margin-bottom: 32px; } .mlr-xl { margin-left: 32px; margin-right: 32px; } .ptb-xl { padding-top: 32px; padding-bottom: 32px; } .plr-xl { padding-left: 32px; padding-right: 32px; } .mt-lg { margin-top: 24px; } .pt-lg { padding-top: 24px; } .mr-lg { margin-right: 24px; } .pr-lg { padding-right: 24px; } .mb-lg { margin-bottom: 24px; } .pb-lg { padding-bottom: 24px; } .ml-lg { margin-left: 24px; } .pl-lg { padding-left: 24px; } .m-lg { margin: 24px; } .p-lg { padding: 24px; } .mtb-lg { margin-top: 24px; margin-bottom: 24px; } .mlr-lg { margin-left: 24px; margin-right: 24px; } .ptb-lg { padding-top: 24px; padding-bottom: 24px; } .plr-lg { padding-left: 24px; padding-right: 24px; } .mt { margin-top: 16px; } .pt { padding-top: 16px; } .mr { margin-right: 16px; } .pr { padding-right: 16px; } .mb { margin-bottom: 16px; } .pb { padding-bottom: 16px; } .ml { margin-left: 16px; } .pl { padding-left: 16px; } .mg { margin: 16px; } .pd { padding: 16px; } .mtb { margin-top: 16px; margin-bottom: 16px; } .mlr { margin-left: 16px; margin-right: 16px; } .ptb { padding-top: 16px; padding-bottom: 16px; } .plr { padding-left: 16px; padding-right: 16px; } .mt-sm { margin-top: 12px; } .pt-sm { padding-top: 12px; } .mr-sm { margin-right: 12px; } .pr-sm { padding-right: 12px; } .mb-sm { margin-bottom: 12px; } .pb-sm { padding-bottom: 12px; } .ml-sm { margin-left: 12px; } .pl-sm { padding-left: 12px; } .m-sm { margin: 12px; } .p-sm { padding: 12px; } .mtb-sm { margin-top: 12px; margin-bottom: 12px; } .mlr-sm { margin-left: 12px; margin-right: 12px; } .ptb-sm { padding-top: 12px; padding-bottom: 12px; } .plr-sm { padding-left: 12px; padding-right: 12px; } .mt-xs { margin-top: 8px; } .pt-xs { padding-top: 8px; } .mr-xs { margin-right: 8px; } .pr-xs { padding-right: 8px; } .mb-xs { margin-bottom: 8px; } .pb-xs { padding-bottom: 8px; } .ml-xs { margin-left: 8px; } .pl-xs { padding-left: 8px; } .m-xs { margin: 8px; } .p-xs { padding: 8px; } .mtb-xs { margin-top: 8px; margin-bottom: 8px; } .mlr-xs { margin-left: 8px; margin-right: 8px; } .ptb-xs { padding-top: 8px; padding-bottom: 8px; } .plr-xs { padding-left: 8px; padding-right: 8px; } .mt-xxs { margin-top: 4px; } .pt-xxs { padding-top: 4px; } .mr-xxs { margin-right: 4px; } .pr-xxs { padding-right: 4px; } .mb-xxs { margin-bottom: 4px; } .pb-xxs { padding-bottom: 4px; } .ml-xxs { margin-left: 4px; } .pl-xxs { padding-left: 4px; } .m-xxs { margin: 4px; } .p-xxs { padding: 4px; } .mtb-xxs { margin-top: 4px; margin-bottom: 4px; } .mlr-xxs { margin-left: 4px; margin-right: 4px; } .ptb-xxs { padding-top: 4px; padding-bottom: 4px; } .plr-xxs { padding-left: 4px; padding-right: 4px; } /* 字体大小 */ .text-xl { font-size: 20px; } .text-lg { font-size: 18px; } .text-md { font-size: 16px; } .text-df { font-size: 14px; } .text-sm { font-size: 12px; } .text-xs { font-size: 10px; } .text-bold, .text-bolder { font-weight: 700; } .text-cut { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .text-cut-2 { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; text-overflow: ellipsis; } .text-cut-3 { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; text-overflow: ellipsis; } .text-cut-4 { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; overflow: hidden; text-overflow: ellipsis; } .text-cut-5 { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 5; overflow: hidden; text-overflow: ellipsis; } .text-cut-6 { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 6; overflow: hidden; text-overflow: ellipsis; } /* 颜色 */ .bg-df { color: #333; background-color: #f7f7f7; } .text-df { color: #f7f7f7; } .line-df { color: #f7f7f7; border-color: initial; } .bg-red { background-color: #ff4f44; } .text-red { color: #ff4f44; } .line-red { color: #ff4f44; border-color: initial; } .bg-orange { background-color: #ff9056; } .text-orange { color: #ff9056; } .line-orange { color: #ff9056; border-color: initial; } .bg-yellow { background-color: #fbbd08; } .text-yellow { color: #fbbd08; } .line-yellow { color: #fbbd08; border-color: initial; } .bg-green { background-color: #39b54a; } .text-green { color: #39b54a; } .line-green { color: #39b54a; border-color: initial; } .bg-blue { background-color: #0081ff; } .text-blue { color: #0081ff; } .line-blue { color: #0081ff; border-color: initial; } .bg-grey { background-color: #898989; } .text-grey { color: #898989; } .line-grey { color: #898989; border-color: initial; } .bg-gray { background-color: #aaa; } .text-gray { color: #aaa; } .line-gray { color: #aaa; border-color: initial; } .bg-light { background-color: #dfdfdf; } .text-light { color: #dfdfdf; } .line-light { color: #dfdfdf; border-color: initial; } .bg-black { background-color: #333; } .text-black { color: #333; } .line-black { color: #333; border-color: initial; } .bg-white { color: #333; background-color: #fff; } .text-white, .bg-red, .bg-orange, .bg-yellow, .bg-green, .bg-blue, .bg-grey, .bg-gray, .bg-light, .bg-black { color: #fff; } .line-white { color: #fff; border-color: initial; } .text-left { text-align: left; } .text-right { text-align: right; } .text-center { text-align: center; } .solid, .dui-button[class*=line], .solid-top, .solid-right, .solid-bottom, .dui-item, .solid-left { position: relative; border-color: rgba(0, 0, 0, 0.1); } .solid[class*=line], .dui-button[class*=line], .solid-top[class*=line], .solid-right[class*=line], .solid-bottom[class*=line], .dui-item[class*=line], .solid-left[class*=line] { border-color: initial; } .solid::after, .dui-button[class*=line]::after, .solid-top::after, .solid-right::after, .solid-bottom::after, .dui-item::after, .solid-left::after { content: ''; position: absolute; width: 100%; height: 100%; top: 0; left: 0; transform-origin: 0 0; border-color: inherit; border-radius: inherit; pointer-events: none; } @media screen and (-webkit-min-device-pixel-ratio: 2) { .solid::after, .dui-button[class*=line]::after, .solid-top::after, .solid-right::after, .solid-bottom::after, .dui-item::after, .solid-left::after { width: 200%; height: 200%; transform: scale(0.5); } } @media screen and (-webkit-min-device-pixel-ratio: 3) { .solid::after, .dui-button[class*=line]::after, .solid-top::after, .solid-right::after, .solid-bottom::after, .dui-item::after, .solid-left::after { width: 300%; height: 300%; transform: scale(0.33333); } } .solid::after, .dui-button[class*=line]::after { border-style: solid; border-width: 1px; } .solid-top::after { border-top-style: solid; border-top-width: 1px; } .solid-right::after { border-right-style: solid; border-right-width: 1px; } .solid-bottom::after, .dui-item::after { border-bottom-style: solid; border-bottom-width: 1px; } .solid-left::after { border-left-style: solid; border-left-width: 1px; } .radius { border-radius: 10px; overflow: hidden; } .radius.xxl, .radius-xxl { border-radius: 20px; overflow: hidden; } .radius.xl, .radius-xl { border-radius: 16px; overflow: hidden; } .radius.lg, .radius-lg { border-radius: 14px; overflow: hidden; } .radius.md, .radius-md { border-radius: 12px; overflow: hidden; } .radius.df, .radius-df { border-radius: 10px; overflow: hidden; } .radius.sm, .radius-sm { border-radius: 8px; overflow: hidden; } .radius.xs, .radius-xs { border-radius: 6px; overflow: hidden; } .radius.xxs, .radius-xxs { border-radius: 3px; overflow: hidden; } .bg-img { background: #f1f1f1 center / contain no-repeat; } .bg-img.cover { background-size: cover; } .round, .dui-button.round { border-radius: 2000px; } .uppercase { text-transform: uppercase; } .lowercase { text-transform: lowercase; } .dui-button { display: inline-flex; justify-content: center; align-items: center; padding: 0 16px; height: 36px; font-size: 14px; text-decoration: none; line-height: 1; outline-width: 0; border-width: 0; border-radius: 6px; -webkit-appearance: none; appearance: none; cursor: pointer; } .dui-button:active { opacity: 0.9; } .dui-button[disabled], .dui-button.disabled { opacity: 0.6; color: #ffffff; pointer-events: none; cursor: not-allowed; } .dui-button[class*=line] { background-color: transparent; } .dui-button.block { width: 100%; } .dui-button.md { height: 40px; font-size: 16px; } .dui-button.lg { height: 44px; font-size: 16px; } .dui-button.sm { height: 32px; font-size: 12px; } .dui-button.xs { height: 28px; font-size: 12px; } .dui-list + .dui-list { margin-top: 8px; } .no-bottom > .dui-item::after, .dui-item.no-bottom::after, .dui-item:last-child::after { border: 0; } .dui-item { position: relative; display: flex; align-items: center; min-height: 56px; } .dui-icon__loading { display: inline-flex; animation: duiLoading 1s steps(60, end) infinite; } .dui-icon__loading::before, .dui-icon__loading::after { content: ''; display: block; flex: 1; box-sizing: border-box; border: 2px solid; opacity: 0.5; } .dui-icon__loading::before { border-top-left-radius: 36px; border-bottom-left-radius: 36px; border-right-width: 0; -webkit-mask-image: -webkit-linear-gradient(top, #000000 8%, rgba(0, 0, 0, 0.3) 95%); mask-image: -webkit-linear-gradient(top, #000000 8%, rgba(0, 0, 0, 0.3) 95%); } .dui-icon__loading::after { border-top-right-radius: 36px; border-bottom-right-radius: 36px; border-left-width: 0; -webkit-mask-image: -webkit-linear-gradient(225deg, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, 0.3) 95%); mask-image: -webkit-linear-gradient(225deg, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, 0.3) 95%); } @keyframes duiLoading { 0% { transform: rotate3d(0, 0, 1, 0deg); } 100% { transform: rotate3d(0, 0, 1, 360deg); } } .mask { position: fixed; top: 0; right: 0; bottom: 0; left: 0; background-color: rgba(0, 0, 0, 0.6); z-index: 9999; opacity: 0; transition: opacity .3s; pointer-events: none; } .mask.transparent { background-color: transparent; } .show > .mask { opacity: 1; pointer-events: auto; } .dui-actionsheet__body { position: fixed; top: initial; right: 0; bottom: 0; left: 0; z-index: 10000; transform: translate(0, 100%); transition: transform .3s; overflow: hidden; -webkit-backface-visibility: hidden; backface-visibility: hidden; } .dui-actionsheet__body--default { background-color: #f7f7f7; border-top-left-radius: 24px; border-top-right-radius: 24px; } .dui-actionsheet.show .dui-actionsheet__body { transform: translate(0, 0); } .mask { position: fixed; top: 0; right: 0; bottom: 0; left: 0; background-color: rgba(0, 0, 0, 0.6); z-index: 9999; opacity: 0; transition: opacity .3s; pointer-events: none; } .mask.transparent { background-color: transparent; } .show > .mask { opacity: 1; pointer-events: auto; } .dui-dialog__body { position: fixed; top: 45%; left: 50%; transform: scale(1.185) translate(-50%, -50%); transform-origin: 0 0; transition: all .3s; overflow: hidden; z-index: 10000; opacity: 0; pointer-events: none; } .dui-dialog__body--default { width: 320px; max-width: 90%; line-height: 1.4; font-size: 16px; text-align: center; background-color: #fff; border-radius: 12px; } .dui-dialog__hd + .dui-dialog__ft { margin-top: 32px; } .dui-dialog__content:first-child { padding-top: 64px; } .dui-dialog.show .dui-dialog__body { opacity: 1; pointer-events: auto; transform: scale(1) translate(-50%, -50%); } .dui-toast { padding: 6px 12px; position: fixed; bottom: 15%; left: 50%; max-width: 80%; color: #ffffff; text-align: center; transform: translateX(-50%); background-color: rgba(50, 50, 50, 0.8); border-radius: 6px; transition: all .3s; pointer-events: none; opacity: 0; } .dui-toast.show { opacity: 1; } .mask { position: fixed; top: 0; right: 0; bottom: 0; left: 0; background-color: rgba(0, 0, 0, 0.6); z-index: 9999; opacity: 0; transition: opacity .3s; pointer-events: none; } .mask.transparent { background-color: transparent; } .show > .mask { opacity: 1; pointer-events: auto; } .dui-loading { display: none; } .dui-loading__body { width: 110px; position: fixed; left: 50%; top: 50%; transform: translate3d(-50%, -50%, 0); text-align: center; color: rgba(255, 255, 255, 0.9); background-color: #4c4c4c; border-radius: 12px; z-index: 10000; } .dui-loading__body .dui-icon__loading { width: 36px; height: 36px; } .dui-loading.show { display: block; } @font-face { font-family: 'swiper-icons'; src: url("data:application/font-woff;charset=utf-8;base64, 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") format("woff"); font-weight: 400; font-style: normal; } :root { --swiper-theme-color: #007aff; } .swiper-container { margin-left: auto; margin-right: auto; position: relative; overflow: hidden; list-style: none; padding: 0; /* Fix of Webkit flickering */ z-index: 1; } .swiper-container-vertical > .swiper-wrapper { flex-direction: column; } .swiper-wrapper { position: relative; width: 100%; height: 100%; z-index: 1; display: flex; transition-property: transform; box-sizing: content-box; } .swiper-container-android .swiper-slide, .swiper-wrapper { transform: translate3d(0px, 0, 0); } .swiper-container-multirow > .swiper-wrapper { flex-wrap: wrap; } .swiper-container-multirow-column > .swiper-wrapper { flex-wrap: wrap; flex-direction: column; } .swiper-container-free-mode > .swiper-wrapper { transition-timing-function: ease-out; margin: 0 auto; } .swiper-slide { flex-shrink: 0; width: 100%; height: 100%; position: relative; transition-property: transform; } .swiper-slide-invisible-blank { visibility: hidden; } /* Auto Height */ .swiper-container-autoheight, .swiper-container-autoheight .swiper-slide { height: auto; } .swiper-container-autoheight .swiper-wrapper { align-items: flex-start; transition-property: transform, height; } /* 3D Effects */ .swiper-container-3d { perspective: 1200px; } .swiper-container-3d .swiper-wrapper, .swiper-container-3d .swiper-slide, .swiper-container-3d .swiper-slide-shadow-left, .swiper-container-3d .swiper-slide-shadow-right, .swiper-container-3d .swiper-slide-shadow-top, .swiper-container-3d .swiper-slide-shadow-bottom, .swiper-container-3d .swiper-cube-shadow { transform-style: preserve-3d; } .swiper-container-3d .swiper-slide-shadow-left, .swiper-container-3d .swiper-slide-shadow-right, .swiper-container-3d .swiper-slide-shadow-top, .swiper-container-3d .swiper-slide-shadow-bottom { position: absolute; left: 0; top: 0; width: 100%; height: 100%; pointer-events: none; z-index: 10; } .swiper-container-3d .swiper-slide-shadow-left { background-image: linear-gradient(to left, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0)); } .swiper-container-3d .swiper-slide-shadow-right { background-image: linear-gradient(to right, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0)); } .swiper-container-3d .swiper-slide-shadow-top { background-image: linear-gradient(to top, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0)); } .swiper-container-3d .swiper-slide-shadow-bottom { background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0)); } /* CSS Mode */ .swiper-container-css-mode > .swiper-wrapper { overflow: auto; scrollbar-width: none; /* For Firefox */ -ms-overflow-style: none; /* For Internet Explorer and Edge */ } .swiper-container-css-mode > .swiper-wrapper::-webkit-scrollbar { display: none; } .swiper-container-css-mode > .swiper-wrapper > .swiper-slide { scroll-snap-align: start start; } .swiper-container-horizontal.swiper-container-css-mode > .swiper-wrapper { -webkit-scroll-snap-type: x mandatory; scroll-snap-type: x mandatory; } .swiper-container-vertical.swiper-container-css-mode > .swiper-wrapper { -webkit-scroll-snap-type: y mandatory; scroll-snap-type: y mandatory; } .dui-preview { position: fixed; top: 0; right: 0; bottom: 0; left: 0; background-color: #000; opacity: 0; pointer-events: none; transform: scale(0.2); transition: all 0.3s; overflow: hidden; z-index: 998; } .dui-preview.toggle { opacity: 1; pointer-events: auto; transform: scale(1); } .dui-preview__slide { position: relative; display: inline-block; width: 100vw; height: 100vh; background-color: inherit; pointer-events: inherit !important; vertical-align: middle; } .dui-preview__slide .dui-icon__loading { width: 36px; height: 36px; position: absolute; left: 50%; top: 50%; transform: translate3d(-50%, -50%, 0); color: #f1f1f1; } .dui-preview__index { position: absolute; top: 0; right: 0; bottom: initial; left: 0; padding: 20px; color: #fff; letter-spacing: 2px; text-align: center; }