@aplus-frontend/ui
Version:
86 lines (84 loc) • 1.86 kB
text/less
@import '../mixins/config.less';
@import '../mixins/mixins.less';
.b(ap-appendix,{
&__suffix{
width: 100%;
display: flex;
align-items: center;
}
&__download-all {
margin-left: auto;
padding: 0;
height: min-content;
}
&__file-area {
margin-top: 12px;
&--border{
border: 1px dashed var(--ap-border-color-base);
padding: 12px;
border-radius: 4px;
}
&-content {
display: grid;
gap: 16px 80px;
grid-template-columns: var(--ap-appendix-column,repeat(2, 1fr));
&-item {
overflow: hidden;
user-select: none;
&-content{
display: flex;
align-items: center;
width: max-content;
cursor: pointer;
max-width: 100%;
}
&-icon{
margin-right: 8px;
svg{
width: 16px;
color: var(--ap-text-color-4);
}
}
&-file-name{
min-width: 0;
overflow: hidden;
width: max-content;
display: flex;
align-items: center;
.ant-typography{
font-size: @font-size-base;
line-height: @line-height-base;
color: var(--ap-text-color-2);
transition: color 0.2s;
}
}
&-content:hover{
.ant-typography{
color: var(--ap-color-link);
}
}
&--loading{
&-content{
cursor: not-allowed;
}
.ant-typography{
color: var(--ap-text-color-4);
}
&-content:hover{
.ant-typography{
color: var(--ap-text-color-4);
}
}
}
}
}
}
&__empty{
.ant-empty {
margin: 0;
&-description {
margin-bottom: 0;
}
}
}
});