1 | .str-chat__modal {
|
2 | background: var(--modal-overlay-color);
|
3 | position: fixed;
|
4 | top: 0;
|
5 | left: 0;
|
6 | width: 100%;
|
7 | height: 100%;
|
8 | z-index: 10000;
|
9 | display: none;
|
10 | align-items: center;
|
11 | justify-content: center;
|
12 |
|
13 | &--open {
|
14 | display: flex;
|
15 | }
|
16 |
|
17 | &__inner {
|
18 | max-width: 100%;
|
19 | background: var(--white);
|
20 | padding: var(--md-p);
|
21 | border-radius: var(--border-radius-md);
|
22 | }
|
23 |
|
24 | &__close-button {
|
25 | position: absolute;
|
26 | top: 0;
|
27 | right: 0;
|
28 | padding: var(--md-p);
|
29 | font-size: var(--md-font);
|
30 | line-height: 10px;
|
31 | color: var(--white);
|
32 | cursor: pointer;
|
33 | display: flex;
|
34 | align-items: center;
|
35 | background-color: transparent;
|
36 | border: none;
|
37 |
|
38 | svg {
|
39 | position: relative;
|
40 | top: 1px;
|
41 | margin-left: var(--xs-m);
|
42 | fill: var(--white);
|
43 | }
|
44 |
|
45 | &:hover {
|
46 | opacity: 0.79;
|
47 | }
|
48 | }
|
49 |
|
50 | .str-chat__edit-message-form {
|
51 | max-width: 100%;
|
52 | width: var(--modal-edit-message-form-width);
|
53 | }
|
54 |
|
55 | .str-chat__input-emojiselect,
|
56 | .str-chat__input-fileupload {
|
57 | position: relative;
|
58 | top: unset;
|
59 | right: unset;
|
60 | padding: 0;
|
61 | width: auto;
|
62 | }
|
63 | }
|
64 |
|
65 | .str-chat.dark.messaging {
|
66 | .str-chat__modal {
|
67 | &__inner {
|
68 | border: 2px solid var(--white);
|
69 | background: var(--black);
|
70 | }
|
71 | }
|
72 | }
|
73 |
|
74 | .str-chat__exit {
|
75 | display: flex;
|
76 | width: 86px;
|
77 | justify-content: space-between;
|
78 | }
|