From 66c142a4d6449f3c785799f2255f0bb0d6065515 Mon Sep 17 00:00:00 2001 From: ArtemB Date: Wed, 16 Aug 2023 13:30:21 +0300 Subject: [PATCH] 0.0.98 --- static/css/styles.css | 42 ++++++++++++++++++++--- static/js/user_profile.js | 12 ------- templates/blocks/profile/b_new_route.html | 10 +++--- 3 files changed, 42 insertions(+), 22 deletions(-) diff --git a/static/css/styles.css b/static/css/styles.css index c22fc4d..232e17d 100644 --- a/static/css/styles.css +++ b/static/css/styles.css @@ -624,17 +624,20 @@ input.deactive { height: 2em; flex-shrink: 0; flex-grow: 0; - border: 1px solid #FF613A; - border-radius: 0.25em; + border: 1px solid #E6E6E6; + border-radius: 10px; margin-right: 0.5em; background-repeat: no-repeat; background-position: center center; background-size: 50% 50%; + background-color: white; } + .custom-checkbox:not(:disabled):not(:checked)+label:hover::before { - border-color: #FF613A; + box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.12); + } .custom-checkbox:not(:disabled):active+label::before { @@ -661,10 +664,39 @@ input.deactive { } #img_msg_by_email{ margin-top: 7px; - position: absolute; - left: 33%; + display: inline-block; + position: relative; + left: 29%; } +.title_for_msg_by_email{ + display: none; + z-index: 100; + color: #272424; + font-family: Inter; + font-size: 10px; + font-style: normal; + font-weight: 400; + line-height: 16px; + border-radius: 10px; + background: #FFF; + box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.12); + position: absolute; + bottom: -10%; + left: 37%; + height: fit-content; + width: 250px; + padding: 10px; +} + +#img_msg_by_email:hover + .title_for_msg_by_email{ + display: inline-block; + +} + + + + section.login { max-width: 1400px; margin: auto; diff --git a/static/js/user_profile.js b/static/js/user_profile.js index 74d0019..7468069 100644 --- a/static/js/user_profile.js +++ b/static/js/user_profile.js @@ -172,18 +172,6 @@ function searchTown(el){ }else { el.style.background = 'white url("/static/img/png/icon-arrow.svg") no-repeat calc(100% - 15px) center'; } - // - // let from_ap = document.getElementById('id_from_address_point_txt'); - // let to_ap = document.getElementById('id_to_address_point_txt'); - // - // if(el.value.length>0){ - // from_ap.style.background = 'white url("/static/img/svg/loader.svg") no-repeat calc(100% - 15px) center'; - // to_ap.style.background = 'white url("/static/img/svg/loader.svg") no-repeat calc(100% - 15px) center'; - // } else{ - // from_ap.style.background = - // to_ap.style.background = 'white url("/static/img/png/icon-arrow.svg") no-repeat calc(100% - 15px) center'; - // } - if(el.value.length>=3){ let timer = null diff --git a/templates/blocks/profile/b_new_route.html b/templates/blocks/profile/b_new_route.html index 54d3959..71c988b 100644 --- a/templates/blocks/profile/b_new_route.html +++ b/templates/blocks/profile/b_new_route.html @@ -321,14 +321,14 @@
-