Files
turnosxpress/txclient/src/app/messenger/style.module.css
T
2026-07-16 20:48:43 -03:00

371 lines
6.5 KiB
CSS

.MessengerContainer {
border: solid 1px var(--gray-light);
overflow: hidden;
}
.MessengerHeader {
border-bottom: solid 1px var(--gray-light);
background-color: var(--white-dark);
}
.MessengerBody {
background-image: url("/messenger-pattern.jpg");
}
.ConversationsContainer {
background-color: var(--white);
border-right: solid 1px var(--gray-light);
}
.MessagesContainer {
display: flex;
flex-direction: column;
}
.MessagesHeader {
border-bottom: solid 1px var(--gray-light);
background-color: var(--white-dark);
height: 70px;
}
.MessagesBody {
display: flex;
flex-direction: column;
align-items: center;
overflow-y: auto;
overflow-x: hidden;
}
.ConversationsHeader {
border-bottom: solid 1px var(--gray-light);
background-color: var(--white-dark);
padding: 6px;
}
.ConversationsBody {
display: flex;
flex-direction: column;
overflow-y: auto;
overflow-x: hidden;
}
.ConversationItem {
display: flex;
flex-direction: row;
width: 100%;
border-bottom: solid 1px var(--white-dark);
padding: 8px;
cursor: pointer;
}
.ConversationItemTitle {
padding-left: 10px;
font-weight: 600;
font-size: 0.9rem;
text-transform: capitalize;
}
.ConversationItemDescription {
padding-left: 10px;
font-weight: 400;
font-size: 0.8rem;
}
.MessageHeaderLeft {
display: flex;
flex-direction: row;
padding: 5px;
}
.MessageHeaderLeftTitle {
font-weight: 600;
font-size: 0.9rem;
padding-left: 5px;
text-transform: capitalize;
}
.MessageHeaderLeftDescription {
font-weight: 400;
font-size: 0.8rem;
padding-left: 5px;
}
.MessageChatContainer {
display: flex;
flex-direction: column;
width: 100%;
padding: 10px;
}
.MessageBottomBar {
display: flex;
flex-direction: row;
height: 50px;
border-top: solid 1px var(--gray-light);
background-color: var(--white-dark);
padding: 4px;
}
.MessageContainerSender {
width: 100%;
display: flex;
flex-direction: row;
align-items: flex-end;
justify-content: flex-start;
}
.MessageContainerSender > div {
border: solid 1px var(--green-darkest);
background-color: var(--green-light);
}
.MessageContainerSender :nth-child(2) {
font-size: 0.8rem;
color: var(--green-darkest);
display: flex;
flex-direction: row;
align-items: center;
justify-content: flex-end;
}
.MessageContainerReceiver {
width: 100%;
display: flex;
flex-direction: row;
align-items: flex-start;
justify-content: flex-end;
}
.MessageContainerReceiver > div {
border: solid 1px var(--gray-lighter);
background-color: var(--white);
}
.MessageContainerReceiver :nth-child(2) {
font-size: 0.8rem;
color: var(--gray-light);
display: flex;
flex-direction: row;
align-items: center;
justify-content: flex-end;
}
.MessageChatItem {
margin-top: 10px;
border-radius: 5px;
padding: 10px;
width: 80%;
}
.ConversationItemNewMessages {
background-color: var(--green);
border-radius: 8px;
padding: 8px;
height: 24px;
color: var(--white);
font-weight: 600;
display: flex;
justify-content: center;
align-items: center;
}
.NoConversation {
display: flex;
flex-direction: column;
align-items: center;
justify-content: flex-end;
text-align: center;
padding-bottom: 30px;
font-weight: 700;
color: var(--wine-red);
height: 100%;
background-image: url("/no-conversation.webp");
background-repeat: no-repeat;
background-position: center center;
}
.NoContacts {
display: flex;
flex-direction: column;
align-items: center;
justify-content: flex-end;
text-align: center;
padding-bottom: 80px;
padding-left: 30px;
padding-right: 30px;
font-weight: 700;
color: var(--wine-red);
height: 100%;
background-image: url("/no-contacts.webp");
background-repeat: no-repeat;
background-position: center calc(50% - 60px);
}
.MessageChatDateContainer {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding: 10px;
}
.MessageChatDateContainer div {
border-radius: 5px;
background-color: var(--gray-light);
color: var(--black);
padding: 2px;
font-size: 0.8rem;
}
/*****************************************************/
.MessengerContainer_BOTH {
position: absolute;
display: flex;
flex-direction: column;
left: 0px;
top: 60px;
right: 0px;
bottom: 0px;
}
.MessengerHeader_BOTH {
min-height: 50px;
display: inline;
}
.MessengerBody_BOTH {
height: 100%;
display: flex;
}
.ConversationsContainer_BOTH {
min-width: 350px;
}
.MessagesContainer_BOTH {
width: 100%;
}
.MessagesHeader_BOTH {
min-height: 50px;
display: flex;
}
.MessagesBody_BOTH {
height: 100%;
display: flex;
}
.ConversationsHeader_BOTH {
min-height: 50px;
display: flex;
}
.ConversationsBody_BOTH {
height: 100%;
display: flex;
}
/******************************************/
.MessengerContainer_CONVERSATIONS {
position: absolute;
display: flex;
flex-direction: column;
left: 0px;
top: 60px;
right: 0px;
bottom: 0px;
}
.MessengerHeader_CONVERSATIONS {
min-height: 50px;
display: flex;
}
.MessengerBody_CONVERSATIONS {
height: 100%;
display: flex;
}
.ConversationsContainer_CONVERSATIONS {
width: 100%;
}
.MessagesContainer_CONVERSATIONS {
width: 0px;
display: none;
}
.MessagesHeader_CONVERSATIONS {
min-height: 0px;
height: 0px;
display: none;
}
.MessagesBody_CONVERSATIONS {
height: 0px;
display: none;
}
.ConversationsHeader_CONVERSATIONS {
width: 100%;
display: flex;
}
.ConversationsBody_CONVERSATIONS {
height: 100%;
display: flex;
}
/******************************************/
.MessengerContainer_MESSAGES {
position: absolute;
display: flex;
flex-direction: column;
left: 0px;
top: 60px;
right: 0px;
bottom: 0px;
}
.MessengerHeader_MESSAGES {
min-height: 50px;
display: flex;
}
.MessengerBody_MESSAGES {
height: 100%;
display: flex;
}
.ConversationsContainer_MESSAGES {
min-width: 0px;
display: none;
}
.MessagesContainer_MESSAGES {
width: 100%;
}
.MessagesHeader_MESSAGES {
min-height: 50px;
display: flex;
}
.MessagesBody_MESSAGES {
height: 100%;
display: flex;
}
.ConversationsHeader_MESSAGES {
min-height: 50px;
display: flex;
}
.ConversationsBody_MESSAGES {
height: 100%;
display: flex;
}