mirror of
https://github.com/wagtail/wagtail.git
synced 2024-11-29 17:36:49 +01:00
76 lines
1.4 KiB
SCSS
76 lines
1.4 KiB
SCSS
footer {
|
|
@include transition(bottom 0.5s ease 1s);
|
|
@include row();
|
|
border-radius: 3px 3px 0 0;
|
|
box-shadow: 0 0 2px rgba(255, 255, 255, 0.5);
|
|
background: $color-grey-1;
|
|
color: $color-white;
|
|
margin-top: $mobile-nice-padding;
|
|
|
|
ul {
|
|
@include unlist();
|
|
}
|
|
|
|
li {
|
|
float: left;
|
|
}
|
|
|
|
.actions {
|
|
width: 250px;
|
|
margin-right: $grid-gutter-width / 2;
|
|
}
|
|
|
|
.preview .dropdown {
|
|
width: 250px;
|
|
}
|
|
|
|
.meta {
|
|
float: right;
|
|
text-align: right;
|
|
padding: 7px $grid-gutter-width / 2;
|
|
font-size: 0.85em;
|
|
|
|
p {
|
|
margin: 0;
|
|
margin-right: $grid-gutter-width;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
a {
|
|
color: inherit;
|
|
|
|
&:hover {
|
|
color: $color-link;
|
|
}
|
|
}
|
|
}
|
|
|
|
@include media-breakpoint-down(xs) {
|
|
.actions,
|
|
.preview,
|
|
.preview .dropdown {
|
|
width: 100%;
|
|
}
|
|
|
|
.meta {
|
|
p {
|
|
white-space: normal;
|
|
width: 100%;
|
|
}
|
|
|
|
.avatar {
|
|
left: auto;
|
|
}
|
|
}
|
|
}
|
|
|
|
@include media-breakpoint-up(sm) {
|
|
margin-left: $desktop-nice-padding;
|
|
margin-right: $desktop-nice-padding;
|
|
width: calc(100% - #{$menu-width} - #{2 * $desktop-nice-padding});
|
|
position: fixed;
|
|
bottom: 0;
|
|
padding: 0.5em;
|
|
}
|
|
}
|