css: add pdf icon class

This commit is contained in:
occheung 2022-01-18 17:19:43 +08:00
parent b9751f7f63
commit a2217c1d5b
2 changed files with 9 additions and 0 deletions

View File

@ -233,4 +233,13 @@ a[aria-expanded='true']:after {
border: 1px solid $btn-primary-2 !important; border: 1px solid $btn-primary-2 !important;
background-color: transparent !important; background-color: transparent !important;
color: $btn-primary-2 !important; color: $btn-primary-2 !important;
}
.doc-icon {
background: url('../images/pdf-icon.png');
height: 24px;
width: 24px;
margin-right: 12px;
display: block;
float: left;
} }

BIN
static/images/pdf-icon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 584 B