Skip to content

Commit

Permalink
feat(documents): add download icon for documents (#1216)
Browse files Browse the repository at this point in the history
  • Loading branch information
koke228666 authored Jan 30, 2025
1 parent 4166481 commit 228f14e
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
10 changes: 10 additions & 0 deletions Web/static/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -4173,6 +4173,16 @@ hr {
color: #6b6b6b;
}

.doc_icon.no_image span::before {
content: '';
display: inline-block;
width: 10px;
height: 10px;
background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAKCAYAAABmBXS+AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsIAAA7CARUoSoAAAABYSURBVChTY2RAAvNnzmwBUtVA3JqYnl4DFgQCJigNAyAFyDQYoCvCCohSxAh0x38oGydANwmmAUUjE9AXKD5EByB5uAIka0E0WBxmAHo4wa3BawOmRxgYAOA2GQMa5cgCAAAAAElFTkSuQmCC");
transform: translateY(2px) translateX(-3px);
background-repeat: no-repeat;
}

.docListViewItem .doc_icon img {
width: 100%;
height: 100%;
Expand Down
4 changes: 4 additions & 0 deletions themepacks/midnight/stylesheet.css
Original file line number Diff line number Diff line change
Expand Up @@ -656,3 +656,7 @@ ul {
.docListViewItem .doc_content b {
color: #7c94c5;
}

.doc_icon.no_image span::before {
background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAKCAYAAABmBXS+AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsAAAA7AAWrWiQkAAABXSURBVChTY2RAAoFe9ZuEBOR93314uHn9tkY/qDADE5QGA5ACZBoGUBThAkQpYkyOmvcfysYJiDMJROAzbe6yJEZ4EGBTCFIAolHCCVkhTAFWgGkiAwMAzxkZ3qVQ7YEAAAAASUVORK5CYII=");
}

0 comments on commit 228f14e

Please sign in to comment.