app/assets/sass/layout/_footer.scss: change from grid to flexbox.
This commit is contained in:
parent
173bb59e07
commit
6fe1d3019c
2 changed files with 12 additions and 9 deletions
|
|
@ -79,6 +79,7 @@ $usermenu-button-hover-bg: darken($usermenu-button-bg, 8%);
|
|||
|
||||
// Footer
|
||||
$footer-height: 80px;
|
||||
$footer-spacing: 1rem;
|
||||
$footer-border-color: $border-color;
|
||||
$footer-text-color: $text-secondary-color;
|
||||
$footer-link-color: $footer-text-color;
|
||||
|
|
|
|||
|
|
@ -3,6 +3,7 @@
|
|||
@extend .container;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
column-gap: $footer-spacing;
|
||||
min-height: $footer-height;
|
||||
|
||||
a {
|
||||
|
|
@ -14,22 +15,23 @@
|
|||
}
|
||||
}
|
||||
|
||||
&-left,
|
||||
&-right {
|
||||
@include make-xs-column(5);
|
||||
}
|
||||
|
||||
&-middle {
|
||||
@include make-xs-column(2);
|
||||
&-left {
|
||||
margin-left: $footer-spacing;
|
||||
}
|
||||
|
||||
&-right {
|
||||
display: flex;
|
||||
justify-content: right;
|
||||
margin-right: $footer-spacing;
|
||||
}
|
||||
|
||||
&-left,
|
||||
&-right {
|
||||
text-align: right;
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
// Top button
|
||||
&-button-top {
|
||||
@extend .center-block;
|
||||
@extend .button;
|
||||
@extend .button-round;
|
||||
@include button-variant($footer-link-color, white, white);
|
||||
|
|
|
|||
Reference in a new issue