Telegram Web K with changes to work inside I2P
https://web.telegram.i2p/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
244 lines
4.7 KiB
244 lines
4.7 KiB
.chats-container { |
|
.input-search { |
|
position: relative; |
|
width: 100%; |
|
margin-left: 22px; |
|
|
|
input { |
|
background-color: rgba(112, 117, 121, .08); |
|
border: 2px solid transparent; |
|
height: 44px; |
|
border-radius: 22px; |
|
box-sizing: border-box; |
|
padding: 0px 1.5rem 0 40px; |
|
-webkit-transition: all .15s ease-out; |
|
transition: all .15s ease-out; |
|
width: 100%; |
|
font-size: 16px; |
|
|
|
&:focus { |
|
background-color: rgba(112, 117, 121, 0); |
|
border: 2px solid $button-primary-background; |
|
|
|
& + .tgico { |
|
color: $button-primary-background; |
|
opacity: 1; |
|
} |
|
} |
|
} |
|
|
|
.tgico { |
|
position: absolute; |
|
left: 12px; |
|
top: 50%; |
|
transform: translateY(-50%); |
|
text-align: center; |
|
font-size: 24px; |
|
color: $color-gray; |
|
opacity: .6; |
|
-webkit-transition: all .15s ease-out; |
|
transition: all .15s ease-out; |
|
|
|
&:before { |
|
vertical-align: middle; |
|
} |
|
} |
|
} |
|
|
|
ul { |
|
margin: 0; |
|
//padding: 0 .5rem; |
|
/* display: grid; |
|
grid-auto-columns: 1fr; */ |
|
display: flex; |
|
flex-direction: column; |
|
/* grid-gap: 4px; */ |
|
width: 100%; |
|
} |
|
|
|
li { |
|
padding: 2px 0; |
|
//overflow: hidden; |
|
background-color: #fff; |
|
} |
|
|
|
li > .rp { |
|
height: 70px; |
|
max-height: 70px; |
|
border-radius: $border-radius; |
|
//align-items: center; |
|
/* display: grid; |
|
grid-template-columns: 64px calc(100% - 64px - 6.5px); */ |
|
display: flex; |
|
align-items: flex-start; |
|
flex-direction: row; |
|
position: relative; |
|
cursor: pointer; |
|
padding: 7px 8.5px; |
|
margin: 0px 8px 2px 7px; |
|
overflow: hidden; |
|
|
|
&:hover { |
|
background: rgba(112, 117, 121, .08); |
|
} |
|
} |
|
|
|
li.active > .rp { |
|
background: rgba(112, 117, 121, 0.08); |
|
} |
|
|
|
.pinned-delimiter { |
|
display: flex; |
|
padding: 6px 0 6px; |
|
|
|
span { |
|
margin: 0; |
|
width: 100%; |
|
height: 1px; |
|
background-color: #DADCE0; |
|
} |
|
} |
|
|
|
/* li.dialog-pinned + .pinned-delimiter { |
|
display: flex; |
|
} */ |
|
|
|
p { |
|
margin: 0; |
|
display: flex; |
|
justify-content: space-between; |
|
flex-direction: row; |
|
//align-items: center; |
|
align-items: flex-start; |
|
//height: 1.7rem; // hot-fix |
|
height: 27px; // maybe new hot-fix |
|
|
|
/* span:not(.tgico-pinnedchat):not(.emoji):last-child { */ |
|
.user-title + span { |
|
/* font-size: .9rem; */ |
|
//font-size: .8rem; |
|
font-size: .75rem; |
|
padding: 2px 0px 0px 0px; |
|
} |
|
|
|
.user-last-message + span:not(.tgico-pinnedchat) { |
|
font-size: .9rem; |
|
} |
|
} |
|
|
|
span { |
|
display: inline-block; |
|
white-space: nowrap; |
|
overflow: hidden; |
|
text-overflow: ellipsis; |
|
vertical-align: middle; |
|
//margin: .1rem 0; |
|
line-height: 27px; |
|
-webkit-user-select: none; |
|
-moz-user-select: none; |
|
-ms-user-select: none; |
|
user-select: none; |
|
} |
|
|
|
.user-avatar { |
|
flex: 0 0 auto; |
|
} |
|
|
|
.user-caption { |
|
max-width: 100%; |
|
max-height: 100%; |
|
overflow: hidden; |
|
color: $color-gray; |
|
flex: 1 1 auto; |
|
padding-right: 3.5px; |
|
padding-left: 10px; |
|
} |
|
|
|
.user-title { |
|
max-width: 80%; |
|
|
|
img.emoji { |
|
vertical-align: top; |
|
width: 18px; |
|
height: 18px; |
|
} |
|
|
|
span.emoji { |
|
overflow: visible; |
|
margin: 0; |
|
width: auto; |
|
font-size: 14px; |
|
//vertical-align: unset; |
|
margin-top: -1.5px; |
|
} |
|
} |
|
|
|
.user-last-message { |
|
max-width: 80%; |
|
|
|
i { |
|
font-style: normal; |
|
color: $darkblue; |
|
} |
|
|
|
img.emoji { |
|
width: 20px; |
|
height: 20px; |
|
} |
|
|
|
span.emoji { |
|
font-size: 1.2rem; |
|
margin: 0 .125rem; |
|
overflow: visible; |
|
margin-top: -1.5px; |
|
} |
|
} |
|
|
|
.message-status { |
|
margin-right: .1rem; |
|
//margin-top: .3rem; |
|
margin-top: -.3rem; |
|
|
|
&[class*=" tgico-"] { |
|
color: $success-color; |
|
font-size: 1.25rem; |
|
} |
|
|
|
&:before { |
|
vertical-align: middle; |
|
} |
|
} |
|
|
|
.unread, .unread-muted, .tgico-pinnedchat { |
|
height: 24px; |
|
text-align: center; |
|
line-height: 24px; |
|
color: #fff; |
|
border-radius: 12px; |
|
margin-top: 1.5px; |
|
margin-right: -2px; |
|
} |
|
|
|
.unread, .unread-muted { |
|
min-width: 24px; |
|
padding: 0 8px; |
|
font-weight: 500; |
|
} |
|
|
|
.tgico-pinnedchat { |
|
width: 24px; |
|
font-size: 1.5rem; |
|
} |
|
|
|
.unread:empty, .unread-muted:empty { |
|
visibility: hidden; |
|
} |
|
|
|
.unread { |
|
background: $success-color; |
|
} |
|
|
|
.unread-muted, .tgico-pinnedchat { |
|
background: #c5c9cc; |
|
} |
|
}
|
|
|