.attachmentList.attachmentListCustom
{
.xf-minorBlockContent();
display: block;
padding: @xf-paddingSmall @xf-paddingLarge;
margin-top: @xf-elementSpacer;
.file
{
display: flex;
width: auto;
background-color: transparent;
border-width: 0;
padding: @xf-paddingSmall 0;
margin: 0;
position: relative;
flex-direction: row;
align-items: center;
&:hover .file-content .file-name
{
color: @xf-linkHoverColor;
}
&:after
{
padding-bottom: 0;
}
.file-preview
{
display: inline-block;
&:before
{
width: 100%;
height: 100%;
position: absolute;
content: "";
}
.file-typeIcon
{
font-size: 20px;
}
}
.file-content
{
display: block;
.file-info
{
background: transparent;
border-width: 0;
text-shadow: none;
color: @xf-textColor;
line-height: 1;
> *
{
display: inline-block;
}
.file-name
{
color: @xf-linkColor;
}
.file-meta
{
color: @xf-textColorMuted;
}
}
}
.file-preview, .file-content, .file-info
{
position: static;
height: auto;
width: auto;
}
}
}