123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279 |
- .position-relative {
- position: relative;
- }
- .overflow-hidden {
- overflow: hidden;
- }
- .position-absolute {
- position: absolute;
- }
- .opacity-0x {
- opacity: 0;
- }
- .im-body {
- height: calc(100vh - 185px) !important;
- }
- .im-container {
- display: flex;
- align-items: stretch;
- }
- .im-container .im-lhs {
- min-width: 300px;
- border-right: 1px solid #ddd;
- padding: 0.5rem;
- overflow: auto;
- }
- .im-container .im-lhs .im-conversation {
- border-radius: 4px;
- padding: 0.5rem;
- border: 1px solid #ddd;
- background: white;
- cursor: pointer;
- }
- .im-container .im-lhs .im-conversation:hover {
- background: aliceblue;
- text-decoration: none;
- }
- .im-container .im-lhs .im-conversation.active {
- background: aliceblue;
- border-color: #307899;
- }
- .im-container .im-lhs .im-conversation:not(:last-child) {
- margin-bottom: 0.5rem;
- }
- .im-container .im-lhs .im-conversation .unread-conversation {
- position: absolute;
- right: 0;
- top: 0;
- }
- .im-container .im-rhs {
- flex-grow: 1;
- display: inline-flex;
- flex-direction: column;
- }
- .im-container .im-rhs .im-messages {
- flex-grow: 1;
- display: inline-flex;
- flex-direction: column;
- justify-content: flex-end;
- overflow: auto;
- margin-bottom: 1rem;
- }
- .im-container .im-message {
- margin-top: 0.5rem;
- padding: 0 0.5rem;
- text-align: left;
- }
- .im-container .im-message.sent {
- text-align: right;
- }
- .im-container .im-rhs .im-messages-header {
- padding-bottom: 0.5rem;
- border-bottom: 1px solid #eee;
- }
- .im-container .im-message .im-message-sender {
- display: flex;
- justify-content: flex-start;
- }
- .im-container .im-message .im-message-sender .unread-message {
- margin-bottom: -5px;
- margin-top: -5px;
- font-size: 16px;
- }
- .im-container .im-message .im-message-content {
- background: #eee;
- border-radius: 6px;
- padding: 0.5rem;
- margin-top: 0.25rem;
- white-space: pre-wrap;
- word-break: break-word;
- text-align: left;
- display: inline-block;
- min-width: 150px;
- max-width: 75%;
- flex-grow: 0;
- }
- .im-container .im-message.sent .im-message-sender {
- justify-content: flex-end;
- }
- .im-container .im-message.sent .im-message-content {
- margin-left: auto;
- background: #e4f9ff;
- }
- .im-container .im-rhs .im-input textarea {
- width: 100%;
- height: 30px;
- border:none;
- resize:none;
- padding: 0.3rem;
- box-shadow: none !important;
- }
- .im-container .im-rhs .im-input textarea:focus,
- .im-container .im-rhs .im-input textarea:active,
- .im-container .im-rhs .im-input textarea:focus-visible {
- border:none;
- outline: 0;
- }
- .im-container .im-rhs .im-input #selected-files .selected-file {
- background: #eee;
- border: 1px solid #ccc;
- border-radius: 3px;
- padding: 2px 20px 2px 5px;
- cursor: pointer;
- position: relative;
- margin-top: 6px;
- margin-right: 6px;
- }
- .im-container .im-rhs .im-input #selected-files .selected-file:hover {
- color: #b11313;
- }
- .im-container .im-rhs .im-input #selected-files .selected-file:after {
- position: absolute;
- content: '✕';
- right: 4px;
- color: #b11313;
- }
- .im-container .im-message.sent .header-item {
- margin-left: 0.75rem;
- }
- .im-container .im-message.received .header-item {
- margin-right: 0.75rem;
- }
- .im-container .im-message.sent .attachment {
- margin-left: 0.75rem;
- }
- .im-container .im-message.received .attachment {
- margin-right: 0.75rem;
- }
- .im-container .im-rhs .im-video-container {
- max-width: 480px;
- display: inline-block;
- position: relative;
- margin-top: 4px;
- }
- .im-container .im-rhs .im-video-container video {
- max-width: 100%;
- }
- .im-container .im-rhs .im-video-container .vs-control {
- opacity: 0;
- transition: opacity 0.3s ease;
- position: absolute;
- margin: 0 !important;
- top: 0;
- right: 0;
- background: rgba(238, 238, 238, 0.75) !important;
- border: 0 !important;
- border-bottom-left-radius: 3px;
- text-align: right !important;
- width: auto !important;
- font-size: 11px !important;
- }
- .im-container .im-rhs .im-video-container:hover .vs-control {
- opacity: 1;
- background: rgba(238, 238, 238, 1) !important;
- }
- .im-container .im-rhs .im-video-container .vs-control select {
- width: auto !important;
- border: 0 !important;
- }
- .msg-header {
- background-color: #fefefe;
- color: #333;
- border-bottom: 1px solid #ccc;
- }
- .im-body .card-body {
- background-color: #fefefe;
- }
- .msg-input {
- border: 1px solid #eee;
- padding: 8px 10px;
- border-radius: 50px;
- background-color: #ffffff;
- width: 100%;
- display: flex;
- align-items: center;
- justify-content: space-between;
- }
- .msg-input textarea, .msg-input textarea:focus{
- outline:0;
- box-shadow: 0;
- border:none;
- width: 100%;
- }
- .btn-input, .btn-input:hover, .btn-input:focus {
- height: 40px;
- width: 40px;
- font-size: 18px;
- display: grid;
- place-items:center;
- border-radius: 100%;
- background: #32abd1;
- color: #fff;
- }
- .btn-input i {
- margin-left: -4px;
- }
- .plus, .plus:hover, .plus:focus {
- outline:0;
- border:0;
- background: 0;
- color: #aaa;
- margin-right: 5px;
- }
- .fabs {
- display: flex;
- gap: 5px;
- }
- .fabs .btn {
- margin-left: 0 !important;
- margin-bottom: 10px;
- height: 40px;
- width: 40px;
- border-radius: 100%;
- }
- .msg-list {
- height: calc(100vh - 185px) !important;
- overflow-y: auto;
- }
- .msg-list .msg-header {
- position: sticky;
- top: 0;
- }
- .pt {
- color: #000000;
- }
- .active-pt, .pt:hover {
- background-color: #c2efff;
- color: #000000;
- transition: .5s;
- }
- .im-container .im-message .im-message-sender {
- position: relative;
- }
- .im-container .im-message .delete {
- position: absolute;
- right: -14px;
- top:0px;
- }
- .im-container .im-message:hover .delete,
- .im-container .im-message:focus .delete{
- display: block;
- }
- .circle-icon {
- margin-top: 5px;
- height: 40px;
- width: 40px;
- text-align: center;
- border-radius: 100%;
- background-color: #ededed;
- font-size: 15px;
- font-weight: bold;
- display: grid;
- color: #444;
- place-items: center;
- }
- .circle-icon.op {
- opacity: 0;
- height: 10px;
- }
|