[IMP] parallax css. I think we should use elements <img> instead of bg
bzr revid: fp@openerp.com-20131019211709-5zxz9601fw7qtu1k
This commit is contained in:
parent
b461fc3253
commit
bda5d6bbfe
|
@ -361,9 +361,7 @@ footer {
|
|||
}
|
||||
|
||||
.parallax {
|
||||
background: no-repeat top center;
|
||||
background-attachment: fixed;
|
||||
width: 100%;
|
||||
background-size: 100%;
|
||||
}
|
||||
.parallax.oe_small {
|
||||
|
|
|
@ -276,9 +276,7 @@ footer
|
|||
background-color: grey
|
||||
|
||||
.parallax
|
||||
background: no-repeat top center
|
||||
background-attachment: fixed
|
||||
width: 100%
|
||||
background-size: 100%
|
||||
&.oe_small
|
||||
height: 200px
|
||||
|
|
|
@ -698,15 +698,16 @@
|
|||
<li class="oe_snippet_options dropdown-submenu">
|
||||
<a tabindex="-1" href="#">Scroll Speed</a>
|
||||
<ul class="dropdown-menu" name="parallax-scroll">
|
||||
<li data-value="0.25"><a>Very Slow</a></li>
|
||||
<li data-value="0.5"><a>Slow</a></li>
|
||||
<li data-value="0"><a>Static</a></li>
|
||||
<li data-value="0.3"><a>Very Slow</a></li>
|
||||
<li data-value="0.6"><a>Slow</a></li>
|
||||
<li data-value="1"><a>Fixed</a></li>
|
||||
<li data-value="1.5"><a>Fast</a></li>
|
||||
<li data-value="2"><a>Very Fast</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<div class="oe_snippet_body" style="position:relative">
|
||||
<div class="parallax oe_structure oe_medium" style="background-image: url('/website/static/src/img/banner/greenfields.jpg')" data-stellar-background-ratio="0.5">
|
||||
<div class="parallax oe_structure oe_medium" style="background-image: url('/website/static/src/img/banner/greenfields.jpg')" data-stellar-background-ratio="0.3">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue