mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-07-23 17:39:13 -04:00
If there are less than 7 messages, show them all. If there are more than 7, show the first and last three, and a link to the remaining x.
48 lines
775 B
SCSS
48 lines
775 B
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 {
|
|
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;
|
|
}
|
|
|
|
}
|