...
 
Commits (3)
......@@ -400,7 +400,7 @@ function format_msg_attachments(msg)
let msg_attachment_html = '<div class="message_attachment_container">'
+ '<a class="message_attachment" href="' + attachment_url + '" rel="noreferrer noopener" target="_blank">'
+ '<span>⭳ ' + attachment.filename + '</span>'
+ '<span>⭳ ' + format_text(attachment.filename) + '</span>'
+ msg_attachment_obj_html
+ '</a>'
+ '</div>';
......
......@@ -112,6 +112,16 @@
font-display: swap;
}
@font-face {
font-family: "Symbola";
src: local("Symbola"),
url("fonts/Symbola.woff2") format("woff2"),
url("fonts/Symbola.woff") format("woff"),
url("fonts/Symbola.ttf") format("truetype");
font-weight: 400;
font-display: swap;
}
@font-face {
font-family: "Twemoji Mozilla";
src: local("Twemoji Mozilla"),
......@@ -137,11 +147,11 @@ body {
margin: 0;
padding: 0;
overflow: hidden;
font-family: "Ubuntu", "Twemoji Mozilla", "Arial", sans-serif;
font-family: "Ubuntu", "Twemoji Mozilla", "Symbola", "Arial", sans-serif;
font-weight: 300;
font-size: 1em;
color: #dcddde;
scrollbar-color: #202225 rgba(0,0,0,.05);
scrollbar-color: #202225 rgba(0,0,0,.1);
scrollbar-width: auto;
}
......@@ -205,19 +215,19 @@ ul {
}
.col {
flex: 1 1 auto;
flex: 1 1 0;
overflow-x: hidden;
overflow-y: scroll;
}
.col_channels, .col_users {
flex: 1 1;
flex: 1 1 0;
min-width: 240px;
background-color: #2f3136;
}
.col_messages {
flex: 6 6 auto;
flex: 6 6 0;
background-color: #36393f;
}
......@@ -335,7 +345,7 @@ ul {
.message_code {
font-family: "Ubuntu Mono", "Twemoji Mozilla", "Liberation Mono", monospace;
white-space: pre-wrap;
background-color: #2F3136;
background-color: #2f3136;
}
pre.message_code {
......@@ -364,8 +374,8 @@ code.message_code {
.message_attachment {
display: inline-grid;
background-color: #27292C;
border: 5px solid #27292C;
background-color: #27292c;
border: 5px solid #27292c;
border-radius: 5px;
margin: 5px;
}
......