diff --git a/static/css/mobile_styles.css b/static/css/mobile_styles.css
index 78d292f..e6c235c 100644
--- a/static/css/mobile_styles.css
+++ b/static/css/mobile_styles.css
@@ -918,7 +918,7 @@
width: 100%;
}
.counter-box>textarea{
- width: calc(100% - 10px);
+ width: calc(100% - 15px);
max-width: unset;
min-width: unset;
}
diff --git a/static/css/styles.css b/static/css/styles.css
index 9e443df..e924382 100644
--- a/static/css/styles.css
+++ b/static/css/styles.css
@@ -1908,14 +1908,26 @@ button#edit_route {
.msg_sub_text{
font-size: 16px;
- margin-top: 15px;
font-weight: 500;
cursor: pointer;
+ background: #FF613A;
+ color: #FFF;
+ box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.12);
+ line-height: 34px;
+ width: 100px;
+ border-radius: 10px;
+ text-align: center;
+ margin: 20px auto;
}
+
+.close_msg_block{
+ cursor: pointer;
+}
+
#error_com_offer, #error_feedback{
color: #ff0000;
font-size: 14px;
- margin-left: 10px;
+ margin-left: 5px;
}
.msg_text {
diff --git a/static/js/user_profile.js b/static/js/user_profile.js
index fe53df5..cbc9921 100644
--- a/static/js/user_profile.js
+++ b/static/js/user_profile.js
@@ -202,11 +202,19 @@ function cancelRemove(route_id) {
function hideBlock(el) {
el.classList.add('hide')
- let clear_form = document.getElementsByClassName('clear_form');
- clear_form[0].reset();
- let clear_form_com = document.getElementsByClassName('commercial_offer');
- clear_form_com[0].reset();
+
+ let clear_form = document.querySelector('.clear_form');
+ if(clear_form){
+ clear_form.reset();
+ }
+
+
+ let clear_form_com = document.querySelector('.commercial_offer');
+
+ if(clear_form_com){
+ clear_form_com.reset();
+ }
@@ -219,12 +227,11 @@ function hideBlock(el) {
- let disable_btn_r = document.getElementById('request_btn');
- if(disable_btn_r){
- disable_btn_r.removeAttribute('disabled');
-
- }
+ let disable_btn_r = document.getElementById('request_btn');
+ if(disable_btn_r){
+ disable_btn_r.removeAttribute('disabled');
+ }
}
@@ -898,9 +905,6 @@ function RequestCommercialOffer (el){
let hide_error_msg = document.getElementById('error_footer').classList.add('hide')
}
-
-
- clear_form_com[0].reset();
},
error: function (data, exception){
// document.querySelector(".login").innerHTML = data.responseJSON.html
diff --git a/templates/widgets/w_msg_send_success.html b/templates/widgets/w_msg_send_success.html
index 01d04ad..6d514dc 100644
--- a/templates/widgets/w_msg_send_success.html
+++ b/templates/widgets/w_msg_send_success.html
@@ -5,7 +5,7 @@
onclick="hideBlock(this)"
class="msg_send"
>
-
+{# #}