Skip to content

Commit

Permalink
[main] fix "recents" list icons
Browse files Browse the repository at this point in the history
  • Loading branch information
maxkadushkin committed Oct 9, 2024
1 parent 7995500 commit 09bf7f8
Show file tree
Hide file tree
Showing 4 changed files with 42 additions and 42 deletions.
36 changes: 18 additions & 18 deletions apps/documenteditor/main/resources/less/filemenu.less
Original file line number Diff line number Diff line change
Expand Up @@ -507,7 +507,7 @@
height: 100%;
div{
background: ~"url(@{common-image-const-path}/doc-formats/formats.png)";
background-size: 1056px 30px;
background-size: 1032px 30px;
&:not(.svg-file-recent) {
.pixel-ratio__1_25 & {
background-image: ~"url(@{common-image-const-path}/doc-formats/[email protected])";
Expand All @@ -534,7 +534,7 @@
.format-from-index(0);
}
&pdf {
.format-from-index(14);
.format-from-index(13);
}
&odt {
.format-from-index(2);
Expand All @@ -543,13 +543,13 @@
.format-from-index(4);
}
&dotx {
.format-from-index(21);
.format-from-index(20);
}
&pdfa {
.format-from-index(14);
.format-from-index(13);
}
&ott {
.format-from-index(24);
.format-from-index(23);
}
&rtf {
.format-from-index(3);
Expand All @@ -558,46 +558,46 @@
.format-from-index(1);
}
&docxf {
.format-from-index(29);
.format-from-index(28);
}
&oform {
.format-from-index(30);
.format-from-index(29);
}
&html, &htm {
.format-from-index(5);
}
&fb2 {
.format-from-index(20);
.format-from-index(19);
}
&epub {
.format-from-index(19);
.format-from-index(18);
}
&xps {
.format-from-index(16);
.format-from-index(15);
}
&xml {
.format-from-index(17);
.format-from-index(16);
}
&djvu {
.format-from-index(15);
.format-from-index(14);
}
&mht {
.format-from-index(18);
.format-from-index(17);
}
&docm {
.format-from-index(32);
.format-from-index(31);
}
&dotm {
.format-from-index(33);
.format-from-index(32);
}
&fodt {
.format-from-index(34);
.format-from-index(33);
}
&md {
.format-from-index(42);
.format-from-index(41);
}
&neutral {
.format-from-index(43);
.format-from-index(42);
}
}
.svg-file-recent {
Expand Down
8 changes: 4 additions & 4 deletions apps/pdfeditor/main/resources/less/filemenu.less
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,7 @@
height: 100%;
div{
background: ~"url(@{common-image-const-path}/doc-formats/formats.png)";
background-size: 1056px 30px;
background-size: 1032px 30px;
&:not(.svg-file-recent) {
.pixel-ratio__1_25 & {
background-image: ~"url(@{common-image-const-path}/doc-formats/[email protected])";
Expand All @@ -412,13 +412,13 @@
}
.img-format- {
&pdf, &pdfa {
.format-from-index(14);
.format-from-index(13);
}
&xps {
.format-from-index(16);
.format-from-index(15);
}
&djvu {
.format-from-index(15);
.format-from-index(14);
}
}
.svg-file-recent {
Expand Down
20 changes: 10 additions & 10 deletions apps/presentationeditor/main/resources/less/leftmenu.less
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@
height: 100%;
div{
background: ~"url(@{common-image-const-path}/doc-formats/formats.png)";
background-size: 1056px 30px;
background-size: 1032px 30px;
&:not(.svg-file-recent) {
.pixel-ratio__1_25 & {
background-image: ~"url(@{common-image-const-path}/doc-formats/[email protected])";
Expand Down Expand Up @@ -381,42 +381,42 @@
}

&pdf, &pdfa {
.format-from-index(14);
.format-from-index(13);
}

&odp {
.format-from-index(12);
}

&potx {
.format-from-index(23);
.format-from-index(22);
}

&otp {
.format-from-index(26);
.format-from-index(25);
}

&ppsx {
.format-from-index(28);
.format-from-index(27);
}

&ppt {
.format-from-index(11);
}
&pptm {
.format-from-index(38);
.format-from-index(37);
}
&ppsm {
.format-from-index(39);
.format-from-index(38);
}
&potm {
.format-from-index(40);
.format-from-index(39);
}
&fodp {
.format-from-index(41);
.format-from-index(40);
}
&.neutral {
.format-from-index(43);
.format-from-index(42);
}
}
.svg-file-recent {
Expand Down
20 changes: 10 additions & 10 deletions apps/spreadsheeteditor/main/resources/less/leftmenu.less
Original file line number Diff line number Diff line change
Expand Up @@ -571,7 +571,7 @@
height: 100%;
div{
background: ~"url(@{common-image-const-path}/doc-formats/formats.png)";
background-size: 1056px 30px;
background-size: 1032px 30px;
&:not(.svg-file-recent) {
.pixel-ratio__1_25 & {
background-image: ~"url(@{common-image-const-path}/doc-formats/[email protected])";
Expand All @@ -598,7 +598,7 @@
.format-from-index(6);
}
&pdf, &pdfa {
.format-from-index(14);
.format-from-index(13);
}
&ods {
.format-from-index(8);
Expand All @@ -607,31 +607,31 @@
.format-from-index(9);
}
&xltx {
.format-from-index(22);
.format-from-index(21);
}
&ots {
.format-from-index(25);
.format-from-index(24);
}
&xls {
.format-from-index(7);
}
&xps {
.format-from-index(16);
.format-from-index(15);
}
&xlsb {
.format-from-index(31);
.format-from-index(30);
}
&xltm {
.format-from-index(35);
.format-from-index(34);
}
&xlsm {
.format-from-index(36);
.format-from-index(35);
}
&fods {
.format-from-index(37);
.format-from-index(36);
}
&.neutral {
.format-from-index(43);
.format-from-index(42);
}
}
.svg-file-recent {
Expand Down

0 comments on commit 09bf7f8

Please sign in to comment.