@aplus-frontend/ui
Version:
510 lines (509 loc) • 12.8 kB
CSS
.reset-component {
box-sizing: border-box;
margin: 0;
padding: 0;
color: #182948;
font-size: 12px;
font-family: inherit;
line-height: 18px;
list-style: none;
}
.reset-scrollbar ::-webkit-scrollbar {
width: 10px;
height: 10px;
}
.reset-scrollbar ::-webkit-scrollbar-thumb {
background-color: var(--ap-scrollbar-thumb-color-base);
background-clip: content-box;
border: 1px solid transparent;
border-radius: 4px;
}
.reset-scrollbar ::-webkit-scrollbar-track,
.reset-scrollbar ::-webkit-scrollbar-corner {
background-color: var(--ap-table-header-bg, #f2f6f9);
}
.reset-scrollbar ::-webkit-scrollbar-thumb:hover,
.reset-scrollbar ::-webkit-scrollbar-thumb:active {
background-color: var(--ap-scrollbar-thumb-color-hover);
}
.clear-fix::before {
display: table;
content: '';
}
.clear-fix::after {
display: table;
clear: both;
content: '';
}
.common-style {
box-sizing: border-box;
font-size: 12px;
font-family: inherit;
}
.common-style::before,
.common-style::after {
box-sizing: border-box;
}
.aplus-pro-card {
position: relative;
display: flex;
flex-direction: column;
box-sizing: border-box;
padding: 0;
width: 100%;
transition: all 0.3s;
background: var(--ap-pro-card-color-bg-container);
border-radius: var(--ap-pro-card-border-radius);
font-size: 12px;
line-height: 18px;
}
.aplus-pro-card-border {
border: var(--ap-pro-card-border-line-width) var(--ap-pro-card-border-line-type) var(--ap-pro-card-border-color-split);
}
.aplus-pro-card-box-shadow {
border-color: transparent;
box-shadow: var(--ap-pro-card-box-shadow);
}
.aplus-pro-card-hoverable {
cursor: pointer;
transition: box-shadow 0.3s, border-color 0.3s;
}
.aplus-pro-card-hoverable:hover {
border-color: transparent;
box-shadow: var(--ap-pro-card-box-shadow);
}
.aplus-pro-card-header {
display: flex;
align-items: center;
padding: var(--ap-pro-card-header-padding);
}
.aplus-pro-card-header-title {
display: flex;
font-size: var(--ap-pro-card-header-title-font-size);
color: var(--ap-pro-card-header-title-font-color);
font-weight: 500;
}
.aplus-pro-card-header-title-tooltip {
margin-left: 5px;
font-size: 12px;
color: var(--ap-pro-card-tooltip-color);
}
.aplus-pro-card-header-extra {
margin-inline-start: auto;
}
.aplus-pro-card-header-border {
padding-block-end: var(--ap-pro-card-header-padding-bottom);
border-block-end: var(--ap-pro-card-border-line-width) var(--ap-pro-card-border-line-type) var(--ap-pro-card-border-color-split);
}
.aplus-pro-card-header-collapsible {
cursor: pointer;
}
.aplus-pro-card-collapsible-icon {
margin-inline-end: 4px;
color: var(--ap-pro-card-header-title-font-color);
font-size: 14px;
transition: transform 0.3s;
}
.aplus-pro-card-collapsible-icon:hover {
color: var(--ap-hover-color-base);
}
.aplus-pro-card-collapsible-icon.aplus-frontend-icon {
display: flex;
align-items: center;
justify-content: center;
}
.aplus-pro-card-type-inner > .aplus-pro-card-header {
background: var(--ap-pro-card-area-color);
}
.aplus-pro-card-body {
display: block;
box-sizing: border-box;
height: 100%;
padding: var(--ap-pro-card-body-padding);
}
.aplus-pro-card-body-center {
display: flex;
align-items: center;
justify-content: center;
}
.aplus-pro-card-body-direction-column {
flex-direction: column;
}
.aplus-pro-card-body-wrap {
flex-wrap: wrap;
}
.aplus-pro-card-contain-card > .aplus-pro-card-body {
display: flex;
}
.aplus-pro-card-split > .aplus-pro-card-body {
padding: 0;
}
.aplus-pro-card-ghost {
background: transparent;
}
.aplus-pro-card-ghost > .aplus-pro-card-body {
background: transparent;
padding: 0;
}
.aplus-pro-card-col {
width: 100%;
}
.aplus-pro-card-col-split-vertical {
position: relative;
}
.aplus-pro-card-col-split-vertical::after {
position: absolute;
height: var(--ap-pro-card-split-line-height);
top: 50%;
transform: translateY(-50%);
right: 0;
border-right: var(--ap-pro-card-border-line-width) var(--ap-pro-card-border-line-type) var(--ap-pro-card-border-color-split);
content: '';
}
.aplus-pro-card-col-split-horizontal {
position: relative;
}
.aplus-pro-card-col-split-horizontal::after {
position: absolute;
width: var(--ap-pro-card-split-line-height);
left: 50%;
transform: translateX(-50%);
bottom: 0;
border-bottom: var(--ap-pro-card-border-line-width) var(--ap-pro-card-border-line-type) var(--ap-pro-card-border-color-split);
content: '';
}
.aplus-pro-card-col-span-0 {
display: none;
}
.aplus-pro-card-col-span-1 {
flex-shrink: 0;
width: calc((1 / 24) * 100%);
}
.aplus-pro-card-col-span-2 {
flex-shrink: 0;
width: calc((2 / 24) * 100%);
}
.aplus-pro-card-col-span-3 {
flex-shrink: 0;
width: calc((3 / 24) * 100%);
}
.aplus-pro-card-col-span-4 {
flex-shrink: 0;
width: calc((4 / 24) * 100%);
}
.aplus-pro-card-col-span-5 {
flex-shrink: 0;
width: calc((5 / 24) * 100%);
}
.aplus-pro-card-col-span-6 {
flex-shrink: 0;
width: calc((6 / 24) * 100%);
}
.aplus-pro-card-col-span-7 {
flex-shrink: 0;
width: calc((7 / 24) * 100%);
}
.aplus-pro-card-col-span-8 {
flex-shrink: 0;
width: calc((8 / 24) * 100%);
}
.aplus-pro-card-col-span-9 {
flex-shrink: 0;
width: calc((9 / 24) * 100%);
}
.aplus-pro-card-col-span-10 {
flex-shrink: 0;
width: calc((10 / 24) * 100%);
}
.aplus-pro-card-col-span-11 {
flex-shrink: 0;
width: calc((11 / 24) * 100%);
}
.aplus-pro-card-col-span-12 {
flex-shrink: 0;
width: calc((12 / 24) * 100%);
}
.aplus-pro-card-col-span-13 {
flex-shrink: 0;
width: calc((13 / 24) * 100%);
}
.aplus-pro-card-col-span-14 {
flex-shrink: 0;
width: calc((14 / 24) * 100%);
}
.aplus-pro-card-col-span-15 {
flex-shrink: 0;
width: calc((15 / 24) * 100%);
}
.aplus-pro-card-col-span-16 {
flex-shrink: 0;
width: calc((16 / 24) * 100%);
}
.aplus-pro-card-col-span-17 {
flex-shrink: 0;
width: calc((17 / 24) * 100%);
}
.aplus-pro-card-col-span-18 {
flex-shrink: 0;
width: calc((18 / 24) * 100%);
}
.aplus-pro-card-col-span-19 {
flex-shrink: 0;
width: calc((19 / 24) * 100%);
}
.aplus-pro-card-col-span-20 {
flex-shrink: 0;
width: calc((20 / 24) * 100%);
}
.aplus-pro-card-col-span-21 {
flex-shrink: 0;
width: calc((21 / 24) * 100%);
}
.aplus-pro-card-col-span-22 {
flex-shrink: 0;
width: calc((22 / 24) * 100%);
}
.aplus-pro-card-col-span-23 {
flex-shrink: 0;
width: calc((23 / 24) * 100%);
}
.aplus-pro-card-col-span-24 {
flex-shrink: 0;
width: calc((24 / 24) * 100%);
}
.aplus-pro-card-actions {
border-block-start: var(--ap-pro-card-border-line-width) var(--ap-pro-card-border-line-type) var(--ap-pro-card-border-color-split);
background: var(--ap-pro-card-color-bg-container);
padding: var(--ap-pro-card-actions-padding);
}
.aplus-pro-card-collapsed > .aplus-pro-card-header {
padding-block-end: var(--ap-pro-card-header-padding-bottom);
border-block-end: 0;
}
.aplus-pro-card-collapsed > .aplus-pro-card-body {
display: none;
}
.aplus-pro-card-title-default {
position: relative;
font-weight: bold;
font-size: 12px;
display: flex;
align-items: center;
}
.aplus-pro-card-title-default-aplus {
padding-left: 10px;
}
.aplus-pro-card-title-default-aplus::before {
position: absolute;
content: '';
left: 0;
top: 50%;
transform: translateY(-50%);
width: 3px;
height: 14px;
background: #0070ff;
border-radius: 0px 4px 4px 0px;
}
.aplus-pro-card-title-default-admin {
padding-left: 14px;
}
.aplus-pro-card-title-default-admin::before {
position: absolute;
content: '';
left: 0;
top: 50%;
transform: translateY(-50%);
width: 8px;
height: 8px;
border-radius: 50%;
border-width: 2px;
border-style: solid;
border-color: #34b77c;
background: #fff;
}
.aplus-pro-card-divider {
flex: none;
background: var(--ap-pro-card-border-color-split);
}
.aplus-pro-card-divider-vertical {
position: relative;
margin-inline: 8px;
}
.aplus-pro-card-divider-vertical::after {
position: absolute;
height: var(--ap-pro-card-divider-line-height);
top: 50%;
transform: translateY(-50%);
right: 0;
border-right: var(--ap-pro-card-border-line-width) var(--ap-pro-card-border-line-type) var(--ap-pro-card-border-color-split);
content: '';
}
.aplus-pro-card-divider-horizontal {
position: relative;
margin-block: 8px;
}
.aplus-pro-card-divider-horizontal::after {
position: absolute;
width: var(--ap-pro-card-divider-line-height);
left: 50%;
transform: translateX(-50%);
bottom: 0;
border-bottom: var(--ap-pro-card-border-line-width) var(--ap-pro-card-border-line-type) var(--ap-pro-card-border-color-split);
content: '';
}
.aplus-pro-card-operation {
display: flex;
flex-direction: column;
justify-content: center;
margin-inline: 0;
font-weight: 500;
font-size: 20px;
line-height: 26px;
}
.aplus-pro-card-statistic {
display: flex;
}
.aplus-pro-card-statistic + .aplus-pro-card-statistic {
margin-block-start: 4px;
}
.aplus-pro-card-statistic-tip {
margin-inline-start: 4px;
color: var(--ap-text-color-3);
}
.aplus-pro-card-statistic-wrapper {
display: flex;
width: 100%;
}
.aplus-pro-card-statistic-status {
width: 14px;
}
.aplus-pro-card-statistic-status.ant-badge.ant-badge-status {
line-height: 18px;
}
.aplus-pro-card-statistic-icon {
margin-inline-end: 16px;
}
.aplus-pro-card-statistic-trend-icon {
width: 0;
height: 0;
border-inline-end: 3px solid transparent;
border-block-end: 6px solid #000;
border-inline-start: 3px solid transparent;
}
.aplus-pro-card-statistic-trend-icon-up {
transform: rotate(0deg) translateY(-1px);
}
.aplus-pro-card-statistic-trend-icon-down {
transform: rotate(180deg) translateY(1px);
}
.aplus-pro-card-statistic-content {
width: 100%;
}
.aplus-pro-card-statistic-content .ant-statistic-content {
font-size: 20px;
line-height: 24px;
font-weight: bold;
}
.aplus-pro-card-statistic-description {
width: 100%;
margin-top: 4px;
}
.aplus-pro-card-statistic .ant-statistic-title {
color: var(--ap-text-color-1);
font-size: 12px;
line-height: 18px;
margin-bottom: 8px;
}
.aplus-pro-card-statistic-size-small .ant-statistic-title {
margin-bottom: 4px;
}
.aplus-pro-card-statistic-size-small .ant-statistic-content {
font-size: 16px;
line-height: 22px;
}
.aplus-pro-card-statistic-trend-up .ant-statistic-content {
color: var(--ap-color-error);
}
.aplus-pro-card-statistic-trend-up .aplus-pro-card-statistic-trend-icon {
border-block-end-color: var(--ap-color-error);
}
.aplus-pro-card-statistic-trend-down .ant-statistic-content {
color: var(--ap-color-success);
}
.aplus-pro-card-statistic-trend-down .aplus-pro-card-statistic-trend-icon {
border-block-end-color: var(--ap-color-success);
}
.aplus-pro-card-statistic .aplus-pro-card-statistic-layout-horizontal {
display: flex;
justify-content: space-between;
}
.aplus-pro-card-statistic .aplus-pro-card-statistic-layout-horizontal .ant-statistic-title {
margin-block-end: 0;
color: var(--ap-text-color-3);
}
.aplus-pro-card-statistic .aplus-pro-card-statistic-layout-horizontal .ant-statistic-content {
color: var(--ap-text-color-2);
font-size: 12px;
line-height: 18px;
font-weight: 500;
}
.aplus-pro-card-statistic .aplus-pro-card-statistic-layout-horizontal .ant-statistic-title {
font-size: 12px;
line-height: 18px;
font-weight: 500;
}
.aplus-pro-card-statistic .aplus-pro-card-statistic-layout-inline {
display: inline-flex;
}
.aplus-pro-card-statistic .aplus-pro-card-statistic-layout-inline .ant-statistic-title {
margin-inline-end: 6px;
margin-block-end: 0;
color: var(--ap-text-color-3);
}
.aplus-pro-card-statistic .aplus-pro-card-statistic-layout-inline .ant-statistic-content {
color: var(--ap-text-color-2);
font-size: 12px;
line-height: 18px;
font-weight: 500;
}
.aplus-pro-card-statistic .aplus-pro-card-statistic-layout-inline .ant-statistic-title {
font-size: 12px;
line-height: 18px;
font-weight: 500;
}
.aplus-pro-card-statistic .aplus-pro-card-statistic-layout-vertical-center {
display: flex;
flex-direction: column;
align-items: center;
}
.aplus-statistic-card-chart {
display: flex;
flex-direction: column;
margin-block-start: 8px;
margin-block-end: 8px;
}
.aplus-statistic-card-chart-left {
margin-block-start: 0;
margin-inline-end: 16px;
}
.aplus-statistic-card-chart-right {
margin-block-start: 0;
margin-inline-start: 16px;
}
.aplus-statistic-card-content {
display: flex;
flex-direction: column;
}
.aplus-statistic-card-content-horizontal {
flex-direction: row;
}
.aplus-statistic-card-chart {
width: 100%;
align-items: center;
align-self: flex-start;
}
.aplus-statistic-card-footer {
margin-block-start: 8px;
padding-block-start: 16px;
border-block-start: var(--ap-pro-card-border-line-width) var(--ap-pro-card-border-line-type) var(--ap-pro-card-border-color-split);
}