summaryrefslogtreecommitdiff
path: root/assets
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2020-03-31 00:11:48 +0200
committerRicardo Wurmus <rekado@elephly.net>2020-03-31 00:11:48 +0200
commitbff7e6a82f3f6769e4759dde2c0012585043710b (patch)
treeb0bc965c5a999b1e6c2bb71a98b0d2e6279a767e /assets
parent145cd642b3e221ff07988e60dfd7589417b66288 (diff)
css: Add bubble tab to the left of messages on wide screens.
Diffstat (limited to 'assets')
-rw-r--r--assets/css/screen.css28
1 files changed, 28 insertions, 0 deletions
diff --git a/assets/css/screen.css b/assets/css/screen.css
index fbf0e59..fdcf9b7 100644
--- a/assets/css/screen.css
+++ b/assets/css/screen.css
@@ -194,6 +194,34 @@ table {
font-style: italic;
}
+@media (min-width: 768px) {
+ .message .card-header:before {
+ content: "";
+ border-color: transparent;
+ border-right-color: #ddd;
+ border-style: solid solid outset;
+ border-width: 10px;
+ height: 0;
+ width: 0;
+ margin-left: -40px;
+ top: calc(1rem - 1px);
+ position: absolute;
+ }
+ .message .card:before {
+ content: "";
+ border-color: transparent;
+ border-right-color: #f8f9fa;
+ border-style: solid solid outset;
+ border-width: 9px;
+ height: 0;
+ width: 0;
+ left: -18px;
+ top: 1rem;
+ position: absolute;
+ z-index: 10;
+ }
+}
+
.message .from .address {
font-weight: bold;
}