#column-right { width: 0%; /* grid-column: 3; */ position: relative; transition: .2s ease-in-out; .profile-container { > .scrollable { min-width: 25vw; display: flex; flex-direction: column; } @media (min-width: $large-screen) { > .scrollable { min-width: calc(#{$large-screen} / 4 - 1px); } } } &:not(.active) { border-left-width: 0; } &.active { width: 25%; } .sidebar-header { flex: 0 0 auto; } #search-private-container { .chats-container { position: relative; flex: 1 1 auto; } } .sidebar-search { display: none; &.active { display: flex; } } } .profile { &-content { flex: 1 1 auto; display: flex; flex-direction: column; height: 100%; position: relative; width: 100%; [type="checkbox"] + span { padding-left: 54px; margin-left: -54px; } &-wrapper { flex: 0 0 auto; display: flex; flex-direction: column; margin-bottom: 36px; } .content-container { width: 100%; max-width: 100%; //overflow: hidden; flex: 1 1 auto; position: relative; //height: 1%; // fix safari /* &.loaded { // warning .profile-tabs-content { position: relative; min-height: auto; } } */ } } &-name { text-align: center; font-size: 24px; line-height: 1.4; font-weight: 500; span.emoji { vertical-align: inherit; min-width: min-content; } } &-subtitle { text-align: center; color: $color-gray; font-size: 14px; margin-bottom: 2px; &.online { color: $color-blue; } } &-row { display: flex; width: 100%; flex-direction: column; padding-left: 80px; padding-right: 12px; //font-size: 15px; position: relative; margin-top: 31px; line-height: 1.4; &:before { position: absolute; left: 24px; /* top: 0; */ font-size: 24px; color: $color-gray; } p { color: #000; margin: 0; font-size: 1rem; } &-bio { .emoji { width: 24px; height: 24px; } } &-label { color: #707579 !important; font-size: 14px !important; } &-notifications { margin-top: 29px; line-height: 1.3; } } &-avatar { width: 120px; height: 120px; margin: 1px auto 21px; font-size: 4rem !important; &.tgico-avatar_deletedaccount { font-size: 6rem; } } &-tabs { //margin-top: 36px; position: -webkit-sticky !important; position: sticky !important; top: 0; z-index: 3; background-color: #fff; &-content { //min-height: 100%; min-height: calc(100% - 49px); position: absolute; // FIX THE SAFARI! //position: relative; /* width: 500%; margin-left: -100%; */ /* > div { height: 0; &.active { height: auto; } } */ > div { //height: 100%; position: relative; } /* > div > div:not(.scroll-padding) { height: 100%; } */ .preloader { padding: 0; position: absolute !important; height: 100%; > svg { height: 50px; width: 50px; } } #content-media { width: 100%; display: flex; flex-direction: column; padding: 4px 7.5px 7.5px; .media-row { display: grid; grid-template-columns: 1fr 1fr 1fr; grid-auto-rows: max-content; grid-gap: 3.5px; place-items: start; padding-top: 3.5px; .media-item { width: 100%; cursor: pointer; display: flex; background-color: #000; position: relative; &::before { content: ""; display: inline-block; width: 1px; height: 0; padding-bottom: 100%; } } } .video-time { position: absolute; left: 5px; top: 4px; height: 18px; border-radius: 4px; background-color: $time-background; padding: 0px 6px 0px 5px; z-index: 2; font-size: 12px; color: white; } .media-image { width: 100%; max-height: 100%; object-fit: cover; } /* span.video-play { background-color: $time-background; color: #fff; text-align: center; font-size: 34px; line-height: 60px; cursor: pointer; } */ } #content-docs { padding: 7px 20px; .document { padding-left: 4rem; padding-right: 1rem; //height: 54px; height: calc(50px + 1.5rem); &-ico, &-download { width: 48px; height: 48px; } /* & + .document { margin-top: 1.5rem; } */ } .document-name { font-weight: normal; width: 100%; max-width: 100%; overflow: hidden; text-overflow: ellipsis; } } #content-links { padding: 0 30px 15px 15px; > div { display: flex; flex-direction: column; margin-top: 20px; margin-left: 5px; padding-bottom: 2px; //padding-bottom: 10px; position: relative; padding-left: 60px; overflow: hidden; //min-height: 48px; min-height: 58px; .preview { height: 48px; width: 48px; border-radius: 5px; overflow: hidden; position: absolute; left: 0; top: 0; background-repeat: no-repeat; background-size: cover; background-position: center center; &.empty { display: flex; align-items: center; justify-content: center; font-size: 2rem; color: #fff; text-transform: uppercase; background-color: $color-blue; } } .url { white-space: nowrap; text-overflow: ellipsis; overflow: hidden; } } .title { font-size: 16px; margin-top: 3px; } .subtitle { font-size: 14px; } } #content-audio { padding: 20px 15px 15px 20px; > div { min-height: 60px; } .audio { padding-bottom: 26px; padding-left: 61px; /* min-height: 58px; */ max-width: 368px; justify-content: unset; &-details { height: 66px; } &.audio-show-progress .audio-subtitle { overflow: visible; } /* &-no-subtitle { padding-bottom: 16px; } */ &-ico { width: 48px; height: 48px; &.tgico-largeplay:before { margin-right: -1px; } } &-download { border-radius: 50%; background-color: #50a2e9; align-items: center; } &-toggle, &-download { font-size: 1.9rem; } &-title { font-size: 1rem; color: #000; line-height: 1.2; padding-top: 5px; margin-top: 0; margin-left: -1px; } &-subtitle { font-size: 14px; line-height: 1.25; color: #707579; margin-left: -1px; margin-top: 3px; } &-time { margin-top: 1px; } &-title, &-subtitle { overflow: hidden; text-overflow: ellipsis; } } .media-progress { margin: 11px 0 8px; &__filled { background-color: #0089ff; transform-origin: left; height: 2px; } &__seek { height: 2px; //background-color: #e6ecf0; background: rgba(193, 207, 220, 0.39); &::-webkit-slider-thumb { height: 12px; width: 12px; } } } } } } }