server/core/css/public.scss
John Molakvoæ (skjnldsv) 5e867d6415
Fix footer and public min-height
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2018-08-15 08:38:20 +02:00

88 lines
1.5 KiB
SCSS

$footer-height: 60px;
#body-public {
.header-right {
#header-primary-action a {
color: var(--color-primary-text);
}
.menutoggle,
#header-primary-action[class^='icon-'] {
padding: 14px;
padding-right: 40px;
background-position: right 15px center;
color: var(--color-primary-text);
cursor: pointer;
}
#header-secondary-action {
margin-right: 13px;
ul li {
min-width: 270px;
}
#save-external-share {
form {
display: flex;
margin: 0;
}
.hidden {
display: none;
}
#save-button-confirm {
flex-grow: 0;
}
}
}
}
#content {
// 100% - footer
min-height: calc(100% - #{$footer-height});
}
/** don't apply content header padding on the base layout */
&.layout-base #content {
padding-top: 0;
}
/* force layout to make sure the content element's height matches its contents' height */
.ie #content {
display: inline-block;
}
p.info {
margin: 20px auto;
text-shadow: 0 0 2px rgba(0, 0, 0, .4);
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
p.info, form fieldset legend,
#datadirContent label,
form fieldset .warning-info,
form input[type='checkbox']+label {
text-align: center;
}
/* public footer */
footer {
position: relative;
display: flex;
align-items: center;
justify-content: center;
height: $footer-height;
p {
color: var(--color-text-lighter);
a {
color: var(--color-text-lighter);
font-weight: 600;
padding: 13px;
margin: -13px;
}
}
}
}