diff options
| author | Kersten Jeremy <jke@openerp.com> | 2014-04-14 16:26:31 +0200 |
|---|---|---|
| committer | Kersten Jeremy <jke@openerp.com> | 2014-04-14 16:26:31 +0200 |
| commit | afc2685ceec9441eebbe856ed8ba2be38ce0d99d (patch) | |
| tree | 66491297a9949c65519e19ab4a500ed185b52214 /addons/website/static/src/css/website.sass | |
| parent | 6b020549f8e9e12acd0385e4dd0708137042bf20 (diff) | |
| parent | f3e405fbe174d737f0a945295a28d9480b0cc4c1 (diff) | |
[FIX] wesbite: banner - remove css and use bootstrap for positionning. Now hidden-xs works, we don't lost 50% of width
bzr revid: jke@openerp.com-20140414142631-k78shkqjqdtcnp83
Diffstat (limited to 'addons/website/static/src/css/website.sass')
| -rw-r--r-- | addons/website/static/src/css/website.sass | 61 |
1 files changed, 8 insertions, 53 deletions
diff --git a/addons/website/static/src/css/website.sass b/addons/website/static/src/css/website.sass index e3c6bd7a052..a9707799177 100644 --- a/addons/website/static/src/css/website.sass +++ b/addons/website/static/src/css/website.sass @@ -250,59 +250,6 @@ ul.nav-stacked > li > a height: 100% background-size: cover .carousel - .carousel-caption - position: absolute - right: 50% - left: 50% - bottom: 20px - > div - position: absolute - text-align: left - padding: 20px - background: rgba(0, 0, 0, 0.4) - bottom: 20px - h1, h2, h3 - margin-top: 10px - margin-bottom: 10px - .carousel-image - top: 5% - bottom: 5% - position: absolute - max-height: 90% - margin: 0 auto - .item.text_only - .carousel-image - display: none !important - .carousel-caption - left: 10% - right: 10% - top: 10% - bottom: auto - > div - text-align: center - background: transparent - bottom: auto - width: 100% - .item.text_image - .carousel-caption - left: 10% - > div - right: 50% - margin-right: -20% - max-width: 550px - .carousel-image - right: 10% - left: 50% - .item.image_text - .carousel-caption - right: 10% - > div - left: 50% - margin-left: -20% - max-width: 550px - .carousel-image - right: 50% - left: 10% .carousel-control cursor: pointer span @@ -338,6 +285,14 @@ div.carousel border: 1px solid grey .active background-color: grey + span.carousel-img img, div.carousel-content + max-height: 95% + padding: 10px + div.carousel-content + background-color: black + color: white + background: rgba(0, 0, 0, 0.3) + margin-top: 75px .parallax background-size: cover |
