Files
doneit-web/src/app/pages/chat/messages/messages.page.scss
T

322 lines
6.2 KiB
SCSS
Raw Normal View History

2020-12-30 11:13:50 +01:00
@import '~src/function.scss';
.header-toolbar{
--background:transparent;
--opacity: 1;
.main-header{
width: 100%; /* 400px */
height: 100%;
font-family: Roboto;
border-top-left-radius: 25px;
border-top-right-radius: 25px;
background-color: #fff;
overflow:hidden;
padding: 30px 20px 0px 20px;
color:#000;
transform: translate3d(0, 1px, 0);
2021-07-27 09:14:35 +01:00
2020-12-30 11:13:50 +01:00
.header-top{
margin: 0px auto;
overflow: auto;
padding: 0 !important;
background: #fff;
2021-03-12 11:56:54 +01:00
.left{
2021-09-30 10:41:40 +01:00
width: fit-content;
2021-03-12 11:56:54 +01:00
float: left;
2021-09-30 10:41:40 +01:00
//font-size: 35px;
2021-03-12 11:56:54 +01:00
overflow: hidden;
2021-09-30 10:41:40 +01:00
.header-top-btn{
background: transparent;
font-size: 25px !important;
font-weight: 100 !important;
/* color: #0782c9; */
color: #42b9fe;
}
2021-03-12 11:56:54 +01:00
}
.middle-container{
overflow: auto;
height: auto;
.middle{
padding: 0!important;
float: left;
width:calc(100% - 77px);
2021-09-30 10:41:40 +01:00
margin: 0px 0 0 10px;
display: flex;
align-items: center;
}
}
.middle-container-options{
2020-12-30 11:13:50 +01:00
padding: 0!important;
float: left;
2021-09-30 10:41:40 +01:00
width: calc(100% - 25px);
text-align: right;
2021-07-27 09:14:35 +01:00
/* ion-icon{
font-size: 25px;
} */
.middle-container-options-icons{
2021-09-30 10:41:40 +01:00
color: #0782c9;
font-size: 23px;
}
2020-12-30 11:13:50 +01:00
}
.right{
padding: 0!important;
float: right;
font-size: 25px;
color: #0782c9;
margin: 5px 0 0 0;
}
}
.header-bottom{
width: 310px;
overflow: auto;
margin: 0 auto;
.header-bottom-icon{
width: 30px;
font-size: 25px;
float: left;
padding: 2px;
}
.header-bottom-contacts{
width: 275px;
font-size: 15px;
color: #797979;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
float: left;
padding: 5px;
margin: 1px;
}
}
2021-07-27 09:14:35 +01:00
2020-12-30 11:13:50 +01:00
.title{
font-size: 25px;
2021-08-18 18:58:02 +01:00
white-space: nowrap;
overflow: hidden !important;
text-overflow: ellipsis !important;
2020-12-31 11:37:35 +01:00
float: left;
2020-12-30 11:13:50 +01:00
}
.div-icon{
width: 40px;
float: right;
font-size: 35px;
overflow: auto;
padding: 1px;
}
.div-icon ion-icon{
float: right;
padding-left: 20px;
2021-07-27 09:14:35 +01:00
}
2020-12-30 11:13:50 +01:00
}
}
ion-content{
.welcome-text{
/* width: 322px; */
2021-03-12 11:56:54 +01:00
width: em(422px);
2020-12-30 11:13:50 +01:00
background: #ebebeb;
text-align: center;
font-size: 13px;
color: #797979;
padding: 10px;
margin: 0 auto;
line-height: 1.2rem;
margin: 20px 39px 25px;
border-radius: 8px;
}
.messages{
font-size: 13px;
font-family: Roboto;
overflow: auto;
2021-01-13 10:02:30 +01:00
//set scroll do bottom
position: absolute;
top: 0;
left: 0;
overflow-x: hidden;
overflow-y: auto;
width: 100%;
height: 100%;
word-wrap: break-word;
-webkit-overflow-scrolling: touch;
2021-07-27 09:14:35 +01:00
2021-09-30 10:41:40 +01:00
.messages-list-item-wrapper{
overflow: auto;
}
.messages-list-item-wrapper-active{
background: #e6f6ff75 !important;
}
.message-container{
//border: 1px solid red;
}
2021-01-13 10:02:30 +01:00
.incoming-true, .incoming-false{
2020-12-30 11:13:50 +01:00
width: 305px;
padding: 15px 20px;
border-radius: 10px;
}
2021-01-13 10:02:30 +01:00
.incoming-true{
2020-12-30 11:13:50 +01:00
margin: 10px 75px 10px 20px;
background: #ebebeb;
float: left;
}
}
2021-01-13 10:02:30 +01:00
.incoming-false{
2020-12-30 11:13:50 +01:00
margin: 10px 20px 10px 75px;
background: var(--chat-incoming-msg-color);
2020-12-30 11:13:50 +01:00
float: right;
}
.title{
display: inline;
color: var(--title-text-color);
2020-12-30 11:13:50 +01:00
font-weight: bold;
margin-bottom: 5px;
.time{
color: #797979;
text-align: right;
float: right;
}
}
}
.info-meeting{
/* width: 322px; */
width: em(422px);
background: var(--chat-alert-msg-color);
text-align: center;
font-size: 13px;
color: #262420;
padding: 10px;
margin: 10px auto;
line-height: 1.2rem;
/* margin: 15px 0px 15px 0px; */
border-radius: 8px;
.info-meeting-small{
font-size: 10px;
font-style: italic;
}
.info-meeting-medium{
font-size: 12px;
}
.info-meeting-normal{
color: #0782c9;
font-weight: 700;
text-decoration: underline;
}
.info-meeting-normal:hover{
text-decoration: underline;
color: #0782c9;
}
}
2020-12-30 11:13:50 +01:00
ion-footer{
2021-03-29 16:01:58 +01:00
padding-top: 7.5px;
padding-bottom: 7.5px;
.container{
justify-content: center;
justify-content: space-evenly;
2021-08-18 18:58:02 +01:00
align-items: center;
2021-07-27 09:14:35 +01:00
2021-03-29 16:01:58 +01:00
}
2021-07-27 09:14:35 +01:00
2021-03-29 16:01:58 +01:00
.chat-icon-options{
display:block !important;
2021-08-18 18:58:02 +01:00
font-size: 35px;
2021-03-29 16:01:58 +01:00
float: right !important;
2021-08-18 18:58:02 +01:00
margin-top: 5px;
2021-03-29 16:01:58 +01:00
}
2020-12-30 11:13:50 +01:00
2021-03-29 16:01:58 +01:00
.chat-icon-send{
font-size: 45px;
margin: 0 auto;
margin-top: 4px;
}
2020-12-30 11:13:50 +01:00
2021-03-29 16:01:58 +01:00
.type-message{
display: flex;
border: 1px solid #ebebeb;
border-radius: 25px;
padding-left: 15px;
align-items: center;
overflow: auto;
2020-12-30 11:13:50 +01:00
2021-03-29 16:01:58 +01:00
ion-textarea{
margin: 0 !important;
align-self: center;
overflow: auto;
}
2020-12-30 11:13:50 +01:00
}
2021-07-27 09:14:35 +01:00
2021-03-29 16:01:58 +01:00
}
2020-12-30 11:13:50 +01:00
.text-color-blue{
font-size: 15px;
color: #0782c9;
font-weight: 500;
letter-spacing: normal;
}
.user-status-online{
2020-12-31 11:37:35 +01:00
display: block;
2020-12-30 11:13:50 +01:00
float: left;
color:#99e47b;
2020-12-31 11:37:35 +01:00
padding-left: 10px;
}
2021-01-26 15:35:21 +01:00
.online{
display: block;
float: left;
color:#99e47b;
padding-left: 10px;
}
.offline{
color:#cbced1;
display: block;
float: left;
padding-left: 10px;
}
.away{
color:#ffd21f;
display: block;
float: left;
padding-left: 10px;
}
.invisible{
color:#cbced1;
display: block;
float: left;
padding-left: 10px;
}
.busy{
color:#f5455c;
display: block;
float: left;
padding-left: 10px;
2021-07-27 09:14:35 +01:00
}
2022-02-24 13:35:54 +01:00
.typing {
position: relative;
2022-02-24 14:59:47 +01:00
top: -25px;
2022-02-24 13:35:54 +01:00
height: 0px;
left: 0px;
margin-left: 22px;
2022-02-24 14:59:47 +01:00
display: flex;
font-size: 12px;
align-items: center;
}
.typing ngx-letters-avatar {
2022-02-24 16:21:26 +01:00
padding-right: 5px;
2022-02-24 13:35:54 +01:00
}