@aplus-frontend/ui
Version:
155 lines (154 loc) • 3.85 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-check-card {
box-sizing: border-box;
margin: 0;
padding: 0;
color: #182948;
font-size: 12px;
font-family: inherit;
line-height: 18px;
list-style: none;
border-radius: 4px;
position: relative;
}
.aplus-check-card--disabled {
background-color: #F9F9FA;
cursor: not-allowed ;
}
.aplus-check-card--bordered {
outline: 1px solid var(--ap-border-color-base);
}
.aplus-check-card:hover:not(.aplus-check-card--disabled) {
cursor: pointer;
outline: 1px solid var(--ap-color-primary);
}
.aplus-check-card::after {
content: '';
position: absolute;
width: 0;
height: 0;
opacity: 0;
inset-block-start: -2px;
inset-inline-end: -2px;
border-inline-start: var(--check-card-indicator-size, 14px) solid transparent;
border-block-end: var(--check-card-indicator-size, 14px) solid transparent;
border-radius: 4px;
}
.aplus-check-card--checked {
outline: 2px solid var(--ap-color-primary);
}
.aplus-check-card--checked:hover:not(.aplus-check-card--disabled) {
outline: 2px solid var(--ap-color-primary);
}
.aplus-check-card--checked::after {
opacity: 1;
border: var(--check-card-indicator-size, 14px) solid var(--ap-color-primary);
border-inline-start: var(--check-card-indicator-size, 14px) solid transparent;
border-block-end: var(--check-card-indicator-size, 14px) solid transparent;
inset-block-start: -2px;
inset-inline-end: -2px;
transition: all 0.2s cubic-bezier(0.645, 0.045, 0.355, 1);
}
.aplus-check-card--checked.aplus-check-card--disabled {
outline-color: #E9EDF3;
}
.aplus-check-card--checked.aplus-check-card--disabled::after {
border: var(--check-card-indicator-size, 14px) solid #E9EDF3;
border-inline-start: var(--check-card-indicator-size, 14px) solid transparent;
border-block-end: var(--check-card-indicator-size, 14px) solid transparent;
}
.aplus-check-card--middle {
padding: 12px;
}
.aplus-check-card--small {
padding: 6px 12px;
}
.aplus-check-card__title {
box-sizing: border-box;
margin: 0;
padding: 0;
color: #182948;
font-size: 12px;
font-family: inherit;
line-height: 18px;
list-style: none;
margin-bottom: 4px;
color: #333;
font-weight: bold;
}
.aplus-check-card__title--disabled {
color: #ABB7CC;
}
.aplus-check-card__content {
box-sizing: border-box;
margin: 0;
padding: 0;
color: #182948;
font-size: 12px;
font-family: inherit;
line-height: 18px;
list-style: none;
color: #333;
}
.aplus-check-card__content--disabled {
color: #ABB7CC;
}
.aplus-check-card__checked-icon {
position: absolute;
top: 0;
right: 0;
z-index: 1;
line-height: 1;
-webkit-user-select: none;
-moz-user-select: none;
user-select: none;
}
.aplus-check-card__checked-icon > img {
width: calc(var(--check-card-indicator-size, 14px) - 2px);
vertical-align: top;
}