diff --git a/apps/common/mobile/resources/less/icons.less b/apps/common/mobile/resources/less/icons.less index ac7a718c2d..076f36865b 100644 --- a/apps/common/mobile/resources/less/icons.less +++ b/apps/common/mobile/resources/less/icons.less @@ -30,4 +30,17 @@ i.icon { height: 24px; .encoded-svg-background(''); } + + // Formats + + &.icon-format-pdf { + width: 22px; + height: 22px; + .encoded-svg-background(''); + } + &.icon-format-pdfa { + width: 22px; + height: 22px; + .encoded-svg-background(''); + } } diff --git a/apps/documenteditor/mobile/src/less/app.less b/apps/documenteditor/mobile/src/less/app.less index a4c192194e..82a687446f 100644 --- a/apps/documenteditor/mobile/src/less/app.less +++ b/apps/documenteditor/mobile/src/less/app.less @@ -37,6 +37,7 @@ @import './app-ios.less'; @import './icons-ios.less'; @import './icons-material.less'; +@import './icons-common.less'; :root { --f7-popover-width: 360px; diff --git a/apps/documenteditor/mobile/src/less/icons-common.less b/apps/documenteditor/mobile/src/less/icons-common.less new file mode 100644 index 0000000000..6d834af086 --- /dev/null +++ b/apps/documenteditor/mobile/src/less/icons-common.less @@ -0,0 +1,57 @@ +// Formats + +i.icon { + &.icon-format-docx { + width: 22px; + height: 22px; + .encoded-svg-background(''); + } + + &.icon-format-docxf { + width: 22px; + height: 22px; + .encoded-svg-background(''); + } + + &.icon-format-oform { + width: 22px; + height: 22px; + .encoded-svg-background(''); + } + + &.icon-format-txt { + width: 22px; + height: 22px; + .encoded-svg-background(''); + } + + &.icon-format-rtf { + width: 22px; + height: 22px; + .encoded-svg-background(''); + } + + &.icon-format-odt { + width: 22px; + height: 22px; + .encoded-svg-background(''); + } + + &.icon-format-html { + width: 22px; + height: 22px; + .encoded-svg-background(''); + } + + &.icon-format-dotx { + width: 22px; + height: 22px; + .encoded-svg-background(''); + } + + &.icon-format-ott { + width: 22px; + height: 22px; + .encoded-svg-background(''); + } +} \ No newline at end of file diff --git a/apps/documenteditor/mobile/src/less/icons-ios.less b/apps/documenteditor/mobile/src/less/icons-ios.less index fedae260ab..006bd1d934 100644 --- a/apps/documenteditor/mobile/src/less/icons-ios.less +++ b/apps/documenteditor/mobile/src/less/icons-ios.less @@ -82,76 +82,8 @@ .encoded-svg-mask(''); } - // Download - - &.icon-format-docx { - width: 22px; - height: 22px; - .encoded-svg-background(''); - } - - &.icon-format-pdf { - width: 22px; - height: 22px; - .encoded-svg-background(''); - } - - &.icon-format-pdfa { - width: 22px; - height: 22px; - .encoded-svg-background(''); - } - - &.icon-format-docxf { - width: 22px; - height: 22px; - .encoded-svg-background(''); - } - - &.icon-format-oform { - width: 22px; - height: 22px; - .encoded-svg-background(''); - } - - &.icon-format-txt { - width: 22px; - height: 22px; - .encoded-svg-background(''); - } - - &.icon-format-rtf { - width: 22px; - height: 22px; - .encoded-svg-background(''); - } - - &.icon-format-odt { - width: 22px; - height: 22px; - .encoded-svg-background(''); - } - - &.icon-format-html { - width: 22px; - height: 22px; - .encoded-svg-background(''); - } - - &.icon-format-dotx { - width: 22px; - height: 22px; - .encoded-svg-background(''); - } - - &.icon-format-ott { - width: 22px; - height: 22px; - .encoded-svg-background(''); - } - - - //Edit + // Edit + &.icon-text-additional { width: 22px; height: 22px; diff --git a/apps/documenteditor/mobile/src/less/icons-material.less b/apps/documenteditor/mobile/src/less/icons-material.less index 1a4eddbe1a..2eb429078a 100644 --- a/apps/documenteditor/mobile/src/less/icons-material.less +++ b/apps/documenteditor/mobile/src/less/icons-material.less @@ -137,75 +137,7 @@ .encoded-svg-mask(''); } - // Download - - &.icon-format-docx { - width: 22px; - height: 22px; - .encoded-svg-background(''); - } - - &.icon-format-pdf { - width: 22px; - height: 22px; - .encoded-svg-background(''); - } - - &.icon-format-pdfa { - width: 22px; - height: 22px; - .encoded-svg-background(''); - } - - &.icon-format-docxf { - width: 22px; - height: 22px; - .encoded-svg-background(''); - } - - &.icon-format-oform { - width: 22px; - height: 22px; - .encoded-svg-background(''); - } - - &.icon-format-txt { - width: 22px; - height: 22px; - .encoded-svg-background(''); - } - - &.icon-format-rtf { - width: 22px; - height: 22px; - .encoded-svg-background(''); - } - - &.icon-format-odt { - width: 22px; - height: 22px; - .encoded-svg-background(''); - } - - &.icon-format-html { - width: 22px; - height: 22px; - .encoded-svg-background(''); - } - - &.icon-format-dotx { - width: 22px; - height: 22px; - .encoded-svg-background(''); - } - - &.icon-format-ott { - width: 22px; - height: 22px; - .encoded-svg-background(''); - } - - //Edit + // Edit &.icon-text-align-left { width: 22px; diff --git a/apps/presentationeditor/mobile/src/less/app.less b/apps/presentationeditor/mobile/src/less/app.less index 37ace4a3cc..960129624e 100644 --- a/apps/presentationeditor/mobile/src/less/app.less +++ b/apps/presentationeditor/mobile/src/less/app.less @@ -36,6 +36,7 @@ @import './app-ios.less'; @import './icons-ios.less'; @import './icons-material.less'; +@import './icons-common.less'; :root { --f7-popover-width: 360px; diff --git a/apps/presentationeditor/mobile/src/less/icons-common.less b/apps/presentationeditor/mobile/src/less/icons-common.less new file mode 100644 index 0000000000..65985f829e --- /dev/null +++ b/apps/presentationeditor/mobile/src/less/icons-common.less @@ -0,0 +1,25 @@ +i.icon { + &.icon-format-pptx { + width: 22px; + height: 22px; + .encoded-svg-background(''); + } + + &.icon-format-potx { + width: 22px; + height: 22px; + .encoded-svg-background(''); + } + + &.icon-format-odp { + width: 22px; + height: 22px; + .encoded-svg-background(''); + } + + &.icon-format-otp { + width: 22px; + height: 22px; + .encoded-svg-background(''); + } +} \ No newline at end of file diff --git a/apps/presentationeditor/mobile/src/less/icons-ios.less b/apps/presentationeditor/mobile/src/less/icons-ios.less index 9cdc5b5bc8..b367b1e419 100644 --- a/apps/presentationeditor/mobile/src/less/icons-ios.less +++ b/apps/presentationeditor/mobile/src/less/icons-ios.less @@ -407,45 +407,8 @@ .encoded-svg-mask(''); } - // Formats + // Collaboration - &.icon-format-pdf { - width: 22px; - height: 22px; - .encoded-svg-background('') - } - - &.icon-format-pdfa { - width: 22px; - height: 22px; - .encoded-svg-background(''); - } - - &.icon-format-pptx { - width: 22px; - height: 22px; - .encoded-svg-background(''); - } - - &.icon-format-potx { - width: 22px; - height: 22px; - .encoded-svg-background(''); - } - - &.icon-format-odp { - width: 22px; - height: 22px; - .encoded-svg-background(''); - } - - &.icon-format-otp { - width: 22px; - height: 22px; - .encoded-svg-background(''); - } - - // Collaboration &.icon-users { width: 24px; height: 24px; diff --git a/apps/presentationeditor/mobile/src/less/icons-material.less b/apps/presentationeditor/mobile/src/less/icons-material.less index a28757a7a7..f99c73331b 100644 --- a/apps/presentationeditor/mobile/src/less/icons-material.less +++ b/apps/presentationeditor/mobile/src/less/icons-material.less @@ -377,45 +377,8 @@ .encoded-svg-mask(''); } - // Formats - - &.icon-format-pdf { - width: 22px; - height: 22px; - .encoded-svg-background('') - } - - &.icon-format-pdfa { - width: 22px; - height: 22px; - .encoded-svg-background(''); - } - - &.icon-format-pptx { - width: 22px; - height: 22px; - .encoded-svg-background(''); - } - - &.icon-format-potx { - width: 22px; - height: 22px; - .encoded-svg-background(''); - } - - &.icon-format-odp { - width: 22px; - height: 22px; - .encoded-svg-background(''); - } - - &.icon-format-otp { - width: 22px; - height: 22px; - .encoded-svg-background(''); - } - // Collaboration + &.icon-users { width: 24px; height: 24px; diff --git a/apps/spreadsheeteditor/mobile/src/less/icons-common.less b/apps/spreadsheeteditor/mobile/src/less/icons-common.less index f91971a580..392f464ef5 100644 --- a/apps/spreadsheeteditor/mobile/src/less/icons-common.less +++ b/apps/spreadsheeteditor/mobile/src/less/icons-common.less @@ -81,46 +81,29 @@ // Formats i.icon { - &.icon-format-pdf { - width: 22px; - height: 22px; - // .encoded-svg-mask(''); - .encoded-svg-background(''); - } - &.icon-format-pdfa { - width: 22px; - height: 22px; - // .encoded-svg-mask(''); - .encoded-svg-background(''); - } &.icon-format-xlsx { width: 22px; height: 22px; - // .encoded-svg-mask(''); .encoded-svg-background(''); } &.icon-format-xltx { width: 22px; height: 22px; - // .encoded-svg-mask(''); .encoded-svg-background(''); } &.icon-format-ods { width: 22px; height: 22px; - // .encoded-svg-mask(''); .encoded-svg-background(''); } &.icon-format-ots { width: 22px; height: 22px; - // .encoded-svg-mask(''); .encoded-svg-background(''); } &.icon-format-csv { width: 22px; height: 22px; - // .encoded-svg-mask(''); .encoded-svg-background(''); } }