Files
notifications-admin/app/assets/stylesheets/components/page-footer.scss
Chris Hill-Scott 5233ee4bd9 Add a form to set priority of top 2 providers
Their priority should always add up to 100%. Currently we have to ensure
this by hand. Adding this form means there’s no way to not set their
combined priorities to 100%. And it’s a bit more of an intuitive UI than
two textboxes on separate pages.
2019-12-11 10:17:45 +00:00

96 lines
1.3 KiB
SCSS

.page-footer {
position: relative;
margin-bottom: 30px;
&-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 {
@include core-19;
padding: 0;
display: inline-block;
}
&-secondary-link {
display: block;
margin-top: $gutter;
}
&-right-aligned-link {
position: absolute;
right: 0;
top: 9px; // align baseline with buttons
&-without-button {
position: absolute;
right: 0;
top: 0;
}
}
.button,
.button-destructive {
margin-right: 10px;
}
.button-destructive {
@include button($error-colour);
padding: 0.52632em 0.78947em 0.26316em 0.78947em;
}
.js-cancel {
margin: 0;
}
&-centered-button {
.button {
display: block;
margin: 0 auto;
}
}
}
.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;
}
}
}