From 9d0eabc9ff3cbcd97811d443aecadb39f3afbb51 Mon Sep 17 00:00:00 2001 From: borissedw Date: Wed, 2 Aug 2023 11:03:46 +0300 Subject: [PATCH] 0.0.14 --- static/css/styles(boris).css | 41 ++++++++++++++++--- static/js/user_profile(boris).js | 4 ++ templates/blocks/profile/b_create_ticket.html | 19 +++++---- templates/widgets/w_tab_user.html | 2 +- 4 files changed, 51 insertions(+), 15 deletions(-) diff --git a/static/css/styles(boris).css b/static/css/styles(boris).css index 094cc06..111446e 100644 --- a/static/css/styles(boris).css +++ b/static/css/styles(boris).css @@ -131,10 +131,12 @@ .el-form-create-ticket-textarea{ min-height: 200px; - min-width: calc(100% - 40px); - max-width: calc(100% - 40px); + /*min-width: calc(80% - 40px);*/ + /*max-width: calc(80% - 40px);*/ resize: none; padding: 20px; + width: 80%; + float: left; } .container-input-form-create-ticket{ @@ -146,6 +148,22 @@ outline: none; } +.letrs-count{ + color: #27242499; + /*position: relative;*/ + /*top: 39px;*/ + /*left: 93%;*/ + height: calc(100% - 20px); + width: calc(20% - 60px); + padding-top: 20px; + padding-right: 20px; + min-height: 220px; + float: right; + background: #FFFFFF; + text-align: right; + /*display: inline-block;*/ +} + .create-ticket-btn{ width: 200px; height: 60px; @@ -374,20 +392,31 @@ /*tab_user*/ .tab_user_messanger{ - width: calc(100% - 40px); + width: calc(100% - 60px); margin: auto; - height: 75px; + height: 55px; + padding: 10px; + transition: all ease-in-out 200ms; +} + +.tab_user_messanger.select{ + border-radius: 10px; + border: 1px solid #E6E6E6; + background: #FFF; + filter: drop-shadow(-1px 4px 10px rgba(198, 199, 203, 0.20)) drop-shadow(0px -1px 10px rgba(198, 199, 203, 0.20)); } .left-part-tab-user{ - width: 10%; + width: 20%; height: 100%; float: left; + padding-top: 4%; } .center-part-tab-user{ - width: 70%; + width: 60%; height: 100%; display: inline-block; + padding-top: 5%; } .right-part-tab-user{ diff --git a/static/js/user_profile(boris).js b/static/js/user_profile(boris).js index 1a9c1b5..22f6f0c 100644 --- a/static/js/user_profile(boris).js +++ b/static/js/user_profile(boris).js @@ -125,3 +125,7 @@ function createTicket (el) { } }); } + +function selectedUserMessenger (el){ + el.classList.toggle("select") +} \ No newline at end of file diff --git a/templates/blocks/profile/b_create_ticket.html b/templates/blocks/profile/b_create_ticket.html index a7b3787..80aa0cd 100644 --- a/templates/blocks/profile/b_create_ticket.html +++ b/templates/blocks/profile/b_create_ticket.html @@ -26,14 +26,17 @@ {% if form.errors.name %}
{{ form.errors.name }}
{% endif %}
-
0/500
- - {% if form.errors.text %}
{{ form.errors.text }}
{% endif %} +
+ + {% if form.errors.text %}
{{ form.errors.text }}
{% endif %} +
0/500
+
+
diff --git a/templates/widgets/w_tab_user.html b/templates/widgets/w_tab_user.html index ed98d13..5dd0f22 100644 --- a/templates/widgets/w_tab_user.html +++ b/templates/widgets/w_tab_user.html @@ -1,5 +1,5 @@ {% load static %} -
+