This commit is contained in:
2023-08-16 13:30:21 +03:00
parent 54126265b2
commit 66c142a4d6
3 changed files with 42 additions and 22 deletions

View File

@@ -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;

View File

@@ -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

View File

@@ -321,14 +321,14 @@
<div>
<input type="checkbox" name="receive_msg_by_email" class="custom-checkbox" id="id_receive_msg_by_email">
<label
for="id_receive_msg_by_email">
<div class="receive_msg_by_email">{{ form.fields.receive_msg_by_email.label }}
</div>
<label for="id_receive_msg_by_email">
<div class="receive_msg_by_email">{{ form.fields.receive_msg_by_email.label }}</div>
<img id="img_msg_by_email"
title="Выберите, чтобы получать уведомление на E-mail, как только появится посылка по заданным критериям"
src="/static/img/svg/info2.svg"
alt="">
<div class="title_for_msg_by_email">Выберите, чтобы получать уведомление на E-mail, как только появится посылка по заданным критериям</div>
</label>