[all] refactoring styles

This commit is contained in:
Maxim Kadushkin 2022-03-29 00:41:43 +03:00
parent 815f4a5e1a
commit f29df7bd0c
3 changed files with 99 additions and 93 deletions

View file

@ -100,48 +100,50 @@
height: 125px; height: 125px;
cursor: pointer; cursor: pointer;
.svg-format-docx { .svg-format- {
&docx {
background: ~"url(../../../apps/common/main/resources/img/doc-formats/docx.svg) no-repeat center"; background: ~"url(../../../apps/common/main/resources/img/doc-formats/docx.svg) no-repeat center";
} }
.svg-format-pdf { &pdf {
background: ~"url(../../../apps/common/main/resources/img/doc-formats/pdf.svg) no-repeat center"; background: ~"url(../../../apps/common/main/resources/img/doc-formats/pdf.svg) no-repeat center";
} }
.svg-format-odt { &odt {
background: ~"url(../../../apps/common/main/resources/img/doc-formats/odt.svg) no-repeat center"; background: ~"url(../../../apps/common/main/resources/img/doc-formats/odt.svg) no-repeat center";
} }
.svg-format-txt { &txt {
background: ~"url(../../../apps/common/main/resources/img/doc-formats/txt.svg) no-repeat center"; background: ~"url(../../../apps/common/main/resources/img/doc-formats/txt.svg) no-repeat center";
} }
.svg-format-dotx { &dotx {
background: ~"url(../../../apps/common/main/resources/img/doc-formats/dotx.svg) no-repeat center"; background: ~"url(../../../apps/common/main/resources/img/doc-formats/dotx.svg) no-repeat center";
} }
.svg-format-pdfa { &pdfa {
background: ~"url(../../../apps/common/main/resources/img/doc-formats/pdfa.svg) no-repeat center"; background: ~"url(../../../apps/common/main/resources/img/doc-formats/pdfa.svg) no-repeat center";
} }
.svg-format-ott { &ott {
background: ~"url(../../../apps/common/main/resources/img/doc-formats/ott.svg) no-repeat center"; background: ~"url(../../../apps/common/main/resources/img/doc-formats/ott.svg) no-repeat center";
} }
.svg-format-rtf { &rtf {
background: ~"url(../../../apps/common/main/resources/img/doc-formats/rtf.svg) no-repeat center"; background: ~"url(../../../apps/common/main/resources/img/doc-formats/rtf.svg) no-repeat center";
} }
.svg-format-docm { &docm {
background: ~"url(../../../apps/common/main/resources/img/doc-formats/docm.svg) no-repeat center"; background: ~"url(../../../apps/common/main/resources/img/doc-formats/docm.svg) no-repeat center";
} }
.svg-format-docxf { &docxf {
background: ~"url(../../../apps/common/main/resources/img/doc-formats/docxf.svg) no-repeat center"; background: ~"url(../../../apps/common/main/resources/img/doc-formats/docxf.svg) no-repeat center";
} }
.svg-format-oform { &oform {
background: ~"url(../../../apps/common/main/resources/img/doc-formats/oform.svg) no-repeat center"; background: ~"url(../../../apps/common/main/resources/img/doc-formats/oform.svg) no-repeat center";
} }
.svg-format-html { &html {
background: ~"url(../../../apps/common/main/resources/img/doc-formats/html.svg) no-repeat center"; background: ~"url(../../../apps/common/main/resources/img/doc-formats/html.svg) no-repeat center";
} }
.svg-format-fb2 { &fb2 {
background: ~"url(../../../apps/common/main/resources/img/doc-formats/fb2.svg) no-repeat center"; background: ~"url(../../../apps/common/main/resources/img/doc-formats/fb2.svg) no-repeat center";
} }
.svg-format-epub { &epub {
background: ~"url(../../../apps/common/main/resources/img/doc-formats/epub.svg) no-repeat center"; background: ~"url(../../../apps/common/main/resources/img/doc-formats/epub.svg) no-repeat center";
} }
}
div { div {
display: block; display: block;

View file

@ -39,36 +39,38 @@
height: 125px; height: 125px;
cursor: pointer; cursor: pointer;
.svg-format-pptx { .svg-format- {
&pptx {
background: ~"url(../../../apps/common/main/resources/img/doc-formats/pptx.svg) no-repeat center"; background: ~"url(../../../apps/common/main/resources/img/doc-formats/pptx.svg) no-repeat center";
} }
.svg-format-pdf { &pdf {
background: ~"url(../../../apps/common/main/resources/img/doc-formats/pdf.svg) no-repeat center"; background: ~"url(../../../apps/common/main/resources/img/doc-formats/pdf.svg) no-repeat center";
} }
.svg-format-odp { &odp {
background: ~"url(../../../apps/common/main/resources/img/doc-formats/odp.svg) no-repeat center"; background: ~"url(../../../apps/common/main/resources/img/doc-formats/odp.svg) no-repeat center";
} }
.svg-format-potx { &potx {
background: ~"url(../../../apps/common/main/resources/img/doc-formats/potx.svg) no-repeat center"; background: ~"url(../../../apps/common/main/resources/img/doc-formats/potx.svg) no-repeat center";
} }
.svg-format-pdfa { &pdfa {
background: ~"url(../../../apps/common/main/resources/img/doc-formats/pdfa.svg) no-repeat center"; background: ~"url(../../../apps/common/main/resources/img/doc-formats/pdfa.svg) no-repeat center";
} }
.svg-format-otp { &otp {
background: ~"url(../../../apps/common/main/resources/img/doc-formats/otp.svg) no-repeat center"; background: ~"url(../../../apps/common/main/resources/img/doc-formats/otp.svg) no-repeat center";
} }
.svg-format-ppsx { &ppsx {
background: ~"url(../../../apps/common/main/resources/img/doc-formats/ppsx.svg) no-repeat center"; background: ~"url(../../../apps/common/main/resources/img/doc-formats/ppsx.svg) no-repeat center";
} }
.svg-format-png { &png {
background: ~"url(../../../apps/common/main/resources/img/doc-formats/png.svg) no-repeat center"; background: ~"url(../../../apps/common/main/resources/img/doc-formats/png.svg) no-repeat center";
} }
.svg-format-jpg { &jpg {
background: ~"url(../../../apps/common/main/resources/img/doc-formats/jpg.svg) no-repeat center"; background: ~"url(../../../apps/common/main/resources/img/doc-formats/jpg.svg) no-repeat center";
} }
.svg-format-pptm { &pptm {
background: ~"url(../../../apps/common/main/resources/img/doc-formats/pptm.svg) no-repeat center"; background: ~"url(../../../apps/common/main/resources/img/doc-formats/pptm.svg) no-repeat center";
} }
}
div { div {
display: block; display: block;

View file

@ -39,30 +39,32 @@
height: 125px; height: 125px;
cursor: pointer; cursor: pointer;
.svg-format-xlsx { .svg-format- {
&xlsx {
background: ~"url(../../../apps/common/main/resources/img/doc-formats/xlsx.svg) no-repeat center"; background: ~"url(../../../apps/common/main/resources/img/doc-formats/xlsx.svg) no-repeat center";
} }
.svg-format-pdf { &pdf {
background: ~"url(../../../apps/common/main/resources/img/doc-formats/pdf.svg) no-repeat center"; background: ~"url(../../../apps/common/main/resources/img/doc-formats/pdf.svg) no-repeat center";
} }
.svg-format-ods { &ods {
background: ~"url(../../../apps/common/main/resources/img/doc-formats/ods.svg) no-repeat center"; background: ~"url(../../../apps/common/main/resources/img/doc-formats/ods.svg) no-repeat center";
} }
.svg-format-csv { &csv {
background: ~"url(../../../apps/common/main/resources/img/doc-formats/csv.svg) no-repeat center"; background: ~"url(../../../apps/common/main/resources/img/doc-formats/csv.svg) no-repeat center";
} }
.svg-format-xltx { &xltx {
background: ~"url(../../../apps/common/main/resources/img/doc-formats/xltx.svg) no-repeat center"; background: ~"url(../../../apps/common/main/resources/img/doc-formats/xltx.svg) no-repeat center";
} }
.svg-format-pdfa { &pdfa {
background: ~"url(../../../apps/common/main/resources/img/doc-formats/pdfa.svg) no-repeat center"; background: ~"url(../../../apps/common/main/resources/img/doc-formats/pdfa.svg) no-repeat center";
} }
.svg-format-ots { &ots {
background: ~"url(../../../apps/common/main/resources/img/doc-formats/ots.svg) no-repeat center"; background: ~"url(../../../apps/common/main/resources/img/doc-formats/ots.svg) no-repeat center";
} }
.svg-format-xlsm { &xlsm {
background: ~"url(../../../apps/common/main/resources/img/doc-formats/xlsm.svg) no-repeat center"; background: ~"url(../../../apps/common/main/resources/img/doc-formats/xlsm.svg) no-repeat center";
} }
}
div { div {
display: block; display: block;