From 7cc0208d3aa920b2f748055700f50e0805b220b9 Mon Sep 17 00:00:00 2001 From: SvetlanaLisina Date: Fri, 15 Jan 2021 17:28:24 +0300 Subject: [PATCH] touch fixed --- Web/css/common.less | 3 +- Web/css/help.less | 54 ++++++++++++++++----------------- Web/css/mobile.less | 7 +++++ Web/js/core/main.js | 6 +++- Web/js/core/modalscontroller.js | 4 +-- 5 files changed, 43 insertions(+), 31 deletions(-) diff --git a/Web/css/common.less b/Web/css/common.less index 67bb00061..aaceddbdb 100644 --- a/Web/css/common.less +++ b/Web/css/common.less @@ -959,4 +959,5 @@ nav ul li a.menuitem:hover, } } } - /* End of top banner */ + + /* End of top banner */ diff --git a/Web/css/help.less b/Web/css/help.less index d83328c67..0314b24df 100644 --- a/Web/css/help.less +++ b/Web/css/help.less @@ -5968,37 +5968,37 @@ em.error_text { padding-right: 0px; } } - - #mainpage { - .faq_pricing_block { - - ul.list_with_orange_markers { - - p { - &.first-faq { - padding-top: 35px; - } - - &.second-faq { - padding-top: 30px; - } - - &.third-faq { - padding-top: 35px; - } - - &.fifth-faq { - padding-top: 53px; - } - } - } - } - } } @media screen and (max-width: 429px) { + #mainpage { + .faq_pricing_block { + + ul.list_with_orange_markers { + + p { + &.first-faq { + padding-top: 35px; + } + + &.second-faq { + padding-top: 30px; + } + + &.third-faq { + padding-top: 35px; + } + + &.fifth-faq { + padding-top: 53px; + } + } + } + } + } + #mainpage { .faq_pricing_block { @@ -6058,7 +6058,7 @@ em.error_text { .borderRadius (4px); border: 1px solid #c2c2c2; display: inline-block; - height: 64px; + height: 56px; margin: 0 10px 0 0; padding-left: 4px; width: 200px; diff --git a/Web/css/mobile.less b/Web/css/mobile.less index 5bb914aae..4a782a1b7 100644 --- a/Web/css/mobile.less +++ b/Web/css/mobile.less @@ -647,6 +647,13 @@ @media screen and (max-width: 500px) { + .narrowheader { + .headerButton { + padding: 17px 10px; + font-size: 12px; + } + } + .langselector.headerLengSelector { display: none; } diff --git a/Web/js/core/main.js b/Web/js/core/main.js index 02733121d..36c9445c0 100644 --- a/Web/js/core/main.js +++ b/Web/js/core/main.js @@ -61,7 +61,11 @@ BlockUIManager = { baseZ: 666, fadeIn: 0, fadeOut: 0, - onBlock: function() { + onBlock: function () { + if (/Android|webOS|iPhone|iPad|iPod|BlackBerry|BB|PlayBook|IEMobile|Windows Phone|Kindle|Silk|Opera Mini/i.test(navigator.userAgent)) { + e.preventDefault(); + } + var t = $(e).parents("div.blockUI:first"), o = t.removeClass("blockMsg").addClass("blockDialog").get(0), r = ""; diff --git a/Web/js/core/modalscontroller.js b/Web/js/core/modalscontroller.js index 10da27158..9b577dc2f 100644 --- a/Web/js/core/modalscontroller.js +++ b/Web/js/core/modalscontroller.js @@ -90,8 +90,8 @@ function IndexPageInit(t, e, n) { $("[id$=ListMenu]").hide(), $("[id$=MainContent]").hide(), $("#switcherMenu span").removeClass("active"), $(this).addClass("active"), $("#" + t + "ListMenu").show(), $("#" + t + "MainContent").show(), e != t && setCookie("type-menu", t) }) } -$(function() { - $(".screenphoto").click(function() { +$(function () { + $(".screenphoto").click(function () { $img = $("#" + $(this).attr("target")); var t = $img.attr("alt"), e = $("#" + $(this).attr("target")).attr("src");