Files
notifications-admin/app/assets/stylesheets/components/page-footer.scss
Chris Hill-Scott b9bf18b936 Add a form to filter notifications by recipient
Because manually editing the URL isn’t a great user interface, this
commit adds a search field to do this on the user’s behalf.

For this pass at the story it doesn’t do any validation – the user will
just get no results if they search by something which isn’t a phone
number or email address.

If the user navigates to a different ‘bucket’ of notifications (eg
delivered, failed) then the search term is reset, because they’ve
changed the filter which is at a level above the search term.
2017-05-30 15:11:34 +01:00

80 lines
1.1 KiB
SCSS

.page-footer {
margin-bottom: 30px;
&-back-link {
@include button($grey-1);
display: inline-block;
@include media('mobile') {
box-sizing: border-box;
width: 100%;
margin-top: $gutter-half;
text-align: center;
}
}
&-delete-link {
line-height: 40px;
padding: 1px 0 0 15px;
a {
&:visited,
&:link {
color: $error-colour;
display: inline-block;
vertical-align: center;
}
&:hover,
&:active {
color: $mellow-red;
}
}
}
&-delete-link-without-button {
padding-left: 0;
}
&-secondary-link {
display: block;
margin-top: $gutter;
}
.button,
.button-destructive {
margin-right: 10px;
}
.button-destructive {
@include button($error-colour);
padding: 0.52632em 0.78947em 0.26316em 0.78947em;
}
}
.align-button-with-textbox {
.button {
@include media(desktop) {
position: relative;
top: 32px;
left: -30px;
width: 100%;
margin-right: -30px;
padding-top: 8px;
box-sizing: content-box;
}
}
}