diff options
| author | bth-openerp <bth@tinyerp.com> | 2013-10-22 19:10:12 +0530 |
|---|---|---|
| committer | bth-openerp <bth@tinyerp.com> | 2013-10-22 19:10:12 +0530 |
| commit | e10e93baa3bf1fa186690e360ee429a8004ebe2e (patch) | |
| tree | 46238d8a2ac8349ffc52edc6e96d612f5f0237ad /addons/website/static/src | |
| parent | 928b651c7b2749b72814e569ed44f61d9002f512 (diff) | |
[IMP]Removed full size code.
bzr revid: bth@tinyerp.com-20131022134012-zq2x1unn4vpal9ls
Diffstat (limited to 'addons/website/static/src')
| -rw-r--r-- | addons/website/static/src/css/website.css | 12 | ||||
| -rw-r--r-- | addons/website/static/src/css/website.sass | 10 | ||||
| -rw-r--r-- | addons/website/static/src/js/website.snippets.js | 8 |
3 files changed, 3 insertions, 27 deletions
diff --git a/addons/website/static/src/css/website.css b/addons/website/static/src/css/website.css index 238a1de30b7..9c4b5f49dec 100644 --- a/addons/website/static/src/css/website.css +++ b/addons/website/static/src/css/website.css @@ -371,14 +371,6 @@ footer { .parallax.oe_big { height: 450px; } -.parallax.oe_full { - height: 600px; - width: 1350px; - z-index: -1000; - margin-left: -105px; - margin-right: 0px; - padding-right: 0px; -} /* -- Hack for removing double scrollbar from mobile preview -- */ div#mobile-preview.modal { overflow: hidden; @@ -445,7 +437,3 @@ a[data-publish][data-publish='on']:hover .css_published { ::selection { background: rgba(150, 150, 220, 0.3); } - -.pt60 { - padding-top: 60px; -} diff --git a/addons/website/static/src/css/website.sass b/addons/website/static/src/css/website.sass index 456e68df686..42e7466947a 100644 --- a/addons/website/static/src/css/website.sass +++ b/addons/website/static/src/css/website.sass @@ -284,13 +284,6 @@ footer height: 300px &.oe_big height: 450px - &.oe_full - height: 600px - width: 1350px - z-index: -1000 - margin-left: -105px - margin-right: 0px - padding-right: 0px /* -- Hack for removing double scrollbar from mobile preview -- */ div#mobile-preview.modal overflow: hidden @@ -341,6 +334,3 @@ a[data-publish] ::selection background: rgba(150, 150, 220, 0.3) - -.pt90 - padding-top: 90px diff --git a/addons/website/static/src/js/website.snippets.js b/addons/website/static/src/js/website.snippets.js index f497563d8c5..a8691375880 100644 --- a/addons/website/static/src/js/website.snippets.js +++ b/addons/website/static/src/js/website.snippets.js @@ -1218,15 +1218,13 @@ }, change_size: function () { var self = this; - var $el = $('.oe_full, .oe_big,.oe_medium,.oe_small', this.$target); + var $el = $('.oe_big,.oe_medium,.oe_small', this.$target); var size = 'oe_big'; if ($el.hasClass('oe_small')) size = 'oe_small'; else if ($el.hasClass('oe_medium')) size = 'oe_medium'; - else if ($el.hasClass('oe_full')) - size = 'oe_full'; var $ul = this.$editor.find('ul[name="parallax-size"]'); var $li = $ul.find("li"); @@ -1237,11 +1235,11 @@ $(this).addClass("active"); }) .on('mouseover', function (event) { - $el.removeClass('oe_big oe_small oe_medium oe_full'); + $el.removeClass('oe_big oe_small oe_medium'); $el.addClass($(event.currentTarget).data("value")); }) .on('mouseout', function (event) { - $el.removeClass('oe_big oe_small oe_medium oe_full'); + $el.removeClass('oe_big oe_small oe_medium'); $el.addClass($ul.find('li.active').data("value")); }); } |
