1370 lines
30 KiB
CSS
1370 lines
30 KiB
CSS
textarea {
|
|
caret-color: var(--color-main);
|
|
}
|
|
|
|
.chat-pan {
|
|
background-color: var(--color-card);
|
|
background-repeat: no-repeat;
|
|
background-position: center;
|
|
background-size: auto;
|
|
|
|
color: var(--color-font);
|
|
flex-direction: column;
|
|
pointer-events: none;
|
|
transition: all .3s;
|
|
position: absolute;
|
|
display: flex;
|
|
height: 100%;
|
|
left: 371px;
|
|
right: 0;
|
|
top: 0;
|
|
}
|
|
.chat-pan.withBar {
|
|
height: calc(100% - 40px);
|
|
top: 40px;
|
|
}
|
|
.chat-pan.full {
|
|
height: 100%;
|
|
z-index: 20;
|
|
bottom: 0;
|
|
left: 0;
|
|
}
|
|
.chat-pan > div {
|
|
z-index: 2;
|
|
}
|
|
.chat-pan > div.bg {
|
|
background: rgba(var(--color-card-rgb), 0.6);
|
|
position: absolute;
|
|
height: 100%;
|
|
width: 100%;
|
|
z-index: 0;
|
|
}
|
|
.chat-pan > div.info {
|
|
background: rgba(var(--color-card-1-rgb), 0.8);
|
|
box-shadow:0 0 1px var(--color-shader);
|
|
backdrop-filter: blur(50px);
|
|
width: calc(100% - 60px);
|
|
pointer-events: all;
|
|
align-items: center;
|
|
border-radius: 7px;
|
|
display: flex;
|
|
padding: 15px;
|
|
margin: 15px;
|
|
}
|
|
.chat-pan > div.info > img {
|
|
border: 2px solid var(--color-card-2);
|
|
border-radius: 7px;
|
|
margin-right: 10px;
|
|
height: 50px;
|
|
width: 50px;
|
|
}
|
|
.chat-pan > div.info > div:nth-child(2) p {
|
|
font-weight: bold;
|
|
font-size: 1rem;
|
|
}
|
|
.chat-pan > div.info > div:nth-child(2) span {
|
|
font-size: 0.8rem;
|
|
font-weight: 100;
|
|
margin-top: 3px;
|
|
display: block;
|
|
}
|
|
.chat-pan > div.info > div:nth-child(3) {
|
|
flex: 1;
|
|
}
|
|
.chat-pan > div.info > div:nth-child(4) {
|
|
background: var(--color-card-2);
|
|
border-radius: 50%;
|
|
cursor: pointer;
|
|
height: 45px;
|
|
width: 45px;
|
|
}
|
|
.chat-pan > div.info > div:nth-child(4) > svg {
|
|
fill: var(--color-main);
|
|
margin: 10px;
|
|
height: 25px;
|
|
width: 25px;
|
|
}
|
|
|
|
.chat-pan > div.chat {
|
|
max-width: calc(100% - 40px);
|
|
width: calc(100% - 20px);
|
|
pointer-events: all;
|
|
overflow-y: scroll;
|
|
overflow-x: hidden;
|
|
margin-left: 20px;
|
|
margin-top: -90px;
|
|
z-index: 1;
|
|
flex: 1;
|
|
}
|
|
.chat-pan > div.chat::-webkit-scrollbar {
|
|
background: transparent;
|
|
}
|
|
|
|
.chat-pan > div.new-msg {
|
|
/* border-right: 7px solid var(--color-card); */
|
|
border-right: 7px solid transparent;
|
|
border-radius: 50px 0 0 50px;
|
|
margin: -50px 20px 0 auto;
|
|
pointer-events: all;
|
|
cursor: pointer;
|
|
height: 50px;
|
|
z-index: 2;
|
|
}
|
|
.chat-pan > div.new-msg > div {
|
|
background: rgba(var(--color-card-1-rgb), 0.7);
|
|
backdrop-filter: blur(50px);
|
|
border-radius: 40px;
|
|
align-items: center;
|
|
margin-right: -7px;
|
|
margin-top: 10px;
|
|
display: flex;
|
|
height: 100%;
|
|
padding: 0;
|
|
}
|
|
.chat-pan > div.new-msg > div > svg {
|
|
fill: var(--color-font);
|
|
padding: 16px;
|
|
height: 17px;
|
|
width: 17px;
|
|
}
|
|
.chat-pan > div.new-msg > div > span {
|
|
margin-right: 20px;
|
|
margin-left: -5px;
|
|
}
|
|
.chat-pan > div.more {
|
|
background: rgba(var(--color-card-rgb), 0.1);
|
|
transition: background .3s;
|
|
pointer-events: all;
|
|
}
|
|
.chat-pan > div.more.btn {
|
|
background: transparent;
|
|
}
|
|
.chat-pan > div.more > div:nth-child(2) {
|
|
display: flex;
|
|
padding: 20px;
|
|
}
|
|
.chat-pan > div.more > div:nth-child(2) > div {
|
|
background: var(--color-card-1);
|
|
border-radius: 7px;
|
|
}
|
|
.chat-pan > div.more > div:nth-child(2) > div:first-child {
|
|
margin-right: 20px;
|
|
cursor: pointer;
|
|
height: 50px;
|
|
width: 50px;
|
|
}
|
|
.chat-pan > div.more > div:nth-child(2) > div:first-child > svg {
|
|
fill: var(--color-font-1);
|
|
margin: 15px;
|
|
height: 20px;
|
|
width: 20px;
|
|
}
|
|
.chat-pan > div.more > div:nth-child(2) > div:nth-child(2) {
|
|
display: flex;
|
|
height: 50px;
|
|
flex: 1;
|
|
}
|
|
.chat-pan > div.more > div:nth-child(2) > div > form {
|
|
width: 100%;
|
|
}
|
|
.chat-pan > div.more > div:nth-child(2) > div > form > input {
|
|
padding-top: 0 !important;
|
|
margin-top: 0 !important;
|
|
height: 100% !important;
|
|
}
|
|
.chat-pan > div.more > div:nth-child(2) > div > form > input,
|
|
.chat-pan > div.more > div:nth-child(2) > div > form > textarea {
|
|
padding: 14px 20px 0 20px;
|
|
color: var(--color-font);
|
|
background: transparent;
|
|
line-height: 1.1rem;
|
|
border-radius: 7px;
|
|
margin-top: 5px;
|
|
max-height: 50px;
|
|
height: 26px;
|
|
resize: none;
|
|
width: 100%;
|
|
border: 0;
|
|
}
|
|
.chat-pan > div.more > div:nth-child(2) > div > div {
|
|
border-radius: 7px;
|
|
min-height: 40px;
|
|
min-width: 40px;
|
|
cursor: pointer;
|
|
margin: 5px;
|
|
}
|
|
.chat-pan > div.more > div:nth-child(2) > div > div:hover {
|
|
background: var(--color-card-2);
|
|
}
|
|
.chat-pan > div.more > div:nth-child(2) > div svg {
|
|
fill: var(--color-font-1);
|
|
width: 20px;
|
|
height: 20px;
|
|
margin: 11px;
|
|
}
|
|
.chat-pan > div.loading {
|
|
background: var(--color-card-1);
|
|
margin: -10px 15px 15px 15px;
|
|
justify-content: center;
|
|
align-items: center;
|
|
transition: all .3s;
|
|
border-radius: 7px;
|
|
overflow: hidden;
|
|
display: flex;
|
|
padding: 0;
|
|
height: 0;
|
|
}
|
|
.chat-pan > div.loading.show {
|
|
height: unset;
|
|
padding: 10px;
|
|
}
|
|
@-webkit-keyframes rotate {
|
|
from { transform: rotate(0deg); }
|
|
to { transform: rotate(360deg); }
|
|
}
|
|
@keyframes rotate {
|
|
from { transform: rotate(0deg); }
|
|
to { transform: rotate(360deg); }
|
|
}
|
|
.chat-pan > div.loading svg {
|
|
animation: rotate 1.5s linear infinite;
|
|
fill: var(--color-font);
|
|
margin-right: 5px;
|
|
margin-top: 2px;
|
|
height: 0.9rem;
|
|
}
|
|
|
|
.sys-not-pan {
|
|
text-align: center;
|
|
padding: 20px;
|
|
display: flex;
|
|
}
|
|
.sys-not-pan > div {
|
|
pointer-events: all;
|
|
}
|
|
.sys-not-pan > div:first-child {
|
|
background: var(--color-card-1);
|
|
align-items: center;
|
|
border-radius: 7px;
|
|
display: flex;
|
|
padding: 10px 20px;
|
|
}
|
|
.sys-not-pan > div:first-child > svg {
|
|
fill: var(--color-font);
|
|
margin-right: 20px;
|
|
cursor: pointer;
|
|
height: 1.1rem;
|
|
}
|
|
.sys-not-pan > div:first-child > span {
|
|
font-size: 1rem;
|
|
}
|
|
|
|
.sys-not-list {
|
|
background: var(--color-card-1);
|
|
border-radius: 7px;
|
|
margin-top: 10px;
|
|
padding: 10px;
|
|
}
|
|
|
|
.more-detail {
|
|
transition: height .3s;
|
|
overflow: hidden;
|
|
display: flex;
|
|
margin-top: 0;
|
|
width: 100%;
|
|
height: 0;
|
|
}
|
|
.more-detail.show {
|
|
padding-top: 20px;
|
|
display: flex;
|
|
height: 50px;
|
|
width: 100%;
|
|
}
|
|
.more-detail > div {
|
|
background: var(--color-card-1);
|
|
border-radius: 7px;
|
|
margin: 0 10px;
|
|
cursor: pointer;
|
|
height: 50px;
|
|
width: 50px;
|
|
}
|
|
.more-detail > div:first-child {
|
|
margin-left: 20px;
|
|
}
|
|
.more-detail > div > svg {
|
|
fill: var(--color-font-1);
|
|
margin: 15px;
|
|
height: 20px;
|
|
width: 20px;
|
|
}
|
|
|
|
.msg-menu {
|
|
position: absolute;
|
|
height: 100%;
|
|
width: 100%;
|
|
z-index: 10;
|
|
}
|
|
.msg-menu-bg {
|
|
pointer-events: all;
|
|
position: absolute;
|
|
height: 100%;
|
|
width: 100%;
|
|
}
|
|
|
|
.merge-pan {
|
|
align-items: stretch;
|
|
flex-direction: row;
|
|
position: absolute;
|
|
display: flex;
|
|
height: 100%;
|
|
width: 100%;
|
|
}
|
|
.merge-pan.show {
|
|
pointer-events: all;
|
|
}
|
|
.merge-pan > div:first-child {
|
|
background: var(--color-card-2);
|
|
transition: background .5s;
|
|
opacity: 0;
|
|
flex: 1;
|
|
}
|
|
.merge-pan.show > div:first-child {
|
|
opacity: 0.7;
|
|
}
|
|
.merge-pan > div:last-child {
|
|
transition: width .4s;
|
|
overflow: hidden;
|
|
min-width: unset;
|
|
padding: 0;
|
|
width: 0;
|
|
}
|
|
.merge-pan.show > div:last-child {
|
|
flex-direction: column;
|
|
display: flex;
|
|
width: 50%;
|
|
}
|
|
.merge-pan > div:last-child > div:first-child {
|
|
align-items: center;
|
|
display: flex;
|
|
padding: 20px;
|
|
}
|
|
.merge-pan > div:last-child > div:first-child span {
|
|
white-space: nowrap;
|
|
margin-left: 15px;
|
|
font-size: 1rem;
|
|
flex: 1;
|
|
}
|
|
.merge-pan > div:last-child > div:first-child svg {
|
|
fill: var(--color-font);
|
|
height: 1.5rem;
|
|
}
|
|
.merge-pan > div:last-child > div:last-child {
|
|
margin: 0 10px 10px 10px;
|
|
overflow-y: scroll;
|
|
flex: 1;
|
|
}
|
|
|
|
.mumber-info {
|
|
position: absolute;
|
|
height: 100%;
|
|
width: 100%;
|
|
}
|
|
.mumber-info span,
|
|
.mumber-info a {
|
|
color: var(--color-font);
|
|
}
|
|
.mumber-info > div {
|
|
pointer-events: all;
|
|
}
|
|
.mumber-info > div:first-child {
|
|
transform: translate(-20px, calc(-100% - 0.8rem));
|
|
background: var(--color-card-2);
|
|
padding: 10px 20px 10px 10px;
|
|
width: fit-content;
|
|
overflow: hidden;
|
|
max-width: 35%;
|
|
display: flex;
|
|
}
|
|
.mumber-info > div:first-child img {
|
|
border-radius: 7px;
|
|
height: 60px;
|
|
width: 60px;
|
|
}
|
|
.mumber-info > div:first-child > div {
|
|
margin-left: 20px;
|
|
overflow: hidden;
|
|
flex: 1;
|
|
}
|
|
.mumber-info > div:first-child > div > span {
|
|
white-space: nowrap;
|
|
}
|
|
.mumber-info > div:first-child > div > span[name=id] {
|
|
font-size: 0.8rem;
|
|
display: block;
|
|
opacity: 0.5;
|
|
}
|
|
.mumber-info > div:first-child > div > div {
|
|
margin-bottom: 5px;
|
|
flex-wrap: wrap;
|
|
display: flex;
|
|
}
|
|
.mumber-info > div:first-child > div > div > a {
|
|
white-space: nowrap;
|
|
margin-right: 10px;
|
|
font-weight: bold;
|
|
font-size: 1rem;
|
|
display: block;
|
|
}
|
|
.mumber-info > div:first-child > div > div > div {
|
|
margin-top: 4px;
|
|
}
|
|
.mumber-info > div:first-child > div > div > div > span {
|
|
background: var(--color-main);
|
|
color: var(--color-font-r);
|
|
padding: 4px 10px 0 10px;
|
|
border-radius: 2rem;
|
|
margin-left: 5px;
|
|
font-size: 0.5rem;
|
|
}
|
|
.mumber-info > div:first-child > div > div > div > span:first-child {
|
|
margin-left: 0;
|
|
}
|
|
|
|
.chat-info-pan {
|
|
pointer-events: all;
|
|
position: absolute;
|
|
height: 100%;
|
|
width: 100%;
|
|
}
|
|
.card-info-pan-bg {
|
|
background: var(--color-card-2);
|
|
height: 100%;
|
|
opacity: 0.7;
|
|
width: 100%;
|
|
}
|
|
.chat-info {
|
|
margin: calc(50vh - 20px) 0 0 50%;
|
|
transform: translate(-50%, -50%);
|
|
flex-direction: column;
|
|
position: absolute;
|
|
max-height: 80%;
|
|
display: flex;
|
|
width: 50%;
|
|
z-index: 1;
|
|
}
|
|
.chat-info header {
|
|
letter-spacing: 0;
|
|
}
|
|
.chat-info > header {
|
|
margin-bottom: 5px;
|
|
display: flex;
|
|
}
|
|
.chat-info > header > span {
|
|
white-space: nowrap;
|
|
font-size: 1rem;
|
|
flex: 1;
|
|
}
|
|
.chat-info > header > svg {
|
|
fill: var(--color-font);
|
|
cursor: pointer;
|
|
height: 1.5rem;
|
|
}
|
|
.chat-info-base {
|
|
background: var(--color-card-1);
|
|
border-radius: 7px;
|
|
margin: 0 10px;
|
|
padding: 20px;
|
|
}
|
|
.chat-info-base.user {
|
|
background: transparent;
|
|
margin: 0;
|
|
}
|
|
.chat-info-base > div:first-child {
|
|
background: var(--color-card-2);
|
|
border-radius: 7px 7px 0 0;
|
|
width: calc(100% + 20px);
|
|
align-items: center;
|
|
margin-left: -20px;
|
|
margin-top: -20px;
|
|
display: flex;
|
|
padding: 10px;
|
|
}
|
|
.chat-info-base.user > div:first-child {
|
|
background: var(--color-card-1);
|
|
border-radius: 7px;
|
|
}
|
|
.chat-info-base > div:first-child > img {
|
|
border: 2px solid var(--color-card-1);
|
|
outline: 2px solid var(--color-main);
|
|
border-radius: 7px;
|
|
height: 40px;
|
|
width: 40px;
|
|
}
|
|
.chat-info-base > div:first-child > div:nth-child(2){
|
|
flex-direction: column;
|
|
margin-left: 20px;
|
|
display: flex;
|
|
flex: 1;
|
|
}
|
|
.chat-info-base > div:first-child > div:nth-child(2) > a {
|
|
color: var(--color-font);
|
|
font-weight: bold;
|
|
font-size: 1rem;
|
|
}
|
|
.chat-info-base > div:first-child > div:nth-child(2) > span {
|
|
color: var(--color-font-1)
|
|
}
|
|
.chat-info-base > div:first-child > div:nth-child(3) {
|
|
background: var(--color-card-2);
|
|
border-radius: 100%;
|
|
padding: 15px;
|
|
height: 20px;
|
|
width: 20px;
|
|
}
|
|
.chat-info-base > div:first-child > div:nth-child(3) > svg {
|
|
fill: var(--color-font);
|
|
}
|
|
.chat-info-base > div:last-child {
|
|
padding: 0 10px;
|
|
}
|
|
.chat-info-base > div:last-child > header {
|
|
color: var(--color-main);
|
|
padding-bottom: 5px;
|
|
font-size: 0.9rem;
|
|
margin-top: 10px;
|
|
}
|
|
.chat-info-base > div:last-child > div.tags {
|
|
align-items: center;
|
|
margin-top: 10px;
|
|
flex-wrap: wrap;
|
|
display: flex;
|
|
}
|
|
.chat-info-base > div:last-child > div.tags > div {
|
|
background: var(--color-main);
|
|
color: var(--color-font-r);
|
|
margin: 5px 5px 0 5px;
|
|
border-radius: 1rem;
|
|
padding: 2px 10px;
|
|
font-size: 0.8rem;
|
|
}
|
|
.chat-info-base > div:last-child > div.admin {
|
|
align-items: center;
|
|
flex-wrap: wrap;
|
|
display: flex;
|
|
}
|
|
.chat-info-base > div:last-child > div.admin > img {
|
|
border: 2px solid var(--color-card-2);
|
|
border-radius: 100%;
|
|
margin: 0 3px 3px 0;
|
|
height: 35px;
|
|
}
|
|
.chat-info-base > div:last-child > div.outher > span {
|
|
display: block;
|
|
}
|
|
.chat-info-base > div:last-child > div.outher > span > span {
|
|
color: var(--color-font-1);
|
|
}
|
|
|
|
.chat-info-tab {
|
|
color: var(--color-font);
|
|
justify-content: center;
|
|
display: flex;
|
|
padding: 5px;
|
|
border: 0;
|
|
}
|
|
.chat-info-tab > li {
|
|
min-width: unset;
|
|
width: 50px;
|
|
}
|
|
.chat-info-tab-member {
|
|
padding: 0 20px;
|
|
}
|
|
.chat-info-tab-member > div {
|
|
transition: background .3s;
|
|
align-items: center;
|
|
border-radius: 7px;
|
|
display: flex;
|
|
padding: 10px;
|
|
}
|
|
.chat-info-tab-member > div:hover {
|
|
background: var(--color-card-1);
|
|
}
|
|
.chat-info-tab-member > div > img {
|
|
border-radius: 100%;
|
|
margin-right: 10px;
|
|
height: 30px;
|
|
width: 30px;
|
|
}
|
|
.chat-info-tab-member > div > div {
|
|
align-items: center;
|
|
display: flex;
|
|
flex: 1;
|
|
}
|
|
.chat-info-tab-member > div > div > a {
|
|
color: var(--color-font);
|
|
}
|
|
.chat-info-tab-member > div > div > svg {
|
|
fill: var(--color-main);
|
|
margin-left: 5px;
|
|
height: 0.8rem;
|
|
}
|
|
.chat-info-tab-member > div > span {
|
|
color: var(--color-font-2);
|
|
}
|
|
|
|
.chat-info-tab-body {
|
|
flex-direction: column;
|
|
overflow: hidden;
|
|
display: flex;
|
|
}
|
|
.chat-info-tab-body > div {
|
|
overflow-y: scroll;
|
|
}
|
|
|
|
.bulletins {
|
|
padding: 0 20px;
|
|
}
|
|
.bulletins > div {
|
|
transition: background .3s;
|
|
border-radius: 7px;
|
|
padding: 10px 20px;
|
|
}
|
|
.bulletins > div:hover {
|
|
background: var(--color-card-1);
|
|
}
|
|
.bulletins > div.base {
|
|
cursor: pointer;
|
|
}
|
|
.bulletins > div.base > span {
|
|
background: var(--color-card-1);
|
|
margin-top: calc(-1rem - 5px);
|
|
border-radius: 7px;
|
|
text-align: center;
|
|
font-size: 0.8rem;
|
|
margin-top: 10px;
|
|
display: block;
|
|
padding: 5px;
|
|
}
|
|
.bulletins > div.base > header {
|
|
align-items: center;
|
|
display: flex;
|
|
}
|
|
.bulletins > div.base > header > svg {
|
|
fill: var(--color-main);
|
|
margin-right: 10px;
|
|
margin-top: 2px;
|
|
height: 1.1rem;
|
|
}
|
|
.bulletins > div.base > header > span {
|
|
color: var(--color-main);
|
|
font-weight: bold;
|
|
font-size: 1rem;
|
|
}
|
|
.bulletins > div.base > div.body {
|
|
text-overflow: ellipsis;
|
|
overflow: hidden;
|
|
max-height: 6rem;
|
|
}
|
|
.bulletins > div.base > div.body.all {
|
|
max-height: unset;
|
|
}
|
|
.bulletins > div.base > div.body > span {
|
|
white-space: pre-line;
|
|
}
|
|
.bulletins > div.base > div.info {
|
|
background: var(--color-card-1);
|
|
transition: background .3s;
|
|
align-items: center;
|
|
border-radius: 7px;
|
|
padding: 10px 20px;
|
|
margin-top: 10px;
|
|
display: flex;
|
|
}
|
|
.bulletins > div.base:hover > div.info {
|
|
background: var(--color-card-2);
|
|
}
|
|
.bulletins > div.base > div.info > img {
|
|
outline: 2px solid var(--color-main);
|
|
border: 2px solid var(--color-card);
|
|
border-radius: 100%;
|
|
width: 20px;
|
|
}
|
|
.bulletins > div.base > div.info > a {
|
|
color: var(--color-main);
|
|
margin-left: 10px;
|
|
font-size: 0.9rem;
|
|
}
|
|
.bulletins > div.base > div.info > div {
|
|
flex: 1;
|
|
}
|
|
.bulletins > div.base > div.info > span {
|
|
color: var(--color-font-2);
|
|
font-size: 0.8rem;
|
|
}
|
|
|
|
.group-files {
|
|
padding: 0 10px;
|
|
}
|
|
.group-files > div > div {
|
|
transition: background .3s;
|
|
align-items: center;
|
|
border-radius: 7px;
|
|
flex-wrap: wrap;
|
|
padding: 10px;
|
|
display: flex;
|
|
margin: 5px;
|
|
}
|
|
.group-files > div > div.folder {
|
|
cursor: pointer;
|
|
}
|
|
.group-files > div > div.folder.open {
|
|
background: var(--color-card-1);
|
|
}
|
|
.group-files > div > div:hover {
|
|
background: var(--color-card-1);
|
|
}
|
|
.group-files > div > div > svg {
|
|
fill: var(--color-font);
|
|
margin: 0 15px 0 10px;
|
|
height: 1.2rem;
|
|
}
|
|
.group-files > div > div > div.main {
|
|
margin-right: 20px;
|
|
flex: 1;
|
|
}
|
|
.group-files > div > div > div.main span {
|
|
overflow-wrap: anywhere;
|
|
}
|
|
.group-files > div > div > div.download {
|
|
background: var(--color-card-2);
|
|
border-radius: 100%;
|
|
cursor: pointer;
|
|
height: 1.9rem;
|
|
width: 1.9rem;
|
|
}
|
|
.group-files > div > div > div.download > svg {
|
|
fill: var(--color-font);
|
|
height: 0.8rem;
|
|
margin: 10px;
|
|
}
|
|
.group-files > div > div > div > div > span {
|
|
color: var(--color-font-1);
|
|
font-size: 0.8rem;
|
|
}
|
|
.group-files > div > div > div > div > span:first-child {
|
|
color: var(--color-main);
|
|
}
|
|
.group-files > div > div > div > div > span::after {
|
|
color: var(--color-font-1);
|
|
content: '\2022';
|
|
margin-left: 5px;
|
|
}
|
|
.group-files > div > div > div > div > span:last-child::after {
|
|
content: '';
|
|
}
|
|
|
|
.group-files-loader {
|
|
justify-content: center;
|
|
display: flex;
|
|
}
|
|
.group-files-loader > svg {
|
|
fill: var(--color-font-1);
|
|
width: 1rem;
|
|
}
|
|
|
|
.info-pan-set {
|
|
padding: 0 20px;
|
|
}
|
|
.info-pan-set > div:hover {
|
|
background: var(--color-card-1) !important;
|
|
}
|
|
.info-pan-set > div > label.ss-switch {
|
|
--switch-dot-border: 5px;
|
|
--switch-dot-margin: 8px;
|
|
--switch-height: 25px;
|
|
min-width: 45px;
|
|
margin: 5px 0;
|
|
}
|
|
.info-pan-set > div > label.ss-switch > div {
|
|
background: var(--color-card-2);
|
|
}
|
|
.info-pan-set > div > label.ss-switch > div > div {
|
|
margin-top: 3px;
|
|
}
|
|
.info-pan-set > div > label.ss-switch input:checked ~ div {
|
|
background: var(--color-main);
|
|
}
|
|
|
|
.sub_file {
|
|
margin-top: 10px;
|
|
width: 100%;
|
|
}
|
|
/* .sub_file > div > div:hover {
|
|
background: var(--color-card-2);
|
|
} */
|
|
|
|
.download-bar {
|
|
--main-size: 25px;
|
|
height: var(--main-size) !important;
|
|
width: var(--main-size) !important;
|
|
transform: rotate(-90deg);
|
|
padding: calc(5px / 2);
|
|
margin: 0 !important;
|
|
}
|
|
.download-bar > circle:first-child {
|
|
stroke: var(--color-card-2);
|
|
}
|
|
.download-bar > circle:last-child {
|
|
stroke: var(--color-main);
|
|
}
|
|
|
|
.img-sender {
|
|
pointer-events: all;
|
|
position: absolute;
|
|
height: 100%;
|
|
width: 100%;
|
|
left: 0;
|
|
top: 0;
|
|
}
|
|
.img-sender > div.bg {
|
|
background: var(--color-card-2);
|
|
height: 100%;
|
|
opacity: 0.7;
|
|
width: 100%;
|
|
}
|
|
.img-sender > div.card {
|
|
margin: calc(50vh - 75px) 0 0 50%;
|
|
transform: translate(-50%, -50%);
|
|
flex-direction: column;
|
|
position: absolute;
|
|
display: flex;
|
|
height: 50%;
|
|
width: 50%;
|
|
z-index: 1;
|
|
}
|
|
.img-sender > div.card > div.hander {
|
|
align-items: center;
|
|
display: flex;
|
|
}
|
|
.img-sender > div.card > div.hander > span {
|
|
font-weight: bold;
|
|
font-size: 1rem;
|
|
flex: 1;
|
|
}
|
|
.img-sender > div.card > div.hander > button {
|
|
width: 100px;
|
|
}
|
|
.img-sender > div.card > div.imgs {
|
|
margin-bottom: 20px;
|
|
overflow-y: scroll;
|
|
overflow-x: hidden;
|
|
margin-right: -7px;
|
|
margin-top: 10px;
|
|
height: 100%;
|
|
}
|
|
.img-sender > div.card > div.imgs::-webkit-scrollbar {
|
|
display: none;
|
|
}
|
|
.img-sender > div.card > div.imgs > div {
|
|
border: 2px solid var(--color-card-2);
|
|
border-radius: 7px;
|
|
margin-right: 9px;
|
|
margin-top: 10px;
|
|
padding: 10px;
|
|
}
|
|
.img-sender > div.card > div.imgs > div > img {
|
|
transform: translateX(-50%);
|
|
margin-bottom: 9px;
|
|
border-radius: 7px;
|
|
max-height: 30vh;
|
|
margin-left: 50%;
|
|
max-width: 100%;
|
|
margin-top: 5px;
|
|
}
|
|
.img-sender > div.card > div.imgs > div > div {
|
|
margin-bottom: calc(-20px - 1rem);
|
|
background: var(--color-card-2);
|
|
backdrop-filter: blur(10px);
|
|
height: calc(1rem + 15px);
|
|
width: calc(1rem + 15px);
|
|
justify-content: center;
|
|
border-radius: 100%;
|
|
align-items: center;
|
|
position: relative;
|
|
margin-right: 10px;
|
|
margin-top: 9px;
|
|
cursor: pointer;
|
|
display: flex;
|
|
float: right;
|
|
z-index: 1;
|
|
}
|
|
.img-sender > div.card > div.imgs > div > div > svg {
|
|
fill: var(--color-font);
|
|
height: 1rem;
|
|
}
|
|
.img-sender > div.card > div.sender {
|
|
display: flex;
|
|
}
|
|
.img-sender > div.card > div.sender > input {
|
|
background: var(--color-card-1);
|
|
width: calc(100% - 20px);
|
|
border-radius: 7px;
|
|
padding: 0 10px;
|
|
height: 50px;
|
|
border: 0;
|
|
flex: 1;
|
|
}
|
|
.img-sender > div.card > div.sender > svg {
|
|
background: var(--color-card-1);
|
|
fill: var(--color-font-1);
|
|
border-radius: 7px;
|
|
margin-right: 20px;
|
|
padding: 15px;
|
|
cursor: pointer;
|
|
height: 20px;
|
|
width: 20px;
|
|
}
|
|
|
|
.face-pan {
|
|
background: var(--color-card-1);
|
|
transform: translateY(-100%);
|
|
position: absolute;
|
|
margin-left: 20px;
|
|
height: 250px;
|
|
width: 300px;
|
|
padding: 0;
|
|
}
|
|
.face-pan > div.layui-tab {
|
|
margin: 0;
|
|
}
|
|
.fase-pan-tab > li > svg {
|
|
fill: var(--color-font);
|
|
margin-top: 10px;
|
|
margin-left: 5px;
|
|
height: 1.1rem;
|
|
width: 1.1rem;
|
|
}
|
|
.fase-pan-tab > li.layui-this > svg {
|
|
fill: var(--color-main) !important;
|
|
}
|
|
|
|
.base-face {
|
|
height: calc(300px - 135px);
|
|
justify-content: center;
|
|
overflow-y: scroll;
|
|
padding: 0 20px;
|
|
flex-wrap: wrap;
|
|
display: flex;
|
|
}
|
|
.base-face > div {
|
|
background: var(--color-card-2);
|
|
border-radius: 100%;
|
|
cursor: pointer;
|
|
height: 40px;
|
|
width: 40px;
|
|
margin: 5px;
|
|
}
|
|
.base-face > div > img {
|
|
margin: 10px;
|
|
height: 20px;
|
|
width: 20px;
|
|
}
|
|
.face-stickers {
|
|
height: calc(300px - 135px);
|
|
justify-content: center;
|
|
align-items: center;
|
|
flex-direction: row;
|
|
overflow-y: scroll;
|
|
flex-wrap: wrap;
|
|
display: flex;
|
|
}
|
|
.face-stickers > img {
|
|
border: 2px var(--color-card-2) solid;
|
|
background: var(--color-card-2);
|
|
border-radius: 7px;
|
|
cursor: pointer;
|
|
height: 50px;
|
|
width: 50px;
|
|
margin: 5px;
|
|
}
|
|
.face-stickers > div {
|
|
background: var(--color-card-2);
|
|
padding: 20px !important;
|
|
justify-content: center;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
display: flex;
|
|
height: 60px;
|
|
width: 80px;
|
|
}
|
|
.face-stickers > div > span {
|
|
color: var(--color-font);
|
|
margin-top: 10px;
|
|
}
|
|
.face-stickers > div > svg {
|
|
fill: var(--color-main);
|
|
width: 25px;
|
|
}
|
|
|
|
.jin-pan {
|
|
background: var(--color-card-1);
|
|
transform: translateY(-100%);
|
|
width: calc(100% - 40px);
|
|
flex-direction: column;
|
|
position: absolute;
|
|
margin-left: 20px;
|
|
max-height: 50vh;
|
|
max-width: 400px;
|
|
overflow: hidden;
|
|
display: flex;
|
|
padding: 0;
|
|
}
|
|
.jin-pan > div:first-child {
|
|
align-items: center;
|
|
display: flex;
|
|
padding: 20px;
|
|
}
|
|
.jin-pan > div:first-child > svg {
|
|
fill: var(--color-font);
|
|
cursor: pointer;
|
|
height: 1.5rem;
|
|
}
|
|
.jin-pan > div:first-child > span {
|
|
white-space: nowrap;
|
|
margin-left: 15px;
|
|
font-size: 1rem;
|
|
flex: 1;
|
|
}
|
|
.jin-pan-body {
|
|
padding: 0 13px 0 20px;
|
|
margin-bottom: 20px;
|
|
overflow-y: scroll;
|
|
}
|
|
.jin-pan-body > div {
|
|
background: var(--color-card-2);
|
|
border-radius: 7px;
|
|
padding: 15px 20px;
|
|
margin: 10px 0;
|
|
}
|
|
.jin-pan-body > div:first-child {
|
|
margin-top: 0 !important;
|
|
}
|
|
.jin-pan-body > div > span {
|
|
color: var(--color-font-2);
|
|
text-align: right;
|
|
font-size: 0.8rem;
|
|
display: block;
|
|
width: 100%;
|
|
}
|
|
.jin-pan-body > div > div:first-child {
|
|
align-items: center;
|
|
display: flex;
|
|
}
|
|
.jin-pan-body > div > div:first-child > img {
|
|
border: 1px solid var(--color-card-2);
|
|
outline: 2px solid var(--color-main);
|
|
border-radius: 100%;
|
|
margin-right: 10px;
|
|
width: 22px;
|
|
}
|
|
.jin-pan-body > div > div:first-child > div {
|
|
flex-direction: column;
|
|
display: flex;
|
|
}
|
|
.jin-pan-body > div > div:first-child a {
|
|
color: var(--color-font);
|
|
}
|
|
.jin-pan-body > div > div:first-child span {
|
|
color: var(--color-font-2);
|
|
border-radius: 2rem;
|
|
font-size: 0.5rem;
|
|
}
|
|
.jin-pan-body > div > div.context {
|
|
padding: 15px 15px 5px 15px;
|
|
align-items: flex-end;
|
|
flex-direction: row;
|
|
flex-wrap: wrap;
|
|
display: flex;
|
|
}
|
|
.jin-pan-body > div > div.context > img {
|
|
margin: 0 10px 10px 10px;
|
|
border-radius: 7px;
|
|
max-width: 60%;
|
|
}
|
|
.jin-pan-body > div > div.context > img.face {
|
|
margin: -5px 5px 0 5px;
|
|
height: 1.4rem;
|
|
}
|
|
.jin-pan-load {
|
|
background: transparent !important;
|
|
justify-content: center;
|
|
display: flex;
|
|
}
|
|
.jin-pan-load > svg {
|
|
fill: var(--color-font);
|
|
width: 1rem;
|
|
}
|
|
|
|
.replay-tag {
|
|
background: var(--color-card-1);
|
|
margin: 0 20px -10px 20px;
|
|
transition: all .3s;
|
|
align-items: center;
|
|
flex-direction: row;
|
|
border-radius: 7px;
|
|
overflow: hidden;
|
|
display: flex;
|
|
height: 0;
|
|
}
|
|
.replay-tag.show {
|
|
margin: 0 20px -10px 20px;
|
|
margin-top: 20px;
|
|
padding: 10px;
|
|
height: auto;
|
|
}
|
|
.replay-tag svg {
|
|
fill: var(--color-font-2);
|
|
margin-right: 10px;
|
|
height: 1rem;
|
|
}
|
|
.replay-tag > span {
|
|
max-width: calc(100% - 2rem);
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
flex: 1;
|
|
}
|
|
.replay-tag > div {
|
|
height: calc(1rem + 40px);
|
|
justify-content: center;
|
|
align-items: center;
|
|
margin: -20px 0;
|
|
display: flex;
|
|
width: 2rem;
|
|
}
|
|
.replay-tag > div > svg {
|
|
margin-right: 0 !important;
|
|
fill: var(--color-font-1);
|
|
}
|
|
|
|
.at-tag {
|
|
background: var(--color-card-1);
|
|
transform-origin: bottom;
|
|
transform: scaleY(0);
|
|
transition: all .3s;
|
|
border-radius: 7px;
|
|
overflow-y: scroll;
|
|
max-height: 25vh;
|
|
padding: 0;
|
|
margin: 0;
|
|
height: 0;
|
|
}
|
|
.at-tag.show {
|
|
margin: 20px 20px -5px 20px;
|
|
transform: scaleY(1);
|
|
height: unset;
|
|
}
|
|
.at-tag > div {
|
|
align-items: center;
|
|
border-radius: 7px;
|
|
cursor: pointer;
|
|
padding: 10px;
|
|
display: flex;
|
|
}
|
|
.at-tag > div:hover {
|
|
background: var(--color-card-2);
|
|
}
|
|
.at-tag > div > img {
|
|
border-radius: 100%;
|
|
margin-right: 10px;
|
|
height: 1rem;
|
|
}
|
|
.at-tag > div > span {
|
|
flex: 1;
|
|
}
|
|
.at-tag > div > span.emp {
|
|
text-align: center;
|
|
}
|
|
.at-tag > div > a {
|
|
color: var(--color-font-2);
|
|
font-size: 0.8rem;
|
|
}
|
|
|
|
.forward-pan {
|
|
pointer-events: all;
|
|
position: absolute;
|
|
height: 100%;
|
|
z-index: 20;
|
|
width: 100%;
|
|
left: 0;
|
|
top: 0;
|
|
}
|
|
.forward-pan > div.bg {
|
|
background: var(--color-card-2);
|
|
height: 100%;
|
|
opacity: 0.7;
|
|
width: 100%;
|
|
}
|
|
.forward-pan > div.card {
|
|
transform: translate(-50%, -50%);
|
|
flex-direction: column;
|
|
margin: 50vh 0 0 50%;
|
|
position: absolute;
|
|
display: flex;
|
|
height: 70%;
|
|
width: 50%;
|
|
z-index: 1;
|
|
}
|
|
.forward-pan > div.card > header {
|
|
align-items: center;
|
|
padding: 10px;
|
|
display: flex;
|
|
}
|
|
.forward-pan > div.card > header > span {
|
|
font-size: 1rem;
|
|
flex: 1;
|
|
}
|
|
.forward-pan > div.card > header > svg {
|
|
fill: var(--color-font);
|
|
cursor: pointer;
|
|
height: 1.5rem;
|
|
}
|
|
.forward-pan > div.card > input {
|
|
background: var(--color-card-1);
|
|
border-radius: 7px;
|
|
padding: 0 10px;
|
|
height: 40px;
|
|
border: 0;
|
|
}
|
|
.forward-pan > div.card > div {
|
|
flex-direction: column;
|
|
overflow-y: scroll;
|
|
margin-top: 10px;
|
|
display: flex;
|
|
flex: 1;
|
|
}
|
|
.forward-pan > div.card > div > div {
|
|
align-items: center;
|
|
border-radius: 7px;
|
|
cursor: pointer;
|
|
margin: 3px 0;
|
|
padding: 10px;
|
|
display: flex;
|
|
}
|
|
.forward-pan > div.card > div > div:hover {
|
|
background: var(--color-card-1);
|
|
}
|
|
.forward-pan > div.card > div > div > img {
|
|
border-radius: 7px;
|
|
margin-right: 10px;
|
|
height: 2.5rem;
|
|
width: 2.5rem;
|
|
}
|
|
.forward-pan > div.card > div > div p {
|
|
color: var(--color-font);
|
|
}
|
|
.forward-pan > div.card > div > div span {
|
|
color: var(--color-font-1);
|
|
font-size: 0.8rem;
|
|
}
|
|
|
|
@media (max-width: 700px) {
|
|
/* 消息面板 */
|
|
.chat-pan {
|
|
height: calc(100% - 75px);
|
|
left: 80px;
|
|
}
|
|
.chat-pan.withBar {
|
|
height: calc(100% - 115px);
|
|
top: 40px;
|
|
}
|
|
.chat-pan.open {
|
|
transform: translateX(220px);
|
|
}
|
|
/* 群信息面板 */
|
|
.chat-info {
|
|
width: calc(100% - 80px);
|
|
transform: unset;
|
|
margin: 20px;
|
|
bottom: 75px;
|
|
}
|
|
.chat-info-pan {
|
|
height: calc(100% + 75px);
|
|
}
|
|
/* AT 信息悬浮面板 */
|
|
.mumber-info > div:first-child {
|
|
max-width: 55%;
|
|
}
|
|
/* 合并转发消息面板 */
|
|
.merge-pan.show > div:last-child {
|
|
width: 90%;
|
|
}
|
|
/* 发送图片面板 */
|
|
.img-sender > div.card {
|
|
width: calc(100% - 80px);
|
|
}
|
|
/* 转发面板 */
|
|
.forward-pan > div.card {
|
|
width: calc(100% - 120px);
|
|
}
|
|
}
|
|
|
|
@media (max-width: 500px) {
|
|
/* 群信息面板 */
|
|
.chat-info {
|
|
height: calc(100% - 115px);
|
|
width: calc(100% - 40px);
|
|
max-height: unset;
|
|
border-radius: 0;
|
|
margin: 0;
|
|
}
|
|
.chat-info:hover{
|
|
box-shadow: none;
|
|
}
|
|
/* 表情面板 */
|
|
.face-pan {
|
|
width: calc(100% - 40px);
|
|
height: 330px;
|
|
}
|
|
.base-face,
|
|
.face-stickers {
|
|
height: calc(330px - 90px);
|
|
}
|
|
.base-face > div {
|
|
height: 50px;
|
|
width: 50px;
|
|
}
|
|
.base-face > div > img {
|
|
height: 30px;
|
|
width: 30px;
|
|
}
|
|
.face-stickers > img {
|
|
height: 60px;
|
|
width: 60px;
|
|
}
|
|
/* 合并转发消息面板 */
|
|
.merge-pan.show > div:last-child {
|
|
width: 100%;
|
|
}
|
|
.merge-pan.show > div:last-child:hover {
|
|
box-shadow: none;
|
|
}
|
|
/* 图片发送器 */
|
|
.img-sender > div.card {
|
|
height: calc(100% - 40px);
|
|
width: calc(100% - 40px);
|
|
border-radius: 0;
|
|
transform: unset;
|
|
box-shadow: none;
|
|
margin: 0;
|
|
}
|
|
/* 转发面板 */
|
|
.forward-pan > div.card {
|
|
height: calc(100% - 40px);
|
|
width: calc(100% - 40px);
|
|
border-radius: 0;
|
|
transform: unset;
|
|
box-shadow: none;
|
|
margin: 0;
|
|
}
|
|
} |