[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,47 +100,49 @@
height: 125px; height: 125px;
cursor: pointer; cursor: pointer;
.svg-format-docx { .svg-format- {
background: ~"url(../../../apps/common/main/resources/img/doc-formats/docx.svg) no-repeat center"; &docx {
} background: ~"url(../../../apps/common/main/resources/img/doc-formats/docx.svg) no-repeat center";
.svg-format-pdf { }
background: ~"url(../../../apps/common/main/resources/img/doc-formats/pdf.svg) no-repeat center"; &pdf {
} background: ~"url(../../../apps/common/main/resources/img/doc-formats/pdf.svg) no-repeat center";
.svg-format-odt { }
background: ~"url(../../../apps/common/main/resources/img/doc-formats/odt.svg) no-repeat center"; &odt {
} background: ~"url(../../../apps/common/main/resources/img/doc-formats/odt.svg) no-repeat center";
.svg-format-txt { }
background: ~"url(../../../apps/common/main/resources/img/doc-formats/txt.svg) no-repeat center"; &txt {
} background: ~"url(../../../apps/common/main/resources/img/doc-formats/txt.svg) no-repeat center";
.svg-format-dotx { }
background: ~"url(../../../apps/common/main/resources/img/doc-formats/dotx.svg) no-repeat center"; &dotx {
} background: ~"url(../../../apps/common/main/resources/img/doc-formats/dotx.svg) no-repeat center";
.svg-format-pdfa { }
background: ~"url(../../../apps/common/main/resources/img/doc-formats/pdfa.svg) no-repeat center"; &pdfa {
} background: ~"url(../../../apps/common/main/resources/img/doc-formats/pdfa.svg) no-repeat center";
.svg-format-ott { }
background: ~"url(../../../apps/common/main/resources/img/doc-formats/ott.svg) no-repeat center"; &ott {
} background: ~"url(../../../apps/common/main/resources/img/doc-formats/ott.svg) no-repeat center";
.svg-format-rtf { }
background: ~"url(../../../apps/common/main/resources/img/doc-formats/rtf.svg) no-repeat center"; &rtf {
} background: ~"url(../../../apps/common/main/resources/img/doc-formats/rtf.svg) no-repeat center";
.svg-format-docm { }
background: ~"url(../../../apps/common/main/resources/img/doc-formats/docm.svg) no-repeat center"; &docm {
} background: ~"url(../../../apps/common/main/resources/img/doc-formats/docm.svg) no-repeat center";
.svg-format-docxf { }
background: ~"url(../../../apps/common/main/resources/img/doc-formats/docxf.svg) no-repeat center"; &docxf {
} background: ~"url(../../../apps/common/main/resources/img/doc-formats/docxf.svg) no-repeat center";
.svg-format-oform { }
background: ~"url(../../../apps/common/main/resources/img/doc-formats/oform.svg) no-repeat center"; &oform {
} background: ~"url(../../../apps/common/main/resources/img/doc-formats/oform.svg) no-repeat center";
.svg-format-html { }
background: ~"url(../../../apps/common/main/resources/img/doc-formats/html.svg) no-repeat center"; &html {
} background: ~"url(../../../apps/common/main/resources/img/doc-formats/html.svg) no-repeat center";
.svg-format-fb2 { }
background: ~"url(../../../apps/common/main/resources/img/doc-formats/fb2.svg) no-repeat center"; &fb2 {
} background: ~"url(../../../apps/common/main/resources/img/doc-formats/fb2.svg) no-repeat center";
.svg-format-epub { }
background: ~"url(../../../apps/common/main/resources/img/doc-formats/epub.svg) no-repeat center"; &epub {
background: ~"url(../../../apps/common/main/resources/img/doc-formats/epub.svg) no-repeat center";
}
} }
div { div {

View file

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

View file

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