trying to fix sticky footer in safari by unifing markup
This commit is contained in:
parent
5db4a2ff60
commit
f3543bf225
|
@ -2,6 +2,8 @@
|
||||||
* Footer on the dashboard
|
* Footer on the dashboard
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
$footer-height: 204px
|
||||||
|
|
||||||
a
|
a
|
||||||
color : $color-link
|
color : $color-link
|
||||||
text-decoration : none
|
text-decoration : none
|
||||||
|
@ -25,11 +27,11 @@ footer
|
||||||
height: auto
|
height: auto
|
||||||
@media (min-width: 640px)
|
@media (min-width: 640px)
|
||||||
.wrapper
|
.wrapper
|
||||||
padding-bottom: 204px
|
padding-bottom: $footer-height + 50
|
||||||
|
|
||||||
footer
|
footer
|
||||||
margin-top: -204px
|
margin-top: - $footer-height
|
||||||
min-height: 204px
|
min-height: $footer-height
|
||||||
|
|
||||||
footer h3
|
footer h3
|
||||||
font-size : 15px
|
font-size : 15px
|
||||||
|
@ -87,5 +89,3 @@ footer a:active
|
||||||
.status-circle.major
|
.status-circle.major
|
||||||
background: #e74c3c
|
background: #e74c3c
|
||||||
|
|
||||||
.wrapper:not(.centered) ~ footer
|
|
||||||
display: none
|
|
||||||
|
|
|
@ -25,7 +25,7 @@
|
||||||
content: ""
|
content: ""
|
||||||
position: absolute
|
position: absolute
|
||||||
left: 0
|
left: 0
|
||||||
bottom: -4px
|
bottom: -0.25em
|
||||||
width: 100%
|
width: 100%
|
||||||
height: 2px
|
height: 2px
|
||||||
background-color: $teal2
|
background-color: $teal2
|
||||||
|
|
|
@ -1,14 +1,15 @@
|
||||||
<div class="centered">
|
<div class="wrapper wrapper-dashboard">
|
||||||
<div class="wrapper wrapper-dashboard">
|
<header id="top" class="top">
|
||||||
<header id="top" class="top">
|
<div class="centered">
|
||||||
{{render "top"}}
|
{{render "top"}}
|
||||||
</header>
|
</div>
|
||||||
|
</header>
|
||||||
|
|
||||||
|
<div class="centered">
|
||||||
{{yield}}
|
{{yield}}
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<footer>
|
|
||||||
{{render "footer"}}
|
|
||||||
</footer>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<footer>
|
||||||
|
{{render "footer"}}
|
||||||
|
</footer>
|
||||||
|
|
|
@ -1,15 +1,17 @@
|
||||||
<header id="top" class="topbar">
|
<div class="wrapper">
|
||||||
|
<header id="top" class="topbar">
|
||||||
|
<div class="centered">
|
||||||
|
{{render "top"}}
|
||||||
|
</div>
|
||||||
|
</header>
|
||||||
|
|
||||||
<div class="centered">
|
<div class="centered">
|
||||||
{{render "top"}}
|
{{render "flash"}}
|
||||||
</div>
|
<div id="main" class="main" role="main">
|
||||||
</header>
|
{{yield}}
|
||||||
|
|
||||||
<div class="wrapper centered">
|
{{outlet "left"}}
|
||||||
{{render "flash"}}
|
</div>
|
||||||
<div id="main" class="main" role="main">
|
|
||||||
{{yield}}
|
|
||||||
|
|
||||||
{{outlet "left"}}
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user