@aplus-frontend/ui
Version:
173 lines (172 loc) • 3.78 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-ap-select-layout {
display: flex;
height: 100%;
width: 100%;
}
.aplus-ap-select-layout .v-enter-active,
.aplus-ap-select-layout .v-leave-active {
transition: all 0.2s, background 0s;
}
.aplus-ap-select-layout .v-enter-from,
.aplus-ap-select-layout .v-leave-to {
width: 0;
min-width: 0;
max-width: 0;
margin-right: 0;
}
.aplus-ap-select-layout-side {
display: flex;
flex-direction: column;
width: 214px;
min-width: 214px;
max-width: 214px;
margin-right: 16px;
overflow: hidden;
background-color: #fff;
}
.aplus-ap-select-layout-side__header {
display: flex;
align-items: center;
justify-content: space-between;
padding: 12px 16px;
border-bottom: 1px solid #e9e9e9;
overflow: hidden;
white-space: nowrap;
}
.aplus-ap-select-layout-side__header > h3 {
margin: 0;
color: #333;
font-size: 14px;
font-weight: bold;
line-height: 22px;
}
.aplus-ap-select-layout-side__header--imgWrap {
border-radius: 2px;
cursor: pointer;
font-size: 20px;
color: #999;
display: flex;
height: 20px;
}
.aplus-ap-select-layout-side__header--imgWrap:hover {
background: #f5f5f5;
}
.aplus-ap-select-layout-side__header--imgWrap > img {
width: 24px;
height: 24px;
}
.aplus-ap-select-layout-side__body {
position: relative;
flex: 1;
}
.aplus-ap-select-layout-side__body--search {
margin: 10px 0;
padding: 0 16px;
}
.aplus-ap-select-layout-side__body--scroll {
position: absolute;
inset: 52px 0 0;
overflow-y: auto;
padding: 0 16px;
}
.aplus-ap-select-layout-side__body--scroll-item {
margin-bottom: 8px;
padding: 8px 12px;
overflow: hidden;
color: #333;
line-height: 22px;
width: calc(214px - 32px);
text-overflow: ellipsis;
text-wrap: nowrap;
cursor: pointer;
border-radius: 4px;
}
.aplus-ap-select-layout-side__body--scroll-item:hover {
background: #f5f5f5;
}
.aplus-ap-select-layout-side__body--scroll-item.active {
background-color: #e4faf1;
color: #34b77c;
font-weight: bold;
}
.aplus-ap-select-layout-side__body--scroll-item.active > .ant-typography {
color: #34b77c;
}
.aplus-ap-select-layout-content {
flex: 1;
overflow-x: hidden;
display: flex;
flex-direction: column;
}
.aplus-ap-select-layout-content__header {
display: flex;
align-items: center;
height: 32px;
padding: 16px 16px 0;
box-sizing: content-box;
background: #fff;
}
.aplus-ap-select-layout-content__header--imgWrap {
margin-right: 10px;
border-radius: 2px;
cursor: pointer;
font-size: 20px;
display: flex;
height: 20px;
color: #999;
}
.aplus-ap-select-layout-content__header--imgWrap:hover {
background: #f5f5f5;
}
.aplus-ap-select-layout-content__header--title {
margin: 0;
font-size: 14px;
font-weight: bold;
line-height: 22px;
}