comparison sat_templates/templates/bulma/static/chat.css @ 364:095bd5b34080

chat: add templates for URL previews
author Goffi <goffi@goffi.org>
date Wed, 28 Jun 2023 10:40:53 +0200
parents b2b859a62e70
children 1b753e3baf06
comparison
equal deleted inserted replaced
363:cddac8502c4b 364:095bd5b34080
63 63
64 #attach_button, #send_button { 64 #attach_button, #send_button {
65 height: 100%; 65 height: 100%;
66 } 66 }
67 67
68 /* attachments */ 68 /* URL previews */
69
70 .url-preview-iframe-container {
71 position: relative;
72 padding-bottom: 56.25%;
73 height: 0;
74 overflow: hidden;
75 max-width: 100%;
76 background: #000;
77 }
78
79 .url-preview-iframe {
80 position: absolute;
81 top: 0;
82 left: 0;
83 width: 100%;
84 height: 100%;
85 border: 0;
86 }
87
88 /* Attachments */
69 89
70 #attachments { 90 #attachments {
71 opacity: 1; 91 opacity: 1;
72 max-height: 1000px; 92 max-height: 1000px;
73 transition: opacity 0.5s ease-in-out, max-height 0.5s ease-in-out, padding 0.5s ease-in-out, margin 0.5s ease-in-out; 93 transition: opacity 0.5s ease-in-out, max-height 0.5s ease-in-out, padding 0.5s ease-in-out, margin 0.5s ease-in-out;