From 2c70526032e57b52f779c8d5c7fe0ccc1718efbb Mon Sep 17 00:00:00 2001 From: Maxim Kadushkin Date: Mon, 20 Dec 2021 18:19:40 +0300 Subject: [PATCH] [PE] for bug 53999 --- apps/common/mobile/resources/less/common.less | 41 ----------------- .../mobile/resources/img/themes/themes.png | Bin .../mobile/src/less/app.less | 42 ++++++++++++++++++ 3 files changed, 42 insertions(+), 41 deletions(-) rename apps/{common => presentationeditor}/mobile/resources/img/themes/themes.png (100%) diff --git a/apps/common/mobile/resources/less/common.less b/apps/common/mobile/resources/less/common.less index cc473cd9e3..e68d7c09d5 100644 --- a/apps/common/mobile/resources/less/common.less +++ b/apps/common/mobile/resources/less/common.less @@ -231,47 +231,6 @@ } } -// Theme - -.slide-theme { - &__list { - margin: auto; - ul { - display: flex; - justify-content: space-between; - flex-wrap: wrap; - padding-left: 18px; - padding-right: 18px; - padding-bottom: 14px; - } - } - .item-inner:after { - display: none; - } - .item-theme { - position: relative; - margin: 0; - box-shadow: 0 0 0 1px rgba(0,0,0,.15); - width: 88px; - height: 40px; - margin-top: 14px; - background-image: url(../img/themes/themes.png); - display: block; - background-repeat: no-repeat; - background-size: cover; - } - .item-theme.active:before { - content: ''; - position: absolute; - width: 22px; - height: 22px; - right: -5px; - bottom: -5px; - z-index: 1; - .encoded-svg-background(''); - } -} - // Transition .slide-transition { diff --git a/apps/common/mobile/resources/img/themes/themes.png b/apps/presentationeditor/mobile/resources/img/themes/themes.png similarity index 100% rename from apps/common/mobile/resources/img/themes/themes.png rename to apps/presentationeditor/mobile/resources/img/themes/themes.png diff --git a/apps/presentationeditor/mobile/src/less/app.less b/apps/presentationeditor/mobile/src/less/app.less index cc4000288e..953417bb7a 100644 --- a/apps/presentationeditor/mobile/src/less/app.less +++ b/apps/presentationeditor/mobile/src/less/app.less @@ -83,3 +83,45 @@ } } } + + +// Theme + +.slide-theme { + &__list { + margin: auto; + ul { + display: flex; + justify-content: space-between; + flex-wrap: wrap; + padding-left: 18px; + padding-right: 18px; + padding-bottom: 14px; + } + } + .item-inner:after { + display: none; + } + .item-theme { + position: relative; + margin: 0; + box-shadow: 0 0 0 1px rgba(0,0,0,.15); + width: 88px; + height: 40px; + margin-top: 14px; + background-image: ~"url(@{app-image-path}/themes/themes.png)"; + display: block; + background-repeat: no-repeat; + background-size: cover; + } + .item-theme.active:before { + content: ''; + position: absolute; + width: 22px; + height: 22px; + right: -5px; + bottom: -5px; + z-index: 1; + .encoded-svg-background(''); + } +} \ No newline at end of file