2017-05-24 12:55:07 +01:00
|
|
|
$tail-angle: 20deg;
|
|
|
|
|
|
2016-01-20 10:36:41 +00:00
|
|
|
.sms-message-wrapper {
|
2016-04-11 10:51:32 +01:00
|
|
|
|
2017-05-24 12:55:07 +01:00
|
|
|
position: relative;
|
2016-01-20 10:36:41 +00:00
|
|
|
width: 100%;
|
2017-04-10 10:28:27 +01:00
|
|
|
max-width: 464px;
|
2016-01-20 10:36:41 +00:00
|
|
|
box-sizing: border-box;
|
2017-03-13 10:55:15 +00:00
|
|
|
padding: $gutter-half $gutter-half $gutter-half $gutter-half;
|
2016-01-20 10:36:41 +00:00
|
|
|
background: $panel-colour;
|
|
|
|
|
border: 1px solid $panel-colour;
|
|
|
|
|
border-radius: 5px;
|
|
|
|
|
white-space: normal;
|
|
|
|
|
margin: 0 0 $gutter 0;
|
2016-02-18 14:54:59 +00:00
|
|
|
clear: both;
|
2016-04-15 15:11:44 +01:00
|
|
|
word-wrap: break-word;
|
2016-04-11 10:51:32 +01:00
|
|
|
|
2017-05-24 12:55:07 +01:00
|
|
|
&:after {
|
|
|
|
|
content: "";
|
|
|
|
|
display: block;
|
|
|
|
|
position: absolute;
|
2017-05-24 13:19:31 +01:00
|
|
|
bottom: -5px;
|
2017-05-24 12:55:07 +01:00
|
|
|
right: -20px;
|
|
|
|
|
border: 10px solid transparent;
|
|
|
|
|
border-left-width: 13px;
|
|
|
|
|
border-right-width: 13px;
|
|
|
|
|
border-bottom-color: $panel-colour;
|
|
|
|
|
border-left-color: $panel-colour;
|
|
|
|
|
transform: rotate($tail-angle);
|
|
|
|
|
}
|
|
|
|
|
|
2016-01-20 10:36:41 +00:00
|
|
|
}
|
|
|
|
|
|
2017-05-24 13:19:31 +01:00
|
|
|
.sms-message-inbound {
|
|
|
|
|
|
|
|
|
|
.sms-message-wrapper {
|
|
|
|
|
|
|
|
|
|
&:after {
|
|
|
|
|
border-left-color: transparent;
|
|
|
|
|
border-bottom-color: $panel-colour;
|
|
|
|
|
border-right-color: $panel-colour;
|
|
|
|
|
right: auto;
|
|
|
|
|
left: -20px;
|
|
|
|
|
transform: rotate(-$tail-angle);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
2017-11-16 14:13:32 +00:00
|
|
|
.sms-message-sender {
|
|
|
|
|
@include copy-19;
|
|
|
|
|
color: $secondary-text-colour;
|
|
|
|
|
margin: 0 0 -10px 0;
|
|
|
|
|
}
|
|
|
|
|
|
2016-01-20 10:36:41 +00:00
|
|
|
.sms-message-recipient {
|
|
|
|
|
@include copy-19;
|
|
|
|
|
color: $secondary-text-colour;
|
2016-08-07 09:17:49 +01:00
|
|
|
margin: 10px 0 0 0;
|
2016-01-20 10:36:41 +00:00
|
|
|
}
|
2017-05-24 13:19:31 +01:00
|
|
|
|
|
|
|
|
.sms-message-status {
|
|
|
|
|
@include core-16;
|
|
|
|
|
color: $secondary-text-colour;
|
|
|
|
|
margin: -20px $gutter-half 20px $gutter-half;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.sms-message-status-outbound {
|
|
|
|
|
text-align: right;
|
|
|
|
|
}
|
2017-06-06 15:30:38 +01:00
|
|
|
|
|
|
|
|
.sms-message-row {
|
|
|
|
|
|
|
|
|
|
&:focus {
|
|
|
|
|
outline: none;
|
2017-06-06 15:40:33 +01:00
|
|
|
padding-top: 120px;
|
|
|
|
|
margin-top: -120px;
|
2017-06-06 15:30:38 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
2017-10-24 12:00:51 +01:00
|
|
|
|
|
|
|
|
.sms-message-reply-link {
|
|
|
|
|
text-align: right;
|
|
|
|
|
}
|