Files
notifications-admin/app/assets/stylesheets/components/sms-message.scss
Chris Hill-Scott d4a03a40c8 Add message history
2016-01-05 13:31:54 +00:00

81 lines
1.3 KiB
SCSS

.sms-message {
position: relative;
margin: 0 0 $gutter 0;
&:before {
content: '';
position: absolute;
z-index: 10;
bottom: -12px;
right: 5px;
width: 20px;
height: 25px;
border-radius: 100%;
background: $panel-colour;
}
&:after {
content: '';
position: absolute;
z-index: 20;
bottom: -15px;
right: -5px;
border-radius: 100%;
width: 20px;
height: 20px;
background: $white;
}
&-wrapper {
width: 100%;
display: inline-block;
box-sizing: border-box;
position: relative;
z-index: 30;
padding: $gutter/2;
background: $panel-colour;
border-radius: 5px;
white-space: normal;
}
&-recipient {
@include copy-19;
color: $secondary-text-colour;
margin: 0;
}
&-history {
background: $turquoise;
color: $white;
padding: $gutter-half;
@include core-16;
margin-bottom: $gutter;
@extend %contain-floats;
&-heading {
@include bold-16;
margin-bottom: 10px;
}
&-status {
float: left;
margin: 0 0 10px 0;
padding: 0;
width: 66%;
}
&-time {
float: left;
clear: left;
padding: 0;
width: 33%;
min-width: 3.2em;
max-width: 4.8em;
}
}
}