bug 65156 neutral icon

This commit is contained in:
OVSharova
2023-12-26 21:46:13 +03:00
parent 321e0f724c
commit 1b799fb15f
8 changed files with 18 additions and 3 deletions

View File

@ -0,0 +1,12 @@
<svg width="24" height="30" viewBox="0 0 24 30" fill="none" xmlns="http://www.w3.org/2000/svg">
<g clip-path="url(#a)">
<path d="M1 1h14.3L23 8.703V29H1V1Z" fill="#fff"/>
<path d="M1 29V1h14.3L23 8.7V29H1ZM15.3 0H0v30h24V8.7L15.3 0Z" fill="#BFBFBF"/>
<path opacity=".3" d="M14 10V1h1v8h8v1h-9Z" fill="#000"/>
</g>
<defs>
<clipPath id="a">
<path fill="#fff" d="M0 0h24v30H0z"/>
</clipPath>
</defs>
</svg>

After

Width:  |  Height:  |  Size: 472 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.0 KiB

After

Width:  |  Height:  |  Size: 6.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.0 KiB

After

Width:  |  Height:  |  Size: 5.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 22 KiB

After

Width:  |  Height:  |  Size: 22 KiB

View File

@ -105,10 +105,10 @@
var _tpl = `<tr${id} class="${info.crypted ? `crypted${isSvgIcons ?'-svg':''}` : ''}">
<td class="row-cell cicon">
<i class="icon ${info.type=='folder'?'img-el folder':`img-format ${info.format}`}" />
<i class="icon ${info.type=='folder'?'img-el folder':`img-format ${info.format? info.format :'neutral' }`}" />
${!isSvgIcons ?'':
`<svg class = "icon ${info.type=='folder'?'folder':''}">
<use xlink:href="#${info.type=='folder'?'folder-small':`${info.format}`}"></use>
<use xlink:href="#${info.type=='folder'?'folder-small':`${info.format? info.format :'neutral'}`}"></use>
</svg>
${info.crypted?'<svg class = "shield"> <use xlink:href="#shield"></use></svg>':''}`
}

View File

@ -244,7 +244,7 @@ h4 {
.img-format {
background: -webkit-image-set(data-uri('formats.png') 1x, data-uri('formats@1.25x.png') 1.25x,
data-uri('formats@1.5x.png') 1.5x, data-uri('formats@1.75x.png') 1.75x, data-uri('formats@2x.png') 2x) no-repeat;
background-size: 1032px auto;
background-size: 1056px auto;
}
li.menu-item {
@ -727,6 +727,9 @@ li.menu-item {
&.md {
.format-from-index(42);
}
&.neutral {
.format-from-index(43);
}
&.folder {
height: 24px;