[IMP]Removed full size code.

bzr revid: bth@tinyerp.com-20131022134012-zq2x1unn4vpal9ls
This commit is contained in:
bth-openerp
2013-10-22 19:10:12 +05:30
parent 928b651c7b
commit e10e93baa3
4 changed files with 3 additions and 28 deletions
-12
View File
@@ -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;
}
@@ -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
@@ -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"));
});
}
-1
View File
@@ -683,7 +683,6 @@
<li data-value="oe_small"><a>Small</a></li>
<li data-value="oe_medium"><a>Medium</a></li>
<li data-value="oe_big"><a>Big</a></li>
<li data-value="oe_full"><a>Full</a></li>
</ul>
</li>
<li class="oe_snippet_options dropdown-submenu">