From 202f5d5b7af974c1beb754ecda4feca4fe6045db Mon Sep 17 00:00:00 2001 From: Scott Nonnenberg Date: Mon, 7 May 2018 12:55:33 -0700 Subject: [PATCH] Update contact bubbles for ios theme --- stylesheets/_ios.scss | 56 +++++++++++++++++++++++++++++++++++++++---- 1 file changed, 52 insertions(+), 4 deletions(-) diff --git a/stylesheets/_ios.scss b/stylesheets/_ios.scss index 139fb299ae6..2ee3fecab6c 100644 --- a/stylesheets/_ios.scss +++ b/stylesheets/_ios.scss @@ -118,6 +118,57 @@ $ios-border-color: rgba(0, 0, 0, 0.1); } } + .embedded-contact { + margin: 0; + color: white; + + .first-line { + margin: 0; + padding: 10px; + + .text-container { + .contact-name { + color: white; + } + } + } + + .send-message { + font-weight: normal; + border-bottom: none; + margin-top: 0; + color: white; + + .bubble-icon { + @include color-svg('../images/chat-bubble-outline.svg', white); + } + } + } + + .incoming .embedded-contact { + .first-line { + .text-container { + .contact-name { + color: $blue; + } + } + } + + color: black; + + .send-message { + color: $blue; + + .bubble-icon { + @include color-svg('../images/chat-bubble-outline.svg', $blue); + } + } + } + + .embedded-contact + .content { + border-bottom: 1px solid white; + } + .quoted-message { // Not ideal, but necessary to override the specificity of the android theme color // classes used in conversations.scss @@ -378,10 +429,7 @@ $ios-border-color: rgba(0, 0, 0, 0.1); // bubble wider than an attached image, and we need a background color on the bottom // section if the image doesn't cover it all. .outgoing .tail-wrapper { - .attachments { - background-color: $blue; - } - .content { + .inner-bubble { background-color: $blue; }