mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-07-09 19:04:33 -04:00
For users who: - want to send messages from a template - want to edit templates For developers: - who need to get the ID of a template This commit mainly cleans up the choose template page so there are less options, and the options that are there are less wordy. This means: - moving ‘send yourself a test’ onto the send messages page, and making it button - stripping a lot of stuff out of the ‘send from API’ page, so it’s more obvious what the template ID is
101 lines
1.7 KiB
SCSS
101 lines
1.7 KiB
SCSS
$white-50-opaque: rgba($white, 0.5);
|
|
$button-bottom-border-colour: rgba(0, 0, 0, 0.17);
|
|
|
|
.email-message {
|
|
|
|
margin-bottom: $gutter;
|
|
|
|
&-name {
|
|
@include bold-24;
|
|
margin: 20px 0 10px 0;
|
|
}
|
|
|
|
&-meta {
|
|
|
|
@include core-19;
|
|
margin: 0;
|
|
|
|
td,
|
|
th {
|
|
@include core-19;
|
|
border-bottom: 0;
|
|
border-top: 1px solid $border-colour;
|
|
vertical-align: top;
|
|
}
|
|
|
|
th {
|
|
color: $secondary-text-colour;
|
|
}
|
|
|
|
td {
|
|
width: 99%;
|
|
}
|
|
|
|
}
|
|
|
|
&-from {
|
|
padding-top: 15px;
|
|
border-top: 1px solid $border-colour;
|
|
}
|
|
|
|
&-body {
|
|
|
|
width: 100%;
|
|
box-sizing: border-box;
|
|
padding: $gutter-half 0 0 0;
|
|
margin: 0 0 $gutter * 1.5 0;
|
|
clear: both;
|
|
border-top: 1px solid $border-colour;
|
|
border-bottom: 1px solid $border-colour;
|
|
position: relative;
|
|
word-wrap: break-word;
|
|
|
|
&-wrapper {
|
|
|
|
.collapsed & {
|
|
max-height: 92px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
}
|
|
|
|
.toggle {
|
|
|
|
position: absolute;
|
|
left: 50%;
|
|
bottom: -18px;
|
|
height: 27px;
|
|
display: inline-block;
|
|
padding: 0;
|
|
margin: 0 0 0 -30px;
|
|
line-height: 12px;
|
|
font-size: 30px;
|
|
font-weight: bold;
|
|
letter-spacing: 2px;
|
|
text-align: center;
|
|
cursor: pointer;
|
|
width: 60px;
|
|
text-decoration: none;
|
|
background: $grey-3;
|
|
color: $text-colour;
|
|
border-style: solid;
|
|
border-width: 3px;
|
|
border-color: $white;
|
|
box-shadow: inset 0 -2px 0 $button-bottom-border-colour, 0 0 0 1px $white-50-opaque;
|
|
|
|
&:hover {
|
|
background: $grey-2;
|
|
}
|
|
|
|
&:focus,
|
|
&:active {
|
|
border-color: $yellow;
|
|
outline: none;
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|