.tlk-userbar *, .tlk-userbar *::before, .tlk-userbar *::after, .tlk-userbar__popup *, .tlk-userbar__popup *::before, .tlk-userbar__popup *::after { -webkit-box-sizing: border-box; box-sizing: border-box; } /* Если на странице нет других виджетов, то скрипт tilda-widget-positions-1.0.js не вызывается, поэтому переопределяем с помощью стилей */ /* Для страниц ЛК */ #allrecords:has(#t-header) .tlk-userbar, /* Для остальных публичных страниц */ #allrecords:has(#t-header) + .tlk-userbar { top: 100px; } .tlk-userbar { position: fixed; top: 50px; right: 50px; color: #333333; font-size: 14px; z-index: 4000; } .tlk-userbar_hide { display: none; } .tlk-userbar__user { position: relative; opacity: 0; -webkit-transform: scale(0.5); -ms-transform: scale(0.5); transform: scale(0.5); -webkit-transition: 0.5s; -o-transition: 0.5s; transition: 0.5s; } .tlk-userbar__user_scale { opacity: 1; -webkit-transform: scale(1); -ms-transform: scale(1); transform: scale(1); } .tlk-userbar__user-image { position: relative; border-radius: 50%; background-color: rgba(255, 255, 255, 0.8); -webkit-box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.2); box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.2); overflow: hidden; cursor: pointer; } .tlk-userbar__user-image_sm { width: 60px; height: 60px; } .tlk-userbar__user-image_md { width: 80px; height: 80px; } .tlk-userbar__user-image img { display: block; position: absolute; top: 0px; left: 0px; width: 100%; height: 100%; background-repeat: no-repeat; } .tlk-userbar__user-image svg { width: auto; height: 58%; } .tlk-userbar__user-image circle, .tlk-userbar__user-image path { stroke: #000; } .tlk-userbar__user-notification, .tlk-userbar__user-notification::before { position: absolute; border-radius: 50%; } .tlk-userbar__user-notification { top: 2px; right: 2px; width: 12px; height: 12px; background-color: #ffffff; z-index: 1; } .tlk-userbar__user-notification::before { content: ''; top: 50%; left: 50%; width: 9px; height: 9px; background-color: #ff7d5f; -webkit-transform: translate(-50%, -50%); -ms-transform: translate(-50%, -50%); transform: translate(-50%, -50%); } .tlk-userbar__popup { display: none; position: absolute; top: 70px; right: 0; padding: 6px 3px 6px 8px; width: 265px; background-color: #fff; border-radius: 3px; text-align: left; -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.2); box-shadow: 0 0 10px rgba(0, 0, 0, 0.2); z-index: 4000; overflow-y: auto; max-height: 500px; /* Жесткое определение стилей для того, чтобы стили не наследовались из родительских элементов */ font-size: 14px; color: #333; box-sizing: border-box; line-height: 1.2; letter-spacing: normal; font-weight: 400; font-family: 'Arial', Roboto, 'Open Sans', sans-serif, -apple-system, BlinkMacSystemFont, 'Segoe UI', Oxygen, Cantarell, 'Helvetica Neue'; } .tlk-userbar__popup::-webkit-scrollbar-track { background: #f8f8fa; border-radius: 50px; } .tlk-userbar__popup::-webkit-scrollbar { width: 4px; background: #f8f8fa; border-radius: 50px; } .tlk-userbar__popup::-webkit-scrollbar-thumb { background: #acacac; border-radius: 50px; } /* Жесткое определение стилей для того, чтобы стили не наследовались из родительских элементов */ .tlk-userbar__popup-text, .tlk-userbar__popup-warning-text, .tlk-userbar__popup-warning-btn { text-transform: none; } .tlk-userbar__popup-courses-item .tlk-userbar__popup-text, .tlk-userbar__popup-name { text-transform: none; } .tlk-userbar__popup_bottom { top: auto; bottom: 70px; } .tlk-userbar__popup_left { left: 0px; right: auto; } .tlk-userbar__popup-show { display: block; } .tlk-userbar__popup-wrap { padding: 14px; } .tlk-userbar__popup-content { -webkit-transition: opacity 0.3s ease-in-out; -o-transition: opacity 0.3s ease-in-out; transition: opacity 0.3s ease-in-out; } .tlk-userbar__popup-wrap-name { position: relative; padding-right: 26px; } .tlk-userbar__popup-name { color: #333; text-decoration: none; display: flex; align-items: center; column-gap: 4px; font-size: 14px; font-weight: 700; } .tlk-userbar__popup-edit-profile:not(.tmst-main__card__title) :not(.tmst-main__card__footer .tmst-main__card__link) { margin-top: 4px; } .tlk-userbar__popup-edit-profile { display: inline-block; color: #8f8f8f; font-size: 12px; font-weight: 400; -webkit-transition: color 0.3s ease; -o-transition: color 0.3s ease; transition: color 0.3s ease; } .tlk-userbar__popup-edit-profile_userbar:hover { color: #333; } .tlk-userbar__popup-cabinet { display: inline-block; margin-top: 4px; color: #8f8f8f; font-size: 12px; font-weight: 400; text-decoration: none; -webkit-transition: color 0.3s ease; -o-transition: color 0.3s ease; transition: color 0.3s ease; } .tlk-userbar__popup-cabinet:hover { color: #333; } .tlk-userbar__popup-logout { position: absolute; top: -2px; right: 0; width: 20px; height: 20px; -webkit-transition: opacity 0.3s ease; -o-transition: opacity 0.3s ease; transition: opacity 0.3s ease; } .tlk-userbar__popup-logout:hover svg { opacity: 0.7; } .tlk-userbar__popup-warning { position: relative; background-color: #eeeeee; padding: 18px 18px 16px 22px; margin-left: -22px; margin-right: -17px; margin-top: 18px; } .tlk-userbar__popup-warning-wrap { display: flex; } .tlk-userbar__popup-warning-icon { flex-shrink: 0; margin-right: 7px; } .tlk-userbar__popup-warning-btn { text-decoration: underline; } .tlk-userbar__loyalty { box-sizing: border-box; width: 100%; margin-top: 12px; padding: 12px 14px 14px; border-radius: 3px; border: 1px solid var(--tmst-loyalty-border); background: linear-gradient(0deg, var(--tmst-loyalty-bg) 0%, var(--tmst-loyalty-bg) 100%), #fff; display: flex; flex-direction: column; gap: 7px; color: #333; } .tlk-userbar__loyalty-title { margin: 0; font-size: 10px; line-height: 14px; letter-spacing: 0.5px; text-transform: uppercase; color: rgba(51, 51, 51, 0.5); } .tlk-userbar__loyalty-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; } .tlk-userbar__loyalty-left { display: flex; align-items: center; gap: 6px; min-width: 0; } .tlk-userbar__loyalty-icon { flex-shrink: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--tmst-loyalty-color); display: flex; align-items: center; justify-content: center; overflow: hidden; } .tlk-userbar__loyalty-icon:has(.tlk-userbar__loyalty-icon-img) { background: rgba(var(--tmst-loyalty-rgb), 0.2); } .tlk-userbar__loyalty-icon-img { display: block; width: 14px; height: 14px; border-radius: 50%; object-fit: cover; object-position: center; } .tlk-userbar__loyalty .tmst-loyalty__icon-default { width: 20px; height: 20px; color: var(--tmst-loyalty-contrast, #fff); } .tlk-userbar__loyalty-name { display: -webkit-box; margin: 0; font-size: 14px; font-weight: 500; line-height: 16px; color: #333; overflow-wrap: anywhere; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-overflow: ellipsis; } .tlk-userbar__loyalty-discount { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; padding: 2px 7px; border-radius: 30px; background: var(--tmst-loyalty-color); color: var(--tmst-loyalty-contrast, #fff); font-size: 12px; font-weight: 600; line-height: 1.35; text-transform: capitalize; } .tlk-userbar__loyalty_pending { filter: grayscale(1); -webkit-animation: tlkUserbarPreloaderFlickerAnimation 1.5s infinite; animation: tlkUserbarPreloaderFlickerAnimation 1.5s infinite; -webkit-animation-timing-function: ease-out; animation-timing-function: ease-out; } .tlk-userbar__popup-container { margin-top: 16px; padding-top: 20px; border-top: 1px solid rgba(0, 0, 0, 0.2); } .tlk-userbar__popup-container > div { margin-bottom: 16px; } .tlk-userbar__popup-container > div:last-child { margin-bottom: 0px; } .tlk-userbar__popup-heading { margin-bottom: 8px; color: #8f8f8f; text-transform: uppercase; font-size: 12px; font-weight: 400; letter-spacing: 1px; } .tlk-userbar__popup-courses-item, .tlk-userbar__popup-groups-item, .tlk-userbar__popup-store-item { margin: 0px -11px 0px -14px; } .tlk-userbar__popup-courses-link, .tlk-userbar__popup-groups-link, .tlk-userbar__popup-accordion-link, .tlk-userbar__popup-groups-not-link { display: block; color: #333 !important; font-size: 14px; line-height: 16px; font-weight: 400; text-decoration: none; -webkit-transition: color 0.3s, background-color 0.3s ease; -o-transition: color 0.3s, background-color 0.3s ease; transition: color 0.3s, background-color 0.3s ease; } .tlk-userbar__popup-courses-link, .tlk-userbar__popup-groups-link, .tlk-userbar__popup-groups-not-link { padding: 8px 16px 8px 14px; } .tlk-userbar__popup-groups-not-link { -webkit-transition: background-color 0.3s ease; -o-transition: background-color 0.3s ease; transition: background-color 0.3s ease; } .tlk-userbar__popup-groups-not-link:hover { background-color: #f8f8f8; } .tlk-userbar__popup-groups-not-link:hover > span { color: rgba(0, 0, 0, 0.4); } .tlk-userbar__popup-accordion-link { padding: 8px 16px 8px 24px; } .tlk-userbar__popup-courses-link:hover, .tlk-userbar__popup-groups-link:hover, .tlk-userbar__popup-accordion-link:hover { background-color: #f8f8f8; } .tlk-userbar__popup-groups-link:hover, .tlk-userbar__popup-accordion-link:hover { color: #fa876b !important; } .tlk-userbar__popup-groups-link > span { margin-left: 6px; } .tlk-userbar__popup-groups-link:hover > span { color: rgba(0, 0, 0, 0.4); } .tlk-userbar__popup-title span:not(.tlk-userbar__popup-notification) { color: rgba(0, 0, 0, 0.2); font-size: 12px; font-weight: 300; -webkit-transition: color 0.3s ease; -o-transition: color 0.3s ease; transition: color 0.3s ease; } .tlk-userbar__icon { position: absolute; top: 0px; right: 12px; display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; width: 12px; height: 32px; } .tlk-userbar__arrow-down { -webkit-transform: rotate(180deg); -ms-transform: rotate(180deg); transform: rotate(180deg); -webkit-transition: -webkit-transform 0.3s ease; transition: -webkit-transform 0.3s ease; -o-transition: transform 0.3s ease; transition: transform 0.3s ease; transition: transform 0.3s ease, -webkit-transform 0.3s ease; } .tlk-userbar__arrow-down path { -webkit-transition: stroke 0.3s ease; -o-transition: stroke 0.3s ease; transition: stroke 0.3s ease; } .tlk-userbar__popup-notification { display: inline-block; width: 6px; height: 6px; margin-left: 8px; margin-bottom: 2px; border-radius: 50%; background-color: #ff7d5f; } .tlk-userbar__popup-item-line-clamp { position: relative; } .tlk-userbar__popup-item-line-clamp .tlk-userbar__popup-text, .tlk-userbar__popup-item-line-clamp .tlk-userbar__popup-groups-not-link { display: -webkit-box; text-overflow: ellipsis; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; } .tlk-userbar__popup-item-line-clamp .tlk-userbar__popup-notification { position: absolute; bottom: 11px; right: 12px; margin: 0px; } .tlk-userbar__preloader { -webkit-transition: opacity 0.3s ease; -o-transition: opacity 0.3s ease; transition: opacity 0.3s ease; } .tlk-userbar__preloader-wrapper:not(:last-child) { margin-bottom: 20px; } .tlk-userbar__preloader-text { width: 100%; height: 14px; background-color: rgba(123, 123, 123, 0.2); border-radius: 2px; -webkit-animation: tlkUserbarPreloaderFlickerAnimation 1.5s infinite; animation: tlkUserbarPreloaderFlickerAnimation 1.5s infinite; -webkit-animation-timing-function: ease-out; animation-timing-function: ease-out; } .tlk-userbar__preloader-text:not(:last-child) { margin-bottom: 10px; } .tlk-userbar__preloader-text:last-child { width: 80%; } @-webkit-keyframes tlkUserbarPreloaderFlickerAnimation { 0% { opacity: 1; } 40% { opacity: 0.3; } 80% { opacity: 1; } 100% { opacity: 1; } } @keyframes tlkUserbarPreloaderFlickerAnimation { 0% { opacity: 1; } 40% { opacity: 0.3; } 80% { opacity: 1; } 100% { opacity: 1; } } .tlk-accordion__link { position: relative; padding: 8px 32px 8px 14px; font-size: 15px; font-weight: 500; -webkit-transition: 0.3s ease; -o-transition: 0.3s ease; transition: 0.3s ease; cursor: pointer; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; } .tlk-accordion__link:hover { background-color: #f8f8f8; } #app .tlk-accordion__link .tlk-userbar__popup-groups-not-link, .tlk-accordion__link .tlk-userbar__popup-groups-not-link { padding: 0px; } #app .tlk-accordion__link .tlk-userbar__popup-groups-not-link:hover, .tlk-accordion__link .tlk-userbar__popup-groups-not-link:hover { background-color: transparent; } .tlk-accordion__action .tlk-userbar__arrow-down { -webkit-transform: rotate(0deg); -ms-transform: rotate(0deg); transform: rotate(0deg); } .tlk-accordion__link:hover .tlk-userbar__arrow-down path { stroke: #fa876b; } .tlk-accordion__link.tlk-accordion__link_not { cursor: default; } .tlk-accordion__content { max-height: 0; -webkit-transition: max-height 0.3s ease-in-out; -o-transition: max-height 0.3s ease-in-out; transition: max-height 0.3s ease-in-out; overflow: hidden; } .tlk-accordion__content > div:last-child { margin-bottom: 10px; } @media screen and (max-width: 1023px) { .tlk-userbar__user-image_md { width: 60px; height: 60px; } .tlk-userbar__popup_bottom { bottom: 60px; } } @media screen and (max-width: 960px) { .tlk-userbar, .tlk-userbar_store { right: 20px; } } .tlk-recaptcha { display: block; position: fixed; top: 0; bottom: 0; left: 0; right: 0; background-color: rgba(255, 255, 255, 0.9); z-index: 99999; } .tlk-recaptcha__close { position: absolute; right: 30px; top: 20px; width: 25px; height: 25px; -webkit-transition: opacity 0.2s ease-in-out; -o-transition: opacity 0.2s ease-in-out; transition: opacity 0.2s ease-in-out; cursor: pointer; } .tlk-recaptcha__close::before, .tlk-recaptcha__close::after { content: ''; position: absolute; top: 50%; left: 0; width: 100%; height: 1px; background-color: #333333; } .tlk-recaptcha__close::before { -webkit-transform: rotate(45deg); -ms-transform: rotate(45deg); transform: rotate(45deg); } .tlk-recaptcha__close::after { -webkit-transform: rotate(-45deg); -ms-transform: rotate(-45deg); transform: rotate(-45deg); } .tlk-recaptcha__reg-captcha { width: 100%; height: 100%; border: 0; text-align: center; } .tlk-authModal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; justify-content: center; align-items: center; z-index: 9999999; } .tlk-authModal.show { display: flex; animation: fadeIn 0.1s ease; background-color: rgba(0, 0, 0, 0.5); } .tlk-authModal .tlk-authModal-content { width: 100%; height: 100%; border: none; } @keyframes fadeIn { from { opacity: 0; background-color: rgba(0, 0, 0, 0); } to { opacity: 1; background-color: rgba(0, 0, 0, 0.5); } }