Files
Backend-Api/ServiceHost/wwwroot/AssetsAdminNew/Tasks/css/DetailModal.css

860 lines
15 KiB
CSS

.modal-content {
/* width: 900px; */
}
.select2.select2-container {
padding: 0;
}
.select2.select2-container .select2-selection--multiple {
min-height: 63px;
}
.errored {
animation: shake 300ms;
color: #eb3434 !important;
background-color: #fef2f2 !important;
border: 1px solid #eb3434 !important;
border-radius: 7px;
}
.validTime {
color: #4d7c0f !important;
}
.invalidTime {
color: #b91c1c !important;
}
.upload-box-voice {
width: 100%;
}
.modal-titleHead {
color: #838383;
font-size: 13px;
font-weight: 500;
margin: 0 38px 0 0
}
.modal-titleHeadSub {
color: #000000;
font-size: 13px;
font-weight: 500;
}
.taskTitle {
color: #FFFFFF;
font-size: 11px;
font-weight: 500;
margin: auto auto 0;
}
.taskTitleSub {
color: #000000;
font-size: 11px;
background-color: #ffffff;
border-radius: 5px;
font-weight: 500;
/* width: 65%; */
display: inline-block;
padding: 3px 6px;
overflow-x: scroll;
white-space: nowrap;
height: 22px;
display: flex;
align-items: center;
-ms-overflow-style: none;
scrollbar-width: none;
}
.taskTitleSub::-webkit-scrollbar {
display: none;
}
.taskDesc .taskDescText {
color: #000000;
font-size: 12px;
font-weight: 500;
text-align: justify;
background-color: #ffffff;
padding: 3px 6px;
border-radius: 5px;
height: 60px;
overflow: auto;
margin: 0 0 4px 0;
overflow-wrap: break-word;
transition: height 0.3s ease, overflow-y 0.3s ease;
}
.taskDesc div {
color: #9F9F9F;
font-size: 12px;
font-weight: 500;
}
.taskDescText.expanded {
height: 150px;
}
.uploaded-file,
.upload-box {
position: relative;
width: 36px;
height: 36px;
border-radius: 7px;
background-color: #ffffff;
display: flex;
justify-content: center;
align-items: center;
padding: 3px;
margin: auto 2px;
}
.upload-box .min-img, .upload-box-voice audio {
max-width: 100%;
width: 33px;
height: 33px;
object-fit: cover;
border-radius: 7px;
}
.grid-file-detailModal {
display: grid;
gap: 9px;
grid-template-columns: repeat(3, minmax(0, 1fr));
}
.uploaded-file-detailModal,
.upload-box-detailModal {
position: relative;
width: 100%;
height: 36px;
border-radius: 7px;
background-color: #ffffff;
display: flex;
justify-content: center;
align-items: center;
padding: 3px;
margin: auto 2px;
}
.taskDescMore {
width: 100px;
border-radius: 0 0 8px 8px;
background-color: transparent;
margin: 0 auto;
}
.taskDescMore svg {
color: #ffffff;
}
.upload-box-detailModal .min-img-detailModal {
max-width: 100%;
height: 33px;
object-fit: cover;
border-radius: 7px;
}
.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;
}
.modal_inner_image {
min-height: 400px;
z-index: 1000;
}
.modal-xl-DetailModal {
max-width: 700px;
}
.modal-content {
/*width: 500px;
transform: translate(-50%, -50%);
left: 50%;
top: 50%;
position: absolute;*/
}
.modalscale {
transform: scale(0);
opacity: 0;
}
.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;
}
@media (max-width:768px) {
.lightbox-image {
width: 90%;
}
.lightbox-btn, #close {
width: 40px;
height: 40px;
}
.right {
right: 5px;
}
.left {
left: 5px;
}
}
.audio-player {
/*background: #fff;*/
padding: 10px;
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: 16px;
display: flex;
align-items: center;
justify-content: center;
width: 30px;
height: 30px;
}
.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;
}
.header-custom-color {
background-color: #F4F6F7;
border: 1px solid #EBECED;
padding: 10px;
border-radius: 20px 20px 0 0;
}
.assigns_section {
display: grid;
grid-template-columns: repeat(1, minmax(0, 1fr));
}
.assigns_section .btnAssignList {
background: #F0F0F0;
width: 100%;
margin: 3px 0;
padding: 8px 14px;
text-align: right;
font-size: 14px;
display: flex;
align-items: center;
justify-content: space-between;
border: 2px solid transparent;
}
.assigns_section .btnAssignList.active {
border: 2px solid #29D0D0;
}
.assigns_section .btnAssignList.blue {
background-color: #A5F3FC;
}
.assigns_section .btnAssignList.red {
background-color: #FEE2E2;
}
.assigns_section .btnAssignList.orange {
background-color: #FEF3C7;
}
.assigns_section .btnAssignList.green {
background-color: #ECFCCB;
}
.chat-section {
/*background-color: #F6F6F6;*/
background-color: #ffffff;
/*border: 1px solid #EBEBEB;*/
border-radius: 5px;
position: relative;
}
.chat-section .chat-card-main {
background-color: #41D1D1;
color: #fff;
border-radius: 5px;
padding: 5px 8px;
margin: 5px;
font-size: 14px;
}
.modal-title {
font-size: 14px;
}
.mainChat {
height: 510px;
overflow-y: scroll;
scrollbar-width: thin;
transition: height 0.3s ease, overflow-y 0.3s ease;
}
.mainChat.expanded {
height: 420px;
}
#ajaxChatSection {
display: grid;
gap: 6px;
}
#ajaxChatSection .chat-card-receiver {
position: relative;
width: 80%;
padding: 4px 6px;
border-radius: 5px;
margin: 5px;
overflow: hidden;
}
#ajaxChatSection .chat-card-receiver h6 {
font-size: 12px;
font-weight: 800;
}
#ajaxChatSection .chat-card-receiver p {
width: 90%;
font-size: 13px;
}
#ajaxChatSection .chat-card-receiver .date-time {
font-size: 9px;
color: #6C6C6C;
margin: 0 0 -4px 0 !important;
}
#ajaxChatSection .chat-card-receiver.red {
background-color: #FFCDCD;
border: 1px solid #F87171;
color: #232323;
}
#ajaxChatSection .chat-card-receiver.red .date-time {
color: #6C6C6C
}
#ajaxChatSection .chat-card-receiver.green {
background-color: #F3FFDD;
border: 1px solid #84CC16;
color: #313131;
}
#ajaxChatSection .chat-card-receiver.orange {
background-color: #FEF6CC;
border: 1px solid #FBBF24;
color: #313131;
}
#ajaxChatSection .chat-card-receiver .chat-tag {
position: absolute;
top: 0;
left: 0;
font-size: 12px;
height: 100%;
writing-mode: vertical-rl;
transform: rotate(180deg);
text-align: center;
padding: 4px;
/*border-radius: 0 5px 5px 0;*/
}
#ajaxChatSection .chat-card-receiver.red .chat-tag {
background-color: #F87171;
font-size: 9px;
color: #ffffff;
}
#ajaxChatSection .chat-card-receiver.green .chat-tag {
background-color: #84CC16;
font-size: 9px;
color:#fff;
}
#ajaxChatSection .chat-card-receiver.orange .chat-tag {
background-color: #FBBF24;
font-size: 9px;
color: #fff;
}
#ajaxChatSection .chat-card-sender {
position: relative;
background-color: #EAFFFF;
border: 1px solid #2FD0D0;
width: 80%;
padding: 4px 6px;
border-radius: 5px;
margin: 5px auto 5px 5px;
overflow: hidden;
}
.requestDateShow {
position: absolute;
font-size: 12px;
top: -9px;
left: 1px;
background-color: #fbbf24;
color: #fff;
border-radius: 25px;
padding: 0 7px;
}
#ajaxChatSection .chat-card-sender h6 {
font-size: 12px;
font-weight: 800;
}
#ajaxChatSection .chat-card-sender p {
width: 90%;
font-size: 13px;
}
#ajaxChatSection .chat-card-sender .date-time {
font-size: 10px;
}
#ajaxChatSection .chat-card-sender .chat-tag {
position: absolute;
top: 3px;
left: 5px;
font-size: 12px;
text-align: center;
padding: 3px 9px;
border-radius: 27px;
width: 110px
}
#ajaxChatSection .chat-card-sender.red .chat-tag {
background-color: #F87171;
color: #ffffff;
}
#ajaxChatSection .chat-card-sender.reject .chat-tag {
background-color: #F87171;
color: #ffffff;
}
#ajaxChatSection .chat-card-sender.green .chat-tag {
background-color: #84CC16;
color: #fff;
}
#ajaxChatSection .chat-card-sender.orange .chat-tag {
background-color: #FBBF24;
color: #fff;
}
.operations-container {
display: flex;
justify-content: space-between;
align-items: end;
position: sticky;
/* background-color: #ffffff; */
bottom: 5px;
width: 100%;
}
.actionBtnsection {
display: grid;
grid-template-columns: repeat(4, minmax(0, 1fr));
gap: 10px;
margin: 10px 0 0 0;
position: relative;
}
.actionBtnsection .input-form {
grid-column: span 4 / span 4;
position: absolute;
width: 100%;
bottom: 34px;
right: 11px;
z-index: 65;
}
.actionBtnsection .actionBtn {
width: 100%;
background-color: #DDF4F4;
color: #0F8080;
border-radius: 5px;
padding: 5px;
font-size: 10px;
font-weight: 600;
}
.actionBtnsection .actionBtn.active {
background: linear-gradient(93.83deg, #2EBEBE 1.59%, #1E9D9D 47.86%, #0B7878 101.16%);
color: #FFFFFF;
}
.select2.select2-container .select2-selection--multiple .select2-search--inline .select2-search__field {
font-family: 'IRANYekanX', serif;
}
.error-valid {
border-color: #f75f6e;
border-width: 2px;
background: #ffdede;
}
.form-control {
margin: 0;
}
@media (max-width: 1366px) {
.modal-xl-DetailModal {
max-width: 600px;
}
.modal-content {
/*width: 820px;*/
}
.modal-title {
font-size: 12px;
}
.taskTitle {
font-size: 10px;
font-weight: 600;
}
.taskTitleSub {
font-size: 10px;
font-weight: 600;
}
.taskDesc {
font-size: 11px;
}
.mainChat {
height: 220px;
}
.actionBtnsection .actionBtn {
font-size: 10px;
white-space: nowrap;
}
.assigns_section .btnAssignList {
font-size: 11px;
padding: 8px;
}
.chat-section .chat-card-main {
font-size: 12px;
}
#ajaxChatSection .chat-card-receiver p {
font-size: 11px;
}
#ajaxChatSection .chat-card-sender .chat-tag {
font-size: 11px;
}
.admincardActionSection .admincardAction p {
font-weight: 600;
}
.admincardActionSection .admincardAction .btn-section .btn-reject {
white-space: nowrap;
}
.form-control {
font-size: 11px;
}
.btn-cancel2,
.btn-register {
font-size: 12px;
}
}
@media (max-width: 992px) {
.modal-xl-DetailModal {
max-width: auto;
}
.modal-title {
font-size: 10px;
}
.modal-content {
/*width: 700px;*/
height: auto;
}
.mainChat {
height: 100%;
}
.assigns_section .btnAssignList {
font-size: 10px;
padding: 8px;
}
.actionBtnsection .actionBtn {
font-size: 10px;
white-space: nowrap;
}
}
@media (max-width: 768px) {
.h-m-100 {
height: 100%;
}
.showInMobile {
margin: -17px 0 0 0;
}
.modal-content {
height: 100vh; /* Full screen */
max-height: 94vh;
/*overflow-y: auto;*/
}
.modal-body {
max-height: calc(100vh - 100px); /* Subtracting space for header and footer */
overflow-y: auto;
}
.chat-section .chat-card-main {
position: sticky;
top: -8px;
z-index: 41;
}
.modal-header .btn-close {
right: 4px;
}
.actionBtnsection {
gap: 4px;
width: 100% !important;
}
.actionBtnsection .actionBtn {
font-size: 8px;
}
.assigns_section {
display: flex;
align-items: center;
gap: 3px;
overflow-x: scroll;
scrollbar-width: thin;
}
.assigns_section .btnAssignList {
white-space: nowrap;
}
.admincardActionSection .admincardAction .btn-section .btn-submit,
.admincardActionSection .admincardAction .btn-section .btn-reject {
font-size: 9px;
font-weight: 600;
}
#ajaxChatSection .chat-card-receiver,
#ajaxChatSection .chat-card-sender {
width: 85%;
}
}