live charts update added

This commit is contained in:
Anatoliy Poloz
2022-06-02 12:02:58 +00:00
parent 3cd66a54e5
commit 12e42ddddd
61 changed files with 1881 additions and 546 deletions

View File

@@ -13,6 +13,7 @@
--main_ffamily: 'Mulish';
--main_fcolor: #323F4B;
--grey_color: #7B8794;
--light_grey_color: #f0f2f5;
--blue_color: #2F80ED;
--light_blue_color: #B9D7FF;
--white_fcolor: #fff;
@@ -106,16 +107,9 @@ a {
.--no_wrap_normal {
white-space: normal;
}
.--is_edit {
background-image: url("data:image/svg+xml,%3Csvg width='13' height='24' viewBox='0 0 25 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0.5 19L15.25 4.25L20.25 9.25L5.5 24H0.5V19ZM24.125 5.375L21.6875 7.8125L16.6875 2.8125L19.125 0.375C19.375 0.125 19.6875 0 20.0625 0C20.4375 0 20.75 0.125 21 0.375L24.125 3.5C24.375 3.75 24.5 4.0625 24.5 4.4375C24.5 4.8125 24.375 5.125 24.125 5.375Z' fill='%23323F4B'/%3E%3C/svg%3E");
background-position: calc(100% - 5px) calc(100% - 5px);
background-repeat: no-repeat;
padding-right: 35px;
padding-bottom: 35px;
}
.--bg_white {
background-color: var(--white_fcolor);
background-color: var(--white_fcolor)!important;
}
.--bg_note {
@@ -138,6 +132,10 @@ a {
background-color: var(--red_color);
}
.bg_light_grey {
background-color: var(--light_grey_color);
}
.--shadow {
box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.15);
}
@@ -296,7 +294,7 @@ hr {
.--arr_right:before,
.--arr_right:after {
left: -20px;
left: -19px;
top: calc(50% - 10px);
border-right: 10px solid #fff;
}
@@ -304,7 +302,7 @@ hr {
.--arr_top:before,
.--arr_top:after {
left: calc(50% - 10px);
top: -20px;
top: -19px;
border-bottom: 10px solid #fff;
}
@@ -420,6 +418,14 @@ hr {
box-shadow: 0 0 0 0.15rem rgb(114 222 44);
}
.--mw-100p {
max-width: 100%;
}
.--mw-1170 {
max-width: 1140px;
}
.--mw-1000 {
max-width: 1000px;
}
@@ -428,6 +434,18 @@ hr {
max-width: 800px;
}
.--h_100 {
height: 100%;
}
.--h_90vh {
height: 90vh;
}
.--h_80vh {
height: 80vh;
}
.w-45 {
width: 45%!important;
}
@@ -440,6 +458,14 @@ hr {
width: 130px;
}
.--is_edit {
background-image: url("data:image/svg+xml,%3Csvg width='25' height='24' viewBox='0 0 25 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0.5 19L15.25 4.25L20.25 9.25L5.5 24H0.5V19ZM24.125 5.375L21.6875 7.8125L16.6875 2.8125L19.125 0.375C19.375 0.125 19.6875 0 20.0625 0C20.4375 0 20.75 0.125 21 0.375L24.125 3.5C24.375 3.75 24.5 4.0625 24.5 4.4375C24.5 4.8125 24.375 5.125 24.125 5.375Z' fill='%23323F4B'/%3E%3C/svg%3E");
background-position: calc(100% - 5px) calc(100% - 5px);
background-repeat: no-repeat;
padding-right: 35px;
padding-bottom: 35px;
}
header,
#TopMenu a {
position: relative;
@@ -797,6 +823,148 @@ ul.checks li:before {
transform: scaleX(1);
}
.--z_search {
padding-left: 2.8em;
background-color: var(--light_grey_color);
background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHZpZXdCb3g9IjAgMCAyMCAyMCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4NCiAgICA8cGF0aCBkPSJNOSAxN0MxMy40MTgzIDE3IDE3IDEzLjQxODMgMTcgOUMxNyA0LjU4MTcyIDEzLjQxODMgMSA5IDFDNC41ODE3MiAxIDEgNC41ODE3MiAxIDlDMSAxMy40MTgzIDQuNTgxNzIgMTcgOSAxN1oiIHN0cm9rZT0iIzdCODc5NCIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiLz4NCiAgICA8cGF0aCBkPSJNMTguOTk5OSAxOC45OTk5TDE0LjY0OTkgMTQuNjQ5OSIgc3Ryb2tlPSIjN0I4Nzk0IiBzdHJva2Utd2lkdGg9IjIiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIvPg0KPC9zdmc+");
background-repeat: no-repeat;
background-position: .8em center;
}
#chatList .--z_search {
width: calc(100% - 1rem);
}
#chatList .contacts_block,
#chatBlock .messages_container {
overflow-y: scroll;
height: 100%;
}
#chatList .contacts_block {
height: calc(100% - 3.85rem);
}
#chatList .contacts_block::-webkit-scrollbar,
#chatBlock .messages_container::-webkit-scrollbar {width:6px;}
#chatList .contacts_block::-webkit-scrollbar-track,
#chatBlock .messages_container::-webkit-scrollbar-track {background-color:transparent;}
#chatList .contacts_block::-webkit-scrollbar-thumb,
#chatBlock .messages_container::-webkit-scrollbar-thumb {background-color:var(--blue_color);border-radius:3px;}
#chatList .contacts_block::-webkit-scrollbar-thumb:hover,
#chatBlock .messages_container::-webkit-scrollbar-thumb:hover {background-color:#4a8fec}
#chatList .--item {
cursor: pointer;
background-color: #f6faff;
transition: background-color .3s;
}
#chatList .--item:hover {
background-color: var(--light_grey_color);
}
#chatList .--item.--active {
background-color: #2f80ed;
cursor: default;
}
#chatList .--item.--active,
#chatList .--item.--active .--f_grey {
color: #fff;
}
#chatList .--item .-emj {
position: absolute;
bottom: 0;
left: 0;
}
#chatBlock {
padding-top: 75px!important;
padding-bottom: 67px!important;
}
#chatBlock .chat_top_pannel,
#chatBlock .chat_bottom_panel {
width: 100%;
position: absolute;
left: 0;
bottom: 0;
}
#chatBlock .chat_top_pannel {
height: fit-content;
top: 0;
border-bottom: 1px solid #f3f3f3;
}
#chatBlock .dropdown-menu .dropdown-item {
display: flex;
align-items: center;
font-size: .85rem;
}
#chatBlock > hr {
margin-left: -1rem;
margin-right: -1rem;
background: #f1f1f2;
}
#chatBlock .--message p,
#chatBlock .--message .--comment {
margin-bottom: .5rem;
}
#chatBlock .--message .--comment {
margin-top: .5rem;
padding-left: 8px;
border-left: 2px solid #E6E6E6;
}
#chatBlock .--message img {
max-width: 100%;
}
#chatBlock .chat_plan {
border: 1px solid #e6e6e6;
}
#chatBlock .chat_plan .plan_img {
width: 120px;
height: 120px;
}
#chatBlock .chat_bottom_panel {
background-color: #f6faff;
border-top: 1px solid #f3f3f3;
}
#chatBlock .chat_top_pannel button,
#chatBlock .chat_bottom_panel button {
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
border: none;
background: transparent;
}
#chatBlock .chat_bottom_panel textarea {
height: 50px;
min-height: 50px;
max-height: 150px;
}
@media (min-width: 768px) and (max-width: 991px) {
#chatList .contacts_block img {
width: 40px;
height: 40px;
}
}
#calendar .fl-col {
width: calc(15% - 6px);
margin: 0 0 -1px -1px;
@@ -1019,6 +1187,56 @@ footer ul.--menu li {
#calendar .badge:not(.--start_finish) {
float: none;
}
#main {
height: auto!important;
}
#main.--active #chatList {
left: 0;
}
#main:after {
content: '';
display: block;
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(24, 119, 242, 0.5);
visibility: hidden;
opacity: 0;
z-index: 0;
}
#main:after,
#chatList {
transition: all .3s ease;
}
#main.--active:after {
visibility: visible;
opacity: 1;
}
#chatList,
#chatBlock {
height: 100vh;
border-radius: 0;
}
#chatList {
position: absolute!important;
z-index: 1;
height: 100%;
left: -100%;
}
#chatBlock .messages_container {
background-color: #f6faff;
}
#chatBlock .messages_container > div > img {
display: none;
}
#chatBlock .messages_container .--message {
padding: .85rem;
background-color: #fff;
border: 1px solid #eee;
border-radius: 8px;
}
}
@media (max-width: 500px) {
@@ -1035,67 +1253,7 @@ footer ul.--menu li {
}
}
.animate-spin {
animation: spin 1s linear infinite
.meal-photos-container img {
width: 100px;
height: 64px;
}
label.error_password {
padding-top: 3px;
color: red;
font-size: 12px;
}
label.error, label.error::placeholder {
padding-top: 3px;
color: red;
font-size: 12px;
white-space: nowrap;
max-width: 200px;
overflow: hidden;
text-overflow: ellipsis;
}
input.error {
border-color: red;
outline: 0;
box-shadow: 0 0 0 0.25rem rgb(197 62 112 / 25%);
}
.fl-col a {
color: var(--main_fcolor);
font-family: var(--main_ffamily);
}
#calendar .fl-col-text .--day_num:hover {
text-decoration: underline;
}
.hidden {
display: none;
}
.bg-cover {
background-size: cover
}
.bg-center {
background-position: 50%
}
.bg-no-repeat {
background-repeat: no-repeat
}
.w-20 {
width: 5rem
}
.h-20 {
height: 5rem
}
.w-32 {
width: 8rem
}
.h-32 {
height: 8rem
}
.block {
display: block;
}
.rounded-full {
border-radius: 9999px;
}