Files
notifications-admin/app/assets/stylesheets/components/sms-message.scss
2016-05-20 13:58:16 +01:00

100 lines
1.4 KiB
SCSS

%sms-message-wrapper,
.sms-message-wrapper {
width: 100%;
box-sizing: border-box;
padding: $gutter-half;
background: $panel-colour;
border: 1px solid $panel-colour;
border-radius: 5px;
white-space: normal;
margin: 0 0 $gutter 0;
clear: both;
word-wrap: break-word;
p {
margin: 0;
}
p + p {
margin-top: 20px;
}
}
.sms-message-wrapper-with-radio {
@extend %sms-message-wrapper;
padding-left: 45px;
cursor: pointer;
}
.sms-message-recipient {
@include copy-19;
color: $secondary-text-colour;
margin: 10px 0 5px 0;
}
.sms-message-name {
@include bold-24;
margin: 20px 0 5px 0;
}
.sms-message-updated-at {
@include copy-16;
color: $secondary-text-colour;
margin: 0 0 10px 0;
}
.sms-message-use-links-history {
@include copy-16;
color: $secondary-text-colour;
margin: 45px 0 0 0;
.primary {
color: $text-colour;
}
}
.sms-message-picker {
display: block;
margin: 7px 0 0 0;
position: absolute;
left: 15px;
top: 50%;
z-index: 50;
}
%sms-message-use-links,
.sms-message-use-links {
@include copy-19;
margin-top: 35px;
a {
display: block;
margin-bottom: 5px;
text-decoration: none;
&:hover {
text-decoration: underline;
}
}
.primary {
@include bold-19;
}
}
.sms-message-use-links-with-title {
@extend %sms-message-use-links;
margin-top: 95px;
}
.sms-message-from {
@include bold-19;
display: block;
}