Files
red-valley/resources/[framework]/[addons]/qs-smartphone-pro/html/css/apps/messages.css
2026-03-29 21:41:17 +03:00

609 lines
12 KiB
CSS

#messages-app-mainHead {
position: absolute;
top: 65px;
font-size: 19px;
font-weight: 500;
text-align: center;
width: 100%;
}
#messages-app-createMessage {
position: absolute;
float: right;
right: 20px;
top: 62px;
width: 23px;
height: 23px;
filter: invert(44%) sepia(56%) saturate(6757%) hue-rotate(196deg)
brightness(105%) contrast(103%);
cursor: pointer;
}
.messages-app-body-messagenotReaded {
position: absolute;
width: 10px;
height: 10px;
border-radius: 100%;
background-color: rgb(0, 120, 254);
}
#messages-app-searchContainer {
position: absolute;
display: flex;
justify-items: center;
align-items: center;
align-content: center;
top: 100px;
height: 40px;
left: 15px;
width: 93%;
background-color: var(--dark-background-color);
border-radius: 10px;
}
#messages-app-searchContainer img {
height: 23px !important;
width: 23px !important;
}
#messages-settings {
position: absolute;
color: #48a1d9;
right: 20px;
font-size: 23px;
transition: color 0.25s;
z-index: 99;
cursor: pointer;
}
#messages-app-searchContainer img {
margin-left: 6px;
width: 30px;
height: 30px;
}
#messages-app-searchContainer textarea {
position: relative;
top: 9px;
left: 5px;
width: 100%;
}
#messages-app-body {
position: absolute;
top: 155px;
width: 96%;
left: 6px;
height: 83%;
overflow-y: auto;
}
#messages-app-body::-webkit-scrollbar {
display: none;
}
.messages-app-body-message {
position: relative;
height: 60px;
display: flex;
align-items: center;
cursor: pointer;
margin-bottom: 10px;
}
.messages-app-body-messagePP {
width: 50px;
height: 50px;
border-radius: 100%;
margin-left: 20px;
background-size: cover;
}
.messages-app-body-message-content {
margin-left: 10px;
display: flex;
flex-direction: column;
}
.message-app-body-messageOwner {
font-size: 17px;
width: 170px;
font-weight: bold;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
margin-left: 2px;
}
.message-app-body-lastMessage {
font-size: 14px;
margin-left: 2px;
color: gray;
}
#messages-app-content-head {
position: relative;
width: 100%;
top: 0;
height: 140px;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
justify-items: center;
border-bottom: 1px solid var(--dark-background-color);
z-index: 3;
background-color: var(--border-color);
padding-top: 40px;
}
#messages-app-content-head-name {
position: relative;
top: 5px;
font-size: 15px;
font-weight: bold;
}
#messages-app-content-head-pp {
width: 50px;
height: 50px;
border-radius: 100%;
}
#messages-app-content-foot-alternative-camera {
/* color: #666 */
width: 30px;
height: 30px;
filter: invert(35%) sepia(3%) saturate(0%) hue-rotate(237deg)
brightness(100%) contrast(86%);
}
#messages-app-content-foot {
position: absolute;
width: 97%;
height: 10%;
bottom: 0%;
left: 5px;
padding-top: 15px;
display: flex;
flex-direction: row;
justify-content: space-evenly;
}
.messages-app-body-message-right {
position: absolute;
width: 20px;
height: 20px;
right: 5px;
bottom: 20px;
}
.messages-app-body-messageTime {
position: absolute;
right: 8%;
font-size: 13px;
color: #666;
bottom: 24px;
}
#messages-app-content-foot-alternativeMessageContainer {
position: relative;
}
.messages-app-content-foot-alternative {
position: relative;
left: 5px;
width: 30px;
height: 30px;
filter: invert(20%) sepia(3%) saturate(0%) hue-rotate(237deg)
brightness(100%) contrast(86%);
cursor: pointer;
}
#messages-app-content-foot-sendMessageContainer {
position: relative;
border-radius: 18px;
display: flex;
padding: 0 1px;
align-items: center;
align-content: center;
justify-content: space-between;
height: 40%;
width: 75%;
border: none;
}
#messages-app-content-foot-sendMessageContainer .emojionearea {
border-radius: 20px;
font-size: 15px;
}
#messages-app-content-foot-sendMessageContentImg {
position: relative;
width: 35px;
height: 35px;
left: 1.5%;
border-radius: 50%;
cursor: pointer;
}
#messages-app-content-foot-message {
overflow: none;
outline: none;
-webkit-box-shadow: none;
-moz-box-shadow: none;
box-shadow: none;
background: none;
height: 100%;
border: none;
color: var(--text-color);
font-size: 17px;
font-weight: 500;
resize: none;
}
#messages-app-content-foot-message::-webkit-scrollbar {
display: none;
}
#messages-app-content-body {
position: relative;
width: 100%;
padding-left: 15px;
padding-top: 10px;
padding-right: 15px;
margin: 0 auto;
height: 73.5%;
top: 0;
display: flex;
flex-direction: column;
overflow: auto;
}
#createNewMessage,
#messages-app-newMessageContentInput {
overflow: none;
outline: none;
-webkit-box-shadow: none;
-moz-box-shadow: none;
box-shadow: none;
background: none;
border: none;
color: var(--text-color);
font-size: 17px;
font-weight: 500;
resize: none;
}
#messages-app-content-body::-webkit-scrollbar {
display: none;
}
.messages {
position: relative;
display: flex;
flex-direction: column;
}
.message {
border-radius: 20px;
padding: 8px 15px;
margin-top: 5px;
margin-bottom: 5px;
display: inline-block;
word-break: break-word;
}
.message-map-container {
position: relative;
background: red;
height: 100px;
width: 100px;
}
.message_photo.map {
object-fit: cover;
height: 180px !important;
width: 180px !important;
}
.message_photo {
margin-bottom: 5px;
}
.yours {
align-items: flex-start;
}
.yours .message {
margin-right: 25%;
background-color: var(--messages-bubble-background);
position: relative;
color: var(--text-color);
}
.yours .message.last:before {
content: "";
position: absolute;
z-index: 0;
bottom: 0;
left: -7px;
height: 20px;
width: 20px;
background-color: var(--messages-bubble-background);
border-bottom-right-radius: 15px;
}
.yours .message.last:after {
content: "";
position: absolute;
z-index: 1;
bottom: 0;
left: -10px;
width: 10px;
height: 20px;
background: var(--main-background-color);
border-bottom-right-radius: 10px;
}
.mine {
align-items: flex-end;
}
.mine .message {
color: white;
margin-left: 25%;
background: #34cc5d;
position: relative;
}
.mine .message.last:before {
content: "";
position: absolute;
z-index: 0;
bottom: 0;
right: -8px;
height: 18px;
width: 20px;
background: #34cc5d;
border-bottom-left-radius: 15px;
}
.mine .message.last:after {
content: "";
position: absolute;
z-index: 1;
bottom: 0;
right: -10px;
width: 10px;
height: 20px;
background: var(--main-background-color);
border-bottom-left-radius: 10px;
}
#messages-app-newMessage-container {
position: absolute;
display: none;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.5);
z-index: 3;
}
#messages-app-newMessage {
position: absolute;
width: 100%;
height: 95%;
top: 7%;
padding: 13px;
background-color: var(--container-dark-background-color);
transition: transform 0.4s;
border-radius: 15px;
}
#messages-app-newMessage header {
border-bottom: 1px solid var(--dark-background-color);
z-index: 3;
background-color: var(--border-color);
height: 50px;
position: relative;
bottom: 13px;
border-top-left-radius: 15px;
border-top-right-radius: 15px;
width: 419px;
left: -13px;
}
#messages-app-newMessageName {
position: absolute;
left: 50%;
top: 0px;
line-height: 50px;
width: 50%;
text-align: center;
height: 50px;
font-weight: bold;
transform: translate(-50%);
color: var(--text-color);
}
#messages-app-cancel {
float: right;
margin-right: 10px;
line-height: 50px;
color: #0066ff;
font-size: 15px;
cursor: pointer;
}
#messages-app-newMessageWho {
position: relative;
top: 2px;
display: flex;
width: 100%;
height: 30px;
border-bottom: 1px solid var(--dark-background-color);
text-align: center;
align-items: center;
}
#messages-app-newMessageWho a {
margin-left: 5px;
}
#messages-app-newMessageWho input {
margin-left: 2px;
width: 85%;
}
#messages-app-newMessageContent {
position: relative;
top: 0;
display: flex;
width: 100%;
height: 40px;
padding-left: 4px;
text-align: center;
align-items: center;
}
#messages-app-newMessageContent img {
position: relative;
left: 10px;
width: 30px;
height: 30px;
cursor: pointer;
}
#messages-app-newMessageContacts {
position: absolute;
background: red;
flex-direction: column;
align-items: center;
align-content: center;
top: 100px;
width: 94%;
/* margin: 0 auto; */
height: auto;
overflow-y: auto;
display: flex;
box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}
.messages-app-newMessageContact {
width: 100%;
height: 50px;
display: none;
align-items: center;
background-color: var(--container-dark-background-color);
color: #0066ff;
cursor: pointer;
box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px,
rgba(60, 64, 67, 0.15) 0px 1px 3px 1px;
transition: all 0.4s;
}
#popup-actions {
position: absolute;
display: flex;
flex-direction: column;
flex-wrap: wrap;
align-items: center;
align-content: center;
justify-content: center;
width: 100%;
z-index: 99999999999;
bottom: 3%;
}
#popup-actions-content-img {
position: relative;
width: 200px;
height: 200px;
display: none;
}
#popup-actions-content-img-content {
position: relative;
bottom: 7px;
width: 90%;
padding-left: 10px;
padding-top: 10px;
height: 40px;
}
#back-container {
position: absolute;
display: flex;
align-items: center;
cursor: pointer;
top: 6%;
z-index: 99999;
color: var(--text-color);
}
#popup-actions-choices-container {
position: relative;
width: 95%;
height: 100%;
text-align: center;
z-index: 4;
border-radius: 10px;
color: var(--text-color);
background-color: var(--container-dark-background-color);
}
.popup-actions-content {
padding: 15px 0 10px 0;
cursor: pointer;
color: var(--blue-text);
height: 50px;
}
#popup-actions-background {
position: absolute;
width: 100%;
height: 9190px;
background-color: rgba(0, 0, 0, 0.8);
opacity: 0.6;
z-index: 3;
transition: all 0.4s;
}
.popup-custom-line {
background: var(--border-color);
height: 1px;
}
#popup-actions-cancel,
#popup-actions-content-img_msg {
width: 95%;
height: 50px;
text-align: center;
border-radius: 10px;
background-color: var(--container-dark-background-color);
margin-top: 12px;
padding: 16px 0px 10px 0px;
cursor: pointer;
color: #007cff;
font-weight: 800;
z-index: 4;
}
.messages-app-newMessageContact:hover {
background-color: #0077ff;
color: #ccc;
border-radius: 5px;
}
.messages-app-newMessageContact img {
margin-left: 5px;
width: 40px;
height: 40px;
border-radius: 100%;
}
.messages-app-newMessageContact a {
margin-left: 5px;
}