|
62 | 62 | flex-direction: row;
|
63 | 63 | align-items: center;
|
64 | 64 | padding: 10px;
|
| 65 | + border-radius: var(--border-radius-message-box); |
| 66 | + |
| 67 | + .module-message__container--outgoing & { |
| 68 | + color: var(--color-sent-message-text); |
| 69 | + background: var(--color-sent-message-background); |
| 70 | + } |
| 71 | + |
| 72 | + .module-message__container--incoming & { |
| 73 | + color: var(--color-received-message-text); |
| 74 | + background: var(--color-received-message-background); |
| 75 | + } |
65 | 76 | }
|
66 | 77 |
|
67 | 78 | .module-message__generic-attachment__icon-container {
|
|
88 | 99 | }
|
89 | 100 |
|
90 | 101 | .module-message__generic-attachment__icon__extension {
|
91 |
| - font-size: 10px; |
| 102 | + font-size: 9px; |
92 | 103 | line-height: 13px;
|
93 | 104 | letter-spacing: 0.1px;
|
94 | 105 | text-transform: uppercase;
|
|
115 | 126 | }
|
116 | 127 |
|
117 | 128 | .module-message__generic-attachment__file-name {
|
118 |
| - color: $color-gray-90; |
119 | 129 | font-size: 14px;
|
120 | 130 | line-height: 18px;
|
121 | 131 | font-weight: 300;
|
|
127 | 137 | text-overflow: ellipsis;
|
128 | 138 | }
|
129 | 139 |
|
130 |
| -.module-message__generic-attachment__file-size, |
131 |
| -.module-message__generic-attachment__file-name--outgoing, |
132 |
| -.module-message__generic-attachment__file-size--incoming, |
133 |
| -.module-message__generic-attachment__file-size--outgoing, |
134 |
| -.module-message__generic-attachment__file-name--incoming { |
135 |
| - color: var(--color-text); |
136 |
| -} |
137 |
| - |
138 | 140 | .module-message__generic-attachment__file-size {
|
139 | 141 | font-size: var(--font-size-xs);
|
140 | 142 | line-height: 16px;
|
|
145 | 147 |
|
146 | 148 | .module-message__link-preview {
|
147 | 149 | cursor: pointer;
|
148 |
| - border-top-left-radius: $session_message-container-border-radius; |
149 |
| - border-top-right-radius: $session_message-container-border-radius; |
| 150 | + |
| 151 | + display: flex; |
| 152 | + align-items: center; |
| 153 | + background: white; |
| 154 | + color: black; |
| 155 | + border-radius: var(--border-radius-message-box); |
| 156 | + margin: var(--padding-link-preview); |
| 157 | + |
| 158 | + .module-image { |
| 159 | + margin: -1px; |
| 160 | + } |
150 | 161 | }
|
151 | 162 |
|
152 | 163 | .module-message__link-preview__content {
|
153 |
| - padding: 8px; |
154 |
| - background-color: $color-white; |
| 164 | + padding: 0 0 var(--margins-xs) 0; |
155 | 165 | display: flex;
|
156 | 166 | flex-direction: row;
|
157 | 167 | align-items: flex-start;
|
158 |
| - border: 1px solid $color-black-015; |
| 168 | + flex-grow: 1; |
| 169 | + margin-left: var(--margins-sm); |
159 | 170 | }
|
160 | 171 |
|
161 | 172 | .module-message__link-preview__image_container {
|
|
203 | 214 | background-color: $color-gray-05;
|
204 | 215 | }
|
205 | 216 |
|
206 |
| -.module-message__link-preview__text--with-icon { |
207 |
| - margin-top: 5px; |
208 |
| -} |
209 |
| - |
210 | 217 | .module-message__link-preview__title {
|
211 |
| - color: $color-gray-90; |
212 | 218 | font-size: 16px;
|
213 | 219 | font-weight: 300;
|
214 | 220 | letter-spacing: 0.15px;
|
|
222 | 228 |
|
223 | 229 | .module-message__link-preview__location {
|
224 | 230 | margin-top: 4px;
|
225 |
| - color: $color-gray-60; |
226 | 231 | font-size: 12px;
|
227 | 232 | height: 16px;
|
228 | 233 | letter-spacing: 0.4px;
|
|
787 | 792 | }
|
788 | 793 |
|
789 | 794 | .module-image--soft-corners {
|
790 |
| - border-radius: 4px; |
791 |
| -} |
792 |
| - |
793 |
| -.module-image__border-overlay { |
794 |
| - position: absolute; |
795 |
| - top: 0; |
796 |
| - bottom: 0; |
797 |
| - z-index: 1; |
798 |
| - left: 0; |
799 |
| - right: 0; |
800 |
| -} |
801 |
| - |
802 |
| -.module-image__border-overlay--dark { |
803 |
| - background-color: $color-black-02; |
| 795 | + border-radius: var(--border-radius-message-box); |
804 | 796 | }
|
805 | 797 |
|
806 | 798 | .module-image__loading-placeholder {
|
|
819 | 811 | }
|
820 | 812 | }
|
821 | 813 |
|
822 |
| -.module-image__bottom-overlay { |
823 |
| - height: 48px; |
824 |
| - background-image: linear-gradient( |
825 |
| - to bottom, |
826 |
| - rgba(0, 0, 0, 0), |
827 |
| - rgba(0, 0, 0, 0) 9%, |
828 |
| - rgba(0, 0, 0, 0.6) |
829 |
| - ); |
830 |
| - position: absolute; |
831 |
| - bottom: 0; |
832 |
| - z-index: 1; |
833 |
| - left: 0; |
834 |
| - right: 0; |
835 |
| -} |
836 |
| - |
837 | 814 | .module-image__play-overlay__circle {
|
838 | 815 | position: absolute;
|
839 | 816 | top: 50%;
|
|
879 | 856 | position: absolute;
|
880 | 857 | top: 5px;
|
881 | 858 | right: 5px;
|
882 |
| - width: 16px; |
883 |
| - height: 16px; |
| 859 | + width: 20px; |
| 860 | + height: 20px; |
884 | 861 | z-index: 2;
|
885 | 862 | background-image: url('../images/x-shadow-16.svg');
|
886 | 863 | }
|
887 | 864 |
|
888 |
| -// Module: Image Grid |
889 |
| - |
890 |
| -.module-image-grid { |
891 |
| - display: inline-flex; |
892 |
| - flex-direction: row; |
893 |
| - align-items: center; |
894 |
| - |
895 |
| - margin: -1px; |
896 |
| -} |
897 |
| - |
898 |
| -.module-image-grid__column { |
899 |
| - display: inline-flex; |
900 |
| - flex-direction: column; |
901 |
| - align-items: center; |
902 |
| -} |
903 |
| - |
904 |
| -.module-image-grid__row { |
905 |
| - display: inline-flex; |
906 |
| - flex-direction: row; |
907 |
| - align-items: center; |
908 |
| - flex-grow: 1; |
909 |
| -} |
910 |
| - |
911 | 865 | // Module: Attachments
|
912 | 866 |
|
913 | 867 | .module-attachments {
|
|
0 commit comments