antd-mobile
Version:
<img src="https://gw.alipayobjects.com/mdn/rms_ee68a8/afts/img/A*hjjDS5Yy-ooAAAAAAAAAAAAAARQnAQ" alt="logo" width="100%" />
2,281 lines • 87.6 kB
CSS
:root {
--adm-color-primary: #1677ff;
--adm-color-success: #00b578;
--adm-color-warning: #ff8f1f;
--adm-color-danger: #ff3141;
--adm-color-white: #ffffff;
--adm-color-weak: #999999;
--adm-color-light: #cccccc;
--adm-border-color: #eeeeee;
--adm-font-size-main: 13px;
--adm-color-text: #333333;
--adm-font-family: -apple-system, blinkmacsystemfont, 'Helvetica Neue',
helvetica, segoe ui, arial, roboto, 'PingFang SC', 'miui',
'Hiragino Sans GB', 'Microsoft Yahei', sans-serif;
}
:root {
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
body {
color: var(--adm-color-text);
font-size: var(--adm-font-size-main);
font-family: var(--adm-font-family);
}
a,
button {
cursor: pointer;
}
a {
color: var(--adm-color-primary);
transition: opacity ease-in-out 0.2s;
}
a:active {
opacity: 0.8;
}
.adm-plain-anchor {
color: unset;
transition: none;
}
.adm-plain-anchor:active {
opacity: unset;
}
body.adm-overflow-hidden {
overflow: hidden !important;
}
div.adm-px-tester {
--size: 1;
height: calc(var(--size) / 2 * 2px);
width: 0;
position: fixed;
right: -100vw;
bottom: -100vh;
user-select: none;
pointer-events: none;
}
.adm-action-sheet-popup > .adm-popup-body {
border-top-left-radius: 8px;
border-top-right-radius: 8px;
overflow: hidden;
}
.adm-action-sheet-extra {
display: flex;
justify-content: center;
color: var(--adm-color-weak);
font-size: 15px;
padding: 18px 16px;
border-bottom: 1px solid var(--adm-border-color);
}
.adm-action-sheet-button-item-wrapper {
background-color: #ffffff;
border-top: 1px solid var(--adm-border-color);
}
.adm-action-sheet-button-item-wrapper:first-child {
border-top: none;
}
.adm-action-sheet-button-item {
padding: 14px;
text-align: center;
}
.adm-action-sheet-button-item-name {
color: var(--adm-color-text);
font-size: 18px;
}
.adm-action-sheet-button-item-description {
font-size: 12px;
color: var(--adm-color-weak);
padding-top: 4px;
}
.adm-action-sheet-button-item-danger .adm-action-sheet-button-item-name {
color: var(--adm-color-danger);
}
.adm-action-sheet-cancel {
background-color: #f5f5f5;
padding-top: 8px;
}
.adm-popup {
--z-index: var(--adm-popup-z-index, 1000);
position: fixed;
z-index: var(--z-index);
}
.adm-popup-body {
position: fixed;
background-color: #ffffff;
z-index: calc(var(--z-index) + 10);
}
.adm-popup-body-position-bottom {
width: 100%;
bottom: 0;
left: 0;
}
.adm-popup-body-position-top {
width: 100%;
top: 0;
left: 0;
}
.adm-popup-body-position-left {
height: 100%;
top: 0;
left: 0;
}
.adm-popup-body-position-right {
height: 100%;
top: 0;
right: 0;
}
.adm-mask {
--z-index: var(--adm-mask-z-index, 1000);
position: fixed;
top: 0;
left: 0;
z-index: var(--z-index);
display: block;
width: 100%;
height: 100%;
}
.adm-mask-aria-button {
position: absolute;
top: 0;
left: 0;
z-index: 0;
width: 100%;
height: 100%;
}
.adm-mask-content {
z-index: 1;
}
.adm-button {
--color: var(--adm-color-white);
--text-color: var(--adm-button-text-color, var(--adm-color-text));
--background-color: var(--adm-button-background-color, var(--adm-color-white));
--border-radius: var(--adm-button-border-radius, 4px);
--border-width: var(--adm-button-border-width, 1px);
--border-style: var(--adm-button-border-style, solid);
--border-color: var(--adm-button-border-color, var(--adm-border-color));
color: var(--text-color);
background-color: var(--background-color);
position: relative;
display: inline-block;
box-sizing: border-box;
height: auto;
padding: 7px 12px;
margin: 0;
font-size: 17px;
line-height: 1.4;
text-align: center;
border: var(--border-width) var(--border-style) var(--border-color);
border-radius: var(--border-radius);
cursor: pointer;
transition: opacity ease 0.15s;
user-select: none;
}
.adm-button:focus {
outline: none;
}
.adm-button::before {
position: absolute;
top: 0;
left: 0;
transform: translate(calc(var(--border-width) * -1), calc(var(--border-width) * -1));
width: 100%;
height: 100%;
background-color: #000;
border: var(--border-width) var(--border-style) #000;
border-radius: var(--border-radius);
opacity: 0;
content: ' ';
box-sizing: content-box;
}
.adm-button:active::before {
opacity: 0.08;
}
.adm-button-default.adm-button-fill-outline {
--background-color: transparent;
--border-color: var(--adm-color-text);
}
.adm-button-default.adm-button-fill-none {
--background-color: transparent;
--border-width: 0px;
}
.adm-button:not(.adm-button-default) {
--text-color: var(--adm-color-white);
--background-color: var(--color);
--border-color: var(--color);
}
.adm-button:not(.adm-button-default).adm-button-fill-outline {
--text-color: var(--color);
--background-color: transparent;
}
.adm-button:not(.adm-button-default).adm-button-fill-none {
--text-color: var(--color);
--background-color: transparent;
--border-width: 0px;
}
.adm-button-primary {
--color: var(--adm-color-primary);
}
.adm-button-success {
--color: var(--adm-color-success);
}
.adm-button-danger {
--color: var(--adm-color-danger);
}
.adm-button-warning {
--color: var(--adm-color-warning);
}
.adm-button-block {
display: block;
width: 100%;
}
.adm-button-disabled {
cursor: not-allowed;
opacity: 0.4;
}
.adm-button-disabled:active::before {
display: none;
}
.adm-button.adm-button-mini {
padding-top: 3px;
padding-bottom: 3px;
font-size: 13px;
}
.adm-button.adm-button-mini.adm-button-shape-rounded {
padding-left: 9px;
padding-right: 9px;
}
.adm-button.adm-button-small {
padding-top: 3px;
padding-bottom: 3px;
font-size: 15px;
}
.adm-button.adm-button-large {
padding-top: 11px;
padding-bottom: 11px;
font-size: 18px;
}
.adm-button.adm-button-shape-rounded {
--border-radius: 1000px;
}
.adm-button.adm-button-shape-rectangular {
--border-radius: 0;
}
.adm-button-loading {
vertical-align: bottom;
}
.adm-button-loading-wrapper {
display: flex;
height: 1.4em;
align-items: center;
justify-content: center;
}
.adm-button-loading-wrapper > .adm-loading {
opacity: 0.6;
}
.adm-dot-loading {
display: inline-block;
}
.adm-safe-area {
display: block;
width: 100%;
}
.adm-safe-area-position-top {
padding-top: env(safe-area-inset-top);
}
.adm-safe-area-position-bottom {
padding-bottom: env(safe-area-inset-bottom);
}
.adm-auto-center {
display: flex;
justify-content: center;
}
.adm-auto-center-content {
flex: 0 1 auto;
}
.adm-avatar {
--size: var(--adm-avatar-size, 44px);
--border-radius: var(--adm-avatar-border-radius, 4px);
border-radius: var(--border-radius);
}
.adm-avatar.adm-image {
--width: var(--size);
--height: var(--size);
}
.adm-avatar-fallback {
height: 100%;
width: 100%;
display: block;
}
.adm-badge-wrap {
display: inline-block;
position: relative;
}
.adm-badge {
display: inline-flex;
vertical-align: middle;
box-sizing: content-box;
border-radius: 100px;
background-color: var(--color);
--right: 0;
--top: 0;
--color: var(--adm-badge-color, #ff411c);
}
.adm-badge-content {
color: #fff;
box-sizing: border-box;
min-width: 8px;
padding: 1px 4px;
font-size: 9px;
line-height: 12px;
white-space: nowrap;
font-weight: normal;
text-align: center;
}
.adm-badge-fixed {
position: absolute;
right: var(--right);
top: var(--top);
transform: translate(50%, -50%);
}
.adm-badge-dot {
min-width: 10px;
width: 10px;
height: 10px;
border-radius: 5px;
}
.adm-badge-bordered {
border: solid 1px var(--adm-color-white);
}
.adm-calendar .adm-calendar-header {
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
padding-top: 4px;
}
.adm-calendar .adm-calendar-header a.adm-calendar-arrow-button {
padding: 4px 8px;
display: block;
flex: none;
}
.adm-calendar .adm-calendar-header a.adm-calendar-arrow-button svg {
height: 22px;
}
.adm-calendar .adm-calendar-header a.adm-calendar-arrow-button.adm-calendar-arrow-button-right svg {
transform: rotate(180deg);
}
.adm-calendar .adm-calendar-header .adm-calendar-title {
font-size: 18px;
flex: auto;
text-align: center;
}
.adm-calendar .adm-calendar-body {
display: flex;
flex-wrap: wrap;
}
.adm-calendar-cells {
display: flex;
flex-direction: row;
flex-wrap: wrap;
justify-content: flex-start;
align-items: stretch;
padding: 8px 8px 4px;
}
.adm-calendar-cell {
flex: none;
box-sizing: border-box;
width: calc(100% / 7);
height: 48px;
margin-bottom: 4px;
padding: 2px;
color: var(--adm-color-text);
cursor: pointer;
display: flex;
flex-direction: column;
align-items: center;
justify-content: flex-end;
}
.adm-calendar-cell.adm-calendar-cell-today {
color: var(--adm-color-primary);
}
.adm-calendar-cell.adm-calendar-cell-out {
color: var(--adm-color-light);
}
.adm-calendar-cell.adm-calendar-cell-out .adm-calendar-cell-bottom {
color: var(--adm-color-light);
}
.adm-calendar-cell.adm-calendar-cell-selected.adm-calendar-cell.adm-calendar-cell-selected {
background: var(--adm-color-primary);
color: var(--adm-color-white);
}
.adm-calendar-cell.adm-calendar-cell-selected .adm-calendar-cell-bottom {
color: var(--adm-color-white);
}
.adm-calendar-cell.adm-calendar-cell-selected.adm-calendar-cell.adm-calendar-cell-selected-begin {
border-top-left-radius: 4px;
border-bottom-left-radius: 4px;
}
.adm-calendar-cell.adm-calendar-cell-selected.adm-calendar-cell.adm-calendar-cell-selected-end {
border-top-right-radius: 4px;
border-bottom-right-radius: 4px;
}
.adm-calendar-cell .adm-calendar-cell-top {
flex: none;
font-size: 18px;
}
.adm-calendar-cell .adm-calendar-cell-bottom {
flex: none;
font-size: 12px;
height: 12px;
line-height: 12px;
color: var(--adm-color-weak);
}
.adm-calendar-mark {
display: flex;
flex-direction: row;
justify-content: flex-start;
align-items: center;
border-bottom: solid 1px var(--adm-border-color);
height: 45px;
box-sizing: border-box;
font-size: 15px;
padding: 0 8px;
}
.adm-calendar-mark .adm-calendar-mark-cell {
flex: 1;
text-align: center;
}
.adm-capsule-tabs {
position: relative;
}
.adm-capsule-tabs-header {
position: relative;
padding: 12px 6px;
border-bottom: solid 1px var(--adm-border-color);
}
.adm-capsule-tabs-tab-list {
display: flex;
flex-wrap: nowrap;
justify-content: flex-start;
align-items: center;
position: relative;
overflow-x: scroll;
scrollbar-width: none;
}
.adm-capsule-tabs-tab-list::-webkit-scrollbar {
display: none;
}
.adm-capsule-tabs-tab-wrapper {
flex: auto;
padding: 0 6px;
}
.adm-capsule-tabs-tab {
position: relative;
padding: 8px 20px;
margin: 0 auto;
border-radius: 20px;
cursor: pointer;
font-size: 15px;
text-align: center;
white-space: nowrap;
background-color: #f5f5f5;
}
.adm-capsule-tabs-tab-active {
color: #fff;
background-color: var(--adm-color-primary);
}
.adm-capsule-tabs-tab-disabled {
opacity: 0.5;
cursor: not-allowed;
}
.adm-capsule-tabs-content {
padding: 12px;
}
.adm-capsule-tabs-header-mask {
position: absolute;
top: 0;
bottom: 0;
z-index: 1;
width: 30px;
height: 100%;
pointer-events: none;
}
.adm-capsule-tabs-header-mask-left {
left: 0;
background: linear-gradient(to right, #fff, rgba(255, 255, 255, 0));
}
.adm-capsule-tabs-header-mask-right {
right: 0;
background: linear-gradient(to left, #fff, rgba(255, 255, 255, 0));
}
.adm-scroll-mask {
position: absolute;
top: 0;
bottom: 0;
z-index: 1;
width: 30px;
height: 100%;
pointer-events: none;
}
.adm-scroll-mask-left {
left: 0;
background: linear-gradient(to right, #fff, rgba(255, 255, 255, 0));
}
.adm-scroll-mask-right {
right: 0;
background: linear-gradient(to left, #fff, rgba(255, 255, 255, 0));
}
.adm-card {
background: #ffffff;
border-radius: 8px;
padding: 0 12px;
}
.adm-card-header {
position: relative;
display: flex;
justify-content: space-between;
align-items: center;
box-sizing: border-box;
padding: 12px 0;
}
.adm-card-header:not(:last-child) {
border-bottom: solid 0.5px var(--adm-border-color);
}
.adm-card-header-title {
font-size: 15px;
line-height: 1.4;
font-weight: bold;
}
.adm-card-body {
padding: 12px 0;
}
.adm-picker {
--header-button-font-size: 15px;
--title-font-size: 15px;
--item-font-size: 16px;
--item-height: 34px;
width: 100%;
height: 300px;
overflow: hidden;
position: relative;
display: flex;
flex-direction: column;
---item-font-size: var(--item-font-size);
---item-height: var(--item-height);
}
.adm-picker .adm-picker-view.adm-picker-view {
--item-font-size: var(---item-font-size);
--item-height: var(---item-height);
}
.adm-picker-header {
flex: none;
border-bottom: solid 1px var(--adm-border-color);
display: flex;
justify-content: space-between;
align-items: center;
padding: 4px 4px;
}
.adm-picker-header-button {
font-size: var(--header-button-font-size);
display: inline-block;
padding: 8px 8px;
}
.adm-picker-header-title {
padding: 4px 4px;
font-size: var(--title-font-size);
color: var(--adm-color-text);
text-align: center;
flex: 1;
}
.adm-picker-body {
flex: auto;
height: 100%;
width: 100%;
}
.adm-picker-body > .adm-picker-view {
--height: 100%;
}
.adm-picker-popup .adm-popup-body {
border-top-left-radius: 8px;
border-top-right-radius: 8px;
}
.adm-picker-view {
--height: 240px;
--item-height: 34px;
--item-font-size: 16px;
height: var(--height);
width: 100%;
display: flex;
position: relative;
overflow: hidden;
background: var(--adm-color-white);
}
.adm-picker-view-column {
height: 100%;
flex: 1;
user-select: none;
touch-action: none;
position: relative;
z-index: 0;
}
.adm-picker-view-column-wheel {
width: 100%;
cursor: grab;
position: absolute;
top: calc(50% - var(--item-height) / 2);
left: 0;
}
.adm-picker-view-column-wheel::before {
content: ' ';
display: block;
position: absolute;
width: 100%;
height: 100vh;
top: -100vh;
}
.adm-picker-view-column-wheel::after {
content: ' ';
display: block;
position: absolute;
width: 100%;
height: 100vh;
bottom: -100vh;
}
.adm-picker-view-column-item {
font-size: var(--item-font-size);
padding: 0 6px;
height: var(--item-height);
display: flex;
justify-content: center;
align-items: center;
}
.adm-picker-view-column-item-label {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.adm-picker-view-column-accessible {
width: 100%;
height: 100%;
pointer-events: none;
opacity: 0;
display: flex;
flex-direction: column;
position: relative;
z-index: 0;
}
.adm-picker-view-column-accessible > * {
flex: 1;
text-overflow: ellipsis;
}
.adm-picker-view-column-accessible-current {
position: absolute;
width: 100%;
height: 100%;
}
.adm-picker-view-column-accessible-button {
width: 100%;
height: 100%;
}
.adm-picker-view-mask {
position: absolute;
z-index: 10000;
left: 0;
top: 0;
width: 100%;
height: 100%;
display: flex;
flex-direction: column;
pointer-events: none;
}
.adm-picker-view-mask-top,
.adm-picker-view-mask-bottom {
flex: auto;
}
.adm-picker-view-mask-middle {
height: var(--item-height);
box-sizing: border-box;
flex: none;
border-top: solid 1px var(--adm-border-color);
border-bottom: solid 1px var(--adm-border-color);
}
.adm-picker-view-mask-top {
background: linear-gradient(0deg, rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0.8) 50%, #ffffff);
}
.adm-picker-view-mask-bottom {
background: linear-gradient(180deg, rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0.8) 50%, #ffffff);
}
.adm-cascader-view {
--height: auto;
}
.adm-cascader-view-tabs.adm-tabs {
--title-font-size: 14px;
--content-padding: none;
}
.adm-cascader-view-header-title {
max-width: 84px;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
.adm-cascader-view-content {
height: var(--height);
overflow-y: auto;
}
.adm-cascader-view-content > .adm-check-list {
--border-inner: none;
--border-bottom: none;
--border-top: none;
}
.adm-cascader-view-item {
font-size: 14px;
}
.adm-cascader-view-item-active {
color: var(--adm-color-primary);
}
.adm-cascader-view .adm-list-inner {
margin-bottom: 0;
}
.adm-cascader-view-skeleton {
padding: 16px 12px;
}
.adm-cascader-view-skeleton .adm-skeleton {
margin-bottom: 16px;
--height: 18px;
--width: 80%;
--border-radius: 2px;
}
.adm-cascader-view-skeleton .adm-skeleton.adm-cascader-view-skeleton-line-3 {
--width: 90%;
}
.adm-cascader-view-skeleton .adm-skeleton.adm-cascader-view-skeleton-line-4 {
--width: 60%;
}
.adm-tabs {
--title-font-size: 17px;
--content-padding: 12px;
--active-line-height: 2px;
--active-line-border-radius: var(--active-line-height);
position: relative;
}
.adm-tabs-header {
position: relative;
border-bottom: solid 1px var(--adm-border-color);
}
.adm-tabs-tab-list {
display: flex;
flex-wrap: nowrap;
justify-content: flex-start;
align-items: center;
position: relative;
overflow-x: scroll;
scrollbar-width: none;
}
.adm-tabs-tab-list::-webkit-scrollbar {
display: none;
}
.adm-tabs-tab-wrapper {
padding: 0 12px;
}
.adm-tabs-tab-wrapper-stretch {
flex: auto;
}
.adm-tabs-tab {
white-space: nowrap;
padding: 8px 0 10px;
width: min-content;
margin: 0 auto;
font-size: var(--title-font-size);
position: relative;
cursor: pointer;
}
.adm-tabs-tab-active {
color: var(--adm-color-primary);
}
.adm-tabs-tab-disabled {
opacity: 0.5;
cursor: not-allowed;
}
.adm-tabs-tab-line {
position: absolute;
bottom: 0;
height: var(--active-line-height);
color: var(--adm-color-primary);
background: var(--adm-color-primary);
border-radius: var(--active-line-border-radius);
}
.adm-tabs-content {
padding: var(--content-padding);
}
.adm-tabs-header-mask {
position: absolute;
top: 0;
bottom: 0;
z-index: 1;
width: 30px;
height: 100%;
pointer-events: none;
}
.adm-tabs-header-mask-left {
left: 0;
background: linear-gradient(to right, #fff, rgba(255, 255, 255, 0));
}
.adm-tabs-header-mask-right {
right: 0;
background: linear-gradient(to left, #fff, rgba(255, 255, 255, 0));
}
.adm-check-list-item-extra {
font-size: 16px;
line-height: 1;
color: var(--adm-color-primary);
}
.adm-check-list-item-readonly {
cursor: unset;
}
.adm-list {
--header-font-size: 15px;
--prefix-width: 'auto';
--prefix-padding-right: 12px;
--align-items: center;
--active-background-color: var(--adm-border-color);
--border-inner: solid 1px var(--adm-border-color);
--border-top: solid 1px var(--adm-border-color);
--border-bottom: solid 1px var(--adm-border-color);
--padding-left: 12px;
--padding-right: 12px;
--font-size: 17px;
}
.adm-list-header {
color: var(--adm-color-weak);
font-size: var(--header-font-size);
padding: 8px var(--padding-right) 8px var(--padding-left);
}
.adm-list-body {
background-color: #ffffff;
overflow: hidden;
font-size: var(--font-size);
}
.adm-list-body-inner {
margin-top: -1px;
}
.adm-list-default .adm-list-body {
border-top: var(--border-top);
border-bottom: var(--border-bottom);
}
.adm-list-card {
margin: 12px;
}
.adm-list-card .adm-list-body {
border-radius: 8px;
}
.adm-list-card .adm-list-header {
padding-left: 0;
}
.adm-list-item {
display: block;
padding-left: var(--padding-left);
position: relative;
}
.adm-list-item-title,
.adm-list-item-description {
color: var(--adm-color-weak);
font-size: 13px;
}
.adm-list-item-content {
display: flex;
align-items: var(--align-items);
justify-content: flex-start;
border-top: var(--border-inner);
padding-right: var(--padding-right);
}
.adm-list-item-content-prefix {
width: var(--prefix-width);
flex: none;
padding-right: var(--prefix-padding-right);
}
.adm-list-item-content-main {
flex: auto;
padding: 12px 0;
}
.adm-list-item-content-extra {
flex: none;
padding-left: 12px;
font-size: 15px;
color: var(--adm-color-weak);
}
.adm-list-item-content-arrow {
flex: none;
display: flex;
align-items: center;
margin-left: 4px;
color: var(--adm-color-light);
font-size: 19px;
}
.adm-list-item-disabled {
cursor: not-allowed;
}
.adm-list-item-disabled.adm-list-item-disabled > .adm-list-item-content > * {
opacity: 0.4;
pointer-events: none;
}
a.adm-list-item:active:not(.adm-list-item-disabled) {
background-color: var(--active-background-color);
}
a.adm-list-item:active:not(.adm-list-item-disabled)::after {
content: ' ';
display: block;
position: absolute;
width: 100%;
bottom: -1px;
left: 0;
border-bottom: var(--border-inner);
}
.adm-skeleton {
--width: 100%;
--height: 0;
--border-radius: 0;
background-color: rgba(190, 190, 190, 0.2);
border-radius: var(--border-radius);
width: var(--width);
height: var(--height);
display: block;
}
.adm-skeleton.adm-skeleton-animated {
background: linear-gradient(90deg, rgba(190, 190, 190, 0.2) 25%, rgba(129, 129, 129, 0.24) 37%, rgba(190, 190, 190, 0.2) 63%);
background-size: 400% 100%;
animation: adm-skeleton-loading 1.4s ease infinite;
}
.adm-skeleton.adm-skeleton-title {
--width: 45%;
--height: 32px;
--border-radius: 2px;
margin-bottom: 16px;
margin-top: 16px;
}
.adm-skeleton.adm-skeleton-paragraph-line {
--height: 18px;
--border-radius: 2px;
margin-top: 12px;
margin-bottom: 12px;
}
.adm-skeleton.adm-skeleton-paragraph-line:last-child {
--width: 65%;
}
@keyframes adm-skeleton-loading {
0% {
background-position: 100% 50%;
}
100% {
background-position: 0 50%;
}
}
.adm-cascader {
width: 100%;
overflow: hidden;
position: relative;
display: flex;
flex-direction: column;
}
.adm-cascader-header {
flex: none;
display: flex;
justify-content: space-between;
align-items: center;
padding: 6px 8px;
}
.adm-cascader-header-button {
font-size: 15px;
display: inline-block;
padding: 4px 4px;
}
.adm-cascader-header-title {
padding: 4px 4px;
font-size: 15px;
color: var(--adm-color-text);
text-align: center;
flex: 1;
}
.adm-cascader-body {
flex: auto;
height: 100%;
width: 100%;
}
.adm-cascader-body > .adm-cascader-view {
--height: 310px;
}
.adm-checkbox {
--icon-size: 22px;
--font-size: 17px;
--gap: 8px;
display: inline-flex;
vertical-align: text-bottom;
justify-content: flex-start;
align-items: center;
cursor: pointer;
}
.adm-checkbox input {
display: none;
}
.adm-checkbox .adm-checkbox-icon {
flex: none;
border: 1px solid var(--adm-color-light);
border-radius: var(--icon-size);
box-sizing: border-box;
width: var(--icon-size);
height: var(--icon-size);
color: var(--adm-color-white);
}
.adm-checkbox .adm-checkbox-icon > svg {
display: block;
width: 100%;
height: 100%;
}
.adm-checkbox.adm-checkbox-block {
display: flex;
}
.adm-checkbox.adm-checkbox-checked .adm-checkbox-icon {
border-color: var(--adm-color-primary);
background-color: var(--adm-color-primary);
}
.adm-checkbox.adm-checkbox-disabled {
cursor: not-allowed;
}
.adm-checkbox.adm-checkbox-disabled .adm-checkbox-content {
opacity: 0.4;
}
.adm-checkbox.adm-checkbox-disabled .adm-checkbox-icon.adm-checkbox-icon {
color: #b7b7b7;
border-color: var(--adm-color-light);
background-color: #f5f5f5;
}
.adm-checkbox .adm-checkbox-custom-icon {
font-size: var(--icon-size);
}
.adm-checkbox.adm-checkbox-indeterminate .adm-checkbox-icon {
background-color: #ffffff;
color: var(--adm-color-primary);
}
.adm-checkbox-content {
flex: 0 1 auto;
font-size: var(--font-size);
padding-left: var(--gap);
}
.adm-collapse-panel-header .adm-list-item-content-main {
padding: 12px 0;
}
.adm-collapse-arrow {
transform: rotate(0deg);
transition: all ease 0.3s;
}
.adm-collapse-arrow-active {
transform: rotate(-180deg);
}
.adm-collapse-panel-content {
font-size: var(--adm-font-size-main);
color: var(--adm-color-weak);
overflow: hidden;
}
.adm-dialog {
--z-index: var(--adm-dialog-z-index, 1000);
position: fixed;
z-index: var(--z-index);
}
.adm-dialog .adm-dialog-mask {
z-index: 0;
}
.adm-dialog-wrap {
position: fixed;
z-index: 1;
top: 50%;
left: 50%;
width: 75vw;
max-width: 500px;
transform: translate(-50%, -50%);
}
.adm-dialog-body {
width: 100%;
max-height: 70vh;
font-size: 14px;
background-color: white;
border-radius: 8px;
overflow: hidden;
display: flex;
flex-direction: column;
}
.adm-dialog-body > * {
flex: none;
}
.adm-dialog-body > .adm-dialog-content {
flex: auto;
}
.adm-dialog-body:not(.adm-dialog-with-image) {
padding-top: 20px;
}
.adm-dialog-body .adm-dialog-image-container {
margin-bottom: 12px;
max-height: 40vh;
}
.adm-dialog-body .adm-dialog-header {
margin-bottom: 8px;
padding: 0 12px;
}
.adm-dialog-body .adm-dialog-title {
margin-bottom: 8px;
padding: 0 12px;
font-weight: bold;
font-size: 18px;
line-height: 25px;
text-align: center;
}
.adm-dialog-body .adm-dialog-content {
padding: 0 12px 20px;
max-height: 70vh;
overflow-x: hidden;
overflow-y: auto;
font-size: 15px;
line-height: 1.4;
color: #333;
}
.adm-dialog-body .adm-dialog-content-empty {
padding: 0;
height: 12px;
}
.adm-dialog-body .adm-dialog-footer {
user-select: none;
}
.adm-dialog-body .adm-dialog-footer .adm-dialog-action-row {
display: flex;
align-items: stretch;
border-top: 0.5px solid var(--adm-border-color);
}
.adm-dialog-body .adm-dialog-footer .adm-dialog-action-row > * {
flex: 1;
}
.adm-dialog-body .adm-dialog-footer .adm-dialog-action-row > .adm-dialog-button {
padding: 10px;
font-size: 18px;
line-height: 25px;
border-radius: 0;
border-right: solid 0.5px var(--adm-border-color);
}
.adm-dialog-body .adm-dialog-footer .adm-dialog-action-row > .adm-dialog-button-bold {
font-weight: bold;
}
.adm-dialog-body .adm-dialog-footer .adm-dialog-action-row > .adm-dialog-button:last-child {
border-right: none;
}
.adm-dialog-image-container {
overflow-y: auto;
}
.adm-image {
--width: var(--adm-image-width, auto);
--height: var(--adm-image-height, auto);
width: var(--width);
height: var(--height);
display: block;
overflow: hidden;
}
.adm-image-img {
width: 100%;
height: 100%;
}
.adm-image-tip {
position: relative;
background-color: #f3f3f3;
height: 100%;
min-height: 24px;
min-width: 24px;
}
.adm-image-tip > .antd-mobile-icon {
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
color: var(--adm-color-weak);
}
.adm-divider {
display: flex;
align-items: center;
margin: 16px 0;
color: var(--adm-color-weak);
font-size: 14px;
border-width: 0;
border-color: var(--adm-border-color);
border-style: solid;
}
.adm-divider-left.adm-divider::before {
max-width: 10%;
}
.adm-divider-right.adm-divider::after {
max-width: 10%;
}
.adm-divider::after,
.adm-divider::before {
flex: auto;
display: block;
content: '';
border-style: inherit;
border-color: inherit;
border-width: 1px 0 0;
}
.adm-divider-content {
flex: none;
padding: 0 16px;
}
.adm-dropdown {
background-color: white;
}
.adm-dropdown .adm-dropdown-nav {
display: flex;
border-bottom: 1px solid transparent;
}
.adm-dropdown-open .adm-dropdown-nav {
border-bottom-color: var(--adm-border-color);
}
.adm-dropdown-item {
display: flex;
flex: 1;
justify-content: center;
min-width: 0;
cursor: pointer;
}
.adm-dropdown-item .adm-dropdown-item-title {
display: flex;
align-items: center;
position: relative;
max-width: 100%;
font-size: 13px;
padding: 12px;
}
.adm-dropdown-item .adm-dropdown-item-title-text {
margin-right: 5px;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
.adm-dropdown-item .adm-dropdown-item-title-arrow {
color: var(--adm-color-light);
font-size: 9px;
transform: rotate(0deg) translateY(-1px);
transition: all ease 0.2s;
}
.adm-dropdown-item .adm-dropdown-item-title-arrow-active {
transform: rotate(-180deg) translateY(-1px);
}
.adm-dropdown-item .adm-dropdown-item-title:active {
opacity: 0.7;
}
.adm-dropdown-item-highlight {
color: var(--adm-color-primary);
}
.adm-dropdown-item-active .adm-dropdown-item-title:after {
margin-top: -1px;
transform: rotate(135deg);
}
.adm-dropdown-item-content {
width: 100%;
background: white;
}
.adm-dropdown-item-content-hidden {
display: none;
}
.adm-dropdown-popup {
position: fixed;
overflow: hidden;
width: 100%;
right: 0;
bottom: 0;
left: 0;
}
.adm-dropdown-popup .adm-dropdown-popup-mask {
position: absolute;
}
.adm-dropdown-popup .adm-dropdown-popup-body {
position: absolute;
}
.adm-ellipsis {
overflow: hidden;
line-height: 1.5;
}
.adm-empty {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding: 24px 0;
}
.adm-empty-image-container {
display: flex;
justify-content: center;
}
.adm-empty-image-container .adm-empty-image {
width: 64px;
}
.adm-empty-description {
margin-top: 8px;
font-size: 14px;
color: var(--adm-color-light);
}
.adm-error-block {
--color: var(--adm-color-text);
--image-height: var(--adm-error-block-image-height, 100px);
--image-height-full-page: var(--adm-error-block-image-height-full-page, 200px);
--image-width: var(--adm-error-block-image-width, auto);
--image-width-full-page: var(--adm-error-block-image-width-full-page, auto);
box-sizing: border-box;
text-align: center;
}
.adm-error-block-image {
height: var(--image-height);
width: var(--image-width);
max-width: 100%;
}
.adm-error-block-image svg,
.adm-error-block-image img {
height: 100%;
}
.adm-error-block-description {
font-size: 12px;
color: #999;
line-height: 1.4;
margin-top: 12px;
}
.adm-error-block-description-title {
font-size: 15px;
}
.adm-error-block-description-subtitle {
margin-top: 8px;
}
.adm-error-block-content {
margin-top: 12px;
}
.adm-error-block-full-page {
padding-top: calc(50vh - var(--image-height-full-page));
}
.adm-error-block-full-page .adm-error-block-image {
height: var(--image-height-full-page);
width: var(--image-width-full-page);
}
.adm-error-block-full-page .adm-error-block-description {
margin-top: 20px;
font-size: 13px;
}
.adm-error-block-full-page .adm-error-block-description-title {
font-size: 20px;
color: #333;
}
.adm-floating-bubble {
--initial-position-left: var(--initial-position-left);
--initial-position-right: var(--initial-position-right);
--initial-position-top: var(--initial-position-top);
--initial-position-bottom: var(--initial-position-bottom);
--z-index: 1;
--edge-distance: 0;
--size: 48px;
--border-radius: 50%;
--background: var(--adm-color-primary);
}
.adm-floating-bubble-boundary-outer {
position: fixed;
left: 0;
top: 0;
width: 100vw;
height: 100vh;
padding: var(--edge-distance);
box-sizing: border-box;
pointer-events: none;
}
.adm-floating-bubble-boundary {
position: relative;
width: 100%;
height: 100%;
}
.adm-floating-bubble-button {
position: fixed;
top: var(--initial-position-top);
bottom: var(--initial-position-bottom);
left: var(--initial-position-left);
right: var(--initial-position-right);
box-sizing: border-box;
width: var(--size);
height: var(--size);
display: flex;
justify-content: center;
align-items: center;
overflow: hidden;
cursor: pointer;
transition: opacity ease 0.15s;
user-select: none;
touch-action: none;
background: var(--background);
color: var(--adm-color-white);
border-radius: var(--border-radius);
z-index: var(--z-index);
}
.adm-floating-panel {
--border-radius: 8px;
--header-height: 28px;
--z-index: var(--adm-floating-panel-z-index, 900);
border-top-left-radius: var(--border-radius);
border-top-right-radius: var(--border-radius);
background: var(--adm-color-white);
position: fixed;
z-index: var(--z-index);
bottom: 0;
left: 0;
width: 100vw;
display: flex;
flex-direction: column;
touch-action: none;
}
.adm-floating-panel-mask {
display: block;
width: 100%;
height: 100vh;
position: absolute;
left: 0;
top: -100vh;
background: transparent;
}
.adm-floating-panel::after {
content: '';
display: block;
position: absolute;
bottom: -100vh;
height: 100vh;
width: 100vw;
background: var(--adm-color-white);
}
.adm-floating-panel .adm-floating-panel-header {
flex: none;
height: var(--header-height);
display: flex;
justify-content: center;
align-items: center;
cursor: grab;
user-select: none;
}
.adm-floating-panel .adm-floating-panel-header .adm-floating-panel-bar {
height: 3px;
width: 20px;
border-radius: 10px;
background: var(--adm-color-light);
}
.adm-floating-panel .adm-floating-panel-content {
flex: 1;
overflow-y: scroll;
}
.adm-form {
--border-inner: solid 1px var(--adm-border-color);
--border-top: solid 1px var(--adm-border-color);
--border-bottom: solid 1px var(--adm-border-color);
---border-inner: var(--border-inner);
---border-top: var(--border-top);
---border-bottom: var(--border-bottom);
}
.adm-form .adm-list.adm-list {
--padding-left: 16px;
--padding-right: 12px;
--border-inner: var(---border-inner);
--border-top: var(---border-top);
--border-bottom: var(---border-bottom);
}
.adm-form .adm-form-footer {
padding: 20px 12px;
}
.adm-form-list-operation {
text-align: center;
color: #1677ff;
}
.adm-form-item + .adm-form-item {
border-top: none;
}
.adm-form-item-label {
display: block;
height: 100%;
line-height: 1.5;
box-sizing: border-box;
position: relative;
color: #666666;
}
.adm-form-item-label .adm-form-item-required-asterisk {
position: absolute;
left: -0.6em;
top: 0;
font-family: SimSun, sans-serif;
color: var(--adm-color-danger);
user-select: none;
}
.adm-form-item-label .adm-form-item-required-text {
margin-left: 4px;
color: var(--adm-color-weak);
}
.adm-form-item-label-help {
margin-left: 4px;
cursor: pointer;
}
.adm-form-item-child {
display: flex;
}
.adm-form-item-child-position-normal {
justify-content: normal;
}
.adm-form-item-child-position-normal > * {
flex: auto;
}
.adm-form-item-child-position-right {
justify-content: right;
}
.adm-form-item-child-position-right > * {
flex: none;
}
.adm-form-item-feedback-error {
color: var(--adm-color-danger);
margin-top: 4px;
}
.adm-form-item-feedback-warning {
color: var(--adm-color-warning);
margin-top: 4px;
}
.adm-form-item.adm-form-item-hidden {
display: none;
}
.adm-form-item.adm-form-item-horizontal.adm-list-item {
--align-items: stretch;
--prefix-width: 6em;
}
.adm-form-item.adm-form-item-horizontal .adm-list-item-content-prefix {
padding-top: 12px;
padding-bottom: 12px;
}
.adm-form-item.adm-form-item-horizontal .adm-list-item-content-extra {
align-self: center;
}
.adm-form-item.adm-form-item-vertical .adm-form-item-label {
font-size: 15px;
margin-bottom: 4px;
}
.adm-popover {
--z-index: var(--adm-popover-z-index, 1030);
--background: #ffffff;
--arrow-size: 8px;
--content-padding: 8px 12px;
position: absolute;
top: 0;
left: 0;
z-index: var(--z-index);
white-space: normal;
text-align: left;
cursor: auto;
user-select: text;
animation: none;
}
.adm-popover.adm-popover-dark {
--background: rgba(0, 0, 0, 0.75);
--adm-color-text: #ffffff;
color: white;
}
.adm-popover.adm-popover-dark .adm-popover-inner {
box-shadow: none;
}
.adm-popover::after {
position: absolute;
background: rgba(255, 255, 255, 0.01);
content: '';
}
.adm-popover-hidden {
display: none;
}
.adm-popover-inner {
background-color: var(--background);
background-clip: padding-box;
border-radius: 8px;
box-shadow: 0 0 30px 0 rgba(51, 51, 51, 0.2);
font-size: 15px;
min-width: 32px;
max-width: calc(100vw - 24px);
overflow-y: hidden;
}
.adm-popover-inner-content {
padding: var(--content-padding);
}
.adm-popover-arrow {
position: absolute;
display: block;
height: var(--arrow-size);
width: var(--arrow-size);
overflow: visible;
background: transparent;
}
.adm-popover-arrow-icon {
display: block;
height: var(--arrow-size);
width: 15px;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%) rotate(var(--arrow-icon-rotate));
}
.adm-popover .adm-popover-arrow {
color: var(--background);
}
.adm-popover-menu {
--border-color: var(--adm-border-color);
}
.adm-popover-menu.adm-popover {
--content-padding: 0;
}
.adm-popover-menu-list {
overflow: hidden;
min-width: 120px;
}
.adm-popover-menu-list-inner {
margin-top: -1px;
}
.adm-popover-menu-item {
display: flex;
padding-left: 20px;
justify-content: flex-start;
align-items: center;
position: relative;
}
.adm-popover-menu-item-icon {
flex: none;
padding-right: 8px;
font-size: 20px;
}
.adm-popover-menu-item-text {
flex: auto;
padding: 14px 20px 14px 0;
border-top: solid 1px var(--border-color);
}
.adm-popover-menu-item-disabled {
cursor: not-allowed;
}
.adm-popover-menu-item-disabled > * {
opacity: 0.4;
}
.adm-popover-menu-item:active:not(.adm-popover-menu-item-disabled) {
background-color: var(--border-color);
}
.adm-popover-menu-item:active:not(.adm-popover-menu-item-disabled)::after {
content: ' ';
display: block;
position: absolute;
width: 100%;
bottom: -1px;
left: 0;
border-bottom: solid 1px var(--border-color);
}
.adm-popover.adm-popover-dark.adm-popover-menu {
--border-color: #333333;
--background: rgba(0, 0, 0, 0.9);
}
.adm-grid {
--gap: 0;
--gap-horizontal: var(--gap);
--gap-vertical: var(--gap);
display: grid;
grid-gap: 10px;
column-gap: var(--gap-horizontal);
row-gap: var(--gap-vertical);
grid-template-columns: repeat(var(--columns), minmax(0, 1fr));
align-items: stretch;
}
.adm-grid-item {
grid-column-end: span var(--item-span);
}
.adm-image-viewer-content {
width: 100vw;
height: 100vh;
max-height: -webkit-fill-available;
touch-action: none;
user-select: none;
}
.adm-image-viewer-slides {
height: 100%;
position: relative;
z-index: 1;
cursor: grab;
touch-action: none;
}
.adm-image-viewer-slides-inner {
height: 100%;
white-space: nowrap;
}
.adm-image-viewer-slides-inner > * {
margin-right: 16px;
}
.adm-image-viewer-slide {
position: relative;
width: 100%;
height: 100%;
display: inline-block;
}
.adm-image-viewer-control {
position: absolute;
z-index: 1;
left: 0;
top: 0;
width: 100%;
height: 100%;
cursor: grab;
touch-action: none;
}
.adm-image-viewer-image-wrapper {
width: 100%;
height: 100%;
display: flex;
justify-content: center;
align-items: center;
}
.adm-image-viewer-image-wrapper img {
display: block;
max-width: 100%;
max-height: 100%;
}
.adm-image-viewer-indicator {
position: absolute;
z-index: 2;
left: 50%;
top: 12px;
transform: translateX(-50%);
color: #e6e6e6;
font-size: 14px;
}
.adm-spin-loading {
--color: var(--adm-color-weak);
--size: 32px;
--pi: 3.14159265;
--radius: 15;
--circumference: calc(var(--radius) * var(--pi) * 2);
width: var(--size);
height: var(--size);
}
.adm-spin-loading-svg {
width: 100%;
height: 100%;
animation: adm-spin-loading-rotate 0.8s infinite linear;
}
.adm-spin-loading-svg > .adm-spin-loading-fill {
stroke: var(--color);
}
@keyframes adm-spin-loading-rotate {
from {
transform: rotate(0deg);
}
to {
transform: rotate(360deg);
}
}
.adm-space-item {
flex: none;
}
.adm-space {
display: inline-flex;
--gap: 8px;
--gap-vertical: var(--gap);
--gap-horizontal: var(--gap);
}
.adm-space-vertical {
flex-direction: column;
}
.adm-space-vertical > .adm-space-item {
margin-bottom: var(--gap-vertical);
}
.adm-space-vertical > .adm-space-item:last-child {
margin-bottom: 0;
}
.adm-space-horizontal {
flex-direction: row;
}
.adm-space-horizontal > .adm-space-item {
margin-right: var(--gap-horizontal);
}
.adm-space-horizontal > .adm-space-item:last-child {
margin-right: 0;
}
.adm-space-horizontal.adm-space-wrap {
flex-wrap: wrap;
margin-bottom: calc(var(--gap-vertical) * -1);
}
.adm-space-horizontal.adm-space-wrap > .adm-space-item {
padding-bottom: var(--gap-vertical);
}
.adm-space.adm-space-block {
display: flex;
}
.adm-space-align-center {
align-items: center;
}
.adm-space-align-start {
align-items: flex-start;
}
.adm-space-align-end {
align-items: flex-end;
}
.adm-space-align-baseline {
align-items: baseline;
}
.adm-space-justify-center {
justify-content: center;
}
.adm-space-justify-start {
justify-content: flex-start;
}
.adm-space-justify-end {
justify-content: flex-end;
}
.adm-space-justify-between {
justify-content: space-between;
}
.adm-space-justify-around {
justify-content: space-around;
}
.adm-space-justify-evenly {
justify-content: space-evenly;
}
.adm-space-justify-stretch {
justify-content: stretch;
}
.adm-image-uploader {
--cell-size: 80px;
}
.adm-image-uploader-space {
--gap: 12px;
}
.adm-image-uploader-cell {
position: relative;
width: var(--cell-size);
height: var(--cell-size);
border-radius: 4px;
overflow: hidden;
}
.adm-image-uploader-cell-fail {
border: red solid 1px;
box-sizing: border-box;
}
.adm-image-uploader-cell-delete {
position: absolute;
top: 0;
right: 0;
width: 14px;
height: 14px;
background-color: rgba(0, 0, 0, 0.7);
border-radius: 0 0 0 12px;
font-size: 8px;
color: #fff;
cursor: pointer;
}
.adm-image-uploader-cell-delete-icon {
position: absolute;
left: 4px;
top: 3px;
}
.adm-image-uploader-cell-mask {
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
color: #fff;
background-color: rgba(50, 50, 51, 0.88);
}
.adm-image-uploader-cell-loading {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
height: 100%;
box-sizing: border-box;
padding-top: 8px;
}
.adm-image-uploader-cell-mask-message {
display: inline-block;
padding: 6px 4px;
font-size: 12px;
}
.adm-image-uploader-cell-image {
width: var(--cell-size);
height: var(--cell-size);
}
.adm-image-uploader-upload-button-wrap {
position: relative;
}
.adm-image-uploader-upload-button-wrap .adm-image-uploader-upload-button {
background-color: #f5f5f5;
text-align: center;
line-height: var(--cell-size);
display: block;
}
.adm-image-uploader-upload-button-wrap .adm-image-uploader-upload-button-icon {
color: #999999;
font-size: 32px;
}
.adm-image-uploader-upload-button-wrap .adm-image-uploader-input {
cursor: pointer;
position: absolute;
opacity: 0;
left: 0;
top: 0;
width: 100%;
height: 100%;
border-radius: 4px;
}
.adm-index-bar {
--color: var(--adm-color-text);
overflow: hidden;
height: 100%;
position: relative;
background-color: var(--adm-color-white);
--sticky-offset-top: 0;
}
.adm-index-bar-body {
overflow: scroll;
height: 100%;
width: 100%;
}
.adm-index-bar-body::-webkit-scrollbar {
display: none;
}
.adm-index-bar-anchor-title {
display: flex;
flex-direction: column;
justify-content: center;
height: 35px;
padding: 0 12px;
color: var(--adm-color-weak);
font-size: 13px;
background-color: #f5f5f5;
}
.adm-index-bar-sidebar {
position: absolute;
top: 50%;
right: 0;
transform: translateY(-50%);
z-index: 910;
overflow: visible;
color: var(--adm-color-weak);
font-size: 12px;
user-select: none;
touch-action: none;
}
.adm-index-bar-sidebar-bubble {
position: absolute;
top: 50%;
right: 42px;
width: 47px;
height: 47px;
color: var(--adm-color-white);
font-size: 25px;
line-height: 47px;
text-align: center;
background: var(--adm-color-light);
border-radius: 50%;
transform: translateY(-50%);
}
.adm-index-bar-sidebar-row {
cursor: pointer;
width: auto;
text-align: right;
position: relative;
padding: 0 12px;
}
.adm-index-bar-sidebar-row > * {
pointer-events: none;
}
.adm-index-bar-sidebar-item {
display: inline-flex;
width: 16px;
height: 16px;
line-height: 16px;
justify-content: center;
align-items: center;
}
.adm-index-bar-sidebar-item-active {
color: #fff;
background-color: var(--adm-color-primary);
border-radius: 50%;
}
.adm-index-bar-sidebar-interacting {
width: 100%;
}
.adm-index-bar-sticky .adm-index-bar-anchor-title {
position: sticky;
z-index: 900;
top: var(--sticky-offset-top);
left: 0;
}
.adm-infinite-scroll {
color: var(--adm-color-weak);
padding: 18px;
display: flex;
justify-content: center;
align-items: center;
font-size: 13px;
}
.adm-input {
--font-size: 17px;
--color: var(--adm-color-text);
--placeholder-color: var(--adm-color-light);
--text-align: left;
--background-color: transparent;
display: flex;
justify-content: flex-start;
align-items: center;
width: 100%;
max-width: 100%;
max-height: 100%;
min-height: 24px;
background-color: var(--background-color);
}
.adm-input-disabled {
opacity: 0.4;
cursor: not-allowed;
}
.adm-input-element {
flex: auto;
display: inline-block;
box-sizing: border-box;
width: 100%;
max-width: 100%;
max-height: 100%;
padding: 0;
margin: 0;
color: var(--color);
font-size: var(--font-size);
line-height: 1.5;
background: transparent;
border: 0;
outline: none;
appearance: none;
min-height: 1.5em;
text-align: var(--text-align);
}
.adm-input-element::placeholder {
color: var(--placeholder-color);
font-family: inherit;
}
.adm-input-element:-webkit-autofill {
background-color: transparent;
}
.adm-input-element:read-only {
cursor: default;
}
.adm-input-element:invalid {
box-shadow: none;
}
.adm-input-element::-ms-clear {
display: none;
}
.adm-input-element::-webkit-search-cancel-button {
display: none;
}
.adm-input-element::-webkit-search-decoration {
display: none;
}
.adm-input-element[type='date'],
.adm-input-element[type='time'],
.adm-input-element[type='datetime-local'] {
min-height: 1.5em;
}
.adm-input-element[type='search'] {
-webkit-appearance: none;
}
.adm-input-element[readonly] {
pointer-events: none;
}
.adm-input-clear {
flex: none;
margin-left: 8px;
color: var(--adm-color-light);
padding: 4px;
cursor: pointer;
}
.adm-input-clear:active {
color: var(--adm-color-weak);
}
.adm-input-clear .antd-mobile-icon {
display: block;
font-size: 15px;
}
.adm-jumbo-tabs {
--gap: 8px;
position: relative;
}
.adm-jumbo-tabs-header {
position: relative;
border-bottom: solid 1px var(--adm-border-color);
}
.adm-jumbo-tabs-tab-list {
display: flex;
flex-wrap: nowrap;
justify-content: flex-start;
align-items: center;
position: relative;
overflow-x: scroll;
padding: 0 var(--gap);
scrollbar-width: none;
}
.adm-jumbo-tabs-tab-list::-webkit-scrollbar {
display: none;
}
.adm-jumbo-tabs-tab-wrapper {
flex: auto;
padding: 0 calc(var(--gap) / 2);
text-align: center;
}
.adm-jumbo-tabs-tab {
display: flex;
flex-direction: column;
align-items: center;
position: relative;
width: min-content;
margin: 0 auto;
padding: 12px 0;
cursor: pointer;
font-size: 17px;
white-space: nowrap;
}
.adm-jumbo-tabs-tab-title {
line-height: 24px;
padding: 0 4px;
}
.adm-jumbo-tabs-tab-description {
width: min-content;
padding: 0 8px;
border-radius: 10px;
color: var(--adm-color-weak);
font-size: var(--adm-font-size-main);
background-color: #f5f5f5;
}
.adm-jumbo-tabs-tab-active {
color: var(--adm-color-primary);
}
.adm-jumbo-tabs-tab-active .adm-jumbo-tabs-tab-description {
color: #fff;
background-color: var(--adm-color-primary);
}
.adm-jumbo-tabs-tab-disabled {
opacity: 0.5;
cursor: not-allowed;
}
.adm-jumbo-tabs-content {
padding: 12px;
}
.adm-jumbo-tabs-header-mask {
position: absolute;
top: 0;
bottom: 0;
z-index: 1;
width: 30px;
height: 100%;
pointer-events: none;
}
.adm-jumbo-tabs-header-mask-left {
left: 0;
background: linear-gradient(to right, #fff, rgba(255, 255, 255, 0));
}
.adm-jumbo-tabs-header-mask-right {
right: 0;
background: linear-gradient(to left, #fff, rgba(255, 255, 255, 0));
}
.adm-modal {
--z-index: var(--adm-modal-z-index, 1000);
position: fixed;
z-index: var(--z-index);
}
.adm-modal .adm-modal-mask {
z-index: 0;
}
.adm-modal-wrap {
position: fixed;
z-index: 1;
top: 50%;
left: 50%;
width: auto;
min-width: 280px;
max-width: 75vw;
transform: translate(-50%, -50%);
}
.adm-modal-body {
width: 100%;
max-height: 70vh;
box-sizing: border-box;
font-size: 14px;
background-color: white;
border-radius: 8px;
overflow: hidden;
display: flex;
flex-direction: column;
}
.adm-modal-body > * {
flex: none;
}
.adm-modal-body > .adm-modal-content {
flex: auto;
}
.adm-modal-body:not(.adm-modal-with-image) {
padding-top: 20px;
}
.adm-modal-body .adm-modal-image-container {
margin-bottom: 12px;
max-height: 40vh;
overflow-y: scroll;
}
.adm-modal-body .adm-modal-header {
margin-bottom: 8px;
padding: 0 12px;
}
.adm-modal-body .adm-modal-title {
margin-bottom: 8px;
padding: 0 12px;
font-weight: bold;
font-size: 18px;
line-height: 25px;
text-align: center;
}
.adm-modal-body .adm-modal-content {
padding: 0 12px 12px;
max-height: 70vh;
overflow-x: hidden;
overflow-y: auto;
font-size: 15px;
line-height: 1.4;
color: #333;
}
.adm-modal-body .adm-modal-close {
position: absolute;
right: 8px;
top: 8px;
color: var(--adm-color-weak);
padding: 4px;
font-size: 18px;
}
.adm-modal-footer {
user-select: none;
padding: 8px 12px 12px;
}
.adm-modal-footer-empty {
padding: 0;
height: 8px;
}
.adm-modal-footer.adm-space {
--gap-vertical: 20px;
}
.adm-modal-footer .adm-modal-button {
font-size: 18px;
line-height: 25px;
}
.adm-modal-footer .adm-modal-button:not(.adm-modal-button-primary) {
padding-top: 0;
padding-bottom: 0;
}
.adm-modal-footer .adm-modal-button:not(.adm-modal-button-primary)::before {
display: none;
}
.adm-modal-footer .adm-modal-button:not(.adm-modal-button-primary):active {
opacity: 0.7;
}
.adm-nav-bar {
--height: 45px;
--border-bottom: none;
display: fl