Files
notifications-admin/app/assets/stylesheets/components/page-footer.scss
T

93 lines
1.3 KiB
SCSS
Raw Normal View History

2016-01-07 20:11:22 +00:00
.page-footer {
2015-12-11 07:57:35 +00:00
2018-10-31 14:08:37 +00:00
position: relative;
2016-02-17 15:49:07 +00:00
margin-bottom: 30px;
2015-12-11 17:25:04 +00:00
&-back-link {
2017-03-03 14:22:39 +00:00
2016-02-03 15:24:50 +00:00
@include button($grey-1);
display: inline-block;
2017-03-03 14:22:39 +00:00
@include media('mobile') {
box-sizing: border-box;
width: 100%;
margin-top: $gutter-half;
text-align: center;
}
2015-12-11 07:57:35 +00:00
}
2016-01-14 09:44:06 +00:00
&-delete-link {
line-height: 40px;
2016-02-22 12:07:09 +00:00
padding: 1px 0 0 15px;
2016-01-14 09:44:06 +00:00
2016-02-08 11:11:55 +00:00
a {
&:visited,
&:link {
color: $error-colour;
display: inline-block;
vertical-align: center;
}
&:hover,
&:active {
color: $mellow-red;
}
2016-01-14 09:44:06 +00:00
}
}
&-delete-link-without-button {
2017-06-26 14:41:00 +01:00
@include core-19;
padding-left: 0;
display: inline-block;
}
2016-02-05 09:55:27 +00:00
&-secondary-link {
display: block;
margin-top: $gutter;
}
2016-01-14 09:44:06 +00:00
2018-10-31 14:08:37 +00:00
&-right-aligned-link {
position: absolute;
right: 0;
top: 10px; // align baseline with buttons
}
.button,
.button-destructive {
margin-right: 10px;
}
2016-01-07 12:29:56 +00:00
.button-destructive {
2016-01-07 16:24:43 +00:00
@include button($error-colour);
padding: 0.52632em 0.78947em 0.26316em 0.78947em;
2016-01-07 12:29:56 +00:00
}
.js-cancel {
margin: 0;
}
2015-12-11 07:57:35 +00:00
}
.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;
}
}
}