1
0
mirror of https://github.com/flarum/core.git synced 2025-07-24 02:01:19 +02:00

Tweak header/footer control layout

This commit is contained in:
Toby Zerner
2015-05-02 08:33:05 +09:30
parent 80b13844d6
commit cb4883cd7a

View File

@@ -118,6 +118,7 @@ body {
left: 50%; left: 50%;
margin-left: -100px; margin-left: -100px;
text-align: center; text-align: center;
line-height: 33px;
.transition(margin-left 0.2s); .transition(margin-left 0.2s);
.drawer-open .global-page & { .drawer-open .global-page & {
@@ -296,7 +297,7 @@ body {
float: left; float: left;
} }
.header-title { .header-title {
display: inline-block; float: left;
vertical-align: top; vertical-align: top;
font-size: 18px; font-size: 18px;
font-weight: normal; font-weight: normal;
@@ -356,7 +357,7 @@ body {
// ------------------------------------ // ------------------------------------
// Footer // Footer
.footer-primary, .footer-secondary { .footer-controls {
margin: 0; margin: 0;
padding: 0; padding: 0;
list-style: none; list-style: none;
@@ -368,7 +369,7 @@ body {
} }
// On phones, the footer is displayed at the bottom of the drawer. The // On phones, the footer is displayed at the bottom of the drawer. The
// footer's primary controls don't display, but the secondary ones do. // footer's primary controls don't display, but the secondary ones do.
// @todo Maybe we should reverse the naming of primary/secondary then? // @todo Maybe we should reverse the naming of primary/secondary then?
@media @phone { @media @phone {
.global-footer { .global-footer {