Files
Backend-Api/ServiceHost/wwwroot/AssetsClient/css/ticket-message.css
2024-08-24 19:13:34 +03:30

531 lines
9.3 KiB
CSS

.messageModal .modal-xl-messageModal {
max-width: 460px;
}
.messageContainer {
background-color: #EBEEF3;
}
.statusTicketHead {
background-color: #ffffff;
border-radius: 12px;
padding: 12px 10px;
}
.infoTicketHead {
background-color: #ffffff;
border-radius: 12px;
padding: 12px 10px;
}
.infoTicketHead .img-bor1 {
width: 48px;
height: 48px;
border-radius: 50%;
background-color: #D9D9D9;
padding: 4px;
display: flex;
justify-content: center;
align-items: center;
}
.infoTicketHead .img-bor2 {
width: 48px;
height: 48px;
border-radius: 50%;
background-color: #A5F3FC;
padding: 4px;
display: flex;
justify-content: center;
align-items: center;
}
.infoTicketHead svg {
width: 26px;
height: 26px;
}
.infoTicketHead img {
width: 32px;
height: 32px;
}
.textTitle1 {
font-size: 13px;
font-weight: 500;
color: #535353;
margin: auto 9px;
}
.textTitle2 {
font-size: 13px;
font-weight: 500;
color: #717171;
margin: auto 9px;
}
.textTitle3 {
font-size: 14px;
font-weight: 700;
color: #EAB308;
display: flex;
align-items: center;
margin: auto 5px;
}
.ticket-message-container {
background-color: #EBEEF3;
height: 450px;
border-radius: 12px;
padding: 5px;
position: relative;
overflow-y: scroll;
}
.ticket-message-sender {
background-color: #538AF6;
box-shadow: 1px 2px 9px rgba(0, 0, 0, 0.1);
border-radius: 9px;
padding: 5px;
color: #ffffff;
font-size: 12px;
text-align: justify;
width: 70%;
margin-left: auto;
margin-bottom: 12px;
}
.ticket-message-sender .createdDate {
color: #ffffff;
font-size: 11px;
margin: 8px 0 0 0;
}
.ticket-message-sender .header-message{
display: flex;
justify-content: space-between;
align-items: center;
font-size: 11px;
}
.ticket-message-sender .footer-message-attachment{
display: flex;
justify-content: end;
align-items: center;
font-size: 11px;
}
.ticket-message-sender .footer-message-attachment .file-attach,
.ticket-message-reciever .footer-message-attachment .file-attach {
width: 24px;
height: 24px;
border-radius: 5px;
background-color: #ffffff;
border: 2px solid #DADADA;
margin: auto 3px;
}
.ticket-message-sender .footer-message-attachment .file-attach img,
.ticket-message-reciever .footer-message-attachment .file-attach img {
border-radius: 3px;
}
.ticket-message-reciever {
background-color: #ffffff;
box-shadow: 1px 2px 9px rgba(0, 0, 0, 0.1);
border-radius: 9px;
padding: 5px;
color: #0B5959;
font-size: 12px;
text-align: justify;
width: 70%;
margin-right: auto;
margin-bottom: 12px;
}
.ticket-message-reciever .createdDate {
color: #6F6F6F;
font-size: 11px;
margin: 8px 0 0 0;
}
.ticket-message-reciever .header-message {
display: flex;
justify-content: space-between;
align-items: center;
font-size: 11px;
}
.ticket-message-reciever .footer-message-attachment {
display: flex;
justify-content: end;
align-items: center;
font-size: 11px;
}
.footer-message-container {
display: flex;
justify-content: space-between;
align-items: end;
position: sticky;
/*background-color: #ffffff;*/
bottom: 5px;
width: 100%;
}
.footer-message-container .form-control {
background-color: #ffffff;
color: #797979;
font-size: 12px;
padding: 6px;
border: 0;
}
.footer-message-container .message-input-div {
position: relative;
/*border: 1px solid #DADADA;*/
/*border-radius: 6px;*/
width: 100%;
display: flex;
/*justify-content: space-between;*/
align-items: center;
}
.footer-message-container .message-input-div .btn-sendTi {
color: #ffffff;
font-size: 12px;
background-color: #84CC16;
padding: 6px;
border-radius: 9px;
margin: 0 0 0 2px
}
.footer-message-container .message-input-div .btn-voice-file-Ti {
color: #ffffff;
font-size: 12px;
background-color: #84CC16;
padding: 6px;
border-radius: 9px;
margin: 0 2px 0 0;
align-items: center
}
.footer-message-container .message-input-div .btn-sendTi:hover
.footer-message-container .message-input-div .btn-voice-file-Ti:hover {
background-color: #629b0c;
}
.upload-file,
.upload-file-voice {
padding: 5px;
width: auto;
font-size: 12px;
white-space: nowrap;
margin: auto 3px;
}
.upload-file-new {
position: absolute;
left: 3px;
top: 50%;
transform: translateY(-50%);
}
/* Audio Player */
.audio-player {
background: #fff;
/*padding: 10px;*/
display: flex;
align-items: center;
gap: 10px;
width: 100%;
}
.audio-playerShow {
display: flex;
align-items: center;
gap: 10px;
width: 100%;
}
.player-btn {
background: #23a9a9;
border: none;
color: #fff;
/*padding: 10px;*/
border-radius: 50%;
cursor: pointer;
font-size: 14px;
display: flex;
align-items: center;
justify-content: center;
width: 25px;
height: 25px;
}
.player-btn.play:after {
content: '▶' !important;
}
.player-btn.pause:after {
content: '❚❚' !important;
}
.waveform {
width: 100%;
height: 40px;
flex-grow: 1;
}
.controls {
display: flex;
flex-direction: column;
align-items: center;
gap: 5px;
}
/* Audio Player */
/* Galley */
.lightboxpreview {
transition: all 0.3s linear;
padding-top: 60%;
cursor: pointer;
background-size: cover;
}
.lightbox-content {
max-height: 75vh;
height: 75vh;
width: 100%;
max-width: 1000px;
}
.lightbox-close {
cursor: pointer;
margin-left: auto;
position: absolute;
right: -30px;
top: -30px;
color: white;
font-size: 2rem;
font-weight: 700;
line-height: 1;
}
.lightbox-container,
.lightbox-btn,
.lightbox-image-wrapper,
.lightbox-enabled {
transition: all 0.4s ease-in-out;
}
.lightbox_img_wrap {
/* padding-top: 65%;
position: relative;
overflow: hidden; */
}
.lightbox-enabled:hover {
transform: scale(1.1);
}
.lightbox-enabled {
width: 100%;
height: 100%;
/*position: absolute;
top: 0;
right: 0;*/
object-fit: cover;
cursor: pointer;
}
.lightbox-container {
width: 100vw;
height: 100vh;
position: fixed;
top: 0;
left: 0;
display: flex;
align-items: center;
justify-content: center;
background-color: rgba(0, 0, 0, 0.6);
z-index: 9999;
opacity: 0;
pointer-events: none;
}
.lightbox-container.active {
opacity: 1;
pointer-events: all;
}
.lightbox-image-wrapper {
display: flex;
transform: scale(0);
align-items: center;
justify-content: center;
max-width: 90vw;
max-height: 90vh;
position: relative;
}
.lightbox-container.active .lightbox-image-wrapper {
transform: scale(1);
}
.lightbox-btn,
#close {
color: white;
z-index: 9999999;
cursor: pointer;
position: absolute;
font-size: 40px;
border: 1px solid #ffffff;
border-radius: 100%;
background-color: rgba(0,0,0,0.4);
width: 45px;
height: 45px;
display: flex;
justify-content: center;
align-items: center;
}
.lightbox-btn svg, #close svg {
position: relative;
top: 0;
right: 0;
}
.lightbox-btn:focus {
outline: none;
}
.left {
left: 50px;
}
.right {
right: 50px;
}
#close {
top: 50px;
right: 50px;
}
.lightbox-image {
width: 100%;
-webkit-box-shadow: 5px 5px 20px 2px rgba(0, 0, 0, 0.19);
box-shadow: 5px 5px 20px 2px rgba(0, 0, 0, 0.19);
max-height: 95vh;
object-fit: cover;
}
@keyframes slideleft {
33% {
transform: translateX(-300px);
opacity: 0;
}
66% {
transform: translateX(300px);
opacity: 0;
}
}
.slideleft {
animation-name: slideleft;
animation-duration: 0.5s;
animation-timing-function: ease;
}
@keyframes slideright {
33% {
transform: translateX(300px);
opacity: 0;
}
66% {
transform: translateX(-300px);
opacity: 0;
}
}
.slideright {
animation-name: slideright;
animation-duration: 0.5s;
animation-timing-function: ease;
}
/* Galley */
@media (max-width: 1366px) {
.messageModal .modal-xl-messageModal {
max-width: 420px;
}
.ticket-message-container {
height: 330px;
}
}
@media (max-width: 768px) {
/* Galley */
.lightbox-image {
width: 90%;
}
.lightbox-btn, #close {
width: 40px;
height: 40px;
}
.right {
right: 5px;
}
.left {
left: 5px;
}
/* Galley */
.messageModal .modal-xl-messageModal {
height: 90vh;
}
.ticket-message-sender,
.ticket-message-reciever {
width: 90%;
font-size: 10px;
}
.ticket-message-sender .header-message,
.ticket-message-reciever .header-message {
font-size: 9px;
}
.footer-message-container {
display: flex;
flex-direction: column;
}
.footer-message-container .message-input-div .form-control {
font-size: 11px;
margin: 2px 0;
}
.upload-file,
.upload-file-voice {
font-size: 10px;
width: 100%;
margin: 4px auto;
}
}