Bug 64442

This commit is contained in:
OVSharova
2023-10-04 01:47:39 +03:00
parent 25cb66002e
commit b7db77fe7d
2 changed files with 45 additions and 8 deletions

View File

@ -1,9 +1,12 @@
<svg width="15" height="15" viewBox="0 0 15 15" fill="none" xmlns="http://www.w3.org/2000/svg">
<svg width="24" height="30" viewBox="0 0 24 30" fill="none" xmlns="http://www.w3.org/2000/svg">
<rect width="15" height="15" fill="white"/>
<rect width="15" height="15" rx="1" fill="#446995"/>
<rect x="3" y="4" width="9" height="1" fill="white"/>
<rect x="3" y="7" width="9" height="1" fill="white"/>
<rect x="3" y="10" width="9" height="1" fill="white"/>
<path d="M0 1 Q 0 0 1 0 h15 L 24 8 v20 Q 24 30 23 30 h-22 Q 0 30 0 29z" fill="#white"/>
<path d="M0 1 Q 0 0 1 0 h15 L 24 8 v20 Q 24 30 23 30 h-22 Q 0 30 0 29z" fill="#446995"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M15 0 L15 8 Q 15 9 16 9 L 24 9 L 24 8 L 16 0z M16 0 L16 7 Q 16 8 17 8 L 24 8" fill="white"/>
<rect x="4" y="14" width="16" height="1" fill="white"/>
<rect x="4" y="17" width="16" height="1" fill="white"/>
<rect x="4" y="20" width="16" height="1" fill="white"/>
<rect x="4" y="23" width="16" height="1" fill="white"/>
</svg>

Before

Width:  |  Height:  |  Size: 365 B

After

Width:  |  Height:  |  Size: 680 B

View File

@ -439,12 +439,45 @@
.recent-icon {
display: inline-block;
width: 25px;
height: 25px;
.float-left();
width: 24px;
height: 30px;
margin-top: 1px;
div {
width: 100%;
height: 100%;
div{
background: ~"url(@{common-image-const-path}/doc-formats/formats.png)";
background-size: 744px 30px;
&:not(.svg-file-recent) {
.pixel-ratio__1_25 & {
background-image: ~"url(@{common-image-const-path}/doc-formats/formats@1.25x.png)";
}
.pixel-ratio__1_5 & {
background-image: ~"url(@{common-image-const-path}/doc-formats/formats@1.5x.png)";
}
.pixel-ratio__1_75 & {
background-image: ~"url(@{common-image-const-path}/doc-formats/formats@1.75x.png)";
}
.pixel-ratio__2 & {
background-image: ~"url(@{common-image-const-path}/doc-formats/formats@2x.png)";
}
}
}
.img-format- {
&pdf, &pdfa {
background-position: 408px 0px;
}
&xps {
background-position: 360px 0px;
}
&djvu {
background-position: 384px 0px;
}
}
.svg-file-recent {
background: ~"url(@{app-image-const-path}/recent-file.svg) no-repeat top";
}
@ -453,6 +486,7 @@
> div:not(:first-child) {
display: block;
.padding-left-10();
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;