2021-12-23 03:42:22 +01:00
|
|
|
@use 'sass:math';
|
|
|
|
|
2021-04-16 21:50:47 +02:00
|
|
|
.footer {
|
2021-04-06 15:33:23 +02:00
|
|
|
$border-curvature: 3px;
|
2019-01-02 00:11:47 +01:00
|
|
|
@include transition(bottom 0.5s ease 1s);
|
|
|
|
@include row();
|
2023-04-18 02:06:45 +02:00
|
|
|
margin-inline-start: $mobile-nice-padding;
|
|
|
|
margin-inline-end: $mobile-nice-padding;
|
2022-04-13 04:21:51 +02:00
|
|
|
z-index: 20;
|
2019-01-02 00:11:47 +01:00
|
|
|
|
|
|
|
ul {
|
|
|
|
@include unlist();
|
|
|
|
}
|
|
|
|
|
|
|
|
li {
|
2023-12-18 18:03:03 +01:00
|
|
|
float: inline-start;
|
2020-06-18 18:18:08 +02:00
|
|
|
|
2021-04-06 15:33:23 +02:00
|
|
|
.dropdown li, // dropdown li
|
2020-06-18 18:18:08 +02:00
|
|
|
&:last-child {
|
2022-03-15 14:21:06 +01:00
|
|
|
margin-inline-end: 0;
|
2020-06-18 18:18:08 +02:00
|
|
|
}
|
2022-02-04 12:57:55 +01:00
|
|
|
}
|
|
|
|
|
2021-04-16 21:50:47 +02:00
|
|
|
&__container {
|
2021-04-06 15:33:23 +02:00
|
|
|
border-radius: $border-curvature $border-curvature 0 0;
|
2023-04-19 07:58:14 +02:00
|
|
|
background: theme('colors.surface-menus');
|
|
|
|
color: theme('colors.text-label-menus-default');
|
2021-04-06 15:33:23 +02:00
|
|
|
margin-top: 0;
|
2022-03-15 14:21:06 +01:00
|
|
|
margin-inline-end: 0;
|
2021-04-06 15:33:23 +02:00
|
|
|
transition: transform 1s;
|
2022-02-04 12:57:55 +01:00
|
|
|
|
2021-04-06 15:33:23 +02:00
|
|
|
&:first-child {
|
|
|
|
margin-top: 0;
|
2019-01-02 00:11:47 +01:00
|
|
|
}
|
|
|
|
|
2021-04-16 21:50:47 +02:00
|
|
|
&.footer__container--hidden {
|
2021-04-06 15:33:23 +02:00
|
|
|
transform: translateY(100%);
|
2022-02-04 12:57:55 +01:00
|
|
|
}
|
2021-04-06 15:33:23 +02:00
|
|
|
|
|
|
|
li {
|
2022-03-15 14:21:06 +01:00
|
|
|
margin-inline-end: 1em;
|
2022-02-04 12:57:55 +01:00
|
|
|
}
|
2021-04-06 15:33:23 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
&__save-warning {
|
|
|
|
font-size: 0.95em;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
2021-04-16 21:50:47 +02:00
|
|
|
|
|
|
|
.icon {
|
|
|
|
font-size: 1.2em;
|
2022-03-15 14:21:06 +01:00
|
|
|
margin-inline-end: 0.5em;
|
2021-04-06 15:33:23 +02:00
|
|
|
}
|
|
|
|
|
2021-04-16 21:50:47 +02:00
|
|
|
p {
|
2021-04-06 15:33:23 +02:00
|
|
|
margin: -0.2em 0 0 0;
|
2022-02-04 12:57:55 +01:00
|
|
|
}
|
|
|
|
}
|
2021-04-06 15:33:23 +02:00
|
|
|
|
|
|
|
&__emphasise-span-tags span {
|
2022-07-09 08:32:51 +02:00
|
|
|
color: theme('colors.warning.100');
|
2021-04-06 15:33:23 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.actions {
|
|
|
|
width: 250px;
|
|
|
|
|
2021-04-16 21:50:47 +02:00
|
|
|
&--primary {
|
2021-04-06 15:33:23 +02:00
|
|
|
width: 350px;
|
|
|
|
}
|
|
|
|
|
2020-06-18 18:18:08 +02:00
|
|
|
.dropdown {
|
|
|
|
input[type='submit'],
|
|
|
|
input[type='reset'],
|
|
|
|
input[type='button'],
|
2022-02-04 12:57:55 +01:00
|
|
|
button,
|
2019-01-02 00:11:47 +01:00
|
|
|
.button {
|
2022-03-15 14:21:06 +01:00
|
|
|
padding-inline-end: 2.6em;
|
2022-02-04 12:57:55 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-01-02 00:11:47 +01:00
|
|
|
.preview .dropdown {
|
|
|
|
width: 250px;
|
2022-02-04 12:57:55 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.meta {
|
2023-12-18 18:03:03 +01:00
|
|
|
float: inline-end;
|
2022-03-15 14:21:06 +01:00
|
|
|
text-align: end;
|
2021-12-23 03:42:22 +01:00
|
|
|
padding: 7px math.div($grid-gutter-width, 2);
|
2019-01-02 00:11:47 +01:00
|
|
|
font-size: 0.85em;
|
2022-02-04 12:57:55 +01:00
|
|
|
|
|
|
|
p {
|
2019-01-02 00:11:47 +01:00
|
|
|
margin: 0;
|
2022-03-15 14:21:06 +01:00
|
|
|
margin-inline-end: $grid-gutter-width;
|
2019-01-02 00:11:47 +01:00
|
|
|
white-space: nowrap;
|
2022-02-04 12:57:55 +01:00
|
|
|
}
|
2020-06-18 18:18:08 +02:00
|
|
|
|
|
|
|
a {
|
|
|
|
color: inherit;
|
|
|
|
|
|
|
|
&:hover {
|
2023-04-19 07:58:14 +02:00
|
|
|
color: theme('colors.text-link-default');
|
2020-06-18 18:18:08 +02:00
|
|
|
}
|
2019-01-02 00:11:47 +01:00
|
|
|
}
|
2022-02-04 12:57:55 +01:00
|
|
|
}
|
2019-01-02 00:11:47 +01:00
|
|
|
|
|
|
|
@include media-breakpoint-down(xs) {
|
2023-10-29 00:00:31 +02:00
|
|
|
margin-top: $mobile-nice-padding;
|
|
|
|
|
2019-01-02 00:11:47 +01:00
|
|
|
.actions,
|
|
|
|
.preview,
|
2021-04-16 21:50:47 +02:00
|
|
|
&__container,
|
2019-01-02 00:11:47 +01:00
|
|
|
.preview .dropdown {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.meta {
|
|
|
|
p {
|
|
|
|
white-space: normal;
|
|
|
|
width: 100%;
|
|
|
|
}
|
2022-02-04 12:57:55 +01:00
|
|
|
|
2019-01-02 00:11:47 +01:00
|
|
|
.avatar {
|
2022-03-15 14:21:06 +01:00
|
|
|
inset-inline-start: auto;
|
2022-02-04 12:57:55 +01:00
|
|
|
}
|
2019-01-02 00:11:47 +01:00
|
|
|
}
|
2022-02-04 12:57:55 +01:00
|
|
|
|
2021-04-16 21:50:47 +02:00
|
|
|
&__container {
|
2019-01-02 00:11:47 +01:00
|
|
|
&:not(:first-child) {
|
2021-04-06 15:33:23 +02:00
|
|
|
border-radius: 0;
|
2022-02-04 12:57:55 +01:00
|
|
|
}
|
|
|
|
|
2019-01-02 00:11:47 +01:00
|
|
|
&--hidden {
|
|
|
|
display: none;
|
2022-02-04 12:57:55 +01:00
|
|
|
}
|
2019-01-02 00:11:47 +01:00
|
|
|
}
|
2022-02-04 12:57:55 +01:00
|
|
|
|
2019-01-02 00:11:47 +01:00
|
|
|
&__save-warning {
|
2021-04-06 15:33:23 +02:00
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
justify-content: center;
|
2022-02-04 12:57:55 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-01-02 00:11:47 +01:00
|
|
|
@include media-breakpoint-up(sm) {
|
2022-03-15 14:21:06 +01:00
|
|
|
margin-inline-start: calc(#{$desktop-nice-padding} - 0.75em);
|
|
|
|
margin-inline-end: $desktop-nice-padding;
|
2020-06-18 18:18:08 +02:00
|
|
|
width: auto;
|
2020-04-10 18:55:07 +02:00
|
|
|
position: fixed;
|
|
|
|
bottom: 0;
|
2022-02-04 12:57:55 +01:00
|
|
|
|
2021-04-06 15:33:23 +02:00
|
|
|
> ul {
|
|
|
|
display: flex;
|
|
|
|
}
|
2022-02-04 12:57:55 +01:00
|
|
|
|
2021-04-16 21:50:47 +02:00
|
|
|
&__container {
|
2021-04-06 15:33:23 +02:00
|
|
|
padding: 0.75em;
|
2022-03-15 14:21:06 +01:00
|
|
|
margin-inline-end: 0;
|
2022-02-04 12:57:55 +01:00
|
|
|
|
2021-04-06 15:33:23 +02:00
|
|
|
&:not(:first-child) {
|
2022-03-15 14:21:06 +01:00
|
|
|
margin-inline-start: -$border-curvature;
|
2022-02-04 12:57:55 +01:00
|
|
|
}
|
2021-04-06 15:33:23 +02:00
|
|
|
}
|
2022-02-04 12:57:55 +01:00
|
|
|
|
2021-04-16 21:50:47 +02:00
|
|
|
&__save-warning {
|
2022-03-15 14:21:06 +01:00
|
|
|
margin-inline-end: 50px;
|
2019-01-02 00:11:47 +01:00
|
|
|
}
|
2022-02-04 12:57:55 +01:00
|
|
|
}
|
2019-01-02 00:11:47 +01:00
|
|
|
}
|
2022-07-25 04:33:09 +02:00
|
|
|
|
|
|
|
// Footer control bar for performing actions on the page
|
|
|
|
footer .actions,
|
|
|
|
footer .preview {
|
|
|
|
.button {
|
|
|
|
@apply w-leading-none w-inline-flex w-items-center;
|
|
|
|
|
|
|
|
.icon {
|
|
|
|
margin-inline-end: theme('spacing.2');
|
2022-11-17 17:37:21 +01:00
|
|
|
flex-shrink: 0;
|
2022-07-25 04:33:09 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
footer .actions {
|
|
|
|
.button {
|
|
|
|
font-weight: 600;
|
2022-11-17 17:37:21 +01:00
|
|
|
white-space: initial;
|
2022-07-25 04:33:09 +02:00
|
|
|
}
|
|
|
|
}
|