mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-07-23 09:29:14 -04:00
This commit refactors the `email_message` and `sms_message` UI components to take fewer parameters. `name`, `edit_link` and anything to do with versions are identical for both text and email messages so I’ve moved them to the pages where you choose a template or see the versions. This commit also tidies up the wording and styling of the template history stuff.
56 lines
844 B
SCSS
56 lines
844 B
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;
|
|
line-height: 1.6;
|
|
}
|
|
|
|
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-picker {
|
|
display: block;
|
|
margin: 7px 0 0 0;
|
|
position: absolute;
|
|
left: 15px;
|
|
top: 50%;
|
|
z-index: 50;
|
|
}
|
|
|
|
.sms-message-from {
|
|
@include bold-19;
|
|
display: block;
|
|
}
|