Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix sticky footer issue #80

Closed
wants to merge 16 commits into from
Closed
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ Fixes:
- Follow best practice for readme.rst
[allcaps]

- Fix sticky footer. (closes `#36`)


1.6.16 (2016-01-08)
-------------------
Expand Down
40 changes: 25 additions & 15 deletions plonetheme/barceloneta/theme/less/barceloneta-compiled.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Large diffs are not rendered by default.

16 changes: 9 additions & 7 deletions plonetheme/barceloneta/theme/less/contents.plone.less
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,18 @@ body#visual-portal-wrapper.pat-plone .outer-wrapper {
.contenttype-news-item:before { content: '\e80f';}
}

.outer-wrapper{
-webkit-box-flex: 1; /* OLD - iOS 6-, Safari 3.1-6 */
-moz-box-flex: 1; /* OLD - Firefox 19- */
-webkit-flex: 1; /* Chrome */
-ms-flex: 1; /* IE 10 */
flex: 1; /* NEW, Spec - Opera 12.1, Firefox 20+ */
}

//*// on right on toolbar
body#visual-portal-wrapper.pat-plone #edit-zone {
[class*="contenttype-"] {padding: 5px 15px 5px 50px;}

a {color: @plone-btn-context-color;}
[class*="contenttype-"]:after {
font-family:"Fontello"; font-size: 100%;
padding: 0; margin:0; position: relative; left: 25px; display: inline-block; color: inherit;
Expand All @@ -37,9 +44,4 @@ body#visual-portal-wrapper.pat-plone #edit-zone {
.contenttype-collection:after { content: '\e808';}
.contenttype-event:after { content: '\e809';}
.contenttype-news-item:after { content: '\e80f';}
}

//*// thumbnails for images, leadimages in listings and portlets
.image-icon, .image-tile {
float:right;
}
}
14 changes: 7 additions & 7 deletions plonetheme/barceloneta/theme/less/scaffolding.plone.less
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,18 @@ html {
body {
font-family: @plone-font-family-base;
font-size: @plone-font-size-base;
font-weight: @plone-font-weight-medium;
line-height: @plone-line-height-base;
color: @plone-text-color;
background-color: @plone-body-bg;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
display: -webkit-box; /* OLD - iOS 6-, Safari 3.1-6 */
display: -moz-box; /* OLD - Firefox 19- (buggy but mostly works) */
display: -ms-flexbox; /* TWEENER - IE 10 */
display: -webkit-flex; /* NEW - Chrome */
display: flex; /* NEW, Spec - Opera 12.1, Firefox 20+ */
min-height: 100vh;
flex-direction: column;
}

//*// Reset fonts for relevant elements
Expand Down Expand Up @@ -93,12 +99,6 @@ hr {
overflow: hidden;
clip: rect(0,0,0,0);
border: 0;
color: #fff;
background-color: #000;
}
.sr-only a, .hiddenStructure a {
color: #fff;
background-color: #000;
}

// Use in conjunction with .sr-only to only display content when it's focused.
Expand Down