css: Add bubble tab to the left of messages on wide screens.
[software/mumi.git] / assets / css / screen.css
index fbf0e59fd2d5569a16be6a2dcc452858d79a0f2c..fdcf9b70eef4fd5ec8075f9306c54af499a18b19 100644 (file)
@@ -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;
 }